Jump to content

TrackBar set value


Recommended Posts

probably ControlSend("MyApp","",$hSlider,"{DOWN}") (arrowkey down) will do it. or try on your keyboard first what key works best.

Edited by Edano

[color=rgb(255,0,0);][font="'comic sans ms', cursive;"]FukuLeaks[/color][/font]

Link to comment
Share on other sites

$hSlider = ControlGetHandle("MyWin", "", "[CLASS:msctls_trackbar32;INSTANCE:1]")

ConsoleWrite($hSlider & @CRLF) ; Just check you have a valid handle

$iPos = _GUICtrlSlider_GetPos($hSlider)

ConsoleWrite($iPos & @CRLF)
_GUICtrlSlider_SetPos($hSlider,1)

and slider dont move

in console i see right not moved position
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...