Macro Language Reference > Macros > Keyboard > tks
  
tks
Description
Saves all of the current keyboard layout to file. This is useful if you have assigned macros to keyboard keystrokes using the special macro *.
 
Example 165. Save key assignments to a specified file
The example below will save all key definitions (including those default assignments included with your product) to the file mykeys.3k:
tks 1, "C:\Program Files\Arbortext\APP-D\mykeys.3k"
Syntax
tks opt:n? filename:s?
tks
[no parameter]
Invoke the Save Key Definitions dialog box.
opt
0
Save only changed keys
1
Save all
filename
The name of the file (including path) to which you want to save the current key assignments. This should have the extension .3k, which will be recognized by the tkl macro. Specifying a file name of syskeys.3k on the default document directory (usually \3d) will cause the definitions to be read each time PTC ALD is started.
Related Links