OS4 DepotLogo by mason 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 File comments for:  Graphics » Icon » weblinks.lha

Web Links

Description: Easy Web/Bookmarks Links Icons
Download: weblinks.lha
Version: 2.0
Date: 29 Oct 2013
Category: graphics/icon
FileID: 8386
RSS Feed url: http://os4depot.net/modules/comments/rssfeed.php?file=graphics/icon/weblinks.lha

[Back to readme page]   [Add Comment]   [Refresh page]

Comment by: amigang ( 27 Oct 2013, 16:00File version: 1.0
Thanks for the comments guys, still at the very beginning of my programming adventure I will look into implentmenting one of these and make an update in the doc about the now many different ways I've learned how to do this. Thanks
Comment by: Severin ( 26 Oct 2013, 22:10File version: 1.0
urlopen should be used as default though and it's always available, only people with OS4.0 need openurl

If exists "c:urlopen"
urlopen "http://www.amigaworld.net"
openurl "http://www.amigaworld.net"

That will never fail on 4.1 and on 4.0 will open a console reporting openurl not found if it's not installed.

If you want a neater solution still using a script just use a script like:

.bra {
.ket }
.key url
If exists "c:urlopen"
urlopen "{url}"
if exists "c:openurl"
openurl "{url}"
echo "OpenURL Not installed."

Then in the icons have the script as the default tool, run in shell mode without prompting for input, put the url in a tooltype.

Don't forget to set the S bit on the script

I've not tested this but you should be able to use the same script with all the icons.
Comment by: djrikki ( 26 Oct 2013, 16:41File version: 1.0
Another script solution would be:

if exists sys:c/OpenURL
if exists libs:openurl.library
openurl "http://www.amigaworld.net"
urlopen "http://www.amigaworld.net"
Comment by: djrikki ( 26 Oct 2013, 16:36File version: 1.0
Both of the Twitter and Facebook logos are out of date and the amigaworld logo is clearly squeezed horizontally. Nice idea.
Comment by: Severin ( 26 Oct 2013, 15:08File version: 1.0
You can easily remove the dependency on iconx by doing the following:-

Open the icon onformation.
Turn the script protection bit on.
Go to the icon tab and delete the default tool.
Change 'start from' to shell, turn off prompt for input

Another way to do it is:-
just have an icon with the url as the name eg. os4depot.net.info
set the default tool to urlopen
and a tooltype of "PROTOCOL=HTTP"

No need to set the script bit and just run it in workbench mode.


Copyright © 2004-2024 by Björn Hagström All Rights Reserved