Jump to content
Sign in to follow this  
virus4141

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

Recommended Posts

virus4141

edited

Edited by virus4141

Share this post


Link to post
Share on other sites
blindwig

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
virus4141

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
layer

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
virus4141

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
virus4141

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  

×