Re: Finder window toolbar
Re: Finder window toolbar
- Subject: Re: Finder window toolbar
- From: Paul Skinner <email@hidden>
- Date: Thu, 17 Jul 2003 16:16:39 -0400
On Thursday, July 17, 2003, at 02:11 PM, John Delacour wrote:
At 12:09 pm -0400 17/7/03, Paul Skinner wrote:
I can toggle the Finder window's toolbars.
[...]
But can anyone tell me how to tell if it's visible or collapsed?
This seems to be just about enough to make me nauseous.
I should have been more specific above.
Can anyone tell me how to tell if the finder window's TOOLBAR is
visible or collapsed?
OMM I can do this. No need for any GUI stuff. Rad the dictionary for
Finder window and window.
tell application "Finder"
activate
open (path to "cusr")
set f to target of front window
tell f's window
if not its collapsed then
set its collapsed to true
delay 1
set its index to 1
set its collapsed to false
end if
set its toolbar visible to false
end tell
end tell
JD
The line...
set its toolbar visible to false
throws an error OMM (AS 1.9.1 / System Events 1.2 / OS 10.2.6)...
'A property can't go after this identifier.'
PS
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.