Page 1 of 2 12>
Topic Options
#161584 - 2006-05-05 02:49 AM Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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.

Top
#161585 - 2006-05-05 04:03 AM Re: Support for inactive user
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
There has to be some hook, but I was going to do something like monitoring the processes for screensaver running...
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#161586 - 2006-05-05 04:28 AM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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.

Top
#161587 - 2006-05-05 08:04 AM Re: Support for inactive user
Arend_ Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
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]


Edited by apronk (2006-05-05 08:38 AM)

Top
#161588 - 2006-05-05 08:51 AM Re: Support for inactive user
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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.
_________________________
!

download KiXnet

Top
#161589 - 2006-05-05 08:59 AM Re: Support for inactive user
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Well, the full source is included with the DLL so why not make it KiXtart friendly and recompile?
Top
#161590 - 2006-05-05 09:31 AM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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

Top
#161591 - 2006-05-05 10:03 AM Re: Support for inactive user
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
so, easiest to get to idletimer is to ask shawn to add lastinput api call to kixforms.
right?
_________________________
!

download KiXnet

Top
#161592 - 2006-05-05 07:27 PM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Quote:

so, easiest to get to idletimer is to ask shawn to add lastinput api call to kixforms.
right?




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.
 

Top
#161593 - 2006-05-05 07:38 PM Re: Support for inactive user
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

No, that would be of little value to I'm sure thousands of users who don't use KiXforms.



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.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#161594 - 2006-05-05 07:55 PM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Fine, disregard. Don't add it. Keep KiX as it is forever. Silly me, I'll just deploy KiXforms instead
Top
#161595 - 2006-05-05 08:15 PM Re: Support for inactive user
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
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.
_________________________
!

download KiXnet

Top
#161596 - 2006-05-05 08:23 PM Re: Support for inactive user
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

Fine, disregard. Don't add it. Keep KiX as it is forever. Silly me, I'll just deploy KiXforms instead



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.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#161597 - 2006-05-06 10:50 PM Re: Support for inactive user
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Quote:

so, easiest to get to idletimer is to ask shawn to add lastinput api call to kixforms.
right?




Kixforms already supports this.

Top
#161598 - 2006-05-07 07:30 AM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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 

 

Top
#161599 - 2006-05-07 12:49 PM Re: Support for inactive user
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
thought there already was this?
so, what's the diff between wkix32.exe and kix32.exe again?
_________________________
!

download KiXnet

Top
#161600 - 2006-05-07 03:08 PM Re: Support for inactive user
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
That would KiXlite and KiXstout
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#161601 - 2006-05-07 08:39 PM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
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.
Top
#161602 - 2006-05-07 11:08 PM Re: Support for inactive user
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not true doc.
as example, kix32.exe does not properly parse the commandline arguments. (see the bug posts some months ago)
_________________________
!

download KiXnet

Top
#161603 - 2006-05-08 05:36 AM Re: Support for inactive user
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Shouldn't even reply, but will.
Come on surely you're joking and you do understand the difference I'm suggesting.

Top
Page 1 of 2 12>


Moderator:  Lonkero, ShaneEP, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.07 seconds in which 0.023 seconds were spent on a total of 14 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org