|
Post by milktea on Dec 16, 2020 13:18:16 GMT
1 | IF | PIXEL COLOR | Color [R=0, G=0, B=0]::At Location [X:1500 Y:250] | IS NOT THE SAME | EXIT >>> this line -----^^ ^^--- gives this ----vv vv------ ... any sugestions how to solve this? 
|
|
|
Post by Steve on Dec 18, 2020 3:47:04 GMT
Hi milktea , Yeah that's the EXIT action internally not closing the application correctly. EXIT ( www.turnssoft.com/conditions.html#exit) stops the macro immediately and exits the macro in a pretty rude way. It should be considered the bug. Whilst it does what it's suppose to do, exit immediately, it should not leave tray icons. I'll add it to the bug tracker www.turnssoft.com/bugtrack.html#bugs. How can it be fixed in the short term... Change EXIT to GOTO like this: 1 | IF | PIXEL COLOR | Color [R=0, G=0, B=0]::At Location [X:1500 Y:250] | IS NOT THE SAME | GOTO MACRO LINE | ENDYou don't need an END remark for this to work. MMM, if END does not exist, will go to the end of the file and stop the macro but not exit. Change EXIT to KILL PROCESS NAME like this: 1 | IF | PIXEL COLOR | Color [R=0, G=0, B=0]::At Location [X:1500 Y:250] | IS NOT THE SAME | KILL PROCESS NAME | MiniMouseMacroThis will do a system level kill of the minimousemacro running process. Again, its a pretty rude kill.

|
|
|
Post by Steve on Dec 18, 2020 18:58:06 GMT
This has been fixed and will be in the next update. Thanks for pointing it out.
|
|