Position of window in Terminal...
Position of window in Terminal...
- Subject: Position of window in Terminal...
- From: David Crowe <email@hidden>
- Date: Mon, 27 Sep 2004 11:07:26 -0600
Title: Position of window in
Terminal...
This works for me to position a Terminal window in the top
left:
tell application "Terminal"
activate
do
script "ls"
set
bounds of window 1
to {0, 0,
(item 3 of
bounds
of window 1) - (item
1 of bounds of
window 1), ¬
(item 4 of
bounds
of window 1) - (item
2 of bounds of
window 1)}
end
tell
Well, it works, but then it generates an error, but the window is
positioned correctly.
- David Crowe
_______________________________________________
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