View Single Post
  #7  
Old March 1st, 2003, 02:47 PM
Ebonit's Avatar
Ebonit Ebonit is offline
Registered User
 
Join Date: Dec 2001
Location: Netherlands
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Ebonit is on a distinguished road
It is much easier , like fokman, three posts before, points out! You don't have to use apple script at all. just make a script in your favourite text editor and save it with the .command extension.

When you doubleclick this script, it will open a terminal and run your script..

NOTE! when using BB-edit you have to change the options settings in the save as menu:
Save State should be set to MPW Shell
Line breaks -> Unix ( i'm not sure if this is nessesary, i just put it that way).
If you keep the default settings you'll find that BB-edit opens the file when you doubleclick it.
__________________
500Mhz G4 powerbook "Wallstreet" - MacOS X 10.2.4 + 350Mhz G4 Umax S900 - MacOS X 10.2.4 + 233Mhz iMac - MacOS 9.2.2 + 200Mhz Powermac 4400 Mac OS 8.1 + P4 2.4 Ghz - Windows2000Server & XP pro + 366 Mhz Celeron - Redhat Linux 7.3 pro + 150 Mhz Pentium I - Susu Linux
Reply With Quote