Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Toolbar intermittently crashing
#2
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
Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)