jsampsonyyyyy Posted August 20, 2016 Report Share Posted August 20, 2016 I have Acrobat Reader DC open on one monitor and PDF-XChange Viewer open on the other. I am trying to write a macro whereby Acrobat is selected and "right arrow" is transmitted to it to see the next page of the open document, then PDF X-Change Viewer is opened and "right arrow" is transmitted to it to see the next page of the open document there. The first command is 'Launch Program and Activate Window: Program "ACRORD32.EXE", Parameters "", Window "[title of document]"' where I have the title of the document as it appears in the window title. The second command is 'Text Type (Simulate Keystrokes): <ARROW RIGHT>'. And so on. When I composed the first command I selected one of two running processes called "ACRORD32.EXE". I don't know why there are two since I have only one instance of Acrobat Reader running. I suppose that is how Acrobat Reader works. Under the tab 'Options' I put the title of the document in the box 'Window Title', and "Partial Match" is selected. The macro is activated by a hotkey. Or to be precise it is not activated by a hotkey since it does nothing. I do not know how to debug it since there is nothing to see. How does Macro Express Pro deal with situations where there are two processes running with the same name? I am running Windows 7 Home Premium. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.