Jump to content

hmijail

Member
  • Posts

    3
  • Joined

  • Last visited

Everything posted by hmijail

  1. Finally I got tired of dealing with LauchBar's demo mode and worked for a while with CopyQ. And it works perfectly; its main problem is the messy docs. CopyQ generally captures everything that appears in the clipboard and puts it into a stack. (You can configure what formats to capture, what apps to capture them from, and put them into different stacks; plus you can edit them manually or through a script at capture time). And one can also define their own script to react to a hotkey, and this is the script I ended with: I attached this script to cmd+opt+ctrl+V. What it does is: select the latest copied clipboard contents from the current stack and put it back into the clipboard, paste into the current application, and pop that level of the stack. (The only problem, which I think is even cute, is that if the stack is empty CopyQ shows for a second a notification of a runtime exception. I still didn't try dealing with that, since it keeps working) Interestingly, if I am understanding right the docs a global hotkey-attached script like mine should not work for selecting rows in the stack. But evidently mine does. (It uses about 0.1% CPU when quiescent... still too much ;P, but again good enough to live with it)
  2. Oh wow. I'm ashamed to say that whenever I saw a database I just took a different route, and you just went and (almost) made it work. Thank you for your hacks. And, big respect! (and taking notes! ;)) What I can offer is that, after some minimal exploring of CopyQ, it looks more than promising. It's all about clipboard management, is open-source (available in brew too), useable from the CLI AND scriptable (in Qt Script/Javascript!). One of the example commands is "Paste and Forget", which sounds like it is very close to what we want; but it needs some adjustment, because its exact use case seems to be about first selecting some item(s) in its GUI palette. To be honest, the only problem I see in CopyQ is that it seems to include a wide range of kitchen sinks and I will have to go through them in case a LIFO was already there. So, my plan before seeing your hacks was to keep using LaunchBar until its demo period expires in 2 days, and look into CopyQ in the meantime. Now I feel I should do it right now, but I'm too short on time :(. I will post again when I finally get into it. For completeness: LB is supposed to keep working after its demo period, only with some nagging(?). So if LB's clipboard functionality keeps working after the free trial expires, then a possibility would be to just disable everything else in LB and stay with its "Paste and remove from history". (The things I don't like about LB is that every few seconds it uses about 9% CPU, and reads about 100 MB per hour from the HD, even with all of its indexing disabled; before I disabled it, it was still much worse). But now I'm pretty confident that CopyQ will be the long-term solution.
  3. Bennyty, I am not sure I understand. Did you mean that you'd want to be able to copy items A, B and C (by hitting Cmd+C 3 times), and then paste them all (by hitting Cmd+V 3 times) getting C B A? I ask because I am looking for that same feature (which I have seen elsewhere named "clipboard revolver", "clipboard stack" or "clipboard LIFO"), and I hoped that Alfred had this kind of thing. Alas it's looking like it doesn't. (I hope I'm wrong and someone would correct me?) I see that the PowerPack does offer a clipboard merging feature, which might help if you actually want to paste together the different items. But that is not my general case. FWIW, LaunchBar does this, but I'm not really happy with it (and my demo time is ending so I'm looking for alternatives). CopyQ seems to do this too and much more, but it's kinda complicated and I still didn't get into it. Looks like I will have to.
×
×
  • Create New...