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: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