If you want to create a runtime file for the Macintosh, you have to bind it on the Macintosh. If you want to create a runtime file for Windows, you have to bind it on Windows.
Use the calculation function:
to determine if this solution is running on a Mac or Windows machine. In short, this function returns -2 for Windows, -1 for PowerPC-based Macs, and 1 for Intel-based Macs. For more information about Get (SystemPlatform), see the listing under "Help" menu.
To close the runtime solution, use the script step "Exit Application".