Jump to content
Sign in to follow this  
Gawish

how to change values with textboxs ?

Recommended Posts

Gawish

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

Share this post


Link to post
Share on other sites
Gawish

pls help me :(

Share this post


Link to post
Share on other sites
michaelslamet

Does really understand what you're trying to do. If you could explain, I think you will get a better help :)

Share this post


Link to post
Share on other sites
Gawish

ex: i want to make key "Q" send the value in text box in my form

Share this post


Link to post
Share on other sites
Danyfirex

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
  • Like 1

Share this post


Link to post
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
Sign in to follow this  

×