Pandaria Posted September 20, 2011 Share Posted September 20, 2011 Hello everyone, I've written a function that is used to check a specific region on the screen for black pixels, if it finds it, the mouse will click on it. Today I've managed to rewritten the entire code using controlsend and controlclick, so I can run the script while the target window is minimized... It seems that pixelsearch only checks for pixels currently present on the screen not my desired target window... anyone know a work around for this? much appreciated =) Link to comment Share on other sites More sharing options...
Fubarable Posted September 20, 2011 Share Posted September 20, 2011 I think you need visible pixels for pixel search to work -- how could it possibly work any other way? What type of application is this for, by the way? Link to comment Share on other sites More sharing options...
Pandaria Posted September 21, 2011 Author Share Posted September 21, 2011 thx for the quick reply... too bad it can't work any other way =( Link to comment Share on other sites More sharing options...
monoscout999 Posted September 21, 2011 Share Posted September 21, 2011 that is what you think, Your info is very poor as my help. Link to comment Share on other sites More sharing options...
Pandaria Posted September 21, 2011 Author Share Posted September 21, 2011 it's a full screen program, a game that i want to run in the background. I am using controlsend and controlclick to send commands to it, however the keystrokes i send depend on the pixsearch results... Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 21, 2011 Moderators Share Posted September 21, 2011 Pandaria,Please read the Forum Rules - discussion of game automation is not permitted here. 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