• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to return to app ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
>---------------------------------------


  • Follow-Ups:
    • Re: how to return to app ?
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: Scripting Startup Disk control panel
  • Next by Date: Re: Scripting Startup Disk control panel (correction)
  • Previous by thread: Re: how to return to app ?
  • Next by thread: Re: how to return to app ?
  • Index(es):
    • Date
    • Thread