zissler Posted February 17, 2014 Share Posted February 17, 2014 I was hoping to easily snip a rectangle image, save it, and then that way when I need to check the current status of the page. I can use images rather than just bits to to make sure I'm on the right page. I've found a nice program to track x,y coordinates and the color of the pixel, and a page about saving and loading arrays. It would take me a while to put together everything though. Rather than reinvent the wheel I've tried searching for a ready made and tested program. Is there a nice script with a gui interface that would allow me to save an image, and then reload the image so I can search for it on the screen. Say I snip a button image, and the background it should look like after I press the button. So I snip the button image and save it as button 1 and the background image as background 1, and then search for the button, click it, and then check the background. Would this be the best way going about trying to create a script for a basic game? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 17, 2014 Moderators Share Posted February 17, 2014 zissler,Welcome to the AutoIt forum. Would this be the best way going about trying to create a script for a basic game?Is this a game that you want to write in AutoIt or a third-party game you are trying to automate? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
zissler Posted February 17, 2014 Author Share Posted February 17, 2014 zissler, Welcome to the AutoIt forum. Is this a game that you want to write in AutoIt or a third-party game you are trying to automate? M23 I would like to automate a very tedious game with buttons. It has several backgrounds and rather than using a single bit I was hoping to look at entire images, as sometimes it can be very similiar. If there's an easier way let me know. I'll probably do some more searching as it seems like a useful script idea and may have been created, if not I could probably throw something together, but it will take me some time. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted February 17, 2014 Moderators Share Posted February 17, 2014 zissler, I would like to automate a very tedious game with buttonsI was afraid of that. You appear to have missed the Forum rules on your way in. Please read them now (there is also a link at bottom right of each page) - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts