Re: Position of window in Terminal...
Re: Position of window in Terminal...
- Subject: Re: Position of window in Terminal...
- From: Martin Orpen <email@hidden>
- Date: Tue, 28 Sep 2004 00:38:25 +0100
Title: Re: Position of window in Terminal...
on 28/9/04 12:16 am, Johnny AppleScript at email@hidden wrote:
Anything wrong with this alternative? -- JA (who is by no means excusing Terminal's rowdy, nonconformist behavior)
tell application "Terminal"
activate
do script "ls"
set z to bounds of window 1
set bounds of window 1 to {0, 0, (item 3 of z) - (item 1 of z), (item 4 of z) - (item 2 of z)}
end tell
Apart from ending up with two Terminal sessions and having to carry out some dull command for no reason whatsoever? :-)
It’s easier to open the Term.nib in Interface Builder and set the x and y coordinates so that you don’t have to worry about them ever again.
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden