hluk / CopyQ

Clipboard manager with advanced features
GNU General Public License v3.0
8.25k stars 430 forks source link

Need Help Making Terminal Command to Display Images (Or Path to Images) #2597

Open andrewcincotta opened 5 months ago

andrewcincotta commented 5 months ago

I am currently working on a Raycast extension for CopyQ, which can be found here. In my latest version, I have used this terminal command to print all clipboard contents in a specific tab seperated by a null character: copyq tab fooTab 'separator(String.fromCharCode(0)); read.apply(this, [...Array(size()).keys()])' I worked on this issue with @hluk and found it to be the fastest way to grab all clipboard contents. I am trying to implement images into the extension, but need help pulling them quickly. I can do most of the reformatting in TypeScript, but the Raycast API would want the images' paths I believe.