AutoHotkey Community

It is currently May 26th, 2012, 8:49 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Sam's ClipTools
PostPosted: July 18th, 2005, 10:35 am 
Offline

Joined: September 24th, 2004, 4:42 pm
Posts: 22
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.

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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group