![]() |
| |||||||
Workspace Macro Pro - Automation Edition Post messages and questions related to Macro Software for Windows Automation here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| I need to insert a delay in the process so that I can manually insert a filename. Attempts to do this so far have resulted in the pause appearing in the wrong place. No matter where I place the pause in the edit box, it is not right. How can I tell the program exactly where I want it to stop? |
| |||
| Hello, Please select your macro and click on edit. In the macro editor, click on Save as text file and please copy paste the contents of the macro here and also please point out to us at which line would you like to insert the pause. Once we lok at your macro content and which line you want to insert the pause, we would be able to tell you the steps to do so. Thanks! |
| |||
| Delay: (3516 ms) Mouse Move: (382,312) To (189,18) Delay: (313 ms) Mouse Click: Left Button (189,18) in "Wallpaper" Delay: (234 ms) Mouse Click: Left Button (189,18) in "Wallpaper" Delay: (1250 ms) Mouse Move: (189,18) To (189,18) Delay: (2703 ms) Mouse Move: (190,19) To (599,738) Mouse Click: Left Button (599,738) in "InfoTran" Delay: (235 ms) Mouse Click: Left Button (599,738) in "InfoTran" Delay: (2192 ms) Keystrokes: [ENTER]c[SHIFT DOWN];[SHIFT UP]\docume[SHIFT DOWN]`[SHIFT UP]1\marty\desktop\infotran\tilt.brs[ENTER]c[SHIFT DOWN];[SHIFT UP]\docume[SHIFT DOWN]`[SHIFT UP]1\marty\desktop\tilt\hol0604.drf[ENTER][ENTER]c[SHIFT DOWN];[SHIFT UP]\docume[SHIFT DOWN]`[SHIFT UP]1\marty\desktop\infotran\tiltout.txt[ENTER]any[ESC]4[ENTER] in "ITF.EXE" Delay: (2266 ms) Mouse Move: (600,741) To (1207,904) in the keystrokes line, replace hol0604.drf with a pause. This is to enable me to work with different filenames |
| |||
| Hello, You can separate out the Keystrokes in your macro as show below. It also shows where to put the Pause command. Delay: (3516 ms) Mouse Move: (382,312) To (189,18) Delay: (313 ms) Mouse Click: Left Button (189,18) in "Wallpaper" Delay: (234 ms) Mouse Click: Left Button (189,18) in "Wallpaper" Delay: (1250 ms) Mouse Move: (189,18) To (189,18) Delay: (2703 ms) Mouse Move: (190,19) To (599,738) Mouse Click: Left Button (599,738) in "InfoTran" Delay: (235 ms) Mouse Click: Left Button (599,738) in "InfoTran" Delay: (2192 ms) Keystrokes: [ENTER] in "ITF.EXE" Delay: (1000 ms) Keystrokes: c[SHIFT DOWN];[SHIFT UP]\docume[SHIFT DOWN]`[SHIFT UP]1\marty\desktop\infotran\tilt.brs[ENTER] in "ITF.EXE" Delay: (1000 ms) Keystrokes: c[SHIFT DOWN];[SHIFT UP]\docume[SHIFT DOWN]`[SHIFT UP]1\marty\desktop\tilt\ in "ITF.EXE" Pause Delay: (500 ms) Keystrokes:[ENTER] in "ITF.EXE" Delay: (500 ms) Keystrokes:[ENTER] in "ITF.EXE" Delay: (1000 ms) Keystrokes:c[SHIFT DOWN];[SHIFT UP]\docume[SHIFT DOWN]`[SHIFT UP]1\marty\desktop\infotran\tiltout.txt[ENTER] in "ITF.EXE" Delay: (1000 ms) Keystrokes:a in "ITF.EXE" Delay: (1000 ms) Keystrokes:n in "ITF.EXE" Delay: (1000 ms) Keystrokes:y in "ITF.EXE" Delay: (1000 ms) Keystrokes:[ESC] in "ITF.EXE" Delay: (1000 ms) Keystrokes:4[ENTER] in "ITF.EXE" To insert the keystrokes, simply double-click the Insert Keystrokes command and to insert the Delay, double-click the Insert Delay command in the Editor. Hope that helps! |
| |||
| Hello, In macro editor, you can add or edit your commands. For e.g you want to add a command, say insert a keystroke after line no 5, select line no. 5 and use 'Insert Keystroke' command by double-clicking it. Type in the text that you want and click on save. Repeat the same actions for all the keystroke actions you want to insert in the macro. |
| |||
| Alternatively you can select the keyboard action, right click and select Duplicate or Copy-Paste. This will create another identical macro action. Remove some keystrokes from both actions as needed and you have separated the command line in two. |