Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Sam's ClipTools


  • Please log in to reply
No replies to this topic
Hülyesamu
  • Members
  • 22 posts
  • Last active: Sep 28 2009 09:12 AM
  • Joined: 24 Sep 2004
Hi, I post here a quite short tool for enhancing the clipboard operations, with less funcionality than the other scripts, for extending the usefullness of the Clipboard.

The functionality it provides:
-The usage of 10 different (or, if You wish more, then more) Clipboards, You can copy something to the first, then switch to the second, etc.
-A clipboard replacing tool that replaces the selection with the contents of the Clipboard, and the original selection becomes the content of the Clipboard.
-When changing the clipboard content, a Traytip shows the Clipboard content, if it's not binary data

I can see here much more complete clipboard tools, but possibly someone can utilize this one :) I made it for making my own work easier.

ClipNr:=1

^SC056:: ;This is a special button on the hungarian keyboard, You can change it
  ClipTemp := ClipboardAll
  Send, ^x
  Cliptemp2 := ClipboardAll
  Clipboard :=  Cliptemp
  Send, ^v
  Clipboard := Cliptemp2
  ClipTemp := 
  ClipTemp2 := 
return

#Numpad0::ClipManager(10)
#Numpad1::ClipManager(1)
#Numpad2::ClipManager(2)
#Numpad3::ClipManager(3)
#Numpad4::ClipManager(4)
#Numpad5::ClipManager(5)
#Numpad6::ClipManager(6)
#Numpad7::ClipManager(7)
#Numpad8::ClipManager(8)
#Numpad9::ClipManager(9)


ClipManager(clNr)
{
global
Clip%ClipNr%:=ClipboardAll
Clipboard:=Clip%ClNr%
ClipNr:=ClNr
return
}

OnClipboardChange:
{
if %clipboard% 
{
	TrayTip, %ClipNr% . Clipboard, %Clipboard%
}
else 
TrayTip, %ClipNr% . Clipboard, Empty,,1
return
}

Sam Karli, Hungary