Hello,
I just purchased this and it works great. However, I run it via CLI in my automated process which works on many files and it constantly steals focus from other windows. Can this be changed please to not do this? It's done it twice just now while I was typing this message. Thanks a lot.
Running CLI Hidden Still Steals Focus
- AYColumbia
- Posts: 91
- Joined: Sun Feb 12, 2012 11:29 am
Running CLI Hidden Still Steals Focus
---
omay, arrylay, curlyq & associates
omay, arrylay, curlyq & associates
Re: Running CLI Hidden Still Steals Focus
I don't understand the problem. Please give me an exact step-by-step to reproduce the issue.
- AYColumbia
- Posts: 91
- Joined: Sun Feb 12, 2012 11:29 am
Re: Running CLI Hidden Still Steals Focus
Hey,
I'm sorry I never responded to this. I know it's been a while and I think I resolved this with a switch I was missing. I can't remember what the switch was (maybe -h which makes sense to me ), but bottom line, this is not an issue any longer.
Basically, what was happening initially, is when the command is run, the focus would be given to the DOS window that is running it. If I'm processing multiple files, every time DGI is started, focus would be given to the DOS window, so if I was writing an email, the DOS window would pop up and take focus.
I'm sorry I never responded to this. I know it's been a while and I think I resolved this with a switch I was missing. I can't remember what the switch was (maybe -h which makes sense to me ), but bottom line, this is not an issue any longer.
Basically, what was happening initially, is when the command is run, the focus would be given to the DOS window that is running it. If I'm processing multiple files, every time DGI is started, focus would be given to the DOS window, so if I was writing an email, the DOS window would pop up and take focus.
---
omay, arrylay, curlyq & associates
omay, arrylay, curlyq & associates
Re: Running CLI Hidden Still Steals Focus
If it's not an issue anymore, I won't investigate it further. Thank you for the update.
- AYColumbia
- Posts: 91
- Joined: Sun Feb 12, 2012 11:29 am
Re: Running CLI Hidden Still Steals Focus
Hey, I ran into this issue again today with DGDecNV. Do you want me to start a new thread in the proper location or just keep it here? I'll explain further later. Thanks.
---
omay, arrylay, curlyq & associates
omay, arrylay, curlyq & associates
Re: Running CLI Hidden Still Steals Focus
This came up recently. I was not able to find a viable solution. I am open to suggestions.
- AYColumbia
- Posts: 91
- Joined: Sun Feb 12, 2012 11:29 am
Re: Running CLI Hidden Still Steals Focus
Hmmm, interesting. Am glad I'm not the only one.neuron2 wrote:This came up recently. I was not able to find a viable solution. I am open to suggestions.
From what I can tell, you're spawning the UI in a hidden state, is that correct or is DGIndexNV a true CLI app, i.e., console app? It would be nice to have a UI executable, e.g., DGIndexUI which uses a CLI console app like DGIndexNV separately. I think that would alleviate this issue. Obviously it's only a pain when trying to index a LOT of files while doing other work and this weekend that was exactly the case for me, but generally, it's not a huge deal.
[EDIT] BTW, this is the kind of batch file I use to process the files:
Code: Select all
@echo off
setlocal EnableDelayedExpansion
for /f "delims=" %%f in ('dir /b /s "*.mkv"') do (
set dgifile=%%~nf.dgi
if not exist "!dgifile!" (
echo Creating DGI file "!dgifile!"
set dgidiexec=DGIndexNV.exe -i "%%f" -o "!dgifile!" -h -e
echo RUNNING: !dgidiexec!
!dgidiexec!
)
)
endlocal
---
omay, arrylay, curlyq & associates
omay, arrylay, curlyq & associates
Re: Running CLI Hidden Still Steals Focus
It's a Win32 GUI app. Sorry to disappoint you but I am not going to create and maintain a parallel pure console app.
- AYColumbia
- Posts: 91
- Joined: Sun Feb 12, 2012 11:29 am
Re: Running CLI Hidden Still Steals Focus
Yuck, that explains it.neuron2 wrote:It's a Win32 GUI app...
---
omay, arrylay, curlyq & associates
omay, arrylay, curlyq & associates