• 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: Sintax for current date - Need help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sintax for current date - Need help


  • Subject: Re: Sintax for current date - Need help
  • From: Bernardo Hoehl <email@hidden>
  • Date: Fri, 8 Apr 2005 07:44:29 -0300

Hello Yvan, Axel and Clark,


Thank you for replying to my post.

You all have beeen very helpfull.


Bernardo


========================


On 07 Apr, 2005, at 3:10 PM, Yvan KOENIG wrote:

Le 7 avr. 2005 , à 18:20, Bernardo Hoehl a écrit :

Could you comment my lines bellow? Are they currect?


Thank you,


Bernardo Höhl
Rio de Janeiro - Brazil

set CurrentTime to time of (current date)

if CurrentTime > 32400 and CurrentTime < 61200 then


beep -- do something, kill whatever


end if


Hello
Your code seems to be correct.
Just for the fun, here is an other syntax:

set currentdate to current date
if currentdate > date "06:00" in date (date string of currentdate) and currentdate < date "17:00" in date (date string of currentdate) then


beep -- do something, kill whatever


end if


Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Sintax for current date - Need help (From: Bernardo Hoehl <email@hidden>)
 >Re: Sintax for current date - Need help (From: Yvan KOENIG <email@hidden>)

  • Prev by Date: Extreme performance drop if saved as app
  • Next by Date: GUI scripting?
  • Previous by thread: Re: Sintax for current date - Need help
  • Next by thread: How do I copy elements from one indesign document to another using applescript
  • Index(es):
    • Date
    • Thread