Every now and then it rains, and it's the weekend.......
This forum is a bit quiet on weekends...... and so boredom sets in.
I have put this in "tutorials" because it is a fairly simple example of a tcl plugin....... and so it might help understanding of how to use tcl....
There are two plugins that you can use straight away. Either one of them (or both) should be put into any folder that Pd knows the path to.
Open the console in "verbose" mode (bottom right... log: 4-all) to find the folders that Pd is looking in, or would like to find but they are missing at startup. Create a missing one or a new one on your drive if you wish! For a new one you will need to add it to the Pd search paths in "preferences"....
As they (the "-plugin" files) both set the same parameters...... change the Pd window background colour for each day of the week........ if Pd finds both of them then the last one found will be executed last and so its values will be those that are retained.....
If you don't want it to run then just remove it from that folder!
It will run as Pd starts up.......
I have included a tcl colour list so that you can easily change the colours to some that you like.......
This one works with extended in windows, and should work for extended in all OS's.
screen_colour_extended .zip
Open up the foo_bar-plugin.tcl files to see what is inside......!!!
tcl is simple but very very fussy about its format...... the brackets look funny, but if you move them to the next/previous line then you will be sent a lot of red ink............. "Back to School"!!!.......
Here it is for vanilla (windows-yes... others-?)......
screen_colour_vanilla.zip
Please let me know of any success /failure...........
This (with a colour picker) should work for vanilla and extended.........
choose_colour.zip
David.