trigger:Web_Server
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| trigger:Web_Server [2015/02/10 06:12] – created peternlewis | trigger:Web_Server [2018/07/21 00:48] (current) – Corrected some minor typos. DavidShepherdson | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | If the Keyboard Maestro | + | {{:trigger:web-server-icon.png? |
| - | Any macro with the [[Public Web]] trigger can be triggered by anyone without the username or password. | + | ====== Web Server ====== |
| + | |||
| + | ===== Overview ===== | ||
| + | |||
| + | If the Keyboard Maestro web server is enabled, then you can connect to it using your web browser. | ||
| + | |||
| + | :!: Note: A HTTP Port of 4490 or 4491 is used in all examples on this page. But it can be set to any port you prefer. | ||
| + | |||
| + | **To Display the Web Server User Interface**\\ | ||
| + | (you can use either `127.0.0.1` or `localhost`. | ||
| + | ``` | ||
| + | http:// | ||
| + | http:// | ||
| + | https:// | ||
| + | ``` | ||
| + | |||
| + | If you have configured a username and password for the web server, then you can log in and execute any active macro. | ||
| + | |||
| + | Any macro with the [[Public Web]] trigger can be triggered by anyone without the username or password | ||
| + | |||
| + | For most home users, only computers on your local network can connect, although it depends on your network setup. | ||
| + | |||
| + | **To Execute a Specific Macro** | ||
| + | ```html | ||
| + | https:// | ||
| + | ``` | ||
| + | |||
| + | |||
| + | ===== Enable and Setup Web Server ===== | ||
| + | |||
| + | Keyboard Maestro has a built-in web server. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ^ Field ^ Default ^ Description ^ | ||
| + | |**Web Server Enabled** | _unchecked_ | Must be _checked_ in order to use the Keyboard Maestro Web Server.\\ If _checked_, then the below fields need to be completed. | | ||
| + | | HTTP Port | 4490 | _Required_. The Port used in the `URL` to access the Server. | ||
| + | | Username | `< | ||
| + | | Password | `< | ||
| + | | Web Browser Access Enabled | _checked_ | This must be checked in order to use Keyboard Maestro Control on an iOS device. | | ||
| + | | Receive Clipboards into Clipboard History | _unchecked_ | If checked, you can send your clipboard from one Mac to another using the Clipboard History Switcher. | | ||
| + | | Replacing Current Clipboard | _unchecked_ | If checked, received clipboards will replace your current system clipboard, otherwise they will be added to the clipboard history as the immediate past clipboard. | ||
| + | |||
| + | |||
| + | |||
| + | ===== How To Use ===== | ||
| + | (after _Web Server_ has been _enabled_) | ||
| + | |||
| + | If you configure a username and password, you can: | ||
| + | - Connect to your Keyboard Maestro’s web server and login | ||
| + | - Then execute any macro you have defined | ||
| + | - If you have configured any macro with a Public Web trigger | ||
| + | - Then anyone on the Internet (with access to your local area network) can trigger _only_ those macros that have set the [[Public Web]] trigger. | ||
| + | |||
| + | If you have not entered a username or password, then you will not be able to login, but any Public Web triggered macros will still be available (as long as the web server is enabled). | ||
| + | |||
| + | **Connecting to Keyboard Maestro Web Server in Safari** | ||
| + | |||
| + | ``` | ||
| + | URL: https:// | ||
| + | ``` | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== See Also ===== | ||
| + | |||
| + | === Triggers === | ||
| + | |||
| + | * [[Remote|Remote]] trigger | ||
| + | * [[Public Web]] trigger | ||
| + | * [[trigger: | ||
| + | * [[/ | ||
| + | |||
| + | === Forum Topics === | ||
| + | |||
| + | * [Issue Using Public Web Trigger ](https:// | ||
| + | * [MACRO: | ||
| + | * [Triggering Keyboard Maestro macros remotely, KM8, Peter Lewis](https:// | ||
trigger/Web_Server.1423548736.txt.gz · Last modified: by peternlewis
