I wrote a batch file that allows to have different sets of custom views and switch between them from inside LFS (see here). It works by having several views folders and renaming them to change the active one. I run it from LFS via the /exec command.
It works fine except for one detail: if LFS is in windowed mode when I trigger the script, a Terminal window briefly flashes on the screen as the batch is executed. Not a big problem, but not the best behavior either. However if I run that script when LFS is in full screen, LFS then loses focus and gets minimized to the tasks bar. Obviously, this is a bigger problem.
I'm not sure if this is a bug or a feature (might be for security reasons) but it's annoying and somehow defeats the usefulness of /exec. Is there a way to prevent LFS from losing focus, in this case? A way to run batch files in "silent" mode, maybe?
It works fine except for one detail: if LFS is in windowed mode when I trigger the script, a Terminal window briefly flashes on the screen as the batch is executed. Not a big problem, but not the best behavior either. However if I run that script when LFS is in full screen, LFS then loses focus and gets minimized to the tasks bar. Obviously, this is a bigger problem.
I'm not sure if this is a bug or a feature (might be for security reasons) but it's annoying and somehow defeats the usefulness of /exec. Is there a way to prevent LFS from losing focus, in this case? A way to run batch files in "silent" mode, maybe?