The {clip} code allow you to pass the contents of the clipboard to an external program.
The {dpi} code lets you use DPI related information.
The {$} code lets you insert the value of a variable that you have previously set with the @set command modifier.
Long form |
Short form |
Description |
---|---|---|
{clip} |
{c} |
Passes the contents of the clipboard (only if the clipboard contains text data). |
{dpi} |
- |
The {dpi} control code lets you use DPI-sensitive values with simple commands. This can be useful if you have buttons which specify column or window sizes and you want consistent results from the same button in different DPIs.
|
{$<variable>} |
- |
Inserts the value of the named variable. This must have been previously set using the @set modifier.
The @set modifier can be used to assign the value of another external code to a variable. For example, if you want to ask the user to enter a string with the {dlgstring} code, you could assign that to a variable which would then let you use that string more than once in the function: @set name {dlgstring|Enter new folder name} The FileType NEW command automatically sets a value called newfile to the name of the newly created file. |