[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-users] Re: Supplying parameters to applications
From: |
Lionel B |
Subject: |
[Pan-users] Re: Supplying parameters to applications |
Date: |
Tue, 17 Jul 2007 22:00:42 +0000 (UTC) |
User-agent: |
Pan/0.131 (Ghosts: First Variation) |
On Tue, 17 Jul 2007 21:20:33 +0000, Benjamin Esham wrote:
> Lionel B wrote:
>
>> I'd like to set my preferred browser to Opera. The command to open a
>> url in a new tab in a running instance of opera is:
>>
>> opera --remote 'openURL(URL,new-page)'
>>
>> What should I enter in the Pan Preferences/Application/Web Browser
>> field so that it if I click on a link in a message the link's url is
>> supplied as the URL parameter for the above command?
>
> AFAIK it's not possible to have text /after/ the URL, but you could
> always cheat :-) Use a shell script like this:
>
> #!/bin/sh
> /path/to/opera --remote 'openURL($1,new-page)'
>
> For Pan's preference, just enter the script's path.
Nice idea - I'll give it a go.
Cheers,
--
Lionel B