Making Terminal quit
Making Terminal quit
- Subject: Making Terminal quit
- From: Doug McNutt <email@hidden>
- Date: Wed, 20 Nov 2002 10:56:30 -0700
I have a shell script which opens a few OS 7.5.3 disks during login. on 10.2.2 I have implemented it with a #!/bin/tcsh line and made it executable. It's in my startup items and it mounts the disks without any user interaction. No passwords, no keychain unlock.
OS neXt uses Terminal application to run the *.command. ( I guess there must be a reason.) What I want to do is either close the remaining useless Terminal window or just quit Terminal. Actually I'd rather not ever see the window.
osascript -e 'tell application "Terminal" to quit'
Is an obvious choice but all it does is create a dialog asking me to poke a button saying "yes please" and that's what I'm trying to avoid.
'tell application "Terminal" to quit. right away without delay or other shenanigans' won't compile.
--
--> There are 10 kinds of people: those who understand binary, and those who don't <--
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.