This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
trigger:Web_Server [2018/07/16 03:21] JMichaelTX Clarified use of 4490 vs 4491; Change all to localhost |
trigger:Web_Server [2018/07/20 20:48] (current) DavidShepherdson Corrected some minor typos. |
||
---|---|---|---|
Line 17: | Line 17: | ||
``` | ``` | ||
- | 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 as long as they can connect to your Mac. | 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. | ||
Line 31: | Line 31: | ||
===== Enable and Setup Web Server ===== | ===== Enable and Setup Web Server ===== | ||
- | Keyboard Maestro has an built-in web server. You can enable it in the Keyboard Maestro Web Server preferences, and provide the following data. | + | Keyboard Maestro has a built-in web server. You can enable it in the Keyboard Maestro Web Server preferences, and provide the following data. |
{{:trigger:km-web-server-pref.png?nolink|}} | {{:trigger:km-web-server-pref.png?nolink|}} | ||
Line 40: | Line 40: | ||
| Username | `<NONE>` | _Required for authenticated access_. Enter any name you prefer, but pick one that you will remember. | | | Username | `<NONE>` | _Required for authenticated access_. Enter any name you prefer, but pick one that you will remember. | | ||
| Password | `<NONE>` | _Required for authenticated access_. Although there are no specific requirements for the password, you should pick a strong one that you will remember, or better, use a Password Manager. | | | Password | `<NONE>` | _Required for authenticated access_. Although there are no specific requirements for the password, you should pick a strong one that you will remember, or better, use a Password Manager. | | ||
- | | Web Browser Access Enabled | _checked_ | This must be checked in order to Keyboard Maestro Control on an iOS device. | | + | | 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 on Mac to another using the Clipboard History Switcher. | | + | | 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 paste clipboard. | | + | | 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. | |
Line 53: | 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. Of course, if you properly setup your Internet router, unauthorized access from the Internet should be very unlikely. | + | - Then anyone on the Internet (with access to your local area network) can trigger _only_ those macros that have set the [[Public Web]] trigger. Of course, if you properly setup your Internet router, unauthorized access from the Internet should be very unlikely. |
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). | 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). |