Re: [NTLK] Power Management Again

From: Grant Hutchinson (grant_at_splorp.com)
Date: Sat Jan 04 2003 - 00:17:56 EST


In a previous message, Mike typed vigorously:

>Are their ways to communicate to MP2000 over a network with AppleScript?

Not using AppleScript.

But you could remotely trigger a NewtonScript through NPDS over an HTTP
connection. Specifically, a script that would reboot your Newton when a
certain URL was accessed. I can't imagine that the NS code to force a
reboot is very complex (someone with a bit more NewtonScript finesse
could help me here...), but it can be done. You'd define a script as a
server-side include tag using the built-in NPDS Script Editor and then
embed that tag in a page that can be accessed using NPDS. When that page
is loaded by a browser or triggered by some other HTTP request, the
script gets executed and ka-blooey. The URL could look something like:

     http://xxx.xxx.xxx.xxx/html/reboot

See the NPDS development site for the packages and docs.

     http://npds.free.fr/
     http://npds.free.fr/docs/english/

I know this sounds complicated, but you did ask if it was possible. :)

g.

......................................................................

Grant Hutchinson Interface Considerations & Toys

Live video served fresh since 1996. http://www.splorp.com/cam/
Now fortified with daily ramblings. http://www.splorp.com/blog/
Newton. It's the Palm with a brain. http://www.splorp.com/newton/
Online community web site handyman. http://www.newted.net/

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/



This archive was generated by hypermail 2.1.2 : Sun Jan 26 2003 - 04:01:53 EST