Hello scar scripters,
I'm looking for a way to detect if the current mouse position is on a link by looking at the mouse cursor's image itself. I'm afraid this is the only way i can do it.
I've already tried to take a screenshot of mouse cursor that displays when
it's on a link however screenshots don't include cursor images. Nor does scar
count the cursor's bitmap or colors when looking for pixels/bitmaps on the screen.
I'll give you a not working sample of the outcome i'm looking for:
cursorimage := loadbitmap('C:\junkfolder\cursor.bmp');
Thats it, help is appreciated.
I'm thinking that there can be an alternative after all.
Could something like this work?
This doesn't work but i would like the program to store coordinates where the color WASN'T 16777215.
The moving object i'm trying to click has too many color variations to effectively detect it's location by color. But the background of the object is moving on is always white(16777215).
This shouldn't be too hard so there actually must be a way to solve this.