02-16-2017, 07:14 AM
I recently found one bug in str setclip and setsel. It could be the reason. In current QM version it is still not fixed. It becomes visible only when text contains Unicode (non ASCII) characters. But the paste() function does not have this bug. Try to replace
_s.setclip(); key Cv
with
paste _s
And don't need functions or macros for each text. Everything can be in menu.
Menu CAT1
_s.setclip(); key Cv
with
paste _s
And don't need functions or macros for each text. Everything can be in menu.
Menu CAT1
Text String 1 :paste "This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window"
Text String 2 :sub.TEXT_2
Text String 3 :paste "TEXT_3"
Text String 4 :sub.TEXT_4
#sub TEXT_2 m
_s=
;This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window
;This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window
;This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window
paste _s
#sub TEXT_4 m
_s=
;This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window
;This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window
;This is a test of copying text to the clipboard then pasting it into wherever the cursor was left or the current active window
paste _s