Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using text sensitive menus not functioning right
#2
1)
Is it in any window?

How text pasting works in simple macros, ie not in TS menus? Test this:
Macro Macro1836
Code:
Copy      Help
paste "[][][][]QMC[][][][] ++================================++[][][][][][][][][]"

What is trigger of this TS menu?

In QM 2.3.3 you can use 'Text (TS menu)' trigger instead of 'Keyboard' trigger. Simpler and a bit more reliable. Then menu item text must be uu6, not u6.

Maybe other keyboard software is running? Eg autohotkey. Try to exit and see how QM then works.

To paste text, QM stores text in clipboard and presses Ctrl+V. In your case, the target window somehow does not receive Ctrl.

2)
key speed in TS menus is especially important, therefore TS menus are optimized to send keys as fast as possible, and at the same time reliable and working in all windows. The actual speed depends on how fast the target window processes keyboard input. OS also slows down. In some windows will be faster with opt keysync 1, but it is less reliable, eg macro-pressed keys may be mixed with user-pressed keys if user does not wait (not sure, don't remember).

TS Menu TS Menu8
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
GTRY1 :opt keysync 1; '"Right-click on the link and select copy link location. This will place the Link's URL into the clipboard. Now you can paste the URL into the browser's location area, and hit the Enter key on the keyboard. Right-click on the link and select add bookmark Now you can select the link from the bookmark listing. I've also noticed that a referring URL does not seem to be passed along when the referring web page is based on your computer. You may want to take the web page, and save as to your hard disk. In the process, you can also rename the page to something generic like: .html.[]"

There is other method of sending keys to a window, using Windows keyboard messages. Should be faster, but works not in all windows. Also, it would be not reliable in TS menus because of unsupported synchronization with user-pressed keys. Other methods are supported only by that type of windows.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)