LNS Home
Script Debugger
Download & Buy
x Explore
x Edit
x Run & Debug
x Deploy
What's New In 4.5
bullet Documentation
bullet Blog Posts
My SD Story
Software Updates
 
4.0.9 Update
3.0.9 Update
bullet 2.0.5 Update
x Free Downloads
 
XML Tools
XSLT Tools
x Property List Tools
x List & Record Tools
Register Your Copy of Script Debugger
Join the Script Debugger Mailing List
x AppleScript/ Scripting Links
Products
x Script Debugger 4.5
Site Contents
bullet Mark’s Blog
Product Registration
Bug Reporting
x Freeware
Contacting Us

SD4 Headling


image

Run-Only Script

image

A run-only script contains the script’s compiled bytecode but does not contain the further information needed to decompile and display it. A run-only script is typically used as a way of distributing a script so that other users can run the script but cannot view or modify the script’s source code.

To save a script as run-only:

  • Choose File > Export > Run-Only Script. (You can also add an Export Run-Only button to the script window’s toolbar.)

The resulting Save dialog contains the same format options as for an ordinary compiled script or application.

It also contains a checkbox, “Make Bundled Scripts Run-Only”. This is useful in cases where you’ve added extra scripts to a script bundle or application bundle. If you don’t check it, the bundle’s main script will be saved as run-only, but the extra scripts in the bundle will not be.

A run-only script cannot be read or edited ever again, even by you, its creator! This is why Script Debugger implements this feature as a form of export. After exporting as run-only, your original script is unaffected (and therefore remains editable). If you edit your original script and you wish to propagate the changes to the run-only version of the script, export it again.



Explore | Edit | Run & Debug | Deploy | What's New In 4.5 | My SD Story


Copyright © 1998-2009 Late Night Software Ltd. - All Rights Reserved.