• 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
How to deny an app to un-hide or become frontmost
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to deny an app to un-hide or become frontmost


  • Subject: How to deny an app to un-hide or become frontmost
  • From: Vince <email@hidden>
  • Date: Tue, 1 Feb 2005 19:09:14 +0100

I have a script that tells an app (lets say TextEdit) to hide and then do the following action in a list of aliases:

Example:

set theFilesList to (choose file with multiple selections allowed)
tell application "TextEdit" --or any other
repeat with theFile in theFilesList
open theFile
--change anything in the file
delay 1
close document theFile with saving
end repeat
end tell

But this will make the target app visible every time it opens a new file!
But I do not want it to to be visible!

Any solutions?

Thanx Vince

Ps:
tell application "Finder" to set visible of process "TextEdit" to false
--Doesn't work! - It still becomes visible!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: duplicate songs in iTunes
  • Next by Date: Re: open image sequence in quicktime
  • Previous by thread: Re: duplicate songs in iTunes
  • Next by thread: Re: Quicktime error type -9995
  • Index(es):
    • Date
    • Thread