[softwarelist] Re: OvPro scroll speed

  • From: David Pilling <david@xxxxxxxxxxxxxxxx>
  • To: davidpilling@xxxxxxxxxxxxx
  • Date: Thu, 3 Nov 2022 12:59:28 +0000

Hi,

Thanks Gavin, that seems to be the solution. I'd forgotten about it.

To get less of an effect, increase the first value, and decrease the others.

It is a single script language call

autoscroll(0x2000,0x1000,0x4000,0x8000);

Make that a macro body and execute it.

I would set it up as a constant macro in {} and then double click the macro name to execute as you play with different values.

I have to go and do something, might be errors above, I'll return to this later...


On 03/11/2022 12:49, Gavin Crawford wrote:

On 03-11-2022 11:46, David Pilling wrote:

[snip]

OP does its own thing for scrolling whilst you're dragging items
around. Off hand I don't think it is configurable and there is a
compromise. I often (possibly with other apps) get into the situation
of it taking too long to move from one place to another whilst
dragging something.

Well there is the script function autoscroll() but not sure if that is relevant to this discussion as I've never tried using it, and wouldn't know what settings to use. I suppose a bit of trial and error experimenting may be worth while. If I had more time I'd have a play, but sadly I'm busy migrating a bunch of internet domains as my hosting company is decommisioning it's servers in 7 days.

---8<-----------

void autoscroll(
    int range,
    int a0,
    int a1,
    int a2);

This function controls the auto scrolling effect.
All the parameters are fractions 0x10000=1.0.

The first parameter is the fraction of the window width or height, which the pointer must be inside for auto scrolling to take place. By default this is 0x2000 or 1/8th.

If the distance into the scroll zone is x pixels which is a fraction z of the zone size, then the amount scrolled is

    shift=x*(a0+z*a1+z*z*a2)

By default:
   a0=0x1000
   a1=0x4000
   a2=0x8000

---8<-----------


Gavin

To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

--
David Pilling
www.davidpilling.com
To unsubscribe or subscribe goto: //www.freelists.org/list/davidpilling

Other related posts: