standaloneSaved

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
standaloneSaved <pFolderSavedIn>
Associationsstack
Summary

Sent to the mainstack after it has been saved as a standalone application.

Introduced2.2
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
pFolderSavedIn

A string variable containing the folder that the standalone application was saved in.

Example
on standaloneSaved pFolder
  get shell("hdiutil create -fs HFS+ -volname MyApp"&\
      " -size 100m ~/Desktop/MyApp.dmg")
  get shell("hdiutil mount ~/Desktop/MyApp.dmg")
  get shell("ditto -rsrc -V "&pFolder&" /Volumes/MyApp"&\
      " >>  /Volumes/Backup/MyApp.log")
  get shell("hdiutil unmount /Volumes/MyApp")
  get shell("hdiutil burn ~/Desktop/MyApp.dmg"& \
      " -noverifyburn -noeject")
end standaloneSaved
RelatedMessage: savingStandalone
Description

After a stack has been saved as a standalone application it is reopened. This mesage is then sent to the mainstack to allow custom build time automation.