Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to detect clipboard copy
#2
Where you will use it? Should it be like a trigger, or like a wait command in macro?

To press Ctrl+C and wait until clipboard is populated, use getsel function of str.

str s
s.getsel ;;presses Ctrl+C, waits until clipboard is populated, and stores the text into s


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)