• 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: Hiding an application (again)...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Hiding an application (again)...
      • From: Jeff Justice <email@hidden>
References: 
 >Hiding an application (again)... (From: Jeff Justice <email@hidden>)

  • Prev by Date: Hiding an application (again)...
  • Next by Date: Re: Hiding an application (again)...
  • Previous by thread: Hiding an application (again)...
  • Next by thread: Re: Hiding an application (again)...
  • Index(es):
    • Date
    • Thread