Passing variables from Blue Iris to a script

_Peek

Young grasshopper
Joined
Jun 1, 2020
Messages
36
Reaction score
11
Location
South
I'm a bit stumped.

How would one pass a variable from Blue Iris to a script ?

( and then also, how would one test/validate the contents of a variable? (During testing) )

Variables/Macros being:
&CAM
&ALERT_JPEG

I'm trying to send an alert image to Telegram via an action within BlueIris:

1637909554272.png

Parameters: -F chat_id=-CHATID -F photo=@C:\BlueIris\Telegram_Alerts\$ALERT_JPEG -F $CAM

Executing "curl -F chat_id=-CHATID -F photo=@C:\BlueIris\Telegram_Alerts\Sample.jpg -F caption=Test" from a command line delivers the image to Telegram.

The moment I use variables, no errors, yet no image in Telegram either.
 

Attachments

Top