Applescript clock-watcher

  • Posted: 07 September 2006 01:35 PM

    I am trying to get a program to wait till a certain time before running the rest (or actually the all) of it. How do I do this? Would you have a clause that would wait for “current date” to be => to something?

    Signature

    ~Ben
    When you swim in the creek
    And an eel bites your cheek
    That’s a moray!

    The best vinyl skins for iPod, PSP, XBox and more!

         
  • Posted: 14 June 2007 02:41 AM #1

    It looks like you could figure out how to do it based on this example alarm clock script: http://community.livejournal.com/applescript/22979.html

    Specifically this line looks like it would provide a clue about the code you need…

    repeat while (current dateis less than date targetTime