Window Specific Macro


This tutorial demonstrates changing the Global Address macro to a Window Specific scope. It requires first working through the Global Macro tutorial that creates the Ctrl+F2 (My Address) macro.

 

Changing the Scope

1.From the Keyboard Express - Explorer, double click on the Ctrl+F2 (My Address) macro to display the contents of the macro in the Keyboard Express - Editor. 

2.In the area that displays Global and Specific Window, click on Specific Window

3.Now click on the Choose Window button just to the right of Specific Window to open the Select Title window. The window title is the text that appears in the caption bar at the top left of a window.

4.Click on the Visible tab from the Select Window dialog.

5.Enter notepad in the Window Title edit field, or if it is running, select Untitled - Notepad from the list of visible windows.

6.Leave the checkbox next to "The title contains wildcards" option unmarked.

7.Select the "A window with this title must be on top" option.

8.Leave the "Include hidden windows in the scope" option unmarked.

9.Click the OK button to return to the Keyboard Express - Editor.

10.Click on the Save and Close button to save the changes and return to the Keyboard Express - Explorer.

11.The macro should now display as Ctrl+F2, My Address and notepad in the list of macros.

 

Test the Change

1.The next step is to test the change made. Start notepad if the program is no longer running or activate the window if it is still running.

2.Once notepad is open, hold down the CTRL key and press the F2 key. The address assigned to the hotkey should now be typed out into notepad.

3.Now run Wordpad. With the cursor active in Wordpad press CTRL+F2. The address will not play back. This is because the macro has been set to only run in notepad.  

 

 

Starting Wordpad or Notepad

To start Notepad, click on the Windows Start button and enter notepad in the Search Programs and Files field or just enter directly into the Type here to search field. Click on Notepad from the list of programs found. For older versions of Windows, click on the Start button, choose Run, enter notepad and click ok.

 

To start Wordpad, click on the Windows Start button and enter wordpad in the Search Programs and Files field or just enter directly into the Type here to search field. Click on Wordpad from the list of programs found. On older versions of Windows, click on the Start button, choose Run, enter wordpad and click ok.