Hotkeys:
- Ctrl + Home (Clear the clipboard)
- Ctrl + Page Up (Read the clipboard)
- Ctrl + End (Exit the program)
- Load File Into Clipboard With Hotkey.
- Your Suggestions!
#cs ---------------------------------------------------------------------------- Author: -> Final Version Version: -> 3.3.5.6 <Beta> Function: -> Simple clipboard tool, but could potentially but useful for nurmerous people.s #ce ---------------------------------------------------------------------------- #include <Misc.au3> Opt("TrayMenuMode", 3) $tClear = TrayCreateItem("-> Clear The Clipboard") $tRead = TrayCreateItem("-> Read The Clipboard") $tExit = TrayCreateItem("-> Exit Program") While 1 $tMsg = TrayGetMsg() Select Case $tMsg = $tClear ClearTheClip() Case $tMsg = $tRead ReadTheClip() Case $tMsg = $tExit End() EndSelect If _IsPressed("11") And _IsPressed("24") Then ClearTheClip() ElseIf _IsPressed("11") And _IsPressed("21") Then ReadTheClip() ElseIf _IsPressed("11") And _IsPressed("23") Then End() EndIf WEnd Func ClearTheClip() ClipPut(""); EndFunc ;==>ClearTheClip Func ReadTheClip() $sRead = ClipGet(); If $sRead = "" Then TrayTip("Current Clip Contents", "Clipboard doesn't contain anything!", 3, 1); ElseIf $sRead = " " Then ;==> This is for my personal use, I got into the habit of clearing my clipboard by cutting a space in a text field. TrayTip("Current Clip Contents", "Clipboard contained a space, I'll empty it for you...", 3, 1); ClipPut("") Else TrayTip("Current Clip Contents", $sRead, 3, 1); EndIf EndFunc ;==>ReadTheClip Func End() Exit EndFunc ;==>End
Edited by FinalVersion, 12 March 2010 - 02:40 PM.





