Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using text sensitive menus not functioning right
#4
TS menu item code must be in single line. If need multiple statements, separate with ; or create a function and call it from TS menu.
TS Menu TS Menu7
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/C/

UU6 :"[][][][]QMC[][][][] ++================================++[][][][][][][][][]"
TRYU7 :wait 0.5; "[][][][]QMC[][][][] ++================================++[][][][][][][][][]"
UU8 :str s="[][][][][][][][] QMC8++================================++QMC8[][][][][][][][][]"; s.setclip; key Cv ;; Ctrl+V

Quote:after the text is all written up, it still sends a lot of keystrokes to the window - nothing is typed in these extra keystrokes though but it takes extra time and quite much
What are these keystrokes?

Quote:And cant find "Windows keyboard messages" topic by search in the help file. Can you point it out.
Try function SendCharactersToWindow: pasting to notepad (when notepad is in background)
TS Menu TS Menu7
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
UU9 :SendCharactersToWindow child "[][][][][][][][] QMC9++================================++QMC9[][][][][][][][][]" ;;child gives focused control handle
It sends characters as WM_CHAR messages. Some windows need keyboard messages, especially for Enter.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)