• 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 Scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Scripting


  • Subject: Re: Finder Scripting
  • From: Christopher Stone <email@hidden>
  • Date: Tue, 23 Aug 2005 11:08:33 -0500

At 20:48 -0700 08/22/2005, Dave Lyons wrought:

Thanks; we are now tracking this better in Radar.

I haven't yet tried the following workaround (offered in one of the bug reports), which is said to make the change stick. After setting the bounds, change the "toolbar visible" property and then change it back:
set toolbar visible of theWindow to true
set toolbar visible of theWindow to false
-- or false, true

I'm happy to say it works.

 tell application "Finder"
   tell front window
     set its bounds to {0, 44, 544, 628}
     repeat 2 times
       set toolbar visible to not (toolbar visible)
     end repeat
   end tell
 end tell

I *thought* I had tried that without success...  <shrug>

Not overly bothersome when run from QuicKeys - especially compared to what I *was* going through to make changes stick.

Thanks Dave.


Chris


_______________________________________________ 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
References: 
 >Re: Finder Scripting (From: Emile Schwarz <email@hidden>)
 >Re: Finder Scripting (From: Dave Lyons <email@hidden>)

  • Prev by Date: Terminal at my Fingertips
  • Next by Date: Re: Terminal at my Fingertips
  • Previous by thread: Re: Finder Scripting
  • Next by thread: Re: Finder Scripting
  • Index(es):
    • Date
    • Thread