bigassmuffin Posted September 8, 2006 Share 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! Link to comment Share on other sites More sharing options...
Paulie Posted September 8, 2006 Share 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 ) Link to comment Share on other sites More sharing options...
bigassmuffin Posted September 8, 2006 Author Share Posted September 8, 2006 wow, so simple, cant believe I forgot that, thanks paulie Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 8, 2006 Moderators Share 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. Link to comment Share on other sites More sharing options...
bigassmuffin Posted September 9, 2006 Author Share Posted September 9, 2006 _PixToMouse() looks familiar, I take it ... That function ended up working for you?yep, thanks smoke Link to comment Share on other sites More sharing options...
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