Variables in console window specifications
Posted: Wed Mar 02, 2022 6:40 pm
Another change from 3.1.4...
It used to be possible to specify variables in the window tooltype of Shell.info, for example "WINDOW=CON:////Amigashell Kick${kickstart}/AUTO/CLOSE" and the console window would expand that global variable and put it in the console title. This no longer works, instead the literal string "${kickstart}" shows up.
Similarly one could specify size and location of the console window using global OS variables... "WINDOW=${CON/TYPE}:${CON/X}/${CON/Y}/${CON/W}/${CON/H}/${CON/TITLE}/${CON/PARAMS}"... or simply let the entire specification reside in one global variables, and do "WINDOW=${CON}"
But no more... I suppose perhaps global variables are banned from all tooltypes or something like that?
New bug? Bug fixed?
I just know I liked the old way, was nice to be creative and use variables for dynamically change defaults for new console window - now one must edit tooltypes instead, a heck lot more complicated.
Btw. using ViNCEd or not doesn't make any difference.
It used to be possible to specify variables in the window tooltype of Shell.info, for example "WINDOW=CON:////Amigashell Kick${kickstart}/AUTO/CLOSE" and the console window would expand that global variable and put it in the console title. This no longer works, instead the literal string "${kickstart}" shows up.
Similarly one could specify size and location of the console window using global OS variables... "WINDOW=${CON/TYPE}:${CON/X}/${CON/Y}/${CON/W}/${CON/H}/${CON/TITLE}/${CON/PARAMS}"... or simply let the entire specification reside in one global variables, and do "WINDOW=${CON}"
But no more... I suppose perhaps global variables are banned from all tooltypes or something like that?
New bug? Bug fixed?
I just know I liked the old way, was nice to be creative and use variables for dynamically change defaults for new console window - now one must edit tooltypes instead, a heck lot more complicated.
Btw. using ViNCEd or not doesn't make any difference.