Jump to content

Input Box Help!


Recommended Posts

I am creating a simple macro to help me do some work.

I need to create an input box, and when I type in the information and click okay, it pastes the information at the designated line in the program.

Essentially, if I open notepad and then run the script, I should be able to type in information, click enter, and see the text appear in notepad.

This is really basic, I know!

Right now, I just have -

$text = InputBox("IP Address", "Please type in an IP Address and click OK")

Thanks so much, I really appreciate any help!

Link to comment
Share on other sites

you could have done

ControlSend("[CLASS:Notepad]", "", "Edit1", $value)

instead :mellow:

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

ControlSend("[CLASS:Notepad]", "", "Edit1", $value&@CR)

however, if you close notepad and reopen it, it will start from the very top again.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

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