Try this...
I haven't yet installed
Blue Iris 5, but I've noted that it now lets you issue HTTP commands and run scripts when a profile changes. See the 'On change'' button in the 'Profiles' dialog. This approach should allow you to exploit this capability.
This approach also makes use of the following HTTP Blue Iris HTTP Interface command to assign and clear macros up to 99 (Note: the Blue Iris Macros dialog allows you assign only macros %1 to %9).
Code:
/admin?macro=x&text={text}
{text} can also be a *.txt file assignment.
Code:
/admin?macro=x&text=file://{filespec}
(NOTE: A limitation I discovered in Blue Iris 4 that that you cannot assign files to macros above %31. When I notified Ken of this, he said he would remove this limitation in Blue Iris 5, but as previously noted I've not yet installed BI5, so I cannot confirm this.)
APPROACH:
Let's say you have 3 profiles... day, evening, night.
We will assign a different macro to each profile... say %21, %22, %23.
And to each macro, assign a string (or a file, e.g., %21 => C:/macro21.txt, %22 => C:/macro22.txt, %23 => C:/macro22.txt).
The string can contain any URL-legal characters (be sure to use %20 for spaces).
Instructions:
1. Via the Video Overlay dialog (Image 1), create 3 macros %21, %22, %23 with the text color & background opacity/colors you prefer. To make it easier while tweaking, start with them not on top of each other; you can overlay them when your are done testing.
2. Issue the following Blue Iris HTTP Interface commands to dynamically assign/un-assign text (or files) to the macros when the profile changes...
To 'day'
Code:
http://{yourIPandPort}/admin?macro=21&text=file://C:\macro21.txt&session=session
http://{yourIPandPort}/admin?macro=22&text=&session=session
http://{yourIPandPort}/admin?macro=23&text=&session=session
To 'evening'
Code:
http://{yourIPandPort}/admin?macro=21&text=&session=session
http://{yourIPandPort}/admin?macro=22&text=file://C:\macro22.txt&session=session
http://{yourIPandPort}/admin?macro=23&text=&session=session
To 'night'
Code:
http://{yourIPandPort}/admin?macro=21&text=&session=session
http://{yourIPandPort}/admin?macro=22&text=&session=session
http://{yourIPandPort}/admin?macro=23&text=file://C:\macro23.txt&session=session
NOTES:
1. In the Video Overlay dialog, zero-length (blank) macros display as %nn. See this
post.
2. About the '&session=session ' HTTP query parameter, see this
post.
Image 1
Blue Iris Video Overlay dialog before assigning a string (or file) using the HTTP Interface commands above.
View attachment 43387