Re: Scripting Date and Time Control Panel
Re: Scripting Date and Time Control Panel
- Subject: Re: Scripting Date and Time Control Panel
- From: Gnarlodious <email@hidden>
- Date: Sat, 24 Nov 2001 07:27:41 -0700
>
> What I want to do is update my OS Clock with a script:
Entity Andy Wylie spoke thus:
>
I use Akua's 'input state'...
Thanks, Andy!
Here is the working script for me, G4Cube 9.1 w/14"LCD
---------------
tell application "Finder"
open alias ("" & {path to "ctrl", "Date & Time"})
end tell
input state {pointer location:{{395, 315}}}
input state {button down:true}
input state {pointer location:{{410, 321}}}
input state {button down:true}
input state {pointer location:{{631, 321}}}
input state {button down:true}
input state {pointer location:{{117, 67}}}
input state {button down:true}
-----------
This may have a lot of potential, can I use the method to script an
"unscriptable" app?
Rachel
http://www.gnarlodious.com