I often have several .wbt scripts executing concurrently.
Is here a way to apply a unique icon to each, so I can easily differentiate them on the taskbar or tray?
Thanks.
If you compile them, you can use any icon group you want. That is as long as the icon group meets the WinBatch icon spec.
https://docs.winbatch.com/mergedProjects/WinBatch/WINBATCH_I__001.htm (https://docs.winbatch.com/mergedProjects/WinBatch/WINBATCH_I__001.htm)
I think the short answer to OP's question is: No.
You can't do it at the .WBT file level - only at the .EXE file level.
At least that's always been my understanding.
P.S. It makes me think that there should be some kind of runtime way to do it - i.e., some obscure DllCall that changes the currently displayed icon.
You can mess with the WinBatch executable because it is code signed.