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
Get text from QM output
#1
I use "out" command to make comments while running macros.

I wish to save the text to a text file on my desktop.

I tried the following and I can't get it to work. The file is empty.

Code:
Copy      Help
out "test"
out "123"
out "456"
5

str s
int h
str sf="$desktop$\notestoday.txt"

h=id(2201 "Quick Macros") ;;qm output
s.getwintext(h)
s.setfile(sf)
run sf
end


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)