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.

Open URL from Macro Script
Configure Launch App Action to Open a URL Shortcut

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:

  1. 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/ or mailto:support@murgee.com) into the location box.
  2. Assign a name to the shortcut file and click Finish.
  3. In Auto Mouse Click, add a Launch App or Launch & Wait App action to your script list.
  4. Double-click the added action and select your newly created shortcut file (`.url` or `.lnk`).
  5. 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:

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.