How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask DroidZombie Your Own Question
DroidZombie
DroidZombie, Programming Enthusiast
Category: Mac
Satisfied Customers: 17
Experience:  Need a few *pointers? I'm happy to help. If you missed that joke feel free to ask me anything
76391150
Type Your Mac Question Here...
DroidZombie is online now

Applescript question. iCal. I need to count the number of

Customer Question

Applescript question. iCal.
I need to count the number of times a certain event occurs between given dates. I can write the script to count ALL such events but not constrain them by date. Can you help?
Submitted: 3 years ago.
Category: Mac
Expert:  DroidZombie replied 3 years ago.
Hi there,

I think I have a solution to your problem.

If you're looking to count an event only during a certain time period you can use an if statement inside your check loop.

If fileDate > lowerDate && fileDate < upperDate
Do your check here