LiveCode & applescript

Yves COPPE yvescoppe at skynet.be
Sat Nov 27 12:11:41 EST 2010


Hello list


I use the following script


   put "tell application "&quote&"Finder"&quote&cr& \
          "open application file "&quote&"ical.app"&quote&" of folder "&quote&"Applications"&quote&" of startup disk"&cr& \
          "tell application "&quote&"iCal"&quote&cr& \
          "set theCalendarNames to title of every calendar"&cr& \
          "end tell" &cr& \
          "end tell" into tScript
   do tScript as applescript

works perfectly
but iCal comes on the foreground of the screen and hide behind him the live code window
how can I proceed to make live code staying at the foreground of the screen ?

Thank you.

Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the Use-livecode mailing list