A set of four custom actions for use with text, tokens, variables or clipboard.
Encode URI Component.zip (4.8 KB)
Decode URI Component.zip (4.6 KB)
Encode URI.zip (4.5 KB)
Decode URI.zip (4.4 KB)
Each of these actions wraps one of the 4 standard JavaScript functions for percent-encoding and decoding URIs:
encodeURIComponent
decodeURIComponent
The Component versions encode and decode more.
( encodeURI()
encodes only the minimum required to create a well-formed and standards-compliant URI, and leaves protocol prefixes like http://
unencoded).
REQUIREMENTS
- Yosemite
- The underlying scripts are written in Javascript for Applications
INSTALLATION
- Drag the .zip file you require onto the Keyboard Maestro icon in the OS X toolbar.
- (if updating a previous version of the action, first manually remove the previous copy from the custom actions folder)
~/Library/Application Support/Keyboard Maestro/Keyboard Maestro Actions