Parameters for launch executable on detection event

3 posts · Closed

Sam Guest
22 Sep 2020

I've got the licence. Thanks for the quick help earlier. A few last questions though:
Are there parameters that I can pass to the 'launch executable on detection' event? E.g. device name, MAC address...
And does it use the new 'only one event per new unknown device' change?

Thanks!
Sam.

Ann SoftPerfect
22 Sep 2020

At the moment no parameters are passed, and the executable is only launched once per scan regardless how many devices were detected, as long as there is at least one detection.

We haven't found a clever way of passing multiple rows of data, but it's possible to extract and use it with sqlite3 from sqlite-tools. You could execute a batch script with something like this, which will dump all unknown devices:

sqlite3 "C:\Users\UserName\AppData\Local\WiFi Guard\WiFi Guard.DB" "SELECT * FROM DEVICE WHERE KNOWN = 0"

You can also export that to a CSV file; and there is a bunch of other options, see via:

sqlite3 --help
Sam Guest
22 Sep 2020

Thanks, that'll do just fine. Perhaps you could do a one-execution-per-device, to easily include parameters? Or just a JSON array? But I guess that'd get too complicated for normal users.

Cheers,
Sam.

This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in WiFi Guard if you have a similar question.