RE: How is an Cocoa application launched on top of all other windows that may be open ?
RE: How is an Cocoa application launched on top of all other windows that may be open ?
- Subject: RE: How is an Cocoa application launched on top of all other windows that may be open ?
- From: <email@hidden>
- Date: Wed, 20 Sep 2006 09:37:23 +0530
- Thread-topic: How is an Cocoa application launched on top of all other windows that may be open ?
Hi,
Thanks a lot for your inputs.
We can bring our Obj-C based Cocoa application to the foreground using
the following code.
[NSApp activateIgnoringOtherApps];
Thanks & Regards,
Amrit.
-----Original Message-----
From: Apparao [mailto:email@hidden]
Sent: Monday, September 18, 2006 6:40 PM
To: Amritendu Majumdar (WT01 - Semiconductors & Consumer Electronics)
Cc: email@hidden
Subject: Re: How is an Cocoa application launched on top of all other
windows that may be open ?
Use "reopen" or "activate" commands to launch your app on top of all
apps.
On 18-Sep-06, at 6:20 PM, <email@hidden> wrote:
>
> Hi All,
>
> I have an application which is launched by an apple script
> application.
> I want this application to be "always on top" whenever it is launched
> i.e the application is launched on top of all other windows that may
> be open.
> How do I achieve this functionality.
> Looking forward for some guidance.
>
> Thanks in advance,
> Amrit
>
>
>
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any
> attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of
> viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> www.wipro.com
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40effigent.net
>
> This email sent to email@hidden
>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden