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

Parent Script

image

Script Debugger lets you set another script as the implicit parent of the current script (using AppleScript’s script object inheritance mechanism). Both scripts must be open. Then:

  • Bring the “child” script frontmost and choose Script > Parent Script and the name of the parent script. (You can also add a Parent Script popup menu to the script window’s toolbar.)

This parent-child relationship persists only while both scripts are open. If you try to close the parent script, you’ll get a dialog warning that you’re about to break the parent-child relationship.

This feature is useful for testing individual handlers in a script without altering that script. It can be employed to make a set of top-level entities (properties, handlers, etc.) from one script available in another, or for simulating a runtime environment where such parent script relationships are used.



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


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