Re: Making Terminal quit
Re: Making Terminal quit
- Subject: Re: Making Terminal quit
- From: Doug McNutt <email@hidden>
- Date: Thu, 21 Nov 2002 09:50:56 -0700
At 14:26 -0600 11/20/02, Sam Griffith wrote:
>
Maybe the Terminal --> Window Settings... Have something to do with it? You
>
can set them to close the window after the script has executed, so maybe if
>
the window is closed, then terminal won't display that dialog.
At 11:45 -0800 11/20/02, David Glass wrote:
>
Worked for me.
It turns out that mucking with the window settings of Terminal makes quite a difference. They are fairly obtuse though and I'm not sure I understand them. My changed settings work but I don't know how to describe them.
tell application "Terminal" to quit
runs OK from the Script Editor but it apparently has trouble when executed from within the terminal application as an osascript method. It's something like telling your mother to go away. Can one tell the Script Editor to quit from within itself?
My window now closes and there is no distraction when the boss runs my startup script without understanding how it works. If I log in and, being careful not to use Terminal, execute a ps -aux request I can see that Termnal is in fact still running. It's amusing that a process called osascript is also running but seems to go away by itself in a few minutes.
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
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.