• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Scripting Date and Time Control Panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Scripting Date and Time Control Panel (From: Andy Wylie <email@hidden>)

  • Prev by Date: Re: Number of days since 1/1/0001
  • Next by Date: Re: Scripting Date and Time Control Panel
  • Previous by thread: Re: Scripting Date and Time Control Panel
  • Next by thread: Re: Scripting Date and Time Control Panel
  • Index(es):
    • Date
    • Thread