Re: Date from LiveCode to Applescript

2010-11-27 Thread Yves COPPE
Le 27 nov. 2010 à 12:09, zryip theSlug a écrit : > Try this: > > on mouseUp > local tFinalDate,theCal,theEvent,tScriptToDo > > put "11/25/2010" into tFinalDate -- Your date in your own format > put "MyCalendar" into theCal > put "MyEvent" into theEvent > > put "tell application ""e&"

Re: Date from LiveCode to Applescript

2010-11-27 Thread zryip theSlug
On Sat, Nov 27, 2010 at 7:27 AM, Yves COPPE wrote: > Hello tjheSlug > > > Very good and fantastic script > works great > > Another question about that > > is it possible to have a script to force iCal to open at this date (a > variable date) in a weekly presentation ? > > thanks. Hi Yves, Try t

Re: Date from LiveCode to Applescript

2010-11-26 Thread Yves COPPE
Hello tjheSlug Very good and fantastic script works great Another question about that is it possible to have a script to force iCal to open at this date (a variable date) in a weekly presentation ? thanks. Le 26 nov. 2010 à 00:42, zryip theSlug a écrit : > In case it could be of some intere

Re: Date from LiveCode to Applescript

2010-11-25 Thread zryip theSlug
In case it could be of some interest for someone else in the list, a full example for adding a new event in iCal with applescript: on mouseUp put "11/25/2010 09:00" into tFinalDate -- Your date time in your own\ format here (MM/DD/ HH:MM or DD/MM/ HH:MM) put "MyCalendar" into the

Re: Date from LiveCode to Applescript

2010-11-25 Thread zryip theSlug
On Thu, Nov 25, 2010 at 10:29 PM, Yves COPPE wrote: > Hi list, > > I make a manipulation of date and time in LiveCode and put the it into a > variable : tFinalDate > > now I'd like to use this var into an applescript command ... > >   put "tell application ""e&"iCal""e&cr& \ >          "tell cale

Date from LiveCode to Applescript

2010-11-25 Thread Yves COPPE
Hi list, I make a manipulation of date and time in LiveCode and put the it into a variable : tFinalDate now I'd like to use this var into an applescript command ... put "tell application ""e&"iCal""e&cr& \ "tell calendar ""e&theCal"e&cr& \ here comes the incorporation of the va