• 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: Hide Menu Bar while launching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Hide Menu Bar while launching (From: Kannan Balu <email@hidden>)

  • Prev by Date: get eof real?
  • Next by Date: Re: get eof real?
  • Previous by thread: Hide Menu Bar while launching
  • Next by thread: AppleWorks 6: how do you set text style?
  • Index(es):
    • Date
    • Thread