05-31-2014, 11:55 PM

Hello,

I've been using QM occasionally for a few months already and I've always been able to solve my problems using the help function.

Just this thing I can't figure out:

Obviously, this will type "a" in the notepad window. How can I get it to type "2", the value of integer a? So how can I get QM to type the value of an integer variable in another program, like Notepad? I assume the solution for this is awkwardly simple, yet I can't figure it out :p

Thanks in advance.

I've been using QM occasionally for a few months already and I've always been able to solve my problems using the help function.

Just this thing I can't figure out:

`int w1=act(win("sometitle -Notepad" "Notepad"))`

lef 127 53 w1 1

int a

a=2

'"a" ;; "a"

Obviously, this will type "a" in the notepad window. How can I get it to type "2", the value of integer a? So how can I get QM to type the value of an integer variable in another program, like Notepad? I assume the solution for this is awkwardly simple, yet I can't figure it out :p

Thanks in advance.