Mar 05, '03 09:02:00AM • Contributed by: rusto
It would be nice if Apple allowed that list to simply perisist as a window and not disappear when you make your selection, but this discovery is handy nonetheless.
|
|
|
Load multiple AppleScript dictionaries in Script Editor
Mar 05, '03 09:02:00AM • Contributed by: rusto
When I work with Script Editor on AppleScripts that work with multiple applications, I bristle at having to display multiple dictionaries to have on hand: it takes so long for the Script Editor to load the list of every dictionary on the system. Then I guessed that I could command-click on each of the dictionaries that I needed, and display them all at once without having to load that list every single time ... I tried it, and it worked!
It would be nice if Apple allowed that list to simply perisist as a window and not disappear when you make your selection, but this discovery is handy nonetheless.
•
[8,118 views]
Hint Options
Load multiple AppleScript dictionaries in Script Editor
There are a couple of other methods of opening the AppleScript dictionaries that work really well. Check these threads over at MacScripter.net.
Load multiple AppleScript dictionaries in Script Editor
Any way you could paraphrase - sez you have to have acct to view. I would rather not at this time...
Load multiple AppleScript dictionaries in Script Editor
The second link has a post with this delightful script that will present a dialog box with all running apps, command-click on the ones you want to opent the dictionaries of (with acknowledgements to the authors):
tell application "Finder"
  set {theFiles, theNames} to {file, name} of application processes
  set eligibleNames to {}
  repeat with i from 1 to (count theFiles)
    try
      if has scripting terminology of item i of theFiles then
        set the end of eligibleNames to item i of theNames
      end if
    on error -- just skip anything that errors
    end try
  end repeat
  activate
  set chosenNames to (choose from list eligibleNames with prompt ¬
    "Select the currently running application(s) whose " & ¬
    "dictionaries you wish to open:" default items {"Finder"} with multiple selections allowed)
  if the result is false then return
  repeat with i from 1 to (count chosenNames)
    open (get application file of process (item i of chosenNames)) using application file id "ToyS"
  end repeat
end tell
Just drag 'n' drop
I was also getting annoyed with the length of time it took to open the dictionary list...so I tried dragging and dropping the app whose dictionary I needed on to Script Editor. And it opened the dictionary! *really fast*! Is that really obvious? Anyway - it sure saves me a lot of time (esp in conjunction with LaunchBar; command-return reveals the app).
Just drag 'n' drop
FAR OUT!!! I never knew that!!!
Load multiple AppleScript dictionaries in Script Editor
Ah, but you must first go looking for the original application(s), which may be stored all over the place, the script I posted collects all the apps already running into one nice dialog box for you. You can open all of the ones you need, quick 'n' easy.
oops
DOH, this was in response to "Just drag 'n' drop" just above here.
Check out Smile
http://www.satimage.fr/software/en/softx.html#smile
Or drag and drop from the Dock...
I just thought (as long as we were on the subject) that someone might get use out of these 2 additional "tips".
Drag from Dock not working here
I don't seem to be able to rag an app's icon in the Dock to drop on the Script Editor. Even holding down command to keep it in drop mode does not work. Has anyone else gotten this to work?
Drag from Dock not working here
Have you gotten it to work for ya yet? If not try this:
Load multiple AppleScript dictionaries in Script Editor
Here's a tip I got from Jesse Shanks: Copy the entire dictionary to a PDF file (or any text file, for that matter) and open it whenever you want. You'll only have to have Script Editor open an aete when you haven't opened it previously. Major time saver.
Doug Doug's AppleScripts for iTunes ---
Load multiple AppleScript dictionaries in Script Editor
Oh yeah....printing them out works, too.
Save AppleScript dictionaries in Script Editor
Oh yeah: Script Editor 2 allows you to save AppleScript Dictionaries for easy opening anytime. Just open one and click Save As in the Script Editor File menu. It will want to save it to the tmp folder, but you just go ahead and save it somewhere in Documents er someplace and stick an alias to it in a DragThing Dock, like we do at our house. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.12 seconds |
|