![]() |
| |||||||
Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Hello, I created a macro to reboot a wireless router in a remote unattended location. The macro does the following: 1. Open Chrome web browser; 2. Type http://10.0.0.138 (internal web interface of router); 3. Click OK on the saved username and password dialog; 4. Select the appropriate menu item to restart, then press the restart button; 5. Close Chrome. The macro has a repeat every 2 hours. It works for a while (usually 2-3 iterations), but then suddenly I find that the router has not been rebooted. The macro doesn't complete - when I opened the remote machine screen with VNC, I found the note on the screen saying that the macro is running, when it wasn't (chrome was closed already). What causes a macro to do not terminate? |
| |||
|
Hello, Following are few points that should be considered while recording a macro for its errorless execution. 1) While recording we recommend using more of keyboard short cuts instead of mouse clicks as they are more reliable than mouse moves/clicks irrespective of change in screen resolution or window size. Mouse clicks/moves are subject to work on a screen resolution they were recorded on. However, keystrokes will work as expected no matter whatever screen resolution you set to. For e.g. Up/Down arrow key would work in a reliable way than using mouse to scroll in an excel sheet. 2) While recording after you perform an action, wait for few seconds so that command gets enough time to execute on replay. Insufficient delay can skip any command and hence can mess up the commands. After recording, you can also edit your macro through Tools->Macro Editor to insert Delay command (Available in Workspace Macro Pro 6.5). 3) Using Workspace Macro Pro you can edit mouse clicks to perform activities relative to windows. Please follow the steps given below: . Double click on Mouse Click command. . Click on 'Advanced' button. . From 'Relative To' frame select option 'Window' and save the command. . Perform the above steps for every Mouse Click command in question. . Save the macro and run it. If you can upload your macro (.wksp file) then we can look into it and suggest viable solution. You can locate your macro by selecting your macro from Macro List, right clicking that particular macro and selecting 'Locate on disk' from context menu. Hope that helps! |
![]() |
| Thread Tools | |
| Display Modes | |
| |