How to deny an app to un-hide or become frontmost
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