FROM : Aalok
DATE : Thu Jul 20 17:08:06 2006
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
DATE : Thu Jul 20 17:08:06 2006
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
| Related mails | Author | Date |
|---|---|---|
| Aalok | Jul 20, 17:08 | |
| Michael Watson | Jul 20, 17:13 | |
| Ryan Britton | Jul 20, 17:25 |






Cocoa mail archive

