4026
Finished Programs / Re: Skinny Paste
« Last post by skwire on August 15, 2010, 01:36 PM »Here you go (source/binary included): SkinnyPaste
Create a clips.txt file in the same folder as the SkinnyPaste executable and then run SkinnyPaste.exe. Put one clip per line in this format: <menu caption>|<clip text>
If you make changes to the clips.txt file, simply right-click the tray icon and choose reload. Currently, you can only have single line clips but you can have as many as you would like i.e. more than ten. At this point, I just wanted to see if this is what you had in mind.
Here's the code for the folks that don't want to download the zip.
Create a clips.txt file in the same folder as the SkinnyPaste executable and then run SkinnyPaste.exe. Put one clip per line in this format: <menu caption>|<clip text>
My email|[email protected]
Homepage|http://www.pulphero.com
Homepage|http://www.pulphero.com
If you make changes to the clips.txt file, simply right-click the tray icon and choose reload. Currently, you can only have single line clips but you can have as many as you would like i.e. more than ten. At this point, I just wanted to see if this is what you had in mind.
Here's the code for the folks that don't want to download the zip.
Code: Autohotkey [Select]
- ; Read clips.txt file into a variable.
- {
- {
- ; Extract menu entry text before the first pipe character.
- ; Build the menu using the extracted text.
- }
- }
- Return ; End of auto-execute section.
- OnClipMenu:
- {
- {
- {
- {
- ; Extract all text from the first pipe character to the end of the string.
- ; Activate the window that active when the clip menu was instantiated.
- ; Saved previous clipboard contents.
- SavedClip := ClipboardAll
- ; Put extracted clip contents on the clipboard and give it a second.
- Clipboard := Clip
- ; Paste clip contents.
- ; Restore saved clipboard contents.
- Clipboard := SavedClip
- }
- }
- }
- }
- Return
- ^+q:: ; Change hotkey to suit.
- {
- ; Get the ID of the active window.
- ; Show the clip menu.
- }
- Return

Recent Posts