On Sat, Oct 24, 2015 at 11:56:11AM -0700, Rusty Wandall wrote:
> applescript. I haven't been able to figure out a way to wake the computer
> via an OSC command after it's asleep. Is this possible?
You need to send a Wake On Lan 'magic' packet to the machine. They need
to be on the same network segment for this to work any kind of router
in between means it won't work.
Also in the 'engery saver' preference 'wake for network access' must
be ticked.
There are several things you can use to send WoL packets for example
the comanndline version of:
http://www.depicus.com/wake-on-lan/wake-on-lan-for-apple-mac
is free. Or there are python scripts
https://pypi.python.org/pypi/wakeonlan/0.2.2
or there are many things which do it that you can compile yourself.
However you do it you can then write an Apple Script run via a Script
command to call run the program which sends the WoL packet.
-p
--
Paul Gotch
--------------------------------------------------------------------