Send output from RunTool to macro

Send output from RunTool to macro

61
Advanced UserAdvanced User
61

    Aug 15, 2005#1

    Up to now, the only way I could figure out how to do this was to RunTool (e.g. "echo mytool.bat > C:\temp.txt"), then open the file in the macro, select the contents and copy it to a clipboard before I could use it.

    Is there another way? What I envision is to capture the value of some environment variable with the batch file, write to stdout, have GetString (or some new macro command) capture that value and do further processing.

    6,675585
    Grand MasterGrand Master
    6,675585

      May 27, 2006#2

      There are free and open source tools which lets you pipe DOS commands output directly to the windows clipboard. For example see Clipboard Loader or Pipe to clipboard. Such a tool could help you because it would be faster.
      Best regards from an UC/UE/UES for Windows user from Austria