Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - I.McGoldrick

Pages: [1]
1
PDW Support / Filter command file arguments
« on: 07 Apr 2018, 23:05:12 »
Hello all,

Can someone please explain how the arguments section is passed to the command file in super simple terms (with a how-to preferably).

I've been at this for days, read all the forum threads and googled but I'm getting nowhere. :-[

My objective is to run the following Windows command line which sends a pushover message to my device:

Code: [Select]
curl -s --form-string "token=MYUSERTOKEN" --form-string "user=MYUSERID" --form-string "message=%7" https://api.pushover.net/1/messages.json

where the '%7' is substituted for the filtered message.

I can successfully run this code from a batch file when I write some physical text in the space of '%7'.
However when i run it from PDW I can see no text is being substituted and it fails.

Thanks in advance.

Pages: [1]