The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A quick question about outputting integer variables
#1
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:

Code:
Copy      Help
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)