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

Re: Finder GUI Scripting


  • Subject: Re: Finder GUI Scripting
  • From: Vincent Claudic <email@hidden>
  • Date: Mon, 1 Aug 2005 19:48:05 +0200

Hi Robert,

the error is not really verbose or helpfull:

tell application "Finder"
    activate
    get frontmost
        true
    set current view of Finder window true to list view
        list view
    get frontmost
        true
    get zoomed of Finder window true
        false
    get frontmost
        true
    set zoomed of Finder window true to true
        "Finder Error : Impossible to continue ."

the only thing which could be noticed is that AS doesn't seem to interpret properly the commands and is mixing the results and the commands.

Thanks for your attention and read you later,

all the best,

Vincent

Le 1 août 05 à 18:05, Robert Poland a écrit :

Hello everybody,


just newcomer onto 10.4Š Does someone already tried the following which was working on 10.3 ?

tell application "Finder"
    activate
    set current view of Finder window frontmost to list view
    if zoomed of Finder window frontmost is false then
        set zoomed of Finder window frontmost to true
    end if
end tell

--
Vincent


Gives me an error.

I ended up using iKey to do zooming.
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/


 _______________________________________________
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: 
 >Finder GUI Scripting (From: Vincent Claudic <email@hidden>)

  • Prev by Date: Add an applescript to the Services Menu
  • Next by Date: Re: Finder GUI Scripting
  • Previous by thread: Finder GUI Scripting
  • Next by thread: Re: Finder GUI Scripting
  • Index(es):
    • Date
    • Thread