terrypin Posted March 26, 2010 Report Share Posted March 26, 2010 Anyone have suggestions on possible causes of the following please? A fairly complex macro I run consists mainly of a series of Macro Run commands. The last such command calls a macro, let's call it LastMacro. It's trivial, basically just a few mouse clicks and a Ctl+F4 to close that window. And it works consistently if I run it on its own. But when I run the main macro, it sometimes fails to finish. All its operations are performed with the occasional exception that the window doesn't get closed, but Forrest sometimes continues running and has to be clicked. -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
paul Posted March 26, 2010 Report Share Posted March 26, 2010 A fairly complex macro I run consists mainly of a series of Macro Run commands. The last such command calls a macro, let's call it LastMacro. It's trivial, basically just a few mouse clicks and a Ctl+F4 to close that window. And it works consistently if I run it on its own. But when I run the main macro, it sometimes fails to finish. All its operations are performed with the occasional exception that the window doesn't get closed, but Forrest sometimes continues running and has to be clicked. It's almost certainly related to calling macros. I've reported similar problems to Insight, but so far they cannot replicate. And there's no consistency - sometimes Forrest goes, sometimes he stays. I have a macro that logs out of Roboform (secure password manager for web sites), initializes some variables, then calls macro1 which opens the relevant Roboform passcard. Opening a Roboform passcard when logged off causes an independent Roboform window to open, asking for the master password - and I have a self-opening macro (macro2) for this that runs when it detects the new window. If macro2 ends as soon as it has provided the master password, Forrest always disappears. But if macro2 contains more code to deal with special cases, Forrest often remains. Quote Link to comment Share on other sites More sharing options...
rberq Posted March 26, 2010 Report Share Posted March 26, 2010 Does LastMacro terminate itself with Macro Stop, or with Macro Return? Quote Link to comment Share on other sites More sharing options...
terrypin Posted March 26, 2010 Author Report Share Posted March 26, 2010 Does LastMacro terminate itself with Macro Stop, or with Macro Return? Thanks both. Bob: No, I tried both but still occasionally got the continued running. -- Terry, East Grinstead, UK 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.