Re: minimize the terminal.
Re: minimize the terminal.
- Subject: Re: minimize the terminal.
- From: kai <email@hidden>
- Date: Wed, 22 Oct 2003 20:58:56 +0100
on Wed, 22 Oct 2003 08:13:03 -0400, Mathew Hoy wrote:
>
i'm trying to write a script that opens terminal, starts script "top" and then
>
minimizes the window.
>
>
so far:
>
>
tell app "terminal"
>
activate
>
do shell script "top"
>
end tell
>
>
i've been trying ways to minimize the window all morning. anyone have any
>
suggestions? ugh. i'm too new to applescript to "get it" this early in the
>
morning.
Try:
tell application "System Events"
tell process "Terminal"
click button 3 of window 1
end tell
end tell
---
kai
_______________________________________________
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.