Contents

Introducing Comfort Keys
Version Comparison
Why do you particularly need Comfort Keys?
How to buy Comfort Keys
How to use Comfort Keys
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
Template macros
Editing shortcut icons
Action types
Run a program; open a document or a folder
Open one or several Internet resources
Paste text
Play a keystroke macro
Connect/Disconnect from a network
Comfort Keys actions
Show Clipboard Manager
Paste text from Templates
Open the task switching window showing open documents and running applications
Show the keyboard shortcuts settings window
Show/Hide On-Screen Keyboard
Show the list of recently launched programs
Show the desktop with hot keys
Activate the next keyboard shortcuts file
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
Options
Main Properties
Themes
Keyboard Shortcuts
On-Screen Keyboard
Clipboard Manager
Template Manager
Word Autocomplete
Language Switcher
Shortcut icons
Task Switching Window
Process History Window
Exceptions
Advanced
Other issues
FAQ - Frequently asked questions
License Agreement
Contact information
Development
Show, close, fade or move the On-Screen Keyboard
How to restrict access
How to activate different keyboards

 
Home
Comfort Keys Web Online Help
Prev Page Next Page
 
 
Template macros
return to introduction  previous page  next page
These types of macros are used when you configure plain text templates or the Paste Text action.

Macro types:
· Insert the current date and/or time (the <DATETIME format> tag) – inserts date and time in the specified format (see the format list).  
· Press keys (the <KEY shortcut> tag) – keystrokes will be emulated inside the text (see the key identifier list). Use the '+' character to specify a keyboard combination. It is possible to use the code of a key in the hexadecimal format. To do it, use the '$' character (for instance, $20 – Space, $1B – Escape). Sample keyboard combinations:  
· <KEY WIN+R>regedit<KEY Enter> – start the registry editor.  
· Login<KEY TAB>password<KEY ENTER> - enter the login and password.  
· Select random text from a list (the <SOMEOF>...</SOMEOF> tag) – select random text from lists enclosed by the <CS> and </CS> tags. It is possible to embed these macros. Simple examples:  
· <SOMEOF><CS>1</CS><CS>2</CS></SOMEOF> – insert 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> – insert hi1, hi2, bye1 or bye2.  
· Insert text from a file (the <FILE filename> tag) – add text from filename into the specified position if filename exists.  
· Insert the selected text (the <SELECTION> tag) – insert the text that is currently selected in the active application. 
· Insert the clipboard content (the <CLIPBOARD> tag) – add the current text content of the clipboard. 

You can specify the position of the text cursor after the text is pasted. Just type the '|' character (vertical slash) there.


Visit Comfort Keys web-site
Converted from CHM to HTML with chm2web Pro 2.75 (unicode)