Re: Hide Menu Bar while launching
Re: Hide Menu Bar while launching
- Subject: Re: Hide Menu Bar while launching
- From: Steve Mills <email@hidden>
- Date: Fri, 26 Sep 2003 08:44:09 -0500
On Thursday, Sep 25, 2003, at 23:18 US/Central, Kannan Balu wrote:
Everything working perfect. But when launching an
applescript application, for few seconds menubar
appears on top my non-applescript application.
Can anyone know how to launch an applescript
application without poping up the menubar please?
The AS app's menubar is appearing because you just launched an app, and
it has activated. That's correct behavior. To "prevent" it, simply call
SetFrontProcess on your app after the AS app has been launched. You may
have to wait until the process has completed launching before calling
SetFrontProcess. This assumes your non-AS app is an app you are
writing. If that's not the case, then simply add the appropriate lines
to your script, like:
on run
tell app "your non-AS app" to activate
the rest of your script...
end run
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.