JohnF Posted January 8, 2018 Report Share Posted January 8, 2018 In version 3.8a, the command for If Mouse Cursor does not work in some applications - they seem to be completely ignored. Is there a patch for this? I don't see it mentioned as a fix in any later release. I did see the issue mentioned on another forum. I have tried If Mouse Cursor is Arrow -> write log Else write log END and I don't get either log record written. I have also done checks for both "Is Arrow" and "Is Not Arrow" and neither evaluate to True. Is this a bug or does it only work in certain types of applications? Quote Link to comment Share on other sites More sharing options...
rberq Posted January 9, 2018 Report Share Posted January 9, 2018 I have used "If Mouse Cursor is Internet Navigate" with no problem. Haven't tried with If Arrow. There are several update versions of ME 3 beyond 3.8a. You can download and install them if you are licensed for version 3. Insight web site will have descriptions of the fixes in each release. Maybe there is a fix for your situation. P.S. Add another "write log" just BEFORE your " If Mouse Cursor is Arrow -> write log Else write log ", to make sure there isn't some other logic in your macro that is bypassing this code entirely. Quote Link to comment Share on other sites More sharing options...
Samrae Posted January 9, 2018 Report Share Posted January 9, 2018 Some thoughts: Windows programs have the ability to define their own mouse cursors. If the program has it's own arrow mouse icon then the If Mouse Cursor: Arrow will not work. Maybe you can use the if Mouse Cursor: change command instead. If one program is running with elevated privileges (as admin) then Macro Express cannot interact with it. See if running Macro Express as Administrator helps. Quote Link to comment Share on other sites More sharing options...
JohnF Posted January 10, 2018 Author Report Share Posted January 10, 2018 I added a "write log" before the cursor checks and it is working up to there. I tried using 2 Wait for Cursor Change commands (one for the change to an hourglass, one for the change back to arrow) without any Delay command after sending the "Save" keystrokes and it seems to be working. I think the app uses custom cursors so ME does not recognize them. I am worried the first wait may miss the initial change to hourglass but the maximum wait times for the cursor commands should still handle it. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
rberq Posted January 10, 2018 Report Share Posted January 10, 2018 Thanks for the feedback. It's really strange that the "IF ... ELSE" in your original example didn't write anything to the log. Quote Link to comment Share on other sites More sharing options...
JohnF Posted January 11, 2018 Author Report Share Posted January 11, 2018 I re-did the IF cursor arrow ELSE END IF statements and it is working now as far as writing one of the log records. I may have forgotten to update the error log file for that command from the network share to my local folder for testing. But the results are now just inconsistent and so unreliable - sometimes it indicates it sees an arrow, other times it does not. Checking for a cursor change still seems to be the most reliable option. Quote Link to comment Share on other sites More sharing options...
rberq Posted January 11, 2018 Report Share Posted January 11, 2018 Thanks for the clarification. I was far more concerned about an IF statement not working, than about the cursor business. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.