Jump to content

UpDown Spinner Increments.


Aceguy
 Share

Recommended Posts

i got it to work for only going up but im trying to get it to work going down well whatever ill have to think of some way if u need it to go down but i just modified my script for a dif thing i did today

#include <GUIConstants.au3>
#include <File.au3>
$current = 1
; == GUI generated with Koda ==
$Form1 = GUICreate("AForm1", 622, 441, 192, 125)
$browse = GUICtrlCreateButton("Browse", 16, 8, 49, 25)
$run = GUICtrlCreateInput("", 80, 8, 161, 21, -1, $WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Hour", 24, 48, 27, 17)
$time = GUICtrlCreateInput("", 56, 48, 113, 21, -1, $WS_EX_CLIENTEDGE)
$changetime = GUICtrlCreateUpdown($time)
GUICtrlCreateLabel("Minute", 24, 80, 36, 17)
$minute = GUICtrlCreateInput("", 72, 80, 97, 21, -1, $WS_EX_CLIENTEDGE)
$changeminute = GUICtrlCreateUpdown($minute)
$save = GUICtrlCreateButton("Save",72,110)
GUISetState(@SW_SHOW)
While 1
    $current = GUICtrlRead($time)
$msg = GUIGetMsg()
If $msg = $browse Then
    GUICtrlSetData($run,FileOpenDialog("Choose what to Run","","Executables (*.exe)"))
    $prog = 1
EndIf
If $msg = $changetime Then
GUICtrlSetData($time,GUICtrlRead($time) + 4)
EndIf
If $msg = $changeminute Then
GUICtrlSetData($minute,GUICtrlRead($minute) + 4)
EndIf
If $msg = $GUI_EVENT_CLOSE then Exit
WEnd
Edited by thatsgreat2345
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...