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: Mon, 30 Jul 2001 11:46:16 +1200
on 30/7/01 9:18 AM, Bee at email@hidden wrote:
>
tell application "Finder"
>
set theSavedProcess to (process -2 whose visible is true) as text
The processes are listed in launch order so that's going to return the last
app launched before your applet regardless of what was frontmost.
I believe Emmanuel overlooked the fact your script is an applet and cannot
see how his suggestion can work as such.
Your script doesn't appear to need to be an applet (application)? A compiled
script will run fine in Apple menu for this purpose and leave you in the
frontmost application ...
-------------------
set the clipboard to (convert to Windows (the clipboard))
-------------------
_____________________________ Andy