Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Summation plus correction' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Summation plus correction
Authored by: MtnBiker on Jul 18, '06 09:47:16AM
I think this is a working sample

delay 40
do shell script "open -a iKey; open -a Skype; open -a Butler;"
The correction is "script" not "command." Thanks to all the posters. I've never been happy with my other solutions to this problem. I think the serial shell script solution will work for me.

---
Hermosa Beach, CA USA

[ Reply to This | # ]

Summation plus correction
Authored by: wallybear on Jul 18, '06 10:54:59AM

That's correct. My mistake.
It's "do shell script", not "do shell command".



[ Reply to This | # ]
Summation plus correction
Authored by: babbage on Jul 18, '06 12:27:33PM

For that matter, the shell code can do the delays too, with something like:

sleep 20
open /Applications/MyApp.app
sleep 2
open -a Mail
sleep 2
open /Applications/Safari.app/Contents/MacOS/Safari

Et cetera. Note that sleep in the shell code replaces the delay in the Applescript, and that the three variants of the open command can all be used more or less interchangeably. The second version is usually shortest, but the short name for an app launched this way isn't always obvious, e.g. I think the Office programs all have slightly oddball short names, but off the top of my head I can't remember what they were, or how to look that string up. Using the other two versions is a little more typing, but it's guaranteed to work.

---

--
DO NOT LEAVE IT IS NOT REAL

[ Reply to This | # ]