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

Hiding an application (again)...


  • Subject: Hiding an application (again)...
  • From: Jeff Justice <email@hidden>
  • Date: Sun, 26 Dec 2004 16:04:27 -0600

This shouldn't be that hard...but I'm having troubles...

The following:

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?

Tell "System Events" or "Finder" makes no difference.

Jeff J.

_______________________________________________
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: Jake Pietrykowski <email@hidden>
    • Re: Hiding an application (again)...
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: A X[ML]mas gift.
  • Next by Date: Re: Hiding an application (again)...
  • Previous by thread: Re: A X[ML]mas gift.
  • Next by thread: Re: Hiding an application (again)...
  • Index(es):
    • Date
    • Thread