Sign in to follow this  
Followers 0
zvvyt

inputbox input with response

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Squirrely1

Das Häschen benutzt Radar

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 ---->") ^^

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  
Followers 0