trigger:Web_Server
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| trigger:Web_Server [2018/07/16 06:49] – peternlewis | trigger:Web_Server [2018/07/21 00:48] (current) – Corrected some minor typos. DavidShepherdson | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| If the Keyboard Maestro web server is enabled, then you can connect to it using your web browser. | If the Keyboard Maestro web server is enabled, then you can connect to it using your web browser. | ||
| - | :!: Note: A HTTP Port of 4490 is used in all examples on this page. But it can be set to any port you prefer. | + | :!: 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** | + | **To Display the Web Server User Interface**\\ |
| + | (you can use either `127.0.0.1` or `localhost`. | ||
| ``` | ``` | ||
| - | https:// | + | http:// |
| + | http:// | ||
| + | https:// | ||
| ``` | ``` | ||
| - | (note the use of the **next** port number after the specified one for the secure connection) or | + | 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 as long as they can connect to your Mac. |
| - | http:// | + | |
| - | ``` | + | |
| - | 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 as long as they can connect to your Mac. | + | |
| For most home users, only computers on your local network can connect, although it depends on your network setup. | For most home users, only computers on your local network can connect, although it depends on your network setup. | ||
| Line 27: | Line 25: | ||
| **To Execute a Specific Macro** | **To Execute a Specific Macro** | ||
| ```html | ```html | ||
| - | http://127.0.0.1:4490/ | + | https://localhost:4491/ |
| ``` | ``` | ||
| - | --- | ||
| ===== Enable and Setup Web Server ===== | ===== Enable and Setup Web Server ===== | ||
| - | Keyboard Maestro has an built-in web server. | + | Keyboard Maestro has a built-in web server. |
| {{: | {{: | ||
| Line 41: | Line 38: | ||
| |**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. | | |**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. | | HTTP Port | 4490 | _Required_. The Port used in the `URL` to access the Server. | ||
| - | | Username | `< | + | | Username | `< |
| - | | Password | `< | + | | Password | `< |
| - | | Web Browser Access Enabled | _checked_ | This must be checked in order to use the `URL` in a web browser. | | + | | Web Browser Access Enabled | _checked_ | This must be checked in order to use Keyboard Maestro Control on an iOS device. | |
| - | | iOS Access Enabled | _unchecked_ | Must be checked in order to use from an iOS device.\\ FIXME: _does this require the KM iOS app?_ | | + | | Receive Clipboards into Clipboard History | _unchecked_ | If checked, you can send your clipboard from one Mac to another using the Clipboard History Switcher. |
| - | | Receive Clipboards into Clipboard History | _unchecked_ | FIXME: _what does this mean??? | + | | 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. |
| - | | Replacing Current Clipboard | _unchecked_ | FIXME: _meaning??? | + | |
| - | --- | ||
| ===== How To Use ===== | ===== How To Use ===== | ||
| Line 57: | Line 53: | ||
| - Then execute any macro you have defined | - Then execute any macro you have defined | ||
| - If you have configured any macro with a Public Web trigger | - If you have configured any macro with a Public Web trigger | ||
| - | - Then anyone on the Internet (with access to your local area network) trigger _only_ those macros that have set the [[Public Web]] trigger. | + | - Then anyone on the Internet (with access to your local area network) |
| - | FIXME: | + | If you have not entered |
| - | **Connecting to Keyboard Maestro Web Server in Safari**\\ | + | **Connecting to Keyboard Maestro Web Server in Safari** |
| - | `URL: http:// | + | |
| - | {{:trigger:km-server-in-safari.png? | + | ``` |
| + | URL: https:// | ||
| + | ``` | ||
| - | --- | + | {{: |
| ===== See Also ===== | ===== See Also ===== | ||
| Line 82: | Line 79: | ||
| * [MACRO: | * [MACRO: | ||
| * [Triggering Keyboard Maestro macros remotely, KM8, Peter Lewis](https:// | * [Triggering Keyboard Maestro macros remotely, KM8, Peter Lewis](https:// | ||
| - | |||
trigger/Web_Server.1531723748.txt.gz · Last modified: by peternlewis
