3 ms·
It looks like "run-only" is a term-of-the-art in AppleScript, since that label appears on the UI that generates such binaries.
by cbhl 6y ago
It looks like "run-only" is a term-of-the-art in AppleScript, since that label appears on the UI that generates such binaries.
- jmt_ 6y agoRight, looks like you could choose to distribute an editable version of a script or a compiled version: https://superuser.com/a/14765 https://superuser.com/a/14765
- hundchenkatze 6y agoEDIT: Whoops I misread, I thought you were saying that "run-only" was just a flag of sorts. osacompile[0] does actually produce some form of bytecode when you pass the "x" execute only flag. Here's a script that opens Safari[1] and the compiled output[2]. [0] https://ss64.com/osx/osacompile.html https://ss64.com/osx/osacompile.html [1] https://pastebin.com/raw/u94cwDj7 https://pastebin.com/raw/u94cwDj7 [2] https://pastebin.com/raw/9uuF39jW https://pastebin.com/raw/9uuF39jW