Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
Here's how you can pass command line arguments from one AMS.exe to another:
Using the built in global variable _CommandLineArgs, you can then retrieve the args in the second AMS.exe. This allows you to pass any argument to the second exe file.
In the following example, passing a 'page number' as an arg - ie:
In AMS_1.exe use the following Action to run AMS_2.exe File.Run("AutoPlay\\Docs\\autorun.exe", "Page3", "", SW_SHOWNORMAL, false);
In AMS_2.exe you can use these Actions to make a page jump to "page 3" Page.Jump(_CommandLineArgs[1]);
Of course, this can be adapted to suit.
- = Derek ["All glory comes from daring to begin" - fortune cookie]
Comment