I am trying to have an application open when a link is clicked on in a webpage. Lets say if I clicked the link that says iTunes it would open iTunes. I am not sure if this is similar but if you go to an album link for iTunes that opens in the web browser, it will open iTunes to that page. Remember this is for mac. Also, the other tutorials that I have tried did not work. Other tutorials used JavaScript so I am guessing that I will need to use this as well.
All replies. Two-finger tap, or control-click on the link, and from the resultant secondary menu, choose Open With > Safari. If you already have a single or multiple tabs open in Safari, another tab will be opened with the link from the email.
On your Mac, choose Apple menu > System Preferences, then click Users & Groups . Select your user account, then click Login Items at the top of the window. Do any of the following: Add a login item: Click the Add button below the list of items, select a document, folder, app, server or other item, then click Add.
You can not only open an application. you e.g. can tell an application that registered a protocol to do an action. You can tell iTunes to open an album with the itmss://
protocol. Instant messenger may have registered e.g. aim://
, skype://
or similar so that you can directly open a chat window. You can create a link with mailto:[email protected]
to tell the default mail application to start a new mail with this address. But you can not start the application directly by default.
If you have control over the system where the webpage ist opened, e.g. an in-house launching service or something like that. You could think of creating an protocol default handler for launching applications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With