AminetAminet
Search:
84749 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/batch/Ambient_AddShortcut.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Add shortcuts to files/urls to Ambient
Author: Thomas at Igracki.de (Thomas Igracki)
Uploader:Thomas Igracki de (Thomas Igracki)
Type:util/batch
Version:1.2
Architecture:generic
Date:2015-01-07
Distribution:Aminet
Download:util/batch/Ambient_AddShortcut.lha - View contents
Readme:util/batch/Ambient_AddShortcut.readme
Downloads:5614

Add/remove a shortcut to Ambients desktop.
If OWB or URL is specified, PATH contains a URL, which will be saved
to a file (default path: SYS:URLS/) first.

The icon of the newly created shortcut, will be the favIcon of the website!

Usage: Ambient_AddShortcut PATH/A,REM=REMOVE/S,URL=OWB/S

You can use it from a shell:
  s:Ambient_AddShortcut sys:Applications

If you want to remove it, select "Put away" from contextmenu of the icon or type in a shell:
  s:Ambient_AddShortcut REMOVE sys:Applications

To add shortcuts from OWB, you have to add a command to OWBs contextmenus:
  Type: Link
  Label: Add as shortcut to Ambient
  Action: s:Ambient_AddShortcut OWB "%l"

  Type: Page
  Label: Add as shortcut to Ambient
  Action: s:Ambient_AddShortcut OWB "%u"

Installation:
=============
Copy the contents of the directory "s" to S:


History:
========
v1.2 07-Jan-15
    new: s:FetchFavIcon will be used to retrieve the favIcon of the website
         to be used as the icon for the shortcut
    fix: "https" urls are now recognized
    chg: the stacksize is set to 16KB

v1.1 29-Dec-14
	new: you can now also specify URL instead of OWB to create a shortcut to an url
	new: added a version string to this script
	chg: don't add ".url" suffix to the URL files
	new: use "s:Ambient_AddShortcut.info" as the icon if you create a shortcut to a url
	fix: the temporary file env:AASCfile will be deleted

v1.0 26-Dec-14
	first release


Contents of util/batch/Ambient_AddShortcut.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                  827    1749  47.3% -lh5- b704 Jan  7 15:06 Ambient_AddShortcut/Ambient_AddShortcut.readme
[generic]                  962    1955  49.2% -lh5- 1afe Jan  7 15:00 Ambient_AddShortcut/s/Ambient_AddShortcut
[generic]                 7405    7405 100.0% -lh0- 9b65 Dec 29 14:17 Ambient_AddShortcut/s/Ambient_AddShortcut.info
[generic]                  939    2165  43.4% -lh5- 0e4f Jan  7 15:17 Ambient_AddShortcut/s/FetchFavIcon
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         4 files   10133   13274  76.3%            Jan  7 15:03
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>