Jump to content
Macro Express Forums
terrypin

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

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×