ZanaxNL Posted September 1, 2010 Share Posted September 1, 2010 Hey, I know autoit can detect pixel/colours. But can it detect pictures? like a Name(text)? Thanks for question, if can't maybe for new autoit update : D Zanax Link to comment Share on other sites More sharing options...
AlmarM Posted September 1, 2010 Share Posted September 1, 2010 As fas as I know it pretty hard to find an image inside another window. I don't think it's just a random new autoit update function. Right? Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
czardas Posted September 1, 2010 Share Posted September 1, 2010 (edited) You can identify file types. If your picture is in a recognizable format such as .jpg, .png, .tiff, .gif, etc... Is that any help? Edited September 1, 2010 by czardas operator64 ArrayWorkshop Link to comment Share on other sites More sharing options...
ZanaxNL Posted September 1, 2010 Author Share Posted September 1, 2010 hmm. it can help maybe. Can u give example/script of it : ) i hope i can find the file of it wat i need. Thanks already! Zanax Link to comment Share on other sites More sharing options...
Beege Posted September 1, 2010 Share Posted September 1, 2010 Are you trying to detect if a certain picture is open and visible or if a picture exists in some directory? Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
ZanaxNL Posted September 1, 2010 Author Share Posted September 1, 2010 (edited) it's a offline game. and some object got a white name. but the background changes evryhting, but the name not. But i want to know of its possible to searchpicture or searchfile > ( i guess that is harder) And if that doesnt can/work then i want to know of pixelsearch can be background mode (> like controlclick/send ) Thanks! Zanax Edited September 1, 2010 by ZanaxNL Link to comment Share on other sites More sharing options...
Beege Posted September 1, 2010 Share Posted September 1, 2010 (edited) Search for files is easy. Too quickly get a list of all the .jpg(for example) files in a directory, look at _filelisttoarray. Example: #Include <File.au3> #Include <Array.au3> $FileList=_FileListToArray(@MyDocumentsDir, '*.jpg') If @Error Then MsgBox (0,"","No JPG files in My Documents.") Exit EndIf _ArrayDisplay($FileList,"$FileList") Edited September 1, 2010 by Beege Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
ZanaxNL Posted September 1, 2010 Author Share Posted September 1, 2010 Search for files is easy. Too quickly get a list of all the .jpg(for example) files in a directory, look at _filelisttoarray. Example: #Include <File.au3> #Include <Array.au3> $FileList=_FileListToArray(@MyDocumentsDir, '*.jpg') If @Error Then MsgBox (0,"","No JPG files in My Documents.") Exit EndIf _ArrayDisplay($FileList,"$FileList") Ok but. $FileList=_FileListToArray(@MyDocumentsDir, '*.jpg') What folder means MyDocuments, can u change folder? and between the ' .jpg' most the picture? and can i be all picture or has it to be in the game. and a "monster" is not jpg a .class file or other extension. explain it a litlle more pls Thx Zanax : ) Link to comment Share on other sites More sharing options...
Beege Posted September 1, 2010 Share Posted September 1, 2010 What folder means MyDocuments, can u change folder?--> You don't know where your My Documents folder is? and between the ' .jpg' most the picture?--> I don't understand this question.and can i be all picture or has it to be in the game.-->Has what to be in the game?and a "monster" is not jpg a .class file or other extension.--> is this a question? Assembly Code: fasmg . fasm . BmpSearch . Au3 Syntax Highlighter . Bounce Multithreading Example . IDispatchASMUDFs: Explorer Frame . ITaskBarList . Scrolling Line Graph . Tray Icon Bar Graph . Explorer Listview . Wiimote . WinSnap . Flicker Free Labels . iTunesPrograms: Ftp Explorer . Snipster . Network Meter . Resistance Calculator Link to comment Share on other sites More sharing options...
ZanaxNL Posted September 1, 2010 Author Share Posted September 1, 2010 (edited) What folder means MyDocuments, can u change folder?--> You don't know where your My Documents folder is? and between the ' .jpg' most the picture?--> I don't understand this question.and can i be all picture or has it to be in the game.-->Has what to be in the game?and a "monster" is not jpg a .class file or other extension.--> is this a question?xD~ ok i can set a ###.jpg file in my documents. how to combin this with search > ###.jpg > yes click (attack) . > no "start search again" ??~ will it search for the picture? the ###.jpg.Thx for anwsering this 2 questions Zanax Edited September 1, 2010 by ZanaxNL 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