Clipboard is a good idea.
Other ideas:
-
Use the ${xrun_exit} variable. So if you close the
PowershellVBS script withWScript.Quit 5
, then in the macro${xrun_exit}
will have this value! (here: 5).
Edit: VBS code isWScript.Quit 5
, Powershell is simplyexit 5
-
Save the data as CSV file and then use
csvRead
(useful if a lot of data needs to be imported)