Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3990 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I run a simple import script on my Windows 7 Platform.

 

(see attached picture)

 

In the import dialog, I simple specify the file name without any path. That ensures it will always work, wherever the end user places the application on his hard drive.

 

As can be seen, the script step indicates Windows ANSI

 

However, the end user runs the application on Mac OS X.  That script always returns empty records which is impossible.

 

Obviously, I need to add a Mac path in the script.

 

How can that be done on a Windows computer?

Is it simpler to edit the script on the user's computer to have it properly configured?

 

 

 

 

 

post-109991-0-51438200-1387487981_thumb.

Posted

I've had to wrestle with the same problem in my app which runs in both Windows and OSX.  (Done with  the generous help of  forum members)

 

I use 360works ScriptMaster plugin : http://360works.com/scriptmaster/#description

And I use this 'preamble' to setup the SM plugin to read the user selected file; which is stored in $$Path.   Once this is accomplished, it is just a matter of setting the Import script step.  (That too has several undocumented 'features')

 

post-72145-0-88324500-1387489550_thumb.j

 

Hope this helps.

 

Ron

This topic is 3990 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.