Dynamic Control Page... about 80% there.... webkit2png
Posted: Thu Mar 09, 2017 11:58 pm
My goal is to have a control page within a control page.
I think I'm about 80% of the way to a solution.
I found a command line tool that creates a screen grab of a URL called webkit2png
www.paulhammond.org/webkit2png
After installing it.... from the terminal I can enter:
webkit2png -T http://10.0.6.10:8176/controlpage?name=ISLFloorPlanLS/ -D Desktop -s .5 -0 ISL
This saves one of my control pages as a PNG file on my desktop. I want to somehow get Indigo to execute the terminal command (via trigger) then I can use the file location URL of the saved .png file as a refreshing image in another control page. (control page within a control page)
Maybe someone with a bigger brain than me can turn something like this into a plugin?
Any help would be awesome.
I think I'm about 80% of the way to a solution.
I found a command line tool that creates a screen grab of a URL called webkit2png
www.paulhammond.org/webkit2png
After installing it.... from the terminal I can enter:
webkit2png -T http://10.0.6.10:8176/controlpage?name=ISLFloorPlanLS/ -D Desktop -s .5 -0 ISL
This saves one of my control pages as a PNG file on my desktop. I want to somehow get Indigo to execute the terminal command (via trigger) then I can use the file location URL of the saved .png file as a refreshing image in another control page. (control page within a control page)
Maybe someone with a bigger brain than me can turn something like this into a plugin?
Any help would be awesome.