Jump to content

How do you make a user defined value be used in...


Recommended Posts

How do you make a user defined value be used in another part of a script

like if I had a input box and someone put in, lets say the Coords he wanted the mouse to move to, how could I make the script use that value in another line,

like a mousemove code. sorry for the bad question if you need clerfication just askĀ  :(

also sorry its a really newb question.

<{POST_SNAPBACK}>

Use GuiCtrlRead() to see what a user has typed in an input box
Link to comment
Share on other sites

If you mean a GUI input box, then use GUICtrlRead, but if you're using a pop up input box like InputBox(), then you would do this:

$x = InputBox("X Coord", "What is the X coord?")
$y = InputBox("Y Coord", "What is the Y coord?")
MouseMove($x, $y)

Good luck! :(

FootbaG
Link to comment
Share on other sites

If you mean a GUI input box, then use GUICtrlRead, but if you're using a pop up input box like InputBox(), then you would do this:

$x = InputBox("X Coord", "What is the X coord?")
$y = InputBox("Y Coord", "What is the Y coord?")
MouseMove($x, $y)

Good luck! :(

<{POST_SNAPBACK}>

i think thats what i need ty
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...