Forum Discussion

pkudrys's avatar
pkudrys
Contributor
5 days ago

Set web slider position without dragging slider

Hi guys, 

Is there a way to set the web slider position, without the need to drag the slider (or using cursor/page up/down keys)? I found SetPosition action or wPosition property, but neither seem work with the web objects.

And yes, I also tried set "Keys" or "value", but these does not work either. 

Thanks for any idea :) 

3 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    What properties or methods are exposed, when using Object Spy tool?

  • nastester's avatar
    nastester
    Regular Contributor

    I had a similar issue and I subsequently moved on from it.  I have a horizontal slider than can be dragged to expand a panel.  I noticed using the Object Spy that the Left and ScreenLeft property would change when it was dragged.  I was hoping to find a way to manipulate these properties with a script or something but never figured it out.  Maybe something similar can be used in your case 

  • Any chance MouseWheel works if you hover over the slider?  In my experience it works for some sliders but not all of them. 

    If that doesn't work maybe as suggested there is some other native method buried in the Object Spy list.