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

Miscellaneous Dictionary Actions

image

This page discusses some miscellaneous actions that you can perform in a dictionary window.

  • Quit. If the application whose dictionary you are looking at is running, you can make it quit. Use the Quit button in the dictionary window toolbar, or choose Dictionary > Quit XXX, where “XXX” is the name of the application.

If you do this in the Finder’s dictionary, you’ll get a warning dialog, since quitting the Finder is not something one usually wants to do. If you do quit the Finder, you can relaunch it by clicking the Launch button.

  • Launch or Activate. You can start up the application whose dictionary you are looking at, or, if it’s already running, you can bring it to the front. Use the Launch or Activate button in the dictionary window toolbar (they are the same button), or choose Dictionary > Launch XXX or Dictionary > Activate XXX (they are the same menu item), where “XXX” is the name of the application.

  • Paste Tell. You can insert a tell block into your script, targeting the application whose dictionary you are currently looking at. Use the Paste Tell button in the dictionary window toolbar, or choose Dictionary > Paste Tell. If you hold down the Option key, or if no script window is open, a new script window is created and the tell block is inserted. Otherwise, the tell block is inserted at the current insertion point or wrapping the selection in the frontmost script window. Your existing code will not be overwritten.

    If what you’re looking at in the dictionary is a command, a template for giving that command will be inserted as well. If what you’re looking at in the dictionary is an event, a template for an event handler for receiving that event will be inserted.

There are other ways to issue a Paste Tell command.

If you alter the contents of your ScriptingAdditions folder while you have the Scripting Additions dictionary window open — or if you’re a developer writing a scriptable application, and you alter that application’s dictionary while you have the application’s dictionary window open — a Caution icon (image) will appear in the dictionary window title bar. Click it, and you’ll get a dialog prompting you to reload the application’s dictionary.

image


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


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