 |
 |
irc://irc.somewhere.net
|
 |
|
 |
|
Senior User
Join Date: Jun 2002
Location: UK
Status:
Offline
|
|
Is there a way to make MacOSX understand such links in the browser?
I'd like to make the system open those links in X-Chat!
What where how?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
for an app to be an acceptable "target" URL schemes - they have to have an Info.plist containing either a CFBundleURLTypes Array (for LaunchServices) or a CFCreatorCode (for InternetConfig)
I suppose that XChat won't have any of those - so As a hack you could write a simple cocoa app which would have the appropriate URLTypes in its PList - then When it got a URL request it could "forward" the request.
e.g. you could have it open XChat and pass the URL in the args.
Does that make sense?
(p.s. That's just an idea of the top of my head.)
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: May 2001
Location: Boston, MA
Status:
Offline
|
|
Wouldn't adding the url in the IE prefs do this also?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
Originally posted by OpenStep:
Wouldn't adding the url in the IE prefs do this also?
The IE Prefs uses an API called InternetConfig - InternetConfig relies on the target apps having creator codes.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status:
Offline
|
|
Originally posted by Diggory Laycock:
for an app to be an acceptable "target" URL schemes - they have to have an Info.plist containing either a CFBundleURLTypes Array (for LaunchServices) or a CFCreatorCode (for InternetConfig)
I suppose that XChat won't have any of those - so As a hack you could write a simple cocoa app which would have the appropriate URLTypes in its PList - then When it got a URL request it could "forward" the request.
e.g. you could have it open XChat and pass the URL in the args.
Does that make sense?
(p.s. That's just an idea of the top of my head.)
Instead of doing that, you could just work X-Chat to do it.. since it's Open Sourced..
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Mar 2001
Location: Florida
Status:
Offline
|
|
Originally posted by OpenStep:
Wouldn't adding the url in the IE prefs do this also?
Yea, but what about the browser of choice-Safari?
|
|
All Your Signature Are Belong To Us!
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
Originally posted by KidRed:
Yea, but what about the browser of choice-Safari?
He doesn't mean the IE prefs (i.e. Internet explorer's own prefs) - He means the OS-wide prefs that IE's panel exposes (InternetConfig Prefs.)
Neither Safari, nor Mac OS X exposes these prefs to the user (except for the Mail and Browser options) - you have to use Internet Explorer to set them.
Or you can use <plug> MoreInternet PrefPane - http://www.monkeyfood.com/software/ </plug>
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
Originally posted by Drizzt:
Instead of doing that, you could just work X-Chat to do it.. since it's Open Sourced..
True.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Nov 1999
Location: Madison, WI
Status:
Offline
|
|
Originally posted by Diggory Laycock:
for an app to be an acceptable "target" URL schemes - they have to have an Info.plist containing either a CFBundleURLTypes Array (for LaunchServices) or a CFCreatorCode (for InternetConfig)
I suppose that XChat won't have any of those - so As a hack you could write a simple cocoa app which would have the appropriate URLTypes in its PList - then When it got a URL request it could "forward" the request.
e.g. you could have it open XChat and pass the URL in the args.
Does that make sense?
(p.s. That's just an idea of the top of my head.)
Wow, thats cool that there is an API for doing such things!
-Owl
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jun 2002
Location: UK
Status:
Offline
|
|
While interesting prefpanel, it doesn't work with X-Chat  since it appears X-Chat doesn't have a creator code [what ever that means]
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jun 2002
Location: UK
Status:
Offline
|
|
Originally posted by Drizzt:
Instead of doing that, you could just work X-Chat to do it.. since it's Open Sourced..
any idea what I should do?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status:
Offline
|
|
Originally posted by VEGAN:
any idea what I should do?
Make it more Mac Like.. put in creator codes, make it use the default browser instead of Internet Explorer.. and take URLs from other programs?
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Jun 2002
Location: UK
Status:
Offline
|
|
Originally posted by Drizzt:
Make it more Mac Like.. put in creator codes, make it use the default browser instead of Internet Explorer.. and take URLs from other programs?
I've been sort of wondering how to do that... but then again...
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|