explain this to me

frgee

Registered
i am a total applescript hacker, but i wrote little script that i threw in the dock that opens six programs: omniweb, filemaker, mail, itunes, okito, and system prefs.

if i were to individually click on all the icons in the dock it takes a while for the programs to open. however, when i hit the script icon, each program opens with one bounce, way faster that if i do it manually.

why?
 
you've got me stumped there... what type of Mac are you using? If it's a super duper fast dual G4.. then I guess that's possible.. but anything under that I couldn't understand that... are you sure they don't just bounce once and then take a while to load still?
 
is it possible that the applescipt is bypassing the finder, thus the speed increase. i.e. the finder can be dog slow, and applescript is basically opening the program from the terminal level.

g4 powerbook 500 w/ 768ram. osx 5m28
 
just open script editor and create a new script.

the syntax is:

tell application "application" activateend tell


just cut and paste the other programs you want opened inside the quotes:

tell application "Okito Composer" activateend tell

tell application "mail" activateend tell

there might be a more efficient way to do it, but i am just learning still...
 
in the above reply note that there should be a hard return in between activate and end tell, i don't know why it didn't show up.
 
Back
Top