|
|
|
Windows resize and open in different places, how can I make sure my macros always work on these windows?
|
|
Recorded Macros
If you are referring to recorded macros, always make sure you record your macros against maximised windows.
Run the program in question and maximise it before commencing to record the macro. When you have finished
recording your macro, you will now need to make sure Macro Scheduler runs the program before playing the macro
against it. There are two ways to do this :
1. Create a new script that looks like this :
Let>RP_WINDOWMODE=3
Run Program>c:\..\..\the_program.exe
WaitWindowOpen>title_of_program_window*
Macro>your_recorded_macro_name
If you like you can change the 3rd line for a simple wait statement and specify the appropriate number of
seconds.
2. Edit the macro, convert it to a script and add the first three lines of the above example to the top
of the script.
Scripts
For scripts that you write yourself, either make sure you run your programs maximised, or make use of the
MouseMoveRel command which moves the mouse relative to the position of the window, or, even more preferable, try
to make use of keyboard commands instead of mouse movements. Keyboard commands are not subject to window placement
problems, so for generic macros they are the best choice.
Back To Index
|
|
|
|
|
Windows Vista and the Windows logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
|
|