Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make window active
#4
Hi

>>I would suggest using accessible objects (found in the toolbar, click the window->Accessible Object Actions->Drag it to the button that needs to be clicked->use DoDefaultAction for this variable, this does not require the window is active)<<

In the past week I've tried this several times but it didn't seem to do anything. Did you mean to click and hold "Accessible Object Actions" and then drag it to the button? I did that and nothing happened.

>>have you tried the command "act"? If you do set up a macro to run at startup, you may need to include some sort of wait command to ensure that it only occurs when the window exists.<<

"act" is what I tried at the very beginning. I also inserted a command to wait until the window exists, and then invoke "act". But the problem is after "act" is run but before QM could push the button, some program in the background snatched "active" status from this window and there is no way for the macro to know this. I even tried first waiting for a long time, say 2 minutes, so that whatever startup programs have all been run, and then invoke "act", but somehow nothing happened after the 2 minutes. I then became very frustrated and didn't try again.

In fact, another macro also did not run. That macro tries to print something by clicking on a button, wait for a printing software to show a preview, delete the second (and last) page, and then print. Every time I record the macro, it ran fine for about 2 to 3 days, and after that it simply didn't do anything.

These 2 macros are the only macros that I have written. Because of these failures I did not try writing another macro. In other words, QM has been a complete waste of money for me so far.

I have McAfee Anti-virus running in the background.


Messages In This Thread

Forum Jump:


Users browsing this thread: 9 Guest(s)