• 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: Safari scroll bar problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari scroll bar problem


  • Subject: Re: Safari scroll bar problem
  • From: Phil Stokes <email@hidden>
  • Date: Thu, 01 Sep 2016 12:39:44 +0700

Can I ask what problem you are trying to solve that requires you to know the scroll bar position?

I can’t imagine any reason why that would be useful, or to put it another way, there must be a better way to solve whatever problem it is you’re trying to solve than by looking for the scroll bar position.


Best


P
On 1 Sep 2016, at 09:06, Brian Christmas <email@hidden> wrote:

G’day scripters

This is probably for Bill Cheeseman, but anyone welcome to chip in.

With my 24/7 Safari page cycling app (that I recently posted, but am updating for bugs), sometimes the vertical scroll bar on sites cannot be ‘seen’ by Applescript, nor by ‘UI Browser’.

UI Browser actually reports the existence of the scrollbar, but does not hilite it, nor offer an Applescript to address it.

Only happens with certain sites, but not always. Ex. http://www.macworld.com

Any known remedies? I’m trying to read the scroll position of the bar.

Regards

Santa

set scrollPos to value of scroll bar 1 of scroll area 1 of group 1 of group 1 of tab group 1 of splitter group 1 of window 1 as text

And what, you ask, was the beginning of it all?
And it is this......
Existence that multiplied itself
For sheer delight of being
And plunged with numberless trillions of forms
So that it might
find
itself
innumerably

Sri Aurobindo


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: Safari scroll bar problem
      • From: Jim Underwood <email@hidden>
References: 
 >Safari scroll bar problem (From: Brian Christmas <email@hidden>)

  • Prev by Date: Safari scroll bar problem
  • Next by Date: Re: Safari scroll bar problem
  • Previous by thread: Safari scroll bar problem
  • Next by thread: Re: Safari scroll bar problem
  • Index(es):
    • Date
    • Thread