Jump to content

how to change values with textboxs ?


Gawish
 Share

Recommended Posts

how to change this values with textboxs ?

 

y9DoscO0.png

full code

HotKeySet ("q", "myfunceq")
HotKeySet ("w", "myfuncew")
HotKeySet ("e", "myfuncee")
HotKeySet ("r", "myfuncer")
HotKeySet ("t", "myfuncet")
HotKeySet ("y", "myfuncey")
HotKeySet ("u", "myfunceu")
HotKeySet ("i", "myfuncei")
HotKeySet ("o", "myfunceo")
HotKeySet ("p", "myfuncep")

opt("SendKeyDelay",0) 
 opt("SendKeyDownDelay",0) 
 
 While 1
    ; endless Loop
    Sleep(10) ; avoid high CPU usag
    WEnd
    
    Func myfunceq()
send("{F4 2}{3 2}") 
 send("{F1 2}{1 2}") 
 EndFunc
 
    Func myfuncew()
send("{F4 2}{6 2}") 
 send("{F1 2}{2 2}") 
 EndFunc
 
    Func myfuncee()
send("{F4 2}{5 2}") 
 send("{F1 2}{3 2}") 
 EndFunc
 
    Func myfuncer()
send("{F4 2}{5 2}") 
 send("{F1 2}{4 2}") 
 EndFunc
 
    Func myfuncet()
send("{F4 2}{1 2}") 
 send("{F1 2}{5 2}") 
 EndFunc
 
    Func myfuncey()
send("{F4 2}{1 2}") 
 send("{F1 2}{6 2}") 
 EndFunc
 
    Func myfunceu()
send("{F4 2}{2 2}") 
 send("{F1 2}{7 2}") 
 EndFunc
 
    Func myfuncei()
send("{F4 2}{1 2}") 
 send("{F1 2}{8 2}") 
 EndFunc
 
    Func myfunceo()
send("{F4 2}{1 2}") 
 send("{F1 2}{9 2}") 
 EndFunc
 
    Func myfuncep()
send("{F4 2}{1 2}") 
 send("{F1 2}{0 2}") 
 EndFunc
Edited by Gawish
Link to comment
Share on other sites

do not bump.

maybe this:

Local $Input_1 = GUICtrlCreateInput("", 70, 20, 90, 20)


Func myfuncer()
send("{F4 2}"& GUICtrlRead($Input_1))
send("{F1 2}{4 2}")
EndFunc

saludos

Edited by Danyfirex
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...