Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to Control AutoText
#2
for #1
two different ways.
If you have a lot of autotext  the first function is probably the easy way to go

Autotext Autotext
Trigger $t /QM     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/m
sam :sub.Sub1("Sample");;Sample
tex :sub.Sub1("text");;Text

#sub Sub1
function ~text
int hwnd=id(2216 _hwndqm)
if hwnd!=win
,act hwnd
paste text

Autotext Autotext2
Trigger $t     Help - how to add the trigger to the macro
Code:
Copy      Help
/b/i/c/m
sam :int hwnd=id(2216 _hwndqm);act hwnd;"Sample";;;;Sample


Messages In This Thread
how to Control AutoText - by win - 01-04-2019, 01:29 PM
RE: how to Control AutoText - by Kevin - 01-06-2019, 08:06 PM
RE: how to Control AutoText - by win - 01-06-2019, 09:52 PM
RE: how to Control AutoText - by Kevin - 01-06-2019, 10:43 PM
RE: how to Control AutoText - by Kevin - 01-07-2019, 01:55 AM
RE: how to Control AutoText - by win - 01-07-2019, 02:35 AM
RE: how to Control AutoText - by Kevin - 01-07-2019, 05:20 AM
RE: how to Control AutoText - by win - 01-07-2019, 09:29 AM
RE: how to Control AutoText - by Kevin - 01-08-2019, 12:41 AM
RE: how to Control AutoText - by win - 01-08-2019, 08:39 AM
RE: how to Control AutoText - by Kevin - 01-09-2019, 03:03 AM
RE: how to Control AutoText - by Kevin - 01-09-2019, 03:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)