Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > irc://irc.somewhere.net

irc://irc.somewhere.net
Thread Tools
Senior User
Join Date: Jun 2002
Location: UK
Status: Offline
Reply With Quote
Jul 25, 2003, 10:47 AM
 
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
Reply With Quote
Jul 25, 2003, 11:33 AM
 
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
Reply With Quote
Jul 25, 2003, 12:10 PM
 
Wouldn't adding the url in the IE prefs do this also?
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Jul 25, 2003, 12:17 PM
 
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
Reply With Quote
Jul 25, 2003, 12:18 PM
 
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
Reply With Quote
Jul 25, 2003, 01:21 PM
 
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
Reply With Quote
Jul 25, 2003, 01:46 PM
 
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
Reply With Quote
Jul 25, 2003, 01:47 PM
 
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
Reply With Quote
Jul 25, 2003, 08:54 PM
 
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
     
VEGAN  (op)
Senior User
Join Date: Jun 2002
Location: UK
Status: Offline
Reply With Quote
Jul 26, 2003, 09:10 AM
 
Or you can use <plug> MoreInternet PrefPane - http://www.monkeyfood.com/software/ </plug> [/B]
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]
     
VEGAN  (op)
Senior User
Join Date: Jun 2002
Location: UK
Status: Offline
Reply With Quote
Jul 26, 2003, 09:12 AM
 
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
Reply With Quote
Jul 26, 2003, 10:18 AM
 
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?
     
VEGAN  (op)
Senior User
Join Date: Jun 2002
Location: UK
Status: Offline
Reply With Quote
Jul 26, 2003, 12:16 PM
 
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...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2