IMG Developer's Kit: Developer's Kit Guide and Technical Documentation; Version 1.90; User's Guide | ||
---|---|---|
Prev | Chapter 2. Developer's Corner | Next |
Steps for remapping the F1 & F10 keys (as a specific example)
My-T-Soft used as an example
Map F1 key on My-T-Soft to open an HTML Web Page instead of default keystroke of F1
( 1) Configure My-T-Soft with the Keyboard Panel and any other Panels open & set the appropriate size. Save Settings, Save Position, then Close My-T-Soft.
( 2) Run My-T-Soft Setup.
( 3) Select Configuration | Key Options.
( 4) Select the F1 key in the "Key" list on the left. Do not select any modifiers "Key with..." (Ctrl/Shift/Alt).
( 5) Select Disable Keystroke(s) (so the F1 key is not sent as a keystroke), and Select Launch Key EXE.
( 6) Now enter the path / file name for Explorer (or Internet Explorer) or use Browse to find the appropriate file. (In Windows 2000, it would be C:\WINNT\EXPLORER.EXE).
( 7) Now enter the path / file name for page to be displayed after the exe (e.g. "C:\Program Files\Common Files\Microsoft Shared\Citrus punch.htm") with whole name as [C:\WINNT\EXPLORER.EXE C:\Program Files\Common Files\Microsoft Shared\Citrus punch.htm]
( 8) Close Setup, Run My-T-Soft. When the F1 key is clicked, the web page will appear in Explorer.
Map F10 key on My-T-Soft to type web site instead of default keystroke of F10
( 1) Configure My-T-Soft with the Keyboard Panel and any other Panels open & set the appropriate size. Save Settings, Save Position, then Close My-T-Soft.
( 2) Run My-T-Soft Setup.
( 3) Prepare for Send String - The Send String MUST be in the same directory as the Keyboard Executable (i.e. MYTSOFT.EXE). Therefore, we need to copy the SDSTRMTS.EXE file from the DEVKIT folder down a level into the default install (C:\Program Files\MYTSOFT) folder. Use Explorer to open WINNT, MYTSOFT, DEVKIT, Highlight SDSTRMTS.EXE, Right-click, select Copy, click on MYTSOFT, Right-click on blank area, Select Paste.
( 4) Select Configuration | Key Options.
( 5) Select the F10 key in the "Key" list on the left. Do not select any modifiers "Key with..." (Ctrl/Shift/Alt).
( 6) Select Disable Keystroke(s) (so the F10 key is not sent as a keystroke), and Select Launch Key EXE.
( 7) Now enter the path / file name for SDSTRMTS.EXE (Send String through My-T-Soft) or use Browse to find. (In Windows 2000, after copy in step 3, it would be C:\WINNT\MYTSOFT\SDSTRMTS.EXE).
( 8) Now enter the keystrokes to send through My-T-Soft (e.g. "www.My-T-Soft.com[Enter]") with Executable name as the Key EXE as in [C:\WINNT\MYTSOFT\SDSTRMTS.EXE www.My-T-Soft.com[Enter]]
( 9) Close Setup, Run My-T-Soft. When the F10 key is clicked on My-T-Soft, the text will be typed, effectively remapping the F10 key to a custom sequence of keystrokes.
As seen in ...