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: Luther Fuller <email@hidden>
- Date: Fri, 13 Nov 2009 09:02:43 -0600
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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden