• 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: Home to top of the list.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Home to top of the list.
      • From: Robert Poland <email@hidden>
  • Prev by Date: Re: processor identification
  • Next by Date: Re: Home to top of the list.
  • Previous by thread: Re: Home to top of the list.
  • Next by thread: Re: Home to top of the list.
  • Index(es):
    • Date
    • Thread