URL Shortener / URL gekürzt einfügenMacros for TextCommand Line Parameters
Clipboard Master provides some macros that are correspondingly replaced and/or executed by pasting text. For example, if you enter the macro {#date} in the text of an entry, Clipboard Master replaces this macro when pasting the entry with the current date.
| Macro | Description |
|---|---|
| {#date} | The current date is pasted, the format depends on the Windows settings |
| {#time} | The current time is pasted, the format depends on the Windows settings |
| {#date format} | The current date is pasted with the specified formatting e.g. {#date mm/dd/yyyy} |
| {#time format} | The current time is pasted with the specified formatting {#time hh:ss} |
| {#datetime} | The current date and time is pasted |
| {#cursorpos} | Specifies the cursor position after pasting |
| {#tab} | Inserts a tab |
| {#asc number} | Paste an ASCII character. The number can be a decimal or hexadecimal e.g. 33, &h33 or 0x33) |
| {#env variable} | For the specified environmental variable, e.g. {#env temp} to paste a directory name for temporary files. |
| {#file file name} | Paste the content of the file specified |
| {#input "title" guideline} | Opens an entry window and pastes the entered text, "title" and guideline are optional |
| {#i} | pastes the text retrieved via {#input} again |
| {#open} or {#open "title" "path" ext} | Shows a file open dialog in which a file can be selected that will then be pasted "title", "path" and ext are optional: Title: title of the dialog path: Directory ext: file name extension |
| {#c} | Line number: Pastes the number of the current line |
| {#cn} | Line counter: Pastes the number of each line at the start of each line (from the occurrence of the macro) |
| {#lastnamefrom} | pastes the last name from the current email/document if found |
| {#firstnamefrom} | pastes the first name from the current email/document if found |
| {#fullname} | pastes the full name (define it in the settings -> misMiscellaneous -> user date |
| {#firstname} | pastes the first name (define it in the settings -> misMiscellaneous -> user date |
| {#lastname} | pastes the last name (define it in the settings -> misMiscellaneous -> user date |
Date format meta characters:
| yyyy | insert four digit year |
| yy | insert two digit year |
| m | insert month number (no leading zero for months 1-9) |
| mm | insert month number (with leading zero for months 1-9) |
| mmm | insert three character month name |
| mmmm | insert full month name |
| d | insert day of the month (no leading zero for days 1-9) |
| dd | insert two digit day of the month (with leading zero for days 1-9) |
Time format meta characters:
| h | insert the hour in 24 hour format |
| hh | insert the hour with a leading zero in 24 hour format |
| mm | insert minutes |
| ss | insert seconds |
| a/p | insert an ‘a’ if the time is in the AM or a ‘p’ if the time is in the PM |
| A/P | insert an ‘A’ if the time is in the AM or a ‘P’ if the time is in the PM |
| am/pm | insert an ‘am’ if the time is in the AM or a ‘pm’ if the time is in the PM |
| AM/PM | insert an ‘AM’ if the time is in the AM or a ‘PM’ if the time is in the PM |