Bringing an MC app to the front

Richard Gaskin ambassador at fourthworld.com
Wed Dec 18 14:14:00 EST 2002


I have two MC-based apps in which one causes the other to open documents
within it.

Thanks to the discussion here before, I have good communication beteen the
apps (Apple events on Mac, polling a file on Win).

Now the problem is that if the second app is already open, it opens
documents okay but stays in the background.

How can I hae one MC-based app bring another one to the front?

I've tried:

   get "tell application" && quote & tAppName & quote && "to activate"
   do it as applescript

Even though the value of tAppName is correct, the reult comes back
"execution error".  Do I need to build an AppleScript dictionary entry for
"activate" for that to work?  Earler discussion here made it seem somehow
simpler...


-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.1: Publish any database on any site
 ___________________________________________________________
 Ambassador at FourthWorld.com       http://www.FourthWorld.com
 Tel: 323-225-3717                       AIM: FourthWorldInc




More information about the metacard mailing list