Sign in to follow this  
Followers 0
virus4141

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

6 posts in this topic

#1 ·  Posted (edited)

edited

Edited by virus4141

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

Use GuiCtrlRead() to see what a user has typed in an input box

<{POST_SNAPBACK}>

ah ok ill look that up ty

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

oh cool its exactly what i need thanx much

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