• 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: Applescript brings finder to front each time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript brings finder to front each time


  • Subject: Re: Applescript brings finder to front each time
  • From: Emmanuel <email@hidden>
  • Date: Fri, 8 Jun 2001 00:27:21 +0200

At 17:02 +0200 7/06/01, Mr Tea wrote:

>This question has popped up several times, John, and I haven't seen a
>solution that prevents the finder from coming to the front when an
>applescript asks it to do something.

Not sure I understand. Here, finder comes to the front when - and only when
- I run "original item". This is on 9.1.

Here is the awful piece of code I finally use.

------------------------------------ error handling removed
tell application "Finder" to set isBogous to ((computer "sysv") is 2320)

if isBogous then tell application "Finder" to set theSavedProcess to (first
process whose frontmost is true) as text -- antibug OS 9.1

tell application "Finder"
-- blah blah involving "original item of ..."
end tell

if isBogous then tell application "Finder" to set frontmost of process
theSavedProcess to true -- antibug OS 9.1
------------------------------------

HTH
Emmanuel


References: 
 >Applescript brings finder to front each time (From: email@hidden)
 >Re: Applescript brings finder to front each time (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: TCP/IP configuration + launching an app via its type/creator
  • Next by Date: Re: Setting User Password?
  • Previous by thread: Re: Applescript brings finder to front each time
  • Next by thread: Re: Applescript brings finder to front each time
  • Index(es):
    • Date
    • Thread