|
|
Easier? Newbie question
Wouldn't all of this be easier if you just used an AppleScript to do the launching. I assume then, that you wouldn't need a terminal at all.
Easier? Newbie question
I think so, but I am a newbie to.... ;-)
AppleScript Solution
Yes. Very easy. As in the following:
tell application "Finder"
open "Applications:Internet Explorer"
open "Applications:Mail"
open "Applications:Netscape:Netscape"
end tell
Note that you don't always have to specify the full path, but I ran into a problem with the Mail application where a Classic application of the same name was being launched instead of the Mac OS X Mail.app.
Pretty simple, really. There are hints elsewhere on this site to explain how to make this a double-clickable application, complete with icon, if that's what you want to do.
Cheers,
Dunk
AppleScript Solution
I agree - Applescripts are much easier to use. I have used Applescripts for years...but in my opinion there is a noticeable lag in Applescripts in OS X that does not exist with shell scripts - even when the shell scripts use some AppleScript. I personally am migrating away from Applescript - but some things you will never be able to do in shell script with Unix. Its absolutely amazing that we in OS X have this incredible interaction that can take place between shell scripts and AppleScript. The possibilities really are endless.
AppleScript Solution
I'm new to applescript, so bear with me.
AppleScript Solution
Forget my last post about how to make the script and application - i found the answer in Help of all places. |
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.09 seconds |
|