Re: how to return to app ?
Re: how to return to app ?
- Subject: Re: how to return to app ?
- From: Bee <email@hidden>
- Date: Sun, 29 Jul 2001 14:18:57 -0700
Thank you, Emmanual
Your hint was the key. And, of course I used Smile to test.
This is what I was looking for. It is saved as an application and placed
in the Apple Menu for all applications to use.
(*
-- Scripting Additions used by "z Mac to Win ascii" :
Satimage : convert to Windows
Standard Additions : set the clipboard to, the clipboard (Apple Computer)
*)
tell application "Finder"
set theSavedProcess to (process -2 whose visible is true) as text
set the clipboard to (convert to Windows (the clipboard))
set frontmost of process theSavedProcess to true
end tell
--
Bee
Santa Cruz, California 95065
>
---------------------------------------
>
tell application "Finder" to set antibug to ((computer "sysv") is 2320)
>
if antibug then tell application "Finder" to set theSavedProcess to (first
>
process whose frontmost is true) as text -- antibug OS 9.1
>
>
[... your script here ...]
>
>
if antibug then tell application "Finder" to set frontmost of process
>
theSavedProcess to true -- antibug OS 9.1
>
---------------------------------------