AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sam's ClipTools

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Hülyesamu



Joined: 24 Sep 2004
Posts: 20

PostPosted: Mon Jul 18, 2005 10:35 am    Post subject: Sam's ClipTools Reply with quote

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 Smile I made it for making my own work easier.

Code:
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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group