I have a program I'm trying to automate. I have hit a problem with my updown control though.
When the form opens, the control has a default value of 6 and a range of 0-24. I can change it to (for example) 0 by doing this.
;Set Rate to 0
ControlFocus("London Control - Log On","","[CLASS:TEdit; INSTANCE:2]")
For $x = 1 To 6
Send("{DOWN}")
Next
I wonder if there's a more elegant way to write a value? GuiCtrlSetData doesn't work. If the worst comes to the worst I'll write a function that accepts my value to write and do what's in the code snippet above, first doing 24 {DOWN}s to zero it.
Can't help but think I'm missing something.
Thanks,
Paul.