|
|
|||||||
Would like to request support for inactive user time-out. Not sure if Windows has a native method but maybe by checking mouse input and keyboard input. Maybe something like this. InActive('time period') Then based on return you could script what action you wanted to perform. |
||||||||
|
|
|||||||
There has to be some hook, but I was going to do something like monitoring the processes for screensaver running... |
||||||||
|
|
|||||||
Well checking screen saver probably not good since lot of people don't use it. I know their is code out on the Web for doing it and other Win32 applications support it so I'm sure it can be done. Guess it's up to Ruud to decide if it warrants his time to implement it or not. |
||||||||
|
|
|||||||
I know there is a GPO for that when a user is using Terminal Services, you can even let the GPO decide to log the user off after xxx minutes, it monitors the last input given by the user. Not sure if this can be done on a client computer though... [edit] I've found this, hope it might help you in the mean time Idle Time dll [/edit] |
||||||||
|
|
|||||||
this was discussed some years ago pretty heavily and no answer that would enable kixtarter to use the idle timer was found. if you will, let us know. |
||||||||
|
|
|||||||
Well, the full source is included with the DLL so why not make it KiXtart friendly and recompile? |
||||||||
|
|
|||||||
not an extensive search but I found these articles on the subject as well. Validated Idle Time Detection http://csdl.ics.hawaii.edu/techreports/01-04/01-04-idle.html Detecting Application Idleness http://www.codeproject.com/csharp/ApplicationIdle.asp Getting the user idle time with C# http://www.codeproject.com/csharp/GetIdleTimeWithCS.asp How to Use the VTune™ Performance Analyzer to Detect Idle Time http://www.intel.com/cd/ids/developer/asmo-na/eng/dc/threading/knowledgebase/43812.htm How can I detect user activity? http://groups.google.com/group/microsoft.public.win32.programmer.wmi/msg/cfce0781c5d63e55 HOW TO: Detect User Idle Time or Inactivity in Access 2000 http://support.microsoft.com/?kbid=210297 |
||||||||
|
|
|||||||
so, easiest to get to idletimer is to ask shawn to add lastinput api call to kixforms. right? |
||||||||
|
|
|||||||
Quote: No, that would be of little value to I'm sure thousands of users who don't use KiXforms. The request is to have NATIVE KIXTART support, not how do I get a work-around. |
||||||||
|
|
|||||||
Quote: How would that be any different than the thousands of users that have to carry the extra baggage of a bloated KiX to support something few would use? I mean, KiX is considered mostly a logon script processor and as such, users are generally not idle for long periods of time when they are logging on. Those that use KiX for admin scripting or advanced application scripting outside of the context of logon would be more likely to use KiXforms anyway. |
||||||||
|
|
|||||||
Fine, disregard. Don't add it. Keep KiX as it is forever. Silly me, I'll just deploy KiXforms instead |
||||||||
|
|
|||||||
oh, the gpo app deploy sucks big time... anyways, sure, having it in kixtart as a macro would be awesome. but knowing the slowness of progress on that part, I can't even dream that ever happening. sorry ruud, but I can't say any different here. |
||||||||
|
|
|||||||
Quote: No need to get your knickers in twist just cuz someone has an opinion different than yours. This is still an open forum where we are free to discuss the merit of any suggestion. |
||||||||
|
|
|||||||
Quote: Kixforms already supports this. |
||||||||
|
|
|||||||
Perhaps, but it was a joke, I'm not going to deploy KiXforms. Maybe time for that discussion that keeps coming up. Maybe have at least 2 versions of KiXtart. KiXtart Pro: For the hard-core scripter No limits or constraints on size or features KiXtart Home Editon: For the Logon only scripter Limited features and small size |
||||||||
|
|
|||||||
thought there already was this? so, what's the diff between wkix32.exe and kix32.exe again? |
||||||||
|
|
|||||||
That would KiXlite and KiXstout |
||||||||
|
|
|||||||
They are not different in any way except one uses console the other does not. Both are about same size and both have same features. |
||||||||
|
|
|||||||
not true doc. as example, kix32.exe does not properly parse the commandline arguments. (see the bug posts some months ago) |
||||||||
|
|
|||||||
Shouldn't even reply, but will. Come on surely you're joking and you do understand the difference I'm suggesting. |
||||||||
|
|
|||||||
yes, I do know what you are suggesting. and it won't happen, ever, hopefully. what should happen, ruud should add module support into kixtart in similar way as perl has it's modules. so, you wouldn't need to deploy anything, just say "feature needed" and it would be loaded. this way the core would remain small. on the other hand, these small additions won't bloat the executable as much as, for an example, the tokenization engine. or such module plugin support. imho. |
||||||||
|
|
|||||||
Quote: What a great idea, why has no-one suggested this before!? We could put the code into say, I dunno, a "library" and then dynamically link in the code only when we need it. If the library could register it's APIs and properties so that version control could be used and the library functions reused reliably among many different unrelated projects that would save an immense amount of time and effort for everyone. Of course the interfaces / APIs could then be used for automating the use of the library objects via scripting if a standard (common) object model was defined and the API interfaces are designed to support basic data types. "COM", "Automation", "DLL"? Nah, forget it - it'll never happen. |