Sign in to follow this  
Followers 0
bigassmuffin

Input Box help

5 posts in this topic

Alright, so I have my input box,

$Input_1 = GUICtrlCreateInput("30", 40, 64, 33, 21, -1, $WS_EX_CLIENTEDGE)

and I have this code,

$aSearch = _PixToMouse( 30, 0x9C3463 )

Instead of the 30, I want it to be whatever number is typed in from input_1,

so then I tried:

$aSearch = _PixToMouse( $Input_1, 0x9C3463 )

but this did not work either, any help?

THANKS FOR YOUR TIME!

Share this post


Link to post
Share on other sites



Alright, so I have my input box,

$Input_1 = GUICtrlCreateInput("30", 40, 64, 33, 21, -1, $WS_EX_CLIENTEDGE)

and I have this code,

$aSearch = _PixToMouse( 30, 0x9C3463 )

Instead of the 30, I want it to be whatever number is typed in from input_1,

so then I tried:

$aSearch = _PixToMouse( $Input_1, 0x9C3463 )

but this did not work either, any help?

THANKS FOR YOUR TIME!

Make sure you GuiCtrlRead the input

$aSearch = _PixToMouse( GuiCtrlRead($Input_1), 0x9C3463 )

Share this post


Link to post
Share on other sites

wow, so simple, cant believe I forgot that, thanks paulie :)

Share this post


Link to post
Share on other sites

_PixToMouse() looks familiar, I take it ... That function ended up working for you?


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

_PixToMouse() looks familiar, I take it ... That function ended up working for you?

yep, thanks smoke

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