This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
trigger:Web_Server [2018/07/16 02:45] peternlewis |
trigger:Web_Server [2018/07/16 02:49] peternlewis |
||
---|---|---|---|
Line 6: | Line 6: | ||
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 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** | ||
- | ```html | + | ``` |
+ | https://localhost:4491 | ||
+ | ``` | ||
+ | |||
+ | (note the use of the **next** port number after the specified one for the secure connection) or | ||
+ | |||
+ | ``` | ||
http://127.0.0.1:4490/ | http://127.0.0.1:4490/ | ||
``` | ``` | ||
If you have configured a username and password for the web server, then you can log in and execute any active macro. You do not need to explicitly set a trigger, if you enable the web server, and configure a username and password, then all active macros can be executed via the web browser using the username and password. | If you have configured a username and password for the web server, then you can log in and execute any active macro. You do not need to explicitly set a trigger, if you enable the web server, and configure a username and password, then all active macros can be executed via the web browser using the username and password. | ||
- | Any macro with the [[Public Web]] trigger can be triggered by anyone without the username or password. | + | 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. Potentially anyone on the Internet can connect to the server. | ||
**To Execute a Specific Macro** | **To Execute a Specific Macro** | ||
Line 73: | Line 82: | ||
* [MACRO: @Web Open URL Passed from KM Public Web Server](https://forum.keyboardmaestro.com/t/open-url-passed-from-km-public-web-server/7019) | * [MACRO: @Web Open URL Passed from KM Public Web Server](https://forum.keyboardmaestro.com/t/open-url-passed-from-km-public-web-server/7019) | ||
* [Triggering Keyboard Maestro macros remotely, KM8, Peter Lewis](https://forum.keyboardmaestro.com/t/triggering-keyboard-maestro-macros-remotely/8277) | * [Triggering Keyboard Maestro macros remotely, KM8, Peter Lewis](https://forum.keyboardmaestro.com/t/triggering-keyboard-maestro-macros-remotely/8277) | ||
- | |||