Page 1 of 1
Probs with OpenURL
Posted: Wed Sep 10, 2014 1:28 am
by evil
Hello!
OpenURL does not work here under OS4
Code: Select all
openurl ("http://www.amiga-news.de/")
waitleftmouse()
this code does simply nothing.
OpenURL is installed.
calling openURL "
http://www.amiga-news.de" in a shell works fine.
AFAIR i used this function some years ago...
Regards
George
Re: Probs with OpenURL
Posted: Wed Sep 10, 2014 9:05 pm
by airsoftsoftwair
Works here. Can you post your OpenURL config? (see SYS:Prefs/OpenURL) I've tested it using Odyssey with the following setting in SYS:Prefs/OpenURL:
Code: Select all
Name: Odyssey
Path: System:Apps/Odyssey/Odyssey "%u"
Works fine both from shell and from Hollywood.
Re: Probs with OpenURL
Posted: Wed Sep 10, 2014 11:49 pm
by evil
Oh man.... It simply was too late... I used a wrong config in Openurl Prefs...
Ironically it worked from the shell...
Sorry for the inconvinience!
Thanks and best regards
George!
Re: Probs with OpenURL
Posted: Fri Feb 14, 2020 7:20 pm
by jPV
Mmmh.. so OpenURL isn't included in OS4 by default... at least I get "Cannot open openurl.library!" on my default OS4.1FE setup. I noticed once that there is a URLOpen command instead, and some URL config in the Prefs drawer.
I've forgotten to ask that should Hollywood be using this URLOpen thing on OS4, which seems to be default? I don't remember seeing any requirement for the OpenURL library in Hollywood documentation either...
I've now made my own p_OpenURL() function to check for OS4/URLOpen in my code, so my programs will work on default OS4 installation, but of course it would be nice if Hollywood's
OpenURL() function would just work out of the box too.
Re: Probs with OpenURL
Posted: Sat Feb 15, 2020 11:59 pm
by airsoftsoftwair
Might be a good idea, I'll check.
Re: Probs with OpenURL
Posted: Sun Aug 23, 2020 11:31 am
by airsoftsoftwair
Code: Select all
- Change [OS4]: OpenURL() no longer uses openurl.library but AmigaOS4.1's launch-handler, which can be
configured using SYS:Prefs/URL, now