December 19, 201312 yr 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?     Â
December 19, 201312 yr 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
Create an account or sign in to comment