Re: What's wrong with the following script ?
Re: What's wrong with the following script ?
- Subject: Re: What's wrong with the following script ?
- From: Malcolm Fitzgerald <email@hidden>
- Date: Mon, 26 Jun 2006 10:24:41 +1000
On 26/06/2006, at 7:57 AM, Andrew Oliver wrote:
On Jun 25, 2006, at 9:05 AM, Emile Schwarz wrote:
The script have been created while the Script Editor records the
Finder actions. Mac OS X 10.4.6
What's wrong with the following script ?
...
What's wrong with it?
It's ugly. It's perfectly useless. Will only work in cases where you
have at least 6 Finder windows open when you run it (otherwise it will
throw an error). It's completely inflexible, oh, and assuming what it
does is what you want, it be done with just two lines of code.
Andrew, your script doesn't bring the fourth window to the front! ;-)
tell application "Finder"
close {Finder window 1, Finder window 2}
set bounds of Finder window 4 to {0, 44, 601, 394}
select Finder window 4 --> bring window to front
end tell
malcolm
_______________________________________________
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