FROM : Michael Watson
DATE : Thu Jul 20 17:13:48 2006
What happens if the user doesn't have permission to open Safari or
the user has deleted Safari/doesn't have it on any mounted volumes?
Don't force the user's browser. Whatever you're doing, make it work
in all major OS X browsers.
--
Michael Watson
On 20 Jul, 2006, at 11:08, Aalok wrote:
> Hi,
>
> I want to open a URL in Safari on an button event.
>
> I have two ways of doing it.
>
> 1) use applescript and open the page. the problem here is if I have a
> home page set, it opens two windows on the event.
>
> 2) use NSWorkspace's openURL method. But if my default browser is set
> to FireFox, it opens page in FireFox and not in Safari. I want it to
> open in Safari only.
>
> Is there any other way or work around to do this?
>
> Regards,
> Aalok
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/mikey-san%
> 40bungie.org
>
> This email sent to <email_removed>
DATE : Thu Jul 20 17:13:48 2006
What happens if the user doesn't have permission to open Safari or
the user has deleted Safari/doesn't have it on any mounted volumes?
Don't force the user's browser. Whatever you're doing, make it work
in all major OS X browsers.
--
Michael Watson
On 20 Jul, 2006, at 11:08, Aalok wrote:
> Hi,
>
> I want to open a URL in Safari on an button event.
>
> I have two ways of doing it.
>
> 1) use applescript and open the page. the problem here is if I have a
> home page set, it opens two windows on the event.
>
> 2) use NSWorkspace's openURL method. But if my default browser is set
> to FireFox, it opens page in FireFox and not in Safari. I want it to
> open in Safari only.
>
> Is there any other way or work around to do this?
>
> Regards,
> Aalok
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list (<email_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/mikey-san%
> 40bungie.org
>
> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Aalok | Jul 20, 17:08 | |
| Michael Watson | Jul 20, 17:13 | |
| Ryan Britton | Jul 20, 17:25 |






Cocoa mail archive

