This command sends the output to a file. (from example 4 in the ahk-documentation)
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance Force
RunWait A_ComSpec " /c dir C:\ >>C:\temp\runTest.txt", , "Min"
Run "C:\temp\runTest.txt"
Persistent
Is it possible to create the result in UTF-8 instead?
How?
2) In the example above, the result is displayed in a program (notepad)
My wish is that the result directly end up in a variable/an object, so that it can then be analysed.
Is it possible?
How?