sedekk Posted December 19, 2013 Share Posted December 19, 2013 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?      Link to comment Share on other sites More sharing options...
ron G Posted December 19, 2013 Share Posted December 19, 2013 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')   Hope this helps.  Ron Link to comment Share on other sites More sharing options...
sedekk Posted December 19, 2013 Author Share Posted December 19, 2013 Thank you for the information. I will take a good look at that. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3802 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 accountSign in
Already have an account? Sign in here.
Sign In Now