LiveCode & applescript
Sarah Reichelt
sarah.reichelt at gmail.com
Sun Nov 28 06:34:44 EST 2010
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 <yvescoppe at skynet.be> 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 ?
More information about the use-livecode
mailing list