The following is added to my autorun.cfg
You can simply call TCFS2 once though:
Code: Select all
ShellExec /T /W:5000 "%COMMANDER_PATH%\plugins\TCFS2\TCFS2.exe" "/ea mm0 fs2"
Or just add
mm0 to
fs action in
TCSF2.ini:
Code: Select all
fs=c0 db0 dc0 cd0 th0 sb0 cl0 kb0 mm0
And I changed the fs2 command as below:
If you only use
fs2 action for setting start time parameters, you don't need to modify it, just pass these commands to TCSF2 command line. Standard
fs2 action is intended to use multiple times within a TC session, therefore it provides an undo possibility.
Also, it seems that you've modified
r1 action too (I doubt that you have 800x600 display). Finally, you only use two commands of
fs action so it may be easier to call them directly. And, since you call this command at TC start once, you don't need a switch capabilities, just single branch.
But when I press Win+D to go the Desktop and then go back to TC window, TC window will overspread the screen and the taskbar disappears. I need my taskbar! How can I fix it?
When a window has maximized state and no title bar, Windows thinks that it is a full-screen application, and hides taskbar. There is no way to disable such behaviour, but there is a way to bypass it: don't maximize TC window, but set its size and position instead to a size and position of a maximized window. So it will look just like a maximized window, but with taskbar at the bottom.
So, to summarize, for your current autorun parameters and for avoiding undesired taskbar behaviour, it should be enough to just call TCFS2 once from
Autorun.cfg with following command line (and w/o any TCFS2.ini modifications):
Code: Select all
ShellExec /T /W:5000 "%COMMANDER_PATH%\Addons\TCFS2\TCFS2.exe" '/ei c0 mm0 /ef "move(-4, -4, cxWorkArea + 8, cyWorkArea + 8)"'
(you should however check if maximized windows are larger than 4px each side on your system 'cause this may be different)