is this possible
Moderators: JRL, Dorian (MJT support)
is this possible
making a macro for a soliatare game game.. basically I need macro scheduler to get pixels colors at certains points to indetify the card, if those pixels are there then make the label the card whatever... is it possible to do this using macro scheduler? How could I? any quick examples?
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
hey sean...its marky...why dont you look up GetRectCheckSum>...otherwise you will be doing about 4 gpc> to identtify 1 card..so you could waste your time with 206 GPC> or do it the easy way with 52 GetRectCheckSum>....i know you havent used that command yet...so here how to
GetRectCheckSum>x1,y1,x2,y2,variable ....obviously replce the x's and y's....the x,1,y,1 could be the top left of the number (or whole card) and x2 y2 could be the bottom right...so lets say this..
GetRectCHeckSum>333,444,555,222,8ofspades
message>%8ofspades%
^^^^the message tells you the number...so then take out the message> and put if>%8ofspades%=1234567,iman8ofspades
So heres the full example-------------------
GetRectCHeckSum>333,444,555,222,8ofspades
if>%8ofspades%=1234567,iman8ofspades
GetRectCheckSum>x1,y1,x2,y2,variable ....obviously replce the x's and y's....the x,1,y,1 could be the top left of the number (or whole card) and x2 y2 could be the bottom right...so lets say this..
GetRectCHeckSum>333,444,555,222,8ofspades
message>%8ofspades%
^^^^the message tells you the number...so then take out the message> and put if>%8ofspades%=1234567,iman8ofspades
So heres the full example-------------------
GetRectCHeckSum>333,444,555,222,8ofspades
if>%8ofspades%=1234567,iman8ofspades