• 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:57:36 -0700

On Dec 26, 2004, at 3:41 PM, Jeff Justice wrote:

In further testing, this app that gives the error is the only one that does. It appears it is a compiled run-script. Other apps work just fine. So the question becomes, why won't a compiled script that is saved as an app, hide like any normal app? I can hide it using the command-H from the menu...

The problem might be with the Launch command. I saved the following script on the desktop as an applet:


display dialog "Hide me."

If I then run this script, the applet runs, but does not display the dialog; clicking on its icon in the dock causes it to quit, just as if I had clicked a button in the dialog.

launch application "Dora:Users:michelle:Desktop:myapp.app"

The following script does not generate an error, but since the app isn't visible in the first place, who knows what's going on with it?

launch application "Dora:Users:michelle:Desktop:myapp.app"

tell application "System Events"
	set visible of process "myapp" to false
end tell

If I change "false" to "true" the applet still does not display a dialog.

-- Michelle

--
You can not change the world without perforce changing yourself.

_______________________________________________
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


References: 
 >Hiding an application (again)... (From: Jeff Justice <email@hidden>)
 >Re: Hiding an application (again)... (From: Michelle Steiner <email@hidden>)
 >Re: Hiding an application (again)... (From: Jeff Justice <email@hidden>)
 >Re: Hiding an application (again)... (From: Jeff Justice <email@hidden>)

  • Prev by Date: Re: Hiding an application (again)...
  • Next by Date: Script error: "a resource wasn't found"
  • Previous by thread: Re: Hiding an application (again)...
  • Next by thread: Re: Hiding an application (again)...
  • Index(es):
    • Date
    • Thread