Jump to content

inputbox input with response


zvvyt
 Share

Recommended Posts

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

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

Link to comment
Share on other sites

  • 2 weeks later...

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

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

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...