Re: Home to top of the list.
Re: Home to top of the list.
- Subject: Re: Home to top of the list.
- From: Philip Aker <email@hidden>
- Date: Sat, 16 May 2009 14:19:15 -0700
On 2009-05-16, at 14:00:47, Philip Aker wrote:
The reason is I want the window to scroll to the top rather that select some random point. Then when I click the zoom button the display will show the top viewable portion of the window.
Seems like a problem for UI scripting because it looks like the Finder doesn't have any specific support for the needed facility. And actually, I think there may be a problem using UI scripting to click the mouse at a specific point (didn't work properly on 10.4 and I haven't tried it since then).
Well, seems like a click might not be necessary:
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
Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch.
|
_______________________________________________
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