View Full Version : True Update Steals focus
I'm trying to make a high-interval update via the Windows Scheduled tasks. I can't get TrueUpdate to not steal the focus from the users window. I have tried not using screens at all with a "hidden" taskbar. I have played arround with the functions in TrueUpdate to change window order, hide window and so on, but it does not seem to help. It's not documented very well how and where to use these functions.
The only way I have found to hide the task is to get the Scheduled task to run under a different user than the logged-in user, but getting users to create a username just for that is a huge admin task.
taus,
I have logged this for our developers to look into for the next service release.
Adam Kapilik
Hello Adam,
What is the status of this item? We are still having some problems with it.
We had the same issue when we created a windows service to trigger the updates on a schedule. Our service ran in interactive mode so that a status icon could be displayed and everytime the TU client was called the user would lose focus on whatever window they were working with.
You might find that a service running without permission to interact with the desktop would not cause the problem but it (or any processes it spawns like the TU client) would also not be able to display tray icons, dialog messages, etc.
A suggestion to IR would be to add an action that provides a table of processes indexed by z-order. Then you could add a couple lines to the beginning of your script that would find the second window and move it back into focus. I'll add this to the suggestion board.
rkligman
06-28-2006, 10:08 AM
I agree. I generally love the product but the loss of focus issue is a real downer, especially if the focus doesn't go back to the original window which I believe I've seen on occasion for one reason or another. I run in silent mode and I'd rather not see anything popup on the taskbar.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.