Re: Hiding an application (again)...
Re: Hiding an application (again)...
- Subject: Re: Hiding an application (again)...
- From: Michelle Steiner <email@hidden>
- Date: Sun, 26 Dec 2004 15:25:52 -0700
On Dec 26, 2004, at 3:04 PM, Jeff Justice wrote:
launch application "MyApp"
tell application "System Events" to set visible of process "MyApp" to
false
launches the app just fine, but then I get an AppleScript Error that
says "System Events got an error: NSReceiverEvaluationScriptError: 4".
What's going wrong here?
I get that error only when I try to set the process of an app that is
not running; check your spelling of the process name.
Is it possible for a process name to be different from the name of the
app on the disk? If so, that might be the problem.
-- Michelle
--
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
_______________________________________________
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