iGryc Posted June 6, 2008 Posted June 6, 2008 can set the hotkey i want fine but the actual function is where im confused as to how to go about it. any help on manipulating an autoit inputbox? in need of a hotkey triggering the Cancel button on the inputbox. used the window tool and saw its instance 2 of a button but dont exactly know how to make use of the information. any help is appreciated. thanks
Bert Posted June 6, 2008 Posted June 6, 2008 can you give us your code? I'm not following you... The Vollatran project My blog: http://www.vollysinterestingshit.com/
newbiescripter Posted June 6, 2008 Posted June 6, 2008 I'm not sure what you mean exactly but here is an example in how you could use an inputbox: $name = InputBox("TEST","Put in your name","type your name here") If @error = 1 Then MsgBox(0,"TEST","You hit the Cancel or Close button") Else MsgBox(0,"TEST","your name is: " & $name) EndIf Regards
iGryc Posted June 6, 2008 Author Posted June 6, 2008 (edited) um: HotKeySet($clear_screen,"clear_screen") Func clear_screen() SplashOff() EndFunc i want it also to clear the screen of an inputbox, if one is on the screen. the inputbox is something of: $search = InputBox("lolutilities.", "ENTER COMMAND", "","",190,115,0,0) idk how to make the hotkey for clear_screen func, also close the above inputbox if its on the screen. i add this to the clear_screen func: ControlSend("lolutilities.","Cancel",Button2,"{ENTER}") i get a syntax error. ive tried other things but cant seem to get it working. hope the above will prove more helpful in getting help answering my question EDIT: accidentally didnt add the . in the $search inputbox title. just now added on this post. Edited June 6, 2008 by iGryc
TnTProductions Posted June 6, 2008 Posted June 6, 2008 um: HotKeySet($clear_screen,"clear_screen") Func clear_screen() SplashOff() EndFunc i want it also to clear the screen of an inputbox, if one is on the screen. the inputbox is something of: $search = InputBox("lolutilities", "ENTER COMMAND", "","",190,115,0,0) idk how to make the hotkey for clear_screen func, also close the above inputbox if its on the screen. i add this to the clear_screen func: ControlSend("lolutilities.","Cancel",Button2,"{ENTER}") i get a syntax error. ive tried other things but cant seem to get it working. hope the above will prove more helpful in getting help answering my question if you want to exit the message box you could use the exit function hotkeyset("{ESC}","Terminate" Func Terminate() Exit 0 that removes evrything terminating it? "FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"
iGryc Posted June 6, 2008 Author Posted June 6, 2008 if you want to exit the message box you could use the exit function hotkeyset("{ESC}","Terminate" Func Terminate() Exit 0 that removes evrything terminating it? 'point is i want it CLEARING the screen of anything that might be displayed atm, which only consists of a splashimageon hence the splashoff() in the clear screen func. i want the inputbox also cleared if its on the screen, without terminating the script.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now