• 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
Scripting Finder view of folder (Laine Lee)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Finder view of folder (Laine Lee)


  • Subject: Scripting Finder view of folder (Laine Lee)
  • From: John Mitchell <email@hidden>
  • Date: Sun, 24 Jan 2010 11:41:48 +1100

Laine  - excellent, tks

can you recommend some documentation on the Processes Suite?

I then want to turn the on the contents of a folder in the list ie
 "turn" the arrow down.

Is this scriptable?


I would like to be able to offer you a script that performs a click with a
modifier key down, but I can't. If there's no toolbar, as you've indicated,
and you have "enable access for assistive..." turned on (and I'm not sure if
you need Snow Leopard or not, I have it), then maybe this is somewhere to
start.

tell application "System Events"
    tell process "Finder"
        set itemcount to get count rows of outline 1 of scroll area 1 of
splitter group 1 of front window
        repeat with i from 1 to itemcount
            try
                click UI element 1 of group 1 of row itemcount of outline 1
of scroll area 1 of splitter group 1 of front window
            end try
            set itemcount to itemcount - 1
        end repeat
    end tell
end tell

Laine Lee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.apple.com/mailman/private/applescript-users/attachments/20100122/1b27bf87/attachment.html



-- regards


John ------------------------------------------------------------------------- CQR Pty Ltd 1005/2 Dind Street, Milsons Point, NSW 2061 Australia ABN: 45 001 785 191 € NSW ARBN: 3605 Email:  email@hidden € Mob: +61 410 318 131 Skype:jrmitchell     Tel: +61 (2) 9922 3785 € Fax: +61 (2) 9929 4035 _______________________________________________ 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
  • Prev by Date: Re: How to test if a Mail folder exists?
  • Next by Date: Re: Numerical scripting
  • Previous by thread: AppleScript Editor eat memory
  • Next by thread: "Open for access weirdness"
  • Index(es):
    • Date
    • Thread