Jump to content
Sign in to follow this  
AshenNova

How to get the script to input desired text?

Recommended Posts

AshenNova

Hi, this is the first time im creating a script. Need help with the below. Appreciate it!

 

 

Untitled.png

Share this post


Link to post
Share on other sites
Valuater

Maybe...  

 

#include <MsgBoxConstants.au3>

Example()

Func Example()
    ; Places the input box in the top left corner displaying the characters as they
    ; are typed.
    Local $sAnswer = InputBox("Question", "Where were you born?", "Planet Earth", "", _
             - 1, -1, 0, 0)

    ; Display the result.
    MsgBox($MB_SYSTEMMODAL, "", $sAnswer)

    ; Asks the user to enter a password.  Don't forget to validate it!
    Local $sPasswd = InputBox("Security Check", "Enter your password.", "", "*")

    ; Display the result.
    MsgBox($MB_SYSTEMMODAL, "", $sPasswd)

    ; Asks the user to enter a 1 or 2 character response.  The M in the password
    ; field indicates that empty string is not accepted and the 2 indicates that the
    ; responce will be at most 2 characters long.
    Local $sValue = InputBox("Testing", "Enter the 1 or 2 character code.", "", " M2")

    ; Display the result.
    MsgBox($MB_SYSTEMMODAL, "", $sValue)
EndFunc   ;==>Example

8)

 


NEWHeader1.png

Share this post


Link to post
Share on other sites
JLogan3o13

Your actual script, rather than a screenshot forcing us to rewrite it all, would be useful.

Edit: It appears you are trying to automate a game. Please read the forum rules regarding game automation, and you will see why you will not receive help with this topic.

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×