Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help me , with if color ._.
#1
Can u help me ?

For example :
if (x,y) coordinate colors is not red , Press key 3 . .

can u help me to make this script ?
Thank you Big Grin
#2
try wait for color or find image /wait
both are in qm toolbar on qm window
#3
Can u make the example script?
#4
try this would be easier for you to do yourself .Color may not be exactly red .It maybe a shade of red.Anyways
on qm window click file then new then new macro
then on qm floating toolbar on main window click Windows,controls button
   
then in menu click Find image, wait
it will open up the Find image dialog
in first combo-box on left select
wait till image disappears from list
in combo-box below it select
Color of single pixel from list
have the window you are trying to work with open and visible
then click capture button on find image dialog window .follow instructions
after capture is done put a check mark in window can be in the background
click test to see if it is working
then click ok u should have something like this
Gintaras has tried to make creating macros easy for all of us

Macro Macro4
Code:
Copy      Help
int w=win("Document - WordPad" "WordPadClass")
wait 0 -S "color:0x69CAFF" w 0 0x100

then after that code add on a new line add

Code:
Copy      Help
key 3           ;; 3

It is really easy.Just take some time to get familiar with qm and how it works
#5
Thank you ^^
Now i understand to use if color/image ^^
#6
wooow thanks ^^


Forum Jump:


Users browsing this thread: 1 Guest(s)