Jump to content

Extend clipboard snippets with labels and joining


Recommended Posts

The clipboard snippet list is one of the features I use most.

Since it happens very often that I need to copy and paste several sequences of text in various sequences, it would be useful if I could assign a label to a snippet, and then be able to identify the snippet by that label, rather than searching for it in a possibly long list.

 

Equally useful would be the possibility of joining several snippets together, rather than pasting them one by one.

 

 

Link to comment
Share on other sites

  • 2 months later...

OK. Now that v2 has been released, I would like to push this feature again.

Here's some specifications:

 

1) Ability to check several snippets. (a checkbox should appear next to each snippet) allowing actions on more than one

2) Automatic labels (or tags) for snippets. Every snippet should be tagged with the application that generated it (iTerm, Firefox, Chrome, Skype) 

3) User defined labels for snippets 

4) of course, keyboard based interface:

   * snippets tag 'fb' ^facebook   (tags with 'fb' all snippets matching '^facebook')

   * snippets tag 'office'  (tags with 'office' the latest snippet)

 

   * snippets tag 'office' 1  (tags with 'office' the latest snippet)

   * snippets tag 'doctor'  1-10  (tags with 'doctor' the latest 10 snippets)

   * snippets tag 'Frank' 'Skype' (tags with 'Frank' all the snippets that have tag 'Skype')

   * snippets tag 'Frank' 'Skype' not 'Joe'  (tags with 'Frank' all snippets with tag 'Skype' except the ones that have already the tag 'Joe')

   * snippets paste 'doctor'   (paste all snippets with tag 'doctor')

   * snippets paste 1-5 (paste the latest 5 snippets)

   * snippets merge 3-7 (merges snippets 3 to 7 into a single snippet)

   * snippets merge 'doctor' (merges all snippets with tag 'doctor' into a single snippet)

 

If the clipboard interface is enhanced with the ability of setting tags, much of the above could be implemented with workflows.

Link to comment
Share on other sites

OK. Now that v2 has been released, I would like to push this feature again.

Here's some specifications:

 

1) Ability to check several snippets. (a checkbox should appear next to each snippet) allowing actions on more than one

2) Automatic labels (or tags) for snippets. Every snippet should be tagged with the application that generated it (iTerm, Firefox, Chrome, Skype) 

3) User defined labels for snippets 

4) of course, keyboard based interface:

   * snippets tag 'fb' ^facebook   (tags with 'fb' all snippets matching '^facebook')

   * snippets tag 'office'  (tags with 'office' the latest snippet)

 

   * snippets tag 'office' 1  (tags with 'office' the latest snippet)

   * snippets tag 'doctor'  1-10  (tags with 'doctor' the latest 10 snippets)

   * snippets tag 'Frank' 'Skype' (tags with 'Frank' all the snippets that have tag 'Skype')

   * snippets tag 'Frank' 'Skype' not 'Joe'  (tags with 'Frank' all snippets with tag 'Skype' except the ones that have already the tag 'Joe')

   * snippets paste 'doctor'   (paste all snippets with tag 'doctor')

   * snippets paste 1-5 (paste the latest 5 snippets)

   * snippets merge 3-7 (merges snippets 3 to 7 into a single snippet)

   * snippets merge 'doctor' (merges all snippets with tag 'doctor' into a single snippet)

 

If the clipboard interface is enhanced with the ability of setting tags, much of the above could be implemented with workflows.

 

2) I'm not quite sure what you mean by "the app that created it". Snippets are created within Alfred. Other applications aren't creating snippets within Alfred.

3) Snippets do have a label. The name field is the label of the snippet.

4) Still not quite sure I understand the need for "tags", the name field is provided so that you can identify a snippet, and you are also allowed to search based on the snippet name. For instance, I have several snippets for pasting in the special Mac keys (⌘, ⌃, ⌥), each of these has their own keyword and name associated with it. The name field is used to visually identify or label the snippet and allows searching. So, for each of those, I could add [Character] to the end of the name and the call up Alfred and type "; character" and it would show me all the snippets that had "character" in the name.

Link to comment
Share on other sites

2) I'm not quite sure what you mean by "the app that created it". Snippets are created within Alfred. Other applications aren't creating snippets within Alfred.

3) Snippets do have a label. The name field is the label of the snippet.

4) Still not quite sure I understand the need for "tags", the name field is provided so that you can identify a snippet, and you are also allowed to search based on the snippet name. For instance, I have several snippets for pasting in the special Mac keys (⌘, ⌃, ⌥), each of these has their own keyword and name associated with it. The name field is used to visually identify or label the snippet and allows searching. So, for each of those, I could add [Character] to the end of the name and the call up Alfred and type "; character" and it would show me all the snippets that had "character" in the name.

 

2) Perhaps he's referring to Clipboard History Snippets? And (from the history view) he wants to search e.g. 'Chr' and get results for things he's copied from Google Chrome and Chromium? I can see the appeal of that

 

4) Direct control of Clipboard Snippets & 'normal' Snippets from Alfred's window would be much appreciated. I also like the clip-merging idea; it saves time and prevents RSI  ;)

Link to comment
Share on other sites

When I say "the app that created it" I mean the app from where the snippet was copied. Alfred now displays the icon of that app next to the snippet. You can see the icons, but not use that info for selecting.

 

What I was describing is the clipboard history snippets. Sorry if it was not clear.

I would like to allow tags and easier selections of those clipboard snippets, as I use them quite a lot.

Link to comment
Share on other sites

When I say "the app that created it" I mean the app from where the snippet was copied. Alfred now displays the icon of that app next to the snippet. You can see the icons, but not use that info for selecting.

 

What I was describing is the clipboard history snippets. Sorry if it was not clear.

I would like to allow tags and easier selections of those clipboard snippets, as I use them quite a lot.

 

The Clipboard History is a constantly evolving set of data that changes based on what you have copied to the clipboard. It could be there one moment and gone the next. So, tagging items in the clipboard probably isn't the best solution for this. Creating Snippets in Alfred is better suited for this purpose. Then, as I mentioned, you could put "tags" in the name of the snippet to make them easily searchable and reusable.

 

snippets.jpg

Link to comment
Share on other sites

  • 1 year later...

1°) I've found this very interesting thread as I was trying to learn how to merge clips. 

 

The way this feature is explained I thought I had to double tap C as I still were in Clipboard History Viewer.

I understood how to make it work with a tut on how Launchbar's clipboard feature is working  :)

 

2°) +100 to the fourth point of datacharmer (would be very useful). 

 

3°) Another idea would be to able to merge the last clipboard with one clipboard but not the way datacharmer thought of it.

 

In terms of workflow, I was more thinking about something like 

 

- I launch the Clipboard History Viewer then

- I search a specific clip then

- I hit a key or a combination of keys 

 

Done! The last clipboard is merged with the clip I searched in the Clipboard History Viewer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...