Solved

CopyQ scripting - Shortcut for 2nd item in list

Posted on 2016-08-18
3
21 Views
Last Modified: 2016-08-23
I am a very happy user of CopyQ (https://hluk.github.io/CopyQ/).
I would like to use its scripting abilities to build a shortcut that allows me to past even the 2nd element on the list so I'd have a CTRL + V for normal paste and CTRL + ALT + V to paste the second item in CopyQ buffer.

Thanks!
0
Comment
Question by:ltpitt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 18

Expert Comment

by:xtermie
ID: 41760657
can you elaborate a bit?
0
 
LVL 1

Accepted Solution

by:
ltpitt earned 0 total points
ID: 41760757
Thanks but I just solved the problem myself, here is the code for the custom CopyQ Command in case anybody needs it:

 copyq:
    select(1);
    paste();
    select(1);

Open in new window

1
 
LVL 1

Author Closing Comment

by:ltpitt
ID: 41766629
I have found the correct solution myself
1

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
convert Systemjs to Webpack 3 83
Need help Creating a Powershell script 8 65
what should i learn? javascript or typescript? 3 41
Java pass by reference 3 25
This is an explanation of a simple data model to help parse a JSON feed
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The viewer will learn how to dynamically set the form action using jQuery.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question