For some reason this has stopped working at some point.
It fails when run from script menu, which I otherwise find to be a marvellous timesaver, although it works just fine if I run it from inside script editor. That makes debugging rather hard.
______________________________________________________________________
Hey There,
With your original script you'll probably find that if you click on the choose-from dialog it will come forward and allow you to make a selection.
The Applescript Menulet is a process that needs to be activated in order to become frontmost (see line 1).
------------------------------------------------------------------------------------------------ tell me to activate # activate the script-runner
tell application "System Events" set scriptableApps to (name of application processes whose (has scripting terminology) is true) end tell
# Add 'default items' to allow type-select to work from the get-go. set p to "Open Dictionary for..." set theApps to (choose from list scriptableApps with prompt p default items (item 1 of scriptableApps) with multiple selections allowed)
if theApps is false then -- user cancelled return end if
repeat with theApp in theApps set theApp to theApp as string set appPath to (path to application theApp) tell application "AppleScript Editor" activate open appPath end tell end repeat ------------------------------------------------------------------------------------------------
I much prefer FastScripts to the Apple script-menu. ($14.95 and well worth it.)
It's far more customizable, and the keyboard shortcuts alone make it worth the price.
The author is a good guy, used to work for Apple, and has a stake in developing software that is useful to users.
-- Best Regards, Chris
|