Possible to send buffer as program command line parameter?

Announcements, general discussion
Post Reply
ObtuseAngle
Posts: 1
Joined: 22 Aug 2012, 05:25

Possible to send buffer as program command line parameter?

Post by ObtuseAngle » 22 Aug 2012, 08:05

One of the predefined actions is Run Application, so you can run e.g. myprogram.exe foo
Is it possible to send the buffer e.g. myprogram.exe [Buffer] ?

While writing this post I realised it might be possible to do this as a script (untested):

Dim wsh
Set wsh = CreateObject("Wscript.Shell")
wsh.Run "myprogram.exe " & HIDMacros.GetBuffer

Is there a better or faster way I should be using?

admin
Site Admin
Posts: 735
Joined: 01 Nov 2010, 13:00
Location: Prague, Czech republic
Contact:

Re: Possible to send buffer as program command line paramete

Post by admin » 23 Aug 2012, 07:36

Currently not, but good tip for improvement.
Ask me in a month why it takes me so long to implement :-)
Petr Medek
LUAmacros author

Post Reply