Sterling Bourne
Sterling Bourne

Reputation: 3342

Hit a button within the browser that would un-focus the browser then focus a different application?

Is that possible using AppleScript on macOS or VBScript on Windows? Desktop only.

Thanks!

Upvotes: 0

Views: 29

Answers (1)

ThrowBackDewd
ThrowBackDewd

Reputation: 1767

Yes, it's possible. It would involve an applescript that would be called by clicking a hyperlink in the web page. You can find additional information here

Basically, your Applescript would be responsible for changing the front application. The Applescript would be triggered by the link in the website.

Note : The user has to "approve" the running of the script initially, but after that, it's capable of running once the link is clicked without additional user input.

Upvotes: 1

Related Questions