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


Click here to return to the 'AppleScript Solution' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript Solution
Authored by: Duncan Mok on Oct 29, '02 09:19:10PM
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

[ Reply to This | # ]
AppleScript Solution
Authored by: bluehz on Oct 29, '02 11:03:36PM

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.

Use whatever makes you comfortable though - thats what counts.



[ Reply to This | # ]
AppleScript Solution
Authored by: lebowski on Oct 30, '02 05:09:38AM

I'm new to applescript, so bear with me.

I put the script into ScriptEditor and then saved the file to my desktop. I then double-clicked the file, and it re-opened scrit editor. I then had to click the 'run' button to make the script actually run.

Is this the only way to do it? Isn't there a way to make the script run when i double click it?

cheers,
L.



[ Reply to This | # ]
AppleScript Solution
Authored by: lebowski on Oct 30, '02 05:23:59AM

Forget my last post about how to make the script and application - i found the answer in Help of all places.

What i would like to know tho, is if this method can be applied to Documents as well as apps. I just added another line
open "Home:Documents:Stuff:Radio:BBC Radio2.ram"
hoping that it would also open the streaming Radio link in RealOne like it's supposed to - didn't work of course.

any suggestions?

L.



[ Reply to This | # ]