• 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: Particulars of Finder Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Particulars of Finder Windows


  • Subject: Re: Particulars of Finder Windows
  • From: Dennis Cox <email@hidden>
  • Date: Fri, 15 Apr 2011 10:17:55 -0500
  • Thread-topic: Particulars of Finder Windows



> From: Marconi <email@hidden>
> Date: Fri, 15 Apr 2011 08:06:42 -0700
> To: Applescript Users <email@hidden>
> Subject: Re: Particulars of Finder Windows
>
> At 10:44 PM +1000 4/15/11, Brian Christmas sent email regarding Re:
> Particulars of Finder Windows:
>> G'day Marconi
>>
>> This should get you started.
>>
>> tell application "Finder"
>> set WindowProperties to properties of front window
>> end tell
>
> Given that this returns a list (I think), how does one extract a
> particular property?
>
> position:{1104, 171}, bounds:{1104, 171, 1876, 812}, index:1,
> zoomed:false, closeable:true, titled:true, floating:false,
> modal:false, resizable:true, zoomable:true, visible:true,
> collapsed:false, target:folder "Scripts" of folder "Library" of
> folder "marconi" of folder "Users" of startup disk of application
> "Finder", current view:list view, icon view options:icon view options
> of Finder window id 11049 of application "Finder", list view
> options:list view options of Finder window id 11049 of application
> "Finder", column view options:column view options of Finder window id
> 11049 of application "Finder", toolbar visible:true, statusbar
> visible:true, sidebar width:135}
>

Instead of setting the variable to the properties of the front window, set
it to any property of the front window.

set sideBarWidth to sidebar width of front window.

Dennis Cox

 _______________________________________________
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

References: 
 >Re: Particulars of Finder Windows (From: Marconi <email@hidden>)

  • Prev by Date: Re: Particulars of Finder Windows
  • Next by Date: Re: Particulars of Finder Windows
  • Previous by thread: Re: Particulars of Finder Windows
  • Next by thread: Re: Particulars of Finder Windows
  • Index(es):
    • Date
    • Thread