Text content of the system clipboard | |
Text content of clipboard | |
Cursor selection in the focused window, given as a string or Array of strings depending on the type of window. For example, in a browser window the cursor selection is the selected text minus any non-textual elements such as images. In a spreadsheet window (such as MS Excel), it'll be all selected cells in text form. In a file explorer window, it'll be an Array containing the selected file/folder paths. An empty string is returned if no supported selection type is found. Not all kinds of windows are supported. e.g. text selection in a command prompt window cannot be obtained. | |
Text currently visible in the omnibox of the current Chrome window. i.e. either the URL
of the active tab or any other text that was typed into the omnibox. See this page for a few examples of using this placeholder. | |
The current date with format |
A tab's protocol | |
A tab's username | |
A tab's full host name | |
A tab's host name minus all subdomains at the left end (like | |
A tab's port | |
A tab's path | |
A tab's path without the filename, i.e. everything upto the last slash character | |
A tab's query string | |
A tab's fragment |
The current user's desktop folder | |
The current user's "My Documents" folder | |
The current user's profile folder. e.g. C:\Users\John | |
The current user's Appplication data folder. e.g. C:\Users\John\AppData\Local | |
The OS's installation directory. e.g. C:\Windows | |
The Program Files folder for 32-bit programs. e.g. C:\Program Files (x86) | |
The current user's startup folder | |
The current user's "Recent items" folder |
var_name must be any variable created with the | |
var_name can be any of the OS's environment variables as well as any variable defined at
|
Syntax | Example |
---|---|
dot notation | |
bracket notation | |
Function call | |
number literal | |
string literal | |
RegExp literal | |
Nested placeholders |
Gives an array with each text line in the string. Empty lines are discarded. | |
Gives an array with each word in the string. Blank characters act as word separators. | |
Same result as the encodeURIComponent standard function. | |
Same result as the unescape standard function. | |
Similar to the standard match function, but returns only the first match or an empty string if no match is found. | |
Same as the standard match function, but returns an empty array if no match is found. | |
Same as the standard replace function, but replaces all ocurrences of |