Page 1 of 1

Slippery Clip(board manager)

Posted: Mon Jan 27, 2014 2:45 pm
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.

Re: Slippery Clip(board manager)

Posted: Wed Jan 29, 2014 3:13 pm
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 ?

Re: Slippery Clip(board manager)

Posted: Sat Feb 01, 2014 1:46 pm
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.

Re: Slippery Clip(board manager)

Posted: Sat Feb 01, 2014 2:17 pm
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. :)

Re: Slippery Clip(board manager)

Posted: Mon Mar 17, 2014 3:56 pm
by Kwai chang caine
Great works :shock:
Thanks for sharing 8)

Re: Slippery Clip(board manager)

Posted: Mon Mar 17, 2014 8:28 pm
by davido
Sorry, Missed it earlier.

Looks great. Thank you for sharing.

Re: Slippery Clip(board manager)

Posted: Tue Mar 18, 2014 2:36 am
by electrochrisso
Still getting around to checking this one out, looks good though, thanks for sharing. :)

Re: Slippery Clip(board manager)

Posted: Tue Sep 16, 2014 12:43 am
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.

Re: Slippery Clip(board manager)

Posted: Wed Sep 17, 2014 10:05 am
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" :|

Re: Slippery Clip(board manager)

Posted: Sun Sep 21, 2014 4:36 pm
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

Re: Slippery Clip(board manager)

Posted: Wed Sep 24, 2014 5:09 pm
by Kwai chang caine
I use the 5.30 now and that's works fine :wink:
Thanks a lot for sharing 8)