Open URL with a Macro Script
The Launch App macro action can be used to open any web URL, email protocol link, or application shortcut. By pointing a shortcut file to a valid URL protocol (such as http://, https://, mailto:, or tel:), Auto Mouse Click will automatically trigger your default web browser, email client, or communication application when the script executes.
You can use either the Launch App action or the Launch & Wait App action (commonly used for launching Windows applications). Follow the step-by-step procedure below to set up URL launching in your macro scripts:
- Create a new Windows shortcut on your Desktop or in any folder. Right-click in the folder, choose New > Shortcut, and enter your target URL (e.g.,
https://www.murgee.com/ormailto:support@murgee.com) into the location box. - Assign a name to the shortcut file and click Finish.
- In Auto Mouse Click, add a Launch App or Launch & Wait App action to your script list.
- Double-click the added action and select your newly created shortcut file (`.url` or `.lnk`).
- When the script executes, Windows will automatically open the URL using the default application registered for that protocol.
Common URL protocols supported by Windows shortcuts include:
- http / https: Opens websites in your default browser (e.g.,
https://www.murgee.com/). - mailto: Opens your default email client to compose a message (e.g.,
mailto:support@murgee.com). - tel: Opens your default telephony or VoIP app (e.g.,
tel:1234567890). - ftp / sftp: Opens FTP file transfer clients or web resources.
Note on Execution Behavior: The Launch App action opens the URL and immediately proceeds to the next macro action in your script. In contrast, the Launch & Wait App action opens the default application and pauses script execution until the launched window is closed by the user.