Online-Help

Introducing Comfort Keys Pro
How to buy Comfort Keys Pro
How to use Comfort Keys Pro
Keyboard shortcuts settings
Working with template manager
Working with clipboard manager
Using the on-screen keyboard
Controlling the input language
Customizing the keyboard type
Editing templates
Text tags
Editing shortcut icons
Action types
Run a program; open a document or folder
Open one or several Internet resources
Paste text
Play a keystroke macro
Connect/Disconnect from a network
Comfort Keys Pro actions
Audio control
Monitor control
Window control
Perform a system action
Change the language or case
Lock/Restart/Shutdown
Block key or shortcut
Replace key or shortcut
Settings
System
Appearance Theme
Keyboard Shortcuts
On-Screen Keyboard
Show/Hide
Position
Keys
Gestures
Zoom
Typing Aid
Floating Window
Clipboard Manager
Template Manager
Text Suggestions
Language Switcher
Language Bar
Shortcut Icons
Task Switching Window
Process History Window
Sounds
Dependencies
Security
Advanced
Development
How to show, close, fade, or move the on-screen keyboard
How to lock all settings
How to activate different keyboards
FAQ for developers
Command line parameters
Other issues
FAQ - Frequently asked questions
License Agreement

These types of macros are used if you have configured plain text templates or the Paste Text action.


<KEY shortcut>

Press the key combination. Keystrokes will be emulated inside the text (see the key identifier list). Use + (the plus sign) to specify a keyboard combination. You can specify a key code in the hexadecimal format by using $ (the dollar sign). For instance, $20 is Space, and $1B is Escape. Sample keyboard combinations:

<KEY WIN+R>regedit<KEY Enter> – Start the registry editor.
Login<KEY TAB>password<KEY ENTER> – Enter the login and the password.

 

<INPUT>

This tag adds the ability to enter text from the keyboard that will be inserted into the text template.

 

<SOMEOF>...</SOMEOF>

Select random text from the lists enclosed in the <CS> and </CS> tags. You can embed these macros. Simple examples:

<SOMEOF><CS>1</CS><CS>2</CS></SOMEOF> – Inserts “1” or “2”.
<SOMEOF><CS>hi<SOMEOF><CS>1</CS><CS>2</CS></SOMEOF></CS><CS>bye<SOMEOF><CS>1</CS><CS>2</CS></SOMEOF></CS></SOMEOF> – Inserts “hi1”, “hi2”, “bye1”, or “bye2”.

 

<POPUP>...</POPUP>

Show popup menu. Select text from the lists enclosed in the <CS> and </CS> tags. You can insert this tag inside each other. Simple example: <POPUP><CS>Hi</CS><CS>Hello</CS></POPUP> – Inserts “Hi” or “Hello”.

 

<FILE filename>

Inserts text from the specified file (if exists) into the specified position.

 

<SELECTION>

Inserts the text currently selected in the active application.

 

<CLIPBOARD>

Inserts the text from the clipboard.

 

<SCRIPT>

This tag allows you to perform various functions from your JavaScript, for example:

<SCRIPT>

<FILE>Common.js</FILE>

<FUNCTION>DoublingSlashes</FUNCTION>

<PARAM><SELECTION></PARAM>

</SCRIPT>

 

<DATETIME format>

Inserts date and time in the specified format (see the format list). You can get the date shifted by a certain number of days, weeks, months. Use the following format:

+d, -d, +d1, -d1, +d2, -d2, +d3, -d3, etc. - Shift by one day, two days, three days, and so on. (y - year, w - week, m - month, d - day, h - hour, n - minute)

 

Note: You can specify the position of the text cursor after the text is pasted by placing | (the pipe character) there.