Just stumbled upon some interesting settings in iTerm Preferences. It allows
you to set URL handlers by hand assigning them to an iTerm bookmark.  A
bookmark can be any command, so effectively we could send all http and https
requests to a shell script, where using some customized regular expressions
launch the specific SSB passing along the url....
Only caveat is it might bring iTerm to the front.... maybe not. would have
to test it out. Unfortunatley im killed on time this week.  Maybe sunday
I'll see if i can write something up.

Heres a snippet from iTerm help:

*URL Handler*

   This tab allows user to specify a session to be a handler of URL schemes.
   When "Connect" button is clicked, iTerm offers a chance to become the
   default handler if it is not so yet. To disconnect a handler, choose "No
   Handler". However there is no way to restore the original handler
   application within iTerm. You can also break a URL into components and use
   them as parameters in the bookmark's command. Six parameters can be used:
   - *$$URL$$* The complete URL as the way it is passed in.
   - *$$HOST$$* The host name in the URL.
   - *$$USER$$* The user name
   - *$$PASSWORD$$* The password
   - *$$PORT$$* The port number
   - *$$PATH$$* The pathFor example, a bookmark's command is: *telnet -l
   $$USER$$ $$HOST$$ $$PORT$$*, and the URL is:*telnet://
   [EMAIL PROTECTED]:23*. This will give you this command: *telnet -l joe
   fancyland.com 23*





On Sun, Oct 5, 2008 at 10:19 PM, James Wilson <[EMAIL PROTECTED]> wrote:

> OS X extends a way for applications to register themselves as a "handler"
> for specific protocols. The yojimbo links come to mind
> (eg, x-yojimbo-item://E60D211C-9965-4B13-9F59-0F637075DAFA).
> Would have to see if there's a way to tap into this. It might not be along
> the same lines, as im just kinda brainstorming, but would need to handle one
> specific protocol (HTTP).  Seems the person that could do this would need to
> know a little about how OS Xs link-firing event handler mechanisms work to
> tap into (read, hijack) it and reroute dynamically.  This might be an
> opportunity to create an API for apps (browsers and ssbs) to expose their
> regex rules for processing to the third-party handler.
>
>
>
> On Sat, Oct 4, 2008 at 3:01 PM, Todd Ditchendorf <
> [EMAIL PROTECTED]> wrote:
>
>> Yes, I've also been asking the Fluid community to build this for a long
>> time. It would be much better if it were not part of Fluid itself.
>> so c'mon... who's gonna do it? ;o]
>>
>> Todd
>>
>>
>> On Sat, Oct 4, 2008 at 6:43 AM, Jake McKee <[EMAIL PROTECTED]>wrote:
>>
>>>
>>> Sign me up for someone who would LOVE this!
>>>
>>>
>>> On Oct 4, 2008, at 4:25 AM, Brian Lalor wrote:
>>>
>>> >
>>> > On Oct 3, 2008, at 6:48 PM, jrguitar21 wrote:
>>> >
>>> >> It would be FREAKIN awesome if there were a way to configure my mac
>>> >> to
>>> >> open a Basecamp url in my basecamp Fluid app.
>>> >
>>> >
>>> > I keep thinking about this, myself.  You've stated the problem
>>> > perfectly.  A prefpane with a background helper app would probably fit
>>> > the bill, and would probably be useful even for people *not* using
>>> > Fluid.
>>> >
>>> > --
>>> > Brian Lalor / [EMAIL PROTECTED]
>>> >     Notmeflex (nŏt mē´ flěks) n. The involuntary act of hitting
>>> > the brakes
>>> >     when you see a cop, regardless of whether you're speeding or not.
>>> >
>>> >
>>> >
>>> >
>>> > >
>>>
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"fluidapp" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fluidapp?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to