Jump to content

Paste multiple clipboard entries


Recommended Posts

Hi Alfred community, I wanted to

 

1. Paste all items in my Alfred clipboard history, how can I accomplish that? Would be good to have them pasted in the same order as I copied them in (if possible)

2. Paste previous items one by one. Like on each hotkey press, I can paste N (latest clipboard item), N-1, N-2, N-3....

Link to comment
4 hours ago, vitor said:
sqlite3 "${HOME}/Library/Application Support/Alfred/Databases/clipboard.alfdb" 'SELECT item FROM clipboard WHERE dataType = 0 ORDER BY ts DESC;'

 

 

Works like a charm. I guess if I remove "DESC", it should retain the LIFO ordering?

 

Also, for some reason the last 2 entries are always out of order. If I copy 1, 2, 3, 4. The output should be 1, 2, 3, 4, but it 1, 2, 4, 3

Link to comment

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...