Jump to content
Macro Express Forums

Breakpoint puzzle


Recommended Posts

Does anyone know why using a breakpoint on a command could change the behaviour of a macro before that command?

BreakpointProblem-1.jpg.f4ddd519320ba3cf428e30bdede22768.jpg

The initial section of the macro shown here simply opens the properties of a file selected in Win 10's File Explorer. But, running it with F9,  when it stops at the breakpoint, the properties window is nowhere to be seen. I eventually found it hidden under the Script Editor. And instead of two '<CONTROL><TAB> commands it had executed only one, so that the Security tab was selected.

If I removed the breakpoint and instead inserted a Pause directly before the Mouse Move, I got the correct result: the Properties window was on top and its Detail tab had been selected.

BreakpointProblem-3.jpg.5b3983e1bb820d59cbeeb0d3dbd5ac0e.jpg

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...