FadetoGrey Posted May 10, 2009 Share Posted May 10, 2009 Is there a way to make your mouse cursor scour a window? From left to right, then start a new line, and left to right and so on. But really fast. In a window of something like 1280x1050. I know the really hard way of making code for it, and that is doing MouseMove, but I will have to do every single coordinate seperatly, and that'll take all week with 1280x1050. Is there a faster way? Link to comment Share on other sites More sharing options...
Mat Posted May 10, 2009 Share Posted May 10, 2009 For $y = 0 to @DesktopHeight For $x = 0 to @DesktopWidth MouseMove ($x, $y) next next ?? AutoIt Project Listing Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 10, 2009 Share Posted May 10, 2009 (edited) you know of @desktopheight @desktopwidth ???? some implementation with math and junk... EDIT haha damnit mdiesel you beat me to it again Edited May 10, 2009 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Yashied Posted May 10, 2009 Share Posted May 10, 2009 For $y = 0 to @DesktopHeight For $x = 0 to @DesktopWidth MouseMove ($x, $y) next next ??I advise you to run your code and wait a little bit. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
Yashied Posted May 10, 2009 Share Posted May 10, 2009 Is there a way to make your mouse cursor scour a window? From left to right, then start a new line, and left to right and so on. But really fast. In a window of something like 1280x1050. I know the really hard way of making code for it, and that is doing MouseMove, but I will have to do every single coordinate seperatly, and that'll take all week with 1280x1050. Is there a faster way?Why you need it? Maybe use PixelGetColor()? My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More... Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 10, 2009 Author Share Posted May 10, 2009 (edited) For $y = 0 to @DesktopHeight For $x = 0 to @DesktopWidth MouseMove ($x, $y) next next ?? That's good, however, I have some bad news... Could you make it so it will check if a pixel colour is on the screen every pixel the mouse goes over? More specifically the pixel colour 12330028. Thank you. Edited May 10, 2009 by FadetoGrey Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 10, 2009 Share Posted May 10, 2009 That's good, however, I have some bad news... Could you make it so it will check if a pixel colour is on the screen every pixel the mouse goes over? More specifically the pixel colour 12330028. Thank you.err.. did you not see this?Why you need it? Maybe use PixelGetColor()? [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 10, 2009 Author Share Posted May 10, 2009 err.. did you not see this?I did. Link to comment Share on other sites More sharing options...
qazwsx Posted May 11, 2009 Share Posted May 11, 2009 err.. did you not see this?That's code for you do it. Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 11, 2009 Author Share Posted May 11, 2009 (edited) That's code for you do it.Actually - I did, but I don't see the reason for using PixelGetColour because if I work out what I want to do; I don't need it to give me the colour value of a pixel, I just need the mouse to go across every pixel and it will do a scan of all the pixels. If it can't find the pixel colour I'm looking for it will goto the next pixel etc., and as soon as a pixel colour (that I choose) appears then it will do something else. Edited May 11, 2009 by FadetoGrey Link to comment Share on other sites More sharing options...
qazwsx Posted May 11, 2009 Share Posted May 11, 2009 so you want to search for a pixel? Pixelsearch? Link to comment Share on other sites More sharing options...
FadetoGrey Posted May 11, 2009 Author Share Posted May 11, 2009 (edited) so you want to search for a pixel? Pixelsearch?Yes! Well done! It will PixelSearch all of the pixels every time the mouse goes onto a new pixel. Now you're getting the hang of it! You deserve a cookie! Edited May 11, 2009 by FadetoGrey Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 11, 2009 Share Posted May 11, 2009 (edited) helpfile??? could have solved this from the beggining edit.. Edited May 11, 2009 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Mat Posted May 11, 2009 Share Posted May 11, 2009 You deserve a cookie!You deserve a good kicking, and a helpfile. AutoIt Project Listing 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