Balloon Tips Customized
Since USBDLM V5.0 the balloon tips of drives with a single volume can be customized by means of BalloonTipsOnXXX sections which work identical to DriveLetters or OnArrival sections.
Here the supported sections:
- [BalloonTipsOnArrival] Volume arrived
- [BalloonTipsOnRemoval] Volume removed (safe or unsafe is unknown, e.g. Virtual Volumes)
- [BalloonTipsOnSafeRemoval] Volume safely removed
- [BalloonTipsOnUnsafeRemoval] Volume unsafely (surprisingly) removed
- [BalloonTipsOnMediaArrival] Media inserted (mountpoint was already assigned)
- [BalloonTipsOnSafeMediaRemoval] Media removed or ejected and was dismounted before
- [BalloonTipsOnUnsafeMediaRemoval] Media removed or ejected and was mounted before
Title defines the bold printed title of the balloontip, Text the text, in both USBDLM-Variablen{linkID=} can be used.
Icon defines either a USBDLM internal icon number{linkID=130}, an ICO file or a icon resource in an EXE or DLL file. Even the notation looks like the one used by the Windows Explorer the icon index works different here (without groups). It is what the tool ResHacker shows.
Samples
On Arrival
; TrueCrypt volumes with size, name of the file system and the blue key icon from the TrueCrypt.exe
[BalloonTipsOnArrival]
DeviceType=TrueCryptVolume
Title=TrueCrypt Volume - %VolumeSize%
Text=mounted to %Root% ( %FsName% )
Icon="%ProgramFiles%\TrueCrypt\TrueCrypt.exe",2
; USB drives with device name, maximum USB speed, actual connection speed and drive size
; (BusType=USB is default in these sections too)
[BalloonTipsOnArrival]
Title=%FriendlyName% %BusType% %UsbVersion% %UsbMaxSpeed% Device at %UsbSpeed% - %DriveSize%
Text=mounted to %Root% ( %FsName% )
On Removal
; TrueCrypt volumes with size, name of the file system and the orange key icon from the TrueCrypt.exe
[BalloonTipsOnRemoval]
DeviceType=TrueCryptVolume
Title=%FriendlyName% - %VolumeSize%
Text=removed: %Root% ( %FsName% )
Icon="%ProgramFiles%\TrueCrypt\TrueCrypt.exe",6
On safe removal
; all BusTypes
[BalloonTipsOnSafeRemoval]
BusType=ANY
Title=%FriendlyName% %BusType% Device - %UsbSpeed% - %DriveSize%
Text=safely removed from %Root% !! %FsName%
On unsafe removal
; all BusTypes
[BalloonTipsOnUnsafeRemoval]
BusType=ANY
Title=%FriendlyName% %BusType% Device - %UsbSpeed% - %DriveSize%
Text=surprisingly removed from %Root% !! %FsName%
On insertion of a media
;USB drives, camera icon from the Windows7 shell32.dll
[BalloonTipsOnMediaArrival]
Title=%FriendlyName% %BusType% Device - %DriveSize%
Text=FlashCard inserted: %Root% ( %FsName% )
Icon=%windir%\System32\shell32.dll,1347
On safe removal/ejection of a media
;USB
[BalloonTipsOnSafeMediaRemoval]
Title=%FriendlyName% %BusType% Device - %DriveSize%
Text=FlashCard safely removed: %Root% ( %FsName% )
On unsafe removal/ejection of a media
;USB
[BalloonTipsOnUnsafeMediaRemoval]
Title=%FriendlyName% %BusType% Device - %DriveSize%
Text=FlashCard unsafely removed: %Root% ( %FsName% )