![]() |
| |||||||
Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| WMP-AE I've created a macro to paste text from the clipboard into the current page of a multi-page pdf document, move the pasted text using a combination of down arrow and right arrow keystrokes to a specific location on the current page, and then advance the document to the next page. When run with the repeat option selected I hope to be able to perform this funtion an all 119 pages of the document. The problem is that when WMP-AE pastes the text it does so in a different location then my original paste, and then moves the text relative to that different location and the result is that my text ends up in the wrong location. I've tried to edit the keystroke line in the macro responsible for moving the text by deleting several down arrow and right arrow keystrokes, but after saving the changes and running the macro, the text ends up in the same wrong location. Please advise. |
| |||
| Hello, Could you please let us know if the window is open exactly the same way as you want it to be when you are entering the mouse clicks/Keystrokes? If not, what you can do is when you enter the mouse clicks and please make sure the window is exactly the same way as you want it to be. What happens is, the position where the window was, when it was closed last time, it opens again at the same position. But, when you run the macro again, the window moves to the position where it was at the time when you created the task. This is because the macro records size and position of windows the moment when you insert any keystroke or mouse action in that window. So, what you can do is keep the window in one size and position where you want to when you enter any keystroke/mouse actions in it so that when the maro is run again, it will be in the same size and position as it was at the time it was created. Hope that helps. |
| |||
| Quote:
use [CTRL DOWN] [END] [CTRL UP] to get to the bottom. then use the up arrow to move to where you want to paste. Also, maximize the window so that it is always the same size and location. best of luck. Phil |
| |||
| Hello, Try inserting delay after every action in macro so that each action can get enough time to execute and macro can run flawlessly. Insufficient delay can skip any command in macro and results into macro failure. You can find Delay command under Commands section. Just double click on it, specify the delay time and save the command. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |