Re: how to return to app ?
Re: how to return to app ?
- Subject: Re: how to return to app ?
- From: Andy Wylie <email@hidden>
- Date: Sat, 28 Jul 2001 10:56:58 +1200
on 28/7/01 3:34 am, Bee at email@hidden wrote:
>
I have an applet in the Apple Menu which modifies the text on the
>
clipboard and it works well.
>
>
When I use it, the focus is changed to finder, which makes some sense,
>
but I would like to be returned to the application I was using before
>
running the applet.
>
>
How do I do that?
You could use a compiled script to grab the name and pass it to your
applet...
---------------
set front_app to name of (info for (path to frontmost application))
run script alias ((path to "amnu") & "your_applet" as string) with
parameters {front_app}
--your_applet
on run {front_app}
display dialog front_app
tell front_app to activate
end run
_____________________________HTH Andy