Re: Dashboard - Applescripts in web pages?
Re: Dashboard - Applescripts in web pages?
- Subject: Re: Dashboard - Applescripts in web pages?
- From: Sander Tekelenburg <email@hidden>
- Date: Mon, 25 Apr 2005 21:05:01 +0200
At 13:23 -0400 UTC, on 2005/04/25, Timothy K. Wilkinson wrote:
[...]
> I'm
> wondering if you can have a script run directly from a web page.
Only with the help of has' evil doings :) (Sorry, lost the URL, so you'll
have to search the archives if you want to know what I refer to. Don't
bother, it's most likely not relevant to Dashboard.)
> I ask this
> in relation to Dashboard widgets. [...]
> I'm wondering if there is a way to write a widget with an Apple script
> embedded since they are just web pages.
If that were the actual case instead of the marketing slogan, then the answer
would be no. Because it would be a security risk if Web pages could run
(arbitrary) AppleScript scripts.
But since Dashboard runs locally, that risk doesn't apply, so in that sense
AS support should be possible. I for one would love to see it happen.
Here's the documentation:
<http://developer.apple.com/macosx/tiger/dashboard.html>. A small reason for
hope appears to be buried in this: "[...] JavaScript [...] The widget object
gives you the ability to [...] Execute system commands, such as shell scripts
or command-line tools" In theory that might open a route to use AS. But
having to call AS from a shell, which in turn is called through javascript,
might not be such a great experience...
--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
_______________________________________________
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