Slippery Clip(board manager)

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
Guevara-chan
User
User
Posts: 13
Joined: Sat Jun 18, 2011 12:20 pm

Slippery Clip(board manager)

Post by Guevara-chan »

*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
Title: Slippery Clip
Version: v1.2 (Release)
Distribution: FreeWare OpenSource
Dev. environment: PureBASIC v5.30
Dependencies: COMate+ (bundled)
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*

Here we...go, I suppose ? Quick facts:
[*][/b] Slippery Clip is a compact and easy-to-use tool for expanding clipboard's functional.
[*][/b] Aside from optional tray icon, program's window could be returned to screen with Ctrl+Shif+T combination.
[*][/b] Double click to list item puts it in the clipboard. Such element would be marked by arrow (->).
[*][/b] Deleting the active element unloads it from the clipboard, leaving it empty.
[*][/b] Right-clicking on list brings context menu for selected item.
[*][/b] To bind hotkey for selected element, use Ctrl+[1-9] combination. Associated button would appear before it's ID.
[*][/b] Using a Ctrl+[1-9] combination outside of program's window would place associated element into clipboard to be auto-pasted into the active application.
[*][/b] Pressing 1-9 keys in program's window would place associated element into clipboard.
[*][/b] Aside from mentioned above, Slippery Clip also supports the following shortcuts: Enter/Ctrl+C/Ctrl+Ins to paste selected element into clipboard, Ctrl+O to show options, Ctrl+F to set focus on search bar, and F3/Shift+F3 to find requested data starting after/before current selection. Arrow could also be used together with Control, moving element up and down respectively.
[*][/b] Keyboard shortcuts Ctrl+P и Ctrl+V allows swift access to data of highlighted note, displaying nodal or shared overview windows correspondingly.
[*][/b] Among other things, also possible to access certain features without ever touching window. There, Shift+Ctrl+[1-9] assigns hotkey to current content of clipboard, Shift+Ctrl+Q inverts its layout, while Shift+Ctrl+S offer saving dialogue. On a side node, Space could be used for bringing info breakdown about highlighted node and Shift+ESC to terminate searching prematurely.
[*][/b] For data viewer, keys '+' and '-' can be used to resize window, while Ctrl+R - instead of menu item "Raw Copy".
[*][/b] This application selects data from clipboard with following priority sequence: RTF>META>BMP>HTML>STR.
[*][/b] Size of metafile calculated with ACDSee's method, ie by bounds difference (rclBounds).
[*][/b] By default, search interface assumes [text/~case] as header to look in text data without considering cases and highlight results in viewports.
[*][/b] To ease handling of characters outside the stand sets, Slippery Clip’ search engine offers basic reparsing mechanism. Replaceable sequences always begins with ` and offers following combinations:
<*> `` = ` (sequencer self-isolation).
<*> `~ = Alt+010 (line feed symbol).
<*> `| = Alt+013 (carriage return symbol).
<*> `#%hex%%hex% - character insertion by it’s ASCII-code (as in, `#09 equivalent to tabulation char).
<*> `$%hex%%hex%%hex%%hex% character insertion by it’s Unicode (as in, `#$0046 do become F letter).
<*> Any sequences beyond given above, including attempts of zero-char insertion (`#00/`$0000), is interpreted by their primordial layout.
[*][/b] As for now, search engine autoreplace following characters with reparsing codes: Alt+009, Alt+010 and Alt+013.
Official site: https://slipperyclip.codeplex.com/
Mottled bitmap bait:
Image

P.S. While SC started as purely internal multipasting util, I'm currently rewritting it to find fit some actual niche in opensource clipboard manager. Given those circumstances, be free to voice your suggestions for winning some space against Ditto and likes. Any feature you always wanted, yet never found ?
P.P.S. ...Also, once you got nothing better to do, try checking http://www.pcre.org/pcre.txt - it's fun enough.
Last edited by Guevara-chan on Wed Nov 05, 2014 8:38 am, edited 6 times in total.
life MOV.I #life+1, *life
האם יש זמן לעצור ?
User avatar
Guevara-chan
User
User
Posts: 13
Joined: Sat Jun 18, 2011 12:20 pm

Re: Slippery Clip(board manager)

Post by Guevara-chan »

Hm, is it 0:100+ already ? Good grief, seems like time for another post. So, while I’m busy at bringing preview window to prototype stage, here goes some current limitations of Slippery Clip. Some of those can even be resolved eventually, be there any help from PB community (lel)... Well, nevertheless back to reality:

[*][/b] No dragging, nor dropping metafile data supported. Reason: not enough information. While google is bristling with samples of, say, bitmap transfer, same operation set for vector imagery is rather covered in mystery. Should it be pointer from CopyEnhMetaFile_ or, rather, whole SetEnhMetafileBits_ representation sent that time ? Could inability of DragOSFormats to take 0 as Size.l be a key there ? Who knows ?

[*][/b] No #CF_WAVE support. Reason: yet to find any sources to even start experimenting with it. While sound fragments seems to be rather relevant for Windows Movie Maker, it seems to use own clipboard format. Well, that, or me doing something wrong again.

[*][/b] No duplicates clipping for RTF garments, dragged in from MS Word. Reason: Microsoft. It seems to be a little out of SC’ scope to extract few characters of RTF data from few KB of random junk. Did I already said about Microsoft, no ?

[*][/b] No dragging out DIR listings. That one is rather voluntary restriction: I have all tools to make it possible, yet not enough people to reassure about accidental file transference to, say, nowhere. Especially in view of recently added CF_TEXT to CF_HDROP converter, yes.

...Well, seems to be enough for brief challenges pack. Any questions ? Suggestions, may be ?
life MOV.I #life+1, *life
האם יש זמן לעצור ?
uweb
User
User
Posts: 98
Joined: Wed Mar 15, 2006 9:40 am
Location: Germany

Re: Slippery Clip(board manager)

Post by uweb »

It is a pity.
You did a lot of work with a lot of knowledge.
And now you get no feedback. I did not write until now because my englisch is verry poor.
First i wont to say thank you !!!
Although the UI is too cool for my taste.
I looked at the source - to difficult for me. But i think the reason is on my side.
I am a beginner - since years because i have not so much time.
But maybe i would not be the only one who would be verry thankful for a pure clipboard-library.
Please pardon my English, my native tongue is German.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: Slippery Clip(board manager)

Post by rsts »

The lack of response may be due to most of us already having a "favorite" clipboard utility. Actually, I wrote my own.

I am also using yours and it is very nice so far. Will report anything I find amiss.

Thanks for sharing. Source is always nice. :)
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Slippery Clip(board manager)

Post by Kwai chang caine »

Great works :shock:
Thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: Slippery Clip(board manager)

Post by davido »

Sorry, Missed it earlier.

Looks great. Thank you for sharing.
DE AA EB
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Slippery Clip(board manager)

Post by electrochrisso »

Still getting around to checking this one out, looks good though, thanks for sharing. :)
PureBasic! Purely the best 8)
User avatar
Guevara-chan
User
User
Posts: 13
Joined: Sat Jun 18, 2011 12:20 pm

Re: Slippery Clip(board manager)

Post by Guevara-chan »

Hm=hm, how long has it been… And yet, for anyone who still any interested in this project for one reason or another:
---
I.'m not dead yet (well, at least ~exactly dead) and almost regretting own qualmquit back then. Abandoning potential sources of userbase is anything but sensible move for independent developer. It was just bunch of meddling memoirs about fruitless weeks of work which told me otherwise.
---
II. While not exactly abandoned, Slippery Clip was mostly on hold for all those months. This may change somewhen soon, though: depends mostly on reception, since, you know, freeware development just never worked properly without dedicated target audience. Already begun negotiation about some promotional activity, though.
---
III. Most importantly: I decided to host whole project at Codeplex. Precarious choice, of course (OpenSource @ Microsoft – just think about it), yet so is life. Also, it seemed to be rather fit for being IndeDB in boring world of utilitary soft... unlike, say, OpenHub or Launchpad.
...Plus, at very least, there was barely any reference to PureBasic at MS platforms before.
life MOV.I #life+1, *life
האם יש זמן לעצור ?
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Slippery Clip(board manager)

Post by Kwai chang caine »

Thanks for the sharing 8)

I have try it with 5.22, and replace the

Code: Select all

"COMatePLUS_Residents.pbi"
by

Code: Select all

"Comate/COMatePLUS_Residents.pbi"
But i have an error : "Not found structure DragDataFormat" :|
ImageThe happiness is a road...
Not a destination
User avatar
Guevara-chan
User
User
Posts: 13
Joined: Sat Jun 18, 2011 12:20 pm

Re: Slippery Clip(board manager)

Post by Guevara-chan »

Nice grief - seems like all those chronic procrastination with upping version requirements finally backfired on me. Sorry for any inconvenience, fixed @ committed already:

Code: Select all

CompilerIf #PB_Compiler_Version < 530 ; In case of outdated (as in, LTS) compiler...
XIncludeFile "COMate\COMatePLUS_Residents.pbi" : CompilerElse : XIncludeFile "COMatePLUS_Residents.pbi"
CompilerEndIf
<...>

Code: Select all

CompilerIf #PB_Compiler_Version < 530 ; In case of outdated (as in, LTS) compiler...
Structure DragDataFormat
Format.i
*Buffer
Size.i
EndStructure
CompilerEndIf
life MOV.I #life+1, *life
האם יש זמן לעצור ?
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5494
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Slippery Clip(board manager)

Post by Kwai chang caine »

I use the 5.30 now and that's works fine :wink:
Thanks a lot for sharing 8)
ImageThe happiness is a road...
Not a destination
Post Reply