write line with macro
-
hello, I’m trying to write this line to a file with a macro:
192.168.2.12 desktop
I tried with macro recorder and it gave me this result:
<Action type="1" message="2170" wParam="0" lParam="0" sParam="1" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="9" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="2" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="." /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="1" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="6" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="8" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="." /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="2" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="." /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="1" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="2" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam=" " /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="d" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="e" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="s" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="k" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="t" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="o" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="p" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="
" /> <Action type="1" message="2170" wParam="0" lParam="0" sParam="
" />
is there a better way to do it? in one line/command?
thanks in advance