Friday, December 11, 2020


Tags

Getting started with scripting App Wrapper from Xojo

Auto wrap your apps when debugging or building.

Friday, December 11, 2020 - Sam Rowlands

  1. Open App Wrapper 4, then the App Wrapper Document or application you want to use.
  2. Select "Scripting" from the left hand side of App Wrapper window.
  3. Make sure "Xojo Script" is selected at the top of "Scripting" page.
  4. Highlight the text and copy (⌘-C on the keyboard).
  5. Switch to Xojo and your project.
  6. Select "Insert" -> "Build Step" -> "Script" on the menu bar.
  7. Click into the code editing section of the new script, and paste the Xojo Script (⌘-V on the keyboard).
  8. In the left hand sidebar of the project, drag the newly created build script down over the top of the "macOS" checkbox.
  9. The script will probably be placed above "Build" so drag it down just under "Build".
  10. Run your project in Xojo.