Re: Opening a folder is AS vrs double clicking
Re: Opening a folder is AS vrs double clicking
- Subject: Re: Opening a folder is AS vrs double clicking
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 13 Nov 2009 09:59:50 -0800
- Thread-topic: Opening a folder is AS vrs double clicking
You can also open the folder window where it can't be seen {1,1,1,1} then
set the window's properties as you want them, except the bounds, then close
it and reopen it with the bounds you want.
But as Luther said, the window must exist in order to script most of its
properties.
On 11/13/09 7:02 AM, "Luther Fuller" wrote:
> On Nov 13, 2009, at 8:48 AM, Jim Brandt wrote:
>
>> So you're saying that a straight open command can't do the job; I have to set
>> all the properties both when I make the folder (for double clicks of the
>> icon) and within each script via individual set commands for folders opened
>> via AS? That sucks!
>
> I am saying that I am suspicious of the 'with properties {...}' phrase. I have
> encountered situations where items other than 'name' don't work. (Bug?)
>
> You have to set the properties of a window not a folder, hence the 'winRef'
> variable.
>
> Some properties require the window to be open, others don't.
> 'toolbar visible' requires the window to be open.
> This is a bug because it slows a repeat loop while you watch the animation.
> (I've reported it.)
>
> Once you have created the folder with the desired properties, the properties
> will persist and will be displayed the next time you double-click the folder
> icon.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> com
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden