Sign in to follow this  
Followers 0
Pandaria

Using pixelsearch with controlsend/controlclick

6 posts in this topic

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 =)

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

thx for the quick reply... too bad it can't work any other way =(

Share this post


Link to post
Share on other sites

that is what you think, Your info is very poor as my help.

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

Pandaria,

Please read the Forum Rules - discussion of game automation is not permitted here. :graduated:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0