dun.dll 0.1                                             dun.txt


General

One of the most annoying problems using Litestep under Windows
2000 has always been the fact that some of the tray icons are
missing. You can live without most of them, but I've really
missed the modem icons. So I wrote this module. What it does is
to emulate the functionality of the normal DUN tray icon.


Bangs

!DUNConnect name
Connects a DUN entry

!DUNDisconnect name
Disconnects a DUN entry


RC commands

TrayIcons is configured in the same way as Maduin's Label.
Begin with specifying a list of icons to add.

DUNConnections name1[,name2]

You can then specify individual settings for each connection.
If you want to set the username for a connection you add a line
like this.

DUN<name>Username myusername

The following settings are available.

Name <string>
Specifies the name of the entry in the phonebook to use with
this connection. Defaults to the name of the connection (what
you're writing between the 'DUN' and the 'Name').

Username <string>
Specifies the username to connect with.

Password <string>
Specifies the password to connect with.

Number <string>
The phone number to dial. Defaults to the one specified in the
phonebook entry.

Domain <string>
Specifies a domain to connect to. User * to use the domain
specified in the phonebook entry. Use a empty string ("") to
connect to which ever domain the remote server is on.

SubEntry <int>
Zero based number specifying which sub entry to dial. Use 0 to
dial the default number.

HideDisconnected <bool>
If true, the icon will be hidden when you disconnect. Default
is true.

IconConnected <file>[,<index>]
IconDisconnected <file>[,<index>]
IconConnecting <file>[,<index>]
Icons to use in the tray. Default to nothing = empty slots.
To get the default icons in Win2k I use these settings:
IconConnected "$dirWindows$system32\netshell.dll,57"
IconDisconnected "$dirWindows$system32\netshell.dll,59"


Changes

Date         Ver  Changes
25 oct 2001  0.1  First public release


To-do-list

 * Some kind of status dialog
 * Get the blinking traffic lights working
 * General code improvement

If you've got any ideas, feel free send me a mail.


Feedback

If you have a bug report, feature request, or any kind of
feedback, feel free to email it to me at erik@alfafish.com.
For more info and other LiteStep modules and programs, check
out www.alfafish.com


Sourcecode

The source code for this module is distributed under the GNU
Public License. If you didn't get the source code with this
module, you can download it from www.alfafish.com

_______________________________________________________________
Erik Christiansson, aka Sci                   erik@alfafish.com
