• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finder window toolbar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Finder window toolbar
      • From: John Delacour <email@hidden>
References: 
 >Re: Finder window toolbar (From: John Delacour <email@hidden>)

  • Prev by Date: Re: quoting
  • Next by Date: Re: 'mount volume' for Windows volumes
  • Previous by thread: Re: Finder window toolbar
  • Next by thread: Re: Finder window toolbar
  • Index(es):
    • Date
    • Thread