Bringing an MC app to the front
Ken Ray
kray at sonsothunder.com
Wed Dec 18 17:38:01 EST 2002
BTW: You can also do it by setting the "frontmost" of the process through
AppleScript. Here's a link to the tip on my site:
http://www.sonsothunder.com/devres/metacard/metacard.htm?ascr004
Have fun,
Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Richard Gaskin" <ambassador at fourthworld.com>
To: <metacard at lists.runrev.com>
Sent: Wednesday, December 18, 2002 4:16 PM
Subject: Re: Bringing an MC app to the front
> Ken Ray wrote:
>
> >> 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 result 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, you can use "open file" through AppleScript; MC doesn't seem to
> > support the activate event properly (I've already told Scott about
this).
> > Here's an example:
> >
> > tell application "Finder"
> > open file <path to the app>
> > end tell
>
> I have no trouble opening the file, the problem is bringing that app to
the
> front.
>
> Will that script bring the app forward?
>
> How can I bring the app forward without opening a document?
>
> --
> 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
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>
More information about the metacard
mailing list