• 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: Filmier to ical
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filmier to ical


  • Subject: Re: Filmier to ical
  • From: CYB <email@hidden>
  • Date: Tue, 31 May 2011 19:39:41 -0500
  • Thread-topic: Filmier to ical

Title: Re: Filmier to ical
I have three text fields, year, month and date in FM pro that I want to use in applescript to creat a new event at the date from those fields... I cannot seem to get things into the correct type or format for as to shove into iCal.   Can someone point me in the right direction?  Does iCal need the date in text format or what?

Lost is space

Bob

Orlando fl

God bless America... Remember Memorial day on Monday


Bob I use this script that maybe help you to for the date in a proper way
 ---script
set d to short date string of (current date)
set FechaProbable to (word 2 of d & "/" & (word 1 of d) + 1) as text
set FechaCita to text returned of (display dialog "¿Cuando es la cita? (mes/día)" default answer FechaProbable)
set FechaCita to date FechaCita
tell application "iCal"
    tell calendar "Work"
        set NuevaCita to make new event at end of events with properties {start date:FechaCita, summary:TextoCita}
        make new display alarm at end of display alarms of NuevaCita with properties {trigger interval:-30}
    end tell
    show NuevaCita
    tell application "iCal" to activate
end tell

Carlos Ysunza B.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Filmier to ical (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: How to relink missing links in InDesign CS5
  • Previous by thread: Re: Filmier to ical
  • Next by thread: Applescript and VueScan
  • Index(es):
    • Date
    • Thread