• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: run script from browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run script from browser


  • Subject: Re: run script from browser
  • From: Matt Neuburg <email@hidden>
  • Date: Thu, 25 Aug 2005 09:10:50 -0700

On Wed, 24 Aug 2005 15:27:28 -0400, "Gary (Lists)"
<email@hidden> said:
>"Matt Neuburg" wrote:
>
>> On Wed, 24 Aug 2005 11:10:11 -0400, Rick Frank <email@hidden> said:
>>> Is there a way to have an applescript run on a users local machine in
>>> response
>>> to a button click on a browser?
>>
>> I truly hope not. However, there is a way to have an applescript be loaded
>> from a browser into the Script Editor; the user can then choose to run it.
>> m.
>
>Sorry, Matt. But there is a pretty simple means.
>
>Save your script as an application, then write your link like:
>
><a href="file://some/path/to/my/script.app">Run the Scipt</a>

Clearly if you are allowed to recast the OP's problem to a different
problem, you can give a different answer. You're making two assumptions that
the OP did not say one could make (namely, the script already exists as an
app, and its location is known).

Actually, I asked the OP offline what he *really* wanted to do, and it turns
out that this is not an AppleScript problem at all. He simply wants to
launch an app in response to browser click. So I told him about the URL
protocol mechanism. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: run script from browser
      • From: "Gary (Lists)" <email@hidden>
  • Prev by Date: Re: Folder action to rename files
  • Next by Date: Re: on idle() handler in script object
  • Previous by thread: Re: run script from browser
  • Next by thread: Re: run script from browser
  • Index(es):
    • Date
    • Thread