Re: Home to top of the list.
Re: Home to top of the list.
- Subject: Re: Home to top of the list.
- From: "Nigel Garvey" <email@hidden>
- Date: Sun, 17 May 2009 14:53:01 +0100
Robert Poland wrote on Sat, 16 May 2009 15:43:28 -0600:
>Thanks again Philip,
>
>Just when I almost figured out what you were telling me in the first
>example you came up with this.
>
>Works perfectly.
>> tell application "Finder" to activate
>> tell application "System Events" to tell application process "Finder"
>> tell scroll area 1 of window 1
>> set value of every scroll bar to 0
>> end tell
>> end tell
On my Tiger system, it has to be 'tell scroll area 2 of splitter group 1
of window 1'. Another idea, which doesn't use "GUI Scripting" as such is:
tell application "Finder" to activate
tell application "System Events" to key code 115
115 is the Home key on my G5. I don't know if the code works with all
keyboards though.
NG
_______________________________________________
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