Applescript Bookmarklet !!!

I have been making and using Javascript bookmarklets for Safari.

Does anyone know if it Is it possible to make an Applescript based bookmarklet for Safari?

-Or-

Does anyone know how to activate an Applescript using a Javascript bookmarklet?

Any info would be greatly appreciated,
CarbonQuark

It would be a big security hole, so it’s not possible.

Well, it’s possible, but you should create a special applescript, acting as a “protocol helper” (search the forums for these keywords), then invoke it as “javascript:window.location.href=‘specialprotocol:whatever’;”.

jj,

Thanks for the information!
If I figure it out I will post the solution.

CarbonQuark