Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
88 user(s) are online (41 user(s) are browsing Forums)

Members: 0
Guests: 88

more...

Headlines

 
  Register To Post  

arexx commands for browsers OWB, Netsurf, IBrowse
Just can't stay away
Just can't stay away


See User information
Hi,

Opening an URL is done using one of these
1.Amiga OS 4:> RX "a='http://www.amigans.net/';ADDRESS OWB.1; OPENURL a"
//OK
2.Amiga OS 4:> RX "ADDRESS OWB.1; OPENURL 'http://www.amigans.net/'"
//OK
3.Amiga OS 4:> RX "ADDRESS OWB.1; 'OPENURL http://www.amigans.net/'"
//OK

for URL's that are the result of queries, these commands do not work.


1.Amiga OS 4:> RX "a='http://www.amigans.net/modules/newbb/viewtopic.php?topic_id=2799&forum=3';ADDRESS OWB.1; OPENURL a"
1 *-* OPENURL a;
+++ Command returned 10
2.Amiga OS 4:> RX "ADDRESS OWB.1; OPENURL 'http://www.amigans.net/modules/newbb/viewtopic.php?topic_id=2799&forum=3'"
1 *-* OPENURL 'http://www.amigans.net/modules/newbb/viewtopi...
+++ Command returned 10
3.Amiga OS 4:> RX "ADDRESS OWB.1; 'OPENURL http://www.amigans.net/modules/newbb/ ... php?topic_id=2799&forum=3'"
1 *-* 'OPENURL http://www.amigans.net/modules/newbb/viewtopi...
+++ Command returned 10

Is there a way around this? (some escape characters?)

Go to top
Re: arexx commands for browsers OWB, Netsurf, IBrowse
Not too shy to talk
Not too shy to talk


See User information
@JosDuchIt

Quote:

JosDuchIt wrote:
...
1 *-* OPENURL a;
+++ Command returned 10
2.Amiga OS 4:> RX "ADDRESS OWB.1; OPENURL 'http://www.amigans.net/modules/newbb/viewtopic.php?topic_id=2799&forum=3'"
1 *-* OPENURL 'http://www.amigans.net/modules/newbb/viewtopi...
+++ Command returned 10
3.Amiga OS 4:> RX "ADDRESS OWB.1; 'OPENURL http://www.amigans.net/modules/newbb/ ... php?topic_id=2799&forum=3'"
1 *-* 'OPENURL http://www.amigans.net/modules/newbb/viewtopi...
+++ Command returned 10

Is there a way around this? (some escape characters?)


try that one:
RX "ADDRESS OWB.1; 'OPENURL ""http://www.amigans.net/modules/newbb/ ... =2799&forum=3""'"

the address has to be surrounded by quotes as there are some special characters in it.

regards...

Go to top
Re: arexx commands for browsers OWB, Netsurf, IBrowse
Just can't stay away
Just can't stay away


See User information
@MichaelMerkel

Grand, that works OK.
Thank you very much

Go to top
Re: arexx commands for browsers OWB, Netsurf, IBrowse
Home away from home
Home away from home


See User information
What I don't understand is that URLopen, which is supposed to replace OpenURL, does not support using ARexx commands at all! Oh, and don't get me started on the "Sys:Prefs/URL" program for configuring it, what a terribly thought-out GUI that is.

Author of the PortablE programming language.
Go to top
Re: arexx commands for browsers OWB, Netsurf, IBrowse
Amigans Defender
Amigans Defender


See User information
@ChrisH

Yeah, it needs to check whether you have a browser running and be able to send ARexx commands to it, just like OpenURL does. At the moment I can be running a web browser, and if I click on a link which uses launch-handler it will still ask me which browser I want to use, and then run it again.

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project