Where you have "open application", try using "launch application" instead. It's a while since I did this, but I seem to remember that "open" brings the app to the front, where "launch" does not.
Cheers, Sarah On Sun, Nov 28, 2010 at 3:11 AM, Yves COPPE <[email protected]> wrote: > Hello list > > > I use the following script > > > put "tell application ""e&"Finder""e&cr& \ > "open application file ""e&"ical.app""e&" of folder > ""e&"Applications""e&" of startup disk"&cr& \ > "tell application ""e&"iCal""e&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 ? _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
