crowbait Posted January 18, 2007 Share Posted January 18, 2007 I've got Active Window Info (AWI) up and running. I then execute mousemove(1536,336) msgbox(0,"",pixelgetcolor(1536,336)) Shouldn't the value returned by the msgbox, be the same that I see under Dec:xxx in the Pixel Color Under Mouse section of AWI ? Mine is not....and it seems like it should be. Thoughts anyone? Link to comment Share on other sites More sharing options...
BrettF Posted January 18, 2007 Share Posted January 18, 2007 as far as i know, a message box will only return the ID of the button pressed, or -1 if the message box timed out. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
BrettF Posted January 18, 2007 Share Posted January 18, 2007 (edited) Just make the pixelgetcolor(1536,336) in to a $var and the put that $var into the message box in place of the pixelgetcolor(1536,336). I hope that helps Edited January 18, 2007 by bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 18, 2007 Moderators Share Posted January 18, 2007 I've got Active Window Info (AWI) up and running.I then execute mousemove(1536,336)msgbox(0,"",pixelgetcolor(1536,336))Shouldn't the value returned by the msgbox, be the same that I see under Dec:xxx in the Pixel Color Under Mouse section of AWI ?Mine is not....and it seems like it should be.Thoughts anyone?If the Coord Mode is set the same yest. Make sure you are using the same Opt('PixelCoordMode', N) as what AutoInfo.exe is showing AutoInfo.exe >> Options >> Coord Modeas far as i know, a message box will only return the ID of the button pressed, or -1 if the message box timed out. :D 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...
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