documentation:Filters
Differences
This shows you the differences between two versions of the page.
| documentation:Filters [2016/05/26 07:01] – created peternlewis | documentation:Filters [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Filters ====== | ||
| - | |||
| - | Keyboard Maestro includes a variety of filters that can be applied to either the system clipboard, Named~~Clipboards, | ||
| - | |||
| - | The filters are: | ||
| - | |||
| - | * Remove Styles (ie, make the clipboard plain text – not applicable to variables). | ||
| - | * Set line endings to Mac, Unix or Windows/ | ||
| - | * Trim Whitespace. | ||
| - | * Hard wrap or unwrap paragraphs. | ||
| - | * Lowercase (all characters), | ||
| - | * Uppercase (all characters), | ||
| - | * Capitalize (all words) or Title Case (intelligently uppercase certain first letters). | ||
| - | * Change quotes to Smart, Dumb or French quotation marks. | ||
| - | * Encode HTML or non-ASCII HTML entities. | ||
| - | * Decode HTML entities. | ||
| - | * Generate an HTML list. | ||
| - | * Percent Encode or Decode a URL. | ||
| - | * Quote for AppleScript, | ||
| - | * Get or delete the last path component or the path extension. | ||
| - | * Get the basename of the path (ie the name without directory or extension). | ||
| - | * Expand tilde (~) paths, or abbreviate with a tilde. | ||
| - | * Resolve symlinks, or standardize the path. | ||
| - | * Delete or bullet (•) control characters. | ||
| - | * Calculate an expression and return the result, see the [[Calculations]] section. | ||
| - | * Process Text Tokens and return the result, see the [[Text Tokens]] section. | ||
| - | * Get the value of a named variable or named clipboard. | ||
| - | * Count the characters, words or lines and return the result. | ||
| - | |||
| - | We will likely expand the list of possible filters, so if you have specific filtering needs that you think might be of general interest, please let us know. In the mean time, remember that you can apply scripted filters using an AppleScript or shell script, for example the shell script: | ||
| - | |||
| - | <code bash> | ||
| - | pbpaste | perl -pe ' | ||
| - | </ | ||
| - | |||
| - | is roughly equivalent to the Lowercase filter, except that it only works with ASCII characters. | ||
documentation/Filters.1464246099.txt.gz · Last modified: by peternlewis
