Jump to content

Input Box help


Recommended Posts

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!

Link to comment
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 )
Link to comment
Share on other sites

  • Moderators

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

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.

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