bigassmuffin Posted September 8, 2006 Posted September 8, 2006 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!
Paulie Posted September 8, 2006 Posted September 8, 2006 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 )
bigassmuffin Posted September 8, 2006 Author Posted September 8, 2006 wow, so simple, cant believe I forgot that, thanks paulie
Moderators SmOke_N Posted September 8, 2006 Moderators Posted September 8, 2006 _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.
bigassmuffin Posted September 9, 2006 Author Posted September 9, 2006 _PixToMouse() looks familiar, I take it ... That function ended up working for you?yep, thanks smoke
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now