>>-addDesktopIcon--(--name--,--program--+--------------------------------+-->
| +-0------+ |
+-,--+----------+--,--+--------+-+
+-iconfile-+ +-iconnr-+
>--+--------------------------------------------------------------------------+-)-><
| +-"PERSONAL"-+ +-"NORMAL"----+ |
+-,-+---------+-,-+------------+-,-+------+-,-+--------+-,-+-------------+-+
+-workdir-+ +-"COMMON"---+ +-args-+ +-hotkey-+ +-"MAXIMIZED"-+
+-"MINIMIZED"-+Adds a shortcut to the Windows desktop. A sample program DESKICON.REX is provided in the ooRexx\SAMPLES directory.
The arguments are:
The name of the shortcut, displayed below the icon.
The program file launched by the shortcut.
The name of the icon used for the shortcut. If not specified, the icon of program is used.
The number of the icon within the iconfile. The default is 0.
The working directory of the shortcut.
Either of the following locations:
The shortcut is personal and displayed only on the desktop of the user.
The shortcut is common to all users and displayed on the desktop of all users.
The arguments passed to the program that the shortcut refers to.
The virtual key to be used as a hotkey to open the shortcut. For a list of the key names, see Symbolic Names for Virtual Keys.
Specifies one of the options listed in the syntax diagram. The default is "NORMAL".