codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
Func addToClipboard() HotKeySet("^+q", "Dummy") ; This unregisters the key from this function, and sets it on a dummy function While _IsPressed("11") Or _IsPressed("10") Or _IsPressed("51"); Wait until the ctrl and the Shift and the Q keys are unpressed Sleep(50) WEnd Send ("^c") $copied = ClipGet() $clipBoard[Mod($counter,50)] = $copied $counter +=1 HotKeySet("^+q","addToClipboard") EndFunc
Private
[
?
]
Run code
Submit