zvvyt Posted January 26, 2008 Share Posted January 26, 2008 Ok, the topic title maybe didn't say much, but w/e Here's the deal: I want my script to copy a text piece (can do that myself) But then I want the script to response to the specific input F.e if the copied input in 1. I want the script to send wfrzx Just don't know how to make it get that input to change into that frase (wfrzx) Help is very appreciated! Thx in advance Link to comment Share on other sites More sharing options...
Squirrely1 Posted January 26, 2008 Share Posted January 26, 2008 (edited) Post what code you have so that we can see what it needs. Maybe you are talking about text that resides on the clipboard. If so, this code might help: $TextToReplace = "1" While 1 If ClipGet() == $TextToReplace Then Send("wfrzx") EndIf Sleep(30) WEnd Edited January 27, 2008 by Squirrely1 Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
laffo16 Posted February 6, 2008 Share Posted February 6, 2008 sorry to jump in here, but my question is along simular lines, but concerning GUICtrlCreateInput, i want a fuction to be ran after each letter/number is typed, to run querys on the currently inputed string. currently i am only able to identify/trigger any changes in the input after the user clicks on a different control and said code is activated: $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_Input1 Func CheckInput() zvvyt, it does sound like ClipGet() is what you need. Link to comment Share on other sites More sharing options...
laffo16 Posted February 7, 2008 Share Posted February 7, 2008 sorry to jump in here, but my question is along simular lines, but concerning GUICtrlCreateInput, i want a fuction to be ran after each letter/number is typed, to run querys on the currently inputed string. currently i am only able to identify/trigger any changes in the input after the user clicks on a different control and said code is activated: $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_Input1 Func CheckInput() zvvyt, it does sound like ClipGet() is what you need. bump! can anyone point me in the right direction? ("that way ---->") ^^ Link to comment Share on other sites More sharing options...
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