Re: Run Script upon Waking?
Re: Run Script upon Waking?
- Subject: Re: Run Script upon Waking?
- From: Gnarlodious <email@hidden>
- Date: Thu, 29 Nov 2001 15:34:59 -0700
Entity AppleScripter spoke thus:
>
It was an AppleEvent that got sent on
>
wakeup. I looked it up on tbl200.com and I got this from Sander Teklenburg:
I am confused. Would it look like this?
or require a loop to activate the "wakeup"?
(akua OSAX used)
-------------------
--Update emulator clock:
on <<event pmgtwake>>
tell application "Finder"
activate
select file "Forth Emulator"
open selection
-- Close current instance not saving
input state {pointer location:{{445, 258}}}
input state {button down:true}
--Recalculate
input state {pointer location:{{86, 333}}}
input state {button down:true}
end tell
end <<event pmgtwake>>
---------------
Does not compile.
>
Remember to use actual chevrons in place of the << and >>.
What are they and where do I find them? ( I am using Smile)
And then somehow the OS "remembers" to run the script upon waking?
Thanks forall the help.
Rachel
http://www.gnarlodious.com