Re: Finder Scripting
Re: Finder Scripting
- Subject: Re: Finder Scripting
- From: Emile Schwarz <email@hidden>
- Date: Mon, 22 Aug 2005 08:30:52 +0200
Thanks Doug,
Interesting... Does not squash the bug, but can help.
However, how can I issue AppleScript orders from the Terminal ?
[I sent orders to the terminal from AppleScript, but never in the other way...]
TIA,
Emile
email@hidden wrote:
Date: Sun, 21 Aug 2005 10:52:46 -0600
From: Doug McNutt <email@hidden>
Subject: Re: Finder Scripting
To: email@hidden
Message-ID: <p05100301bf2e616d0b95@[192.168.1.14]>
Content-Type: text/plain; charset="us-ascii"
At 09:01 +0200 8/21/05, Emile Schwarz wrote:
I am sorry to have to report the following:
tell application "Finder"
set bounds of front window to {0, 44, 100, 100}
return properties of front window
end tell
When run, the script does its job. BUT, close the window, open it and you get the window back to the previous location and widh/height...
A similar effect occurs when attempting to set window bounds in Terminal.app. Setting the bounds twice helps but making a loop that sets bounds then checks bounds until Terminal gets it right never fails.
_______________________________________________
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