Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
14 crawler(s) on-line.
 119 guest(s) on-line.
 2 member(s) on-line.


 BigD,  OlafS25

You are an anonymous user.
Register Now!
 OlafS25:  55 secs ago
 BigD:  1 min ago
 zErec:  8 mins ago
 amigakit:  11 mins ago
 retrofaza:  40 mins ago
 kolla:  54 mins ago
 edwardsjethro:  1 hr 46 mins ago
 joeyunderwood:  1 hr 47 mins ago
 Sikharubel:  1 hr 50 mins ago
 Musashi5150:  2 hrs 13 mins ago

/  Forum Index
   /  Amiga OS4.x \ Workbench 4.x
      /  What's the point of URL Prefs??
Register To Post

PosterThread
Deniil715 
What's the point of URL Prefs??
Posted on 24-Oct-2014 9:46:09
#1 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

In OS4 we have URL Prefs, and YAM for OS4 seems to use it through this launch-handler.

So what was wrong with OpenURL? And why is YAM automatically checking for updates to OpenURL when it doesn't use it?

The problem with reinventing the wheel (URL Prefs in OS4) is that if you should do this, you will have to make a much better wheel, not worse. URL Prefs has no configuration to send an URL to an already open browser through arexx, instead it insists on opening a new instance for each and every link you click in f.ex. YAM. Very annoying. I guess it really is TextEditor.mcc that uses the launch-handler, not YAM.

So at the end I have a question: How can I configure it so that I can double-click on a link in YAM and have the link open in an already opened instance of Odyssey?

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
jabirulo 
Re: What's the point of URL Prefs??
Posted on 24-Oct-2014 10:43:36
#2 ]
Regular Member
Joined: 20-Jun-2004
Posts: 370
From: Donosti (GUIPUZCOA)

@Deniil715

Copy&Paste this int a an ARexx script (odyssey.rexx):
+++++++++++++++++++++++++++++++++++++++
/* For using Odyssey with OS4 URLOpen */
options results
parse arg url

/*if lastpos("ODYSSEY", SHOW(PORTS)) > 0 then do */
if show('PORTS','ODYSSEY.1') then do
 address ODYSSEY.1
 OPEN NAME url NEWPAGE
end
else do
 address command 'APPDIR:Odyssey' url
end
+++++++++++++++++++++++++++++++++++++++

Copy adyssey.rexx into REXX: and in URL prefs:

  FILE: [ ] | OWB | REXX:odyssey.rexx | "*"file:///%s*""
HTTP: [ ] | OWB | REXX:odyssey.rexx | "*"http://%s*""
HTTPS: [ ] | OWB | REXX:odyssey.rexx | "*"https://%s*""
WWW: [ ] | OWB | REXX:odyssey.rexx | "*"http://www.%s*""

Last edited by jabirulo on 24-Oct-2014 at 11:01 AM.
Last edited by jabirulo on 24-Oct-2014 at 10:57 AM.

 Status: Offline
Profile     Report this post  
Deniil715 
Re: What's the point of URL Prefs??
Posted on 24-Oct-2014 10:54:05
#3 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

@jabirulo

I tried putting a rexx script there but it didn't work

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  
jabirulo 
Re: What's the point of URL Prefs??
Posted on 24-Oct-2014 10:58:04
#4 ]
Regular Member
Joined: 20-Jun-2004
Posts: 370
From: Donosti (GUIPUZCOA)

@Deniil715

E and S bits are on/enabled/set?

Here it works fine.
YAM read message window and double click and URL it opens the URL requester with my browsers list.

Last edited by jabirulo on 24-Oct-2014 at 11:00 AM.

 Status: Offline
Profile     Report this post  
Xenic 
Re: What's the point of URL Prefs??
Posted on 24-Oct-2014 12:55:07
#5 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@Deniil715
You can set URL prefs to call the OpenURL command and then OpenURL will send an ARexx command to your already opened browser. Here is what I have set in my URL prefs:

Client Name = OpenURL
Client Path = C:OpenURL
Commandline Format = "URL=*"file:///%s*""

This method has the advantage that you only need to change OpenURL prefs if you change browsers and old programs that call openurl.library directly will continue to work.




_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
Hypex 
Re: What's the point of URL Prefs??
Posted on 24-Oct-2014 14:23:29
#6 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@Deniil715

Why? Becasue it was meant to be a system standard way of doing it. I agree on the worse bit. I think the URL editor is terrible. There is no file requester and it doesn't accept icons. What's more, if you try and edit something, it quickly forgets or does something else confusing. It really is piece of work!

I'd like to do whatyou want also. That annoys me. I tried to do the same with OWB and certain I was using the "New tab" command but could never get it to do that.

As to your reply with text to copy and past in order to change settings. Yep, that looks bad, if the GUI is not usable.

 Status: Offline
Profile     Report this post  
Xenic 
Re: What's the point of URL Prefs??
Posted on 24-Oct-2014 14:41:34
#7 ]
Super Member
Joined: 2-Feb-2004
Posts: 1246
From: Pennsylvania, USA

@Hypex
Quote:
Why? Becasue it was meant to be a system standard way of doing it.

Since there was already a 3rd party standard (OpenURL) for all Amiga platforms, any system specific way of handling URL's should have followed that standard.

How many OS4 bugs have you reported or confirmed that have not been fixed? Instead of reinventing the wheel, I think the OS4 team should concentrate on getting rid of all the bugs.

_________________
X1000 with 2GB memory & OS4.1FE

 Status: Offline
Profile     Report this post  
Hypex 
Re: What's the point of URL Prefs??
Posted on 26-Oct-2014 14:19:14
#8 ]
Elite Member
Joined: 6-May-2007
Posts: 11180
From: Greensborough, Australia

@Xenic

I suppose they wanted to set an official standard rather than use a third party. I just hoped it was a better job. But even the name is bad. URLOpen! C'mon get you naming caps on.

 Status: Offline
Profile     Report this post  
Deniil715 
Re: What's the point of URL Prefs??
Posted on 26-Oct-2014 15:33:41
#9 ]
Elite Member
Joined: 14-May-2003
Posts: 4236
From: Sweden

@Xenic

Thanks for the C:OpenURL tip. That works fine.

Would have been so much better if they could have just followed the OpenURL standard - or even better, just used OpenURL. But I guess there were copyright problem in including OpenURL in a commercial product...

_________________
- Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)
> Amiga Classic and OS4 developer for OnyxSoft.

 Status: Offline
Profile     Report this post  

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle