Detection of user's leaving

Hi there,
With AS, can I trace that user hasn't been operating on the computer for a while, say 5 miniutes, and then do something?
theoretically speaking, to detect that there is no mouse or keyboard event for certain a period of time, and then do something~~ just like screensaver of Widows~~
Thanks in advance...

You can use the setTimeout() and clearTimeout() functions.  A setTimeout call would be initiated at the start and anytime some user interactivity is detected (key down, key up, mouse down, mouse up) the clearTimeout() function would be called and a new setTimeout function be initiated.  The function that the setTimeout function calls would process whatever command you intend at the 5 minute mark (300,000 msec).

Similar Messages

  • Best practise for SAP users who leave the company

    Hi
    Could anyone reccommend a best practise document or give advice on how to deal with SAP user ID's when employee's/contractors/consultants leave? I am the basis admin just starting an SAP implementation and we have no dedicated authorisation team at the moment, so I have been asked to look into this :
    Currently we set the validity date in SU01 to the termination date.
    We chack there are no background jobs scheduled under that user id, if there are, we change the job owner to a valid user (we try to run all background jobs under an admin account).
    We do not delete the user as from an audit point of view I believe it restricts information you can report on and there are implications on change documents etc, so best to lock it with validity dates.
    Can anyone advise further?
    We are running SAP ECC 5.0 on Windows 2003 64 Bit/MS SQL 2000.
    Thanks for any help.

    Hi,
    Different people will tell you different versions of what they believe is best practice, but in my opinion you are already doing reasonably well.
    What I prefer is
    1. Lock ID & set validity date.
    2. Assign user to user group LEAVER or EXPIRED or something similar (helps with reporting) out of SUIM/S_BCE* reports.
    3. Delete role assignment (should you need it, the role assignment will be in the change history docs anyway).
    4. Check background jobs & act accordingly.
    For ease of getting info I prefer not to delete the ID though plenty of people do.

  • How to install skype without it detecting my user ...

    Hi All
    I am giving my laptop to family member and have cleaned it up and re-installed skype so he can set it up for his own use, however I notice upon downloading again Skype automatically detects MY user profile.
    How can I uninstall and re-install skype so that it installs as a fresh version without my own user details being loaded up?  Is there some hidden file I need to delete?
    Thanks for any help.

    Uninstalling Skype does not normally remove user data
    While Skype is NOT running (i.e. it has been Quit), hold down the 'Windows' key (to the left of 'spacebar') and press r on your keyboard to open the Windows 'Run' dialog
    Enter %appdata%\Skype and then click OK
    In the right panel of Windows Explorer, select and delete the folders whose names correspond to Skype Names whose data you no longer wish to retain on this PC
    Regards,
    Neil

  • Need rights to archive mailboxes of users who leave the company.

    need rights to archive mailboxes of users who leave the company. Can anyone tell me to which group should I get added so that I can have permissions to archive mailbox ?
    Regards, h9ck3r.

    Hi,
    Here is a duplicate thread:
    https://social.technet.microsoft.com/Forums/en-US/383b75df-907d-4a86-8e62-86b2a4b00fb7/how-to-provide-an-exchange-user-permission-for-mailbox-archieve-?forum=exchangesvradmin
    If you want to access other's archive mailbox, you need to grant full access permissions to user primary mailbox first, then you can see personal archive from Outlook side.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Detect End User Computer for Incident Request -SCSM 2012 Self Service Portal

    Hi all,
    We want to automatically select user computer name when user submitting a incident request through SCSM 2012 Self Service Portal.  I would like to know is there are OOB feature or workaround without code. 
    Our client does not want to select computer from the list. :) Hence they need Self Service Portal to detect the user computer 
    Thanks in Advance

    Follow the step
    1. Create Request Offering and select "Query Results" for Computer
    2. Select Class : Computer (Advanced)
    3. Configure Criteria Primary User Set Token : Portal User Name
    4. Choose Display Column example: NetBIOS Computer Name
    5. Go to portal, once the form loaded it will auto populate the Primary User Computer
    Hope this help !

  • WARNING: [Labtools 27-3123] The debug hub core was not detected at User Scan Chain 1 or 3

    Hi all,
       When I'm trying to program my xc7k325t_0 on my Kintex 705 evaluation board, I get this error message:
    [Labtools 27-3123] The debug hub core was not detected at User Scan Chain 1 or 3. You must manually launch hw_server
    with -e "set xsdb-user-bscan <C_USER_SCAN_CHAIN scan_chain_number>" to detect the debug hub at User Scan Chain of 2 or 4.
    To determine the user scan chain setting, open the implemented design and use: get_property C_USER_SCAN_CHAIN [get_debug_cores dbg_hub].
     Here are the TCL Console messages: 
    INFO: [Labtools 27-1434] Device xc7k325t (JTAG device index = 0) is programmed with a design that has no supported debug core(s) in it.
      I have tried finding solutions to this, and that this error is because of the following:
    the clock connected to the debug hub is not free running clock or active
    the debug hub User Scan Chain setting is 2 or 4 (It is a 1 by default)
      It seems that there are no debug cores in my design. What should I do now? I am still a beginner, so any help will be greatly appreciated. Thanks.

    
    From which port are you taking the clock? Can you try using System Clock and let us know the results?
    set_property PACKAGE_PIN AD11 [get_ports SYSCLK_N]
    set_property IOSTANDARD LVDS [get_ports SYSCLK_N]
    set_property PACKAGE_PIN AD12 [get_ports SYSCLK_P]
    set_property IOSTANDARD LVDS [get_ports SYSCLK_P]
    Refer below link for more details:
    http://www.xilinx.com/support/documentation/boards_and_kits/kc705/ug810_KC705_Eval_Bd.pdf
    Thanks,
    Anusheel
    Search for documents/answer records related to your device and tool before posting query on forums.
    Search related forums and make sure your query is not repeated.
    Please mark the post as an answer "Accept as solution" in case it helps to resolve your query.
    Helpful answer -> Give Kudos
    -----------------------------------------------------------------------------------------------

  • Detect/prevent when user is leaving the page

    Is there any way from Flex to detect that the user is
    attempting to browse away from the web page the swf is loaded on
    and prevent it?
    I want to be able to warn the user that if they leave the
    page before they save they will lose changes.
    I am guessing no, but I am no guru so I thought I would put
    the question out here.
    Thanks.
    Marcus Mattingly

    "mlmadque" <[email protected]> wrote in
    message
    news:g8ep2r$ith$[email protected]..
    > Is there any way from Flex to detect that the user is
    attempting to browse
    > away
    > from the web page the swf is loaded on and prevent it?
    >
    > I want to be able to warn the user that if they leave
    the page before they
    > save they will lose changes.
    >
    > I am guessing no, but I am no guru so I thought I would
    put the question
    > out
    > here.
    You can use JavaScript on the page to do this.
    HTH;
    Amy

  • Detecting when user closes browser or moves to another site

    How can detect when a user has closed the browser or moved to another website

    No, it doesn't automatically fire any request to the server or so. Best what you can do at the server side is intercepting the session destroy using HttpSessionListener. You can also let Javascript fire a (ajaxical) request to the server side notifying that the onunload/onbeforeunload has occurred.
    Difference between onunload and onbeforeunload is by the way that the onbeforeunload can still prevent the page actually being left using a warning message like "are you sure to leave page?" and that it is NOT supported by w3 specification and thus not guaranteed to be supported in all webbrowsers (as far under each Opera -which very strictly follows the standards- doesn't support it).
    Edited by: BalusC on 25-aug-2009 11:04

  • How to program shift register to read only when a new user is detected from user?

    Hi,
    I'm currently developing a program for position control in labview. The program is quite simple, whereby user will input the distance that he wants the table to be in the labview program, and labview will send signal to move a motor that will turn a ball screw to move a table horizontally to the targetted position. The criteria is that the profile of the motor depends on the distance it needs to move, whether a two-phase (acceleration and deceleration) or three-phase (acceleration, constant velocity, deceleration) to reach the target position.
    The problem occurs when the user wants to enter a new position (second input) for the table, as the input by user is position the table needs to be but the input required to determine which profile the motor follows depends on the distance that the table will move to get to the targetted position. Therefore, I would need a function to store the input by user temporarily, and recall it only when a new input from user is detected. By this, I would be able to use the difference of the input (input [n+1] - input[n]) and feed it to determine which profile the motor follows and the input by user can be kept as the position he wants the table to travel to (to compare with encoder).
    I thought of using shift registers to do this, but I am not able to make it to perform the deduction ([n+1] - [n]) only when it detects a new input. When i try using shift register, it travels to the targetted position, and one it reaches it will travel back to the original position. For example, when a user input 90, it means the table needs to move to point 90. As the shift register is initialized to 0, it will move to point 90 (90-0 = 90) but upon reaching 90, the shift register sends a signal of 90 (90-90 = 0) and the table returns to it's initial position.
    Is there any way that I can delay the reading of shift register only when a new input is detected or is there another way for me to achieve what i want?
    I've tried searching the discussion forum and ni website but couldn't find similar problems. Thanks for your help in advance.
    Solved!
    Go to Solution.

    Hi,
    I've managed to get what I needed by using a shift register + event structure as suggested by Adnan. However, I face another problem after implementing SR+event. I've attached two files, first the original program and second the updated program using SR + event. (it's only the jpg file as I've forgotten to save the labview program, will upload the program by tomorrow.
    In the original program, I have an elapsed time that is able to run continuously when I run the program. In the updated program, my elapsed time don't seem to run continuously when I run the program (as shown by elapsed time indicator). I need the elapsed time to run continuously as a input to calculate my motor profile.
    I suppose this is caused by the introduction of the event structure, will adding a case structure to wrap the event structure solve the problem or is there another way to get pass this. Appreciate if someone could drop me a pointer or two.
    Thanks
    Attachments:
    Mar 16 - continuous elapsed time.png ‏12 KB
    Mar 16 - elapsed time not continuous after introducing shift register + event structure.png ‏17 KB

  • How do I detect a User interaction?

    This question arises more out of curiosity than necessity.
    Let's say I wanted to create a Java version of the board game Risk. Let's also say I have an image of the board (a map of the world). How would I be able to tell in which terrritory (country) the user clicked?
    Would I have to declare each territory as a seperate object?
    -- if so then how would you get the objects lined up nice and neat against each other
    Can I somehow include all possible XY coordinates of a territory?
    I scanned through the 2dGraphics tutorial but didn't see anything that satisfied this situation exactly.
    john

    OK,
    Solution 1)
    So then every territory would need to be a different
    color (different least as far as RGB:AAAAAB and
    RGB:AAAAAC so that the human eye could not
    distinguish), right? But is this good design?Well nations on maps are nomrally very different colors, so it doesn't matter if the human eye can distinguish the difference. I wouldn't say its bad design. In fact I think its pretty good.
    Solution #2)
    I still don't see how you can specify all possible
    coordinates inside a territory. Especially since
    almost all territories are not standard geometric
    shapes.Solution2 could be considered better design, but much, much harder to maintain and find mistakes. What Solution 2 does is specify each pixel in a boundary. You could make that boundary the whole map or make a seperate one for each nation (which is what I would do). It is just a map of the pixels, therefore you get pixel perfect collision detection. Store the numbers in a text file (rename the extension to .map though; it looks better and you know exactly what the file is for) for best design. The file might look something like:
    5, 10
    23, 2;
    56, 4;
    If the file looked like this, then a collision would only be detected or returned if the mouse was clicked at the position:
    x=5 y=10
    x=23 y=2
    x=56 y=4

  • Detecting a user abort in a Java Application

    Hi friends!
    I want to develop a Java Application that makes a back-up from a DataBase. If the application is aborted during the execution, It has to be concerned about the abort, for continuing the back-up in the point it was left, when the application is executed again.
    I would like to know if there is any way for a Java application to detect if the user has aborted the execution. It will be used to write in a file the last register of the DB that was copied.

    Please do not crosspost. If everyone started doing it, your own question would be pushed to third page in no time. Be considerate to others.
    Regards,

  • User license questions - old user is leaving

    Hi
    Because all user application licenses (CRM sales, CRM service, and Professional) are assigned to named users how do we deal with the situation when a member of staff leaves the company and we wish to re-assign that license which is now no longer used to a new user?  Can I do this from within SAP or do I need to email SAP regarding the name change?
    I have done a search on this site and the internet but cannot find any information regarding this.
    Thank you for any help.

    Here is the Content of that SAP Note.951816
    Symptom
    When trying to allocate licenses to users, the number of licenses available is less than the (number of total - number of licenses already assigned).
    (Menu Path: Administration -> License -> License Administration)
    Other terms
    license allocation, licenses available, license administration, SAP Business One, missing, less.
    Reason and Prerequisites
    Consulting
    Solution
    A user with a license allocated to her/him has been deleted from the system without deallocating the license first, or a company with users assigned has been deleted without deallocating the licenses first.
    Each time a license is allocated/deallocated an entry is generated in an xml file "B1Upf.xml"
    (Path: C:\Program Files\SAP\SAP Business One ServerTools\License\ B1Upf.xml).
    If a user/database is deleted without previous deallocation of a license that entry is not removed from the file thus taking up a license space.
    To resolve the issue follow these steps:
    1. Close all SAP Business One clients.
    2. Make a copy of the file (C:\Program Files\SAP\SAP Business One ServerTools\License\B1Upf.xml) and save it with a different name or in a different folder.
    3. Delete the original file.
    4. Stop/Start the license server.
    5. Connect to SAP Business One and assign the licenses (Administration -> License -> License Administration). You will need to reassign licenses for all your users.
    Note: To access the Notes Portal you should have a Valid SUserId
    Edited by: Sridharan T on Apr 21, 2009 5:31 PM

  • Detect if user is logged in

    Hi,
    several MSI applications need to be deployed to workstations in light-out
    distribution. For this, the applications are workstation associated and the
    "Distribute in Workstation Space" is enabled.
    Doing this way, the installation runs in the system contax, but how can I
    detect if there is NO user currently logged in ?
    I thought about the %USERNAME% and %NWUSERNAME" environment variables, but
    they are created in the "USER" space, thus not accessible for the system
    account.
    Any solution ?
    Many thanks in advance,
    Romain Petges

    Sorry,
    Forgot to mention that "Pre-Install" is activated.
    I already put a requirement on these variables, but the application is
    pre-installed, even with a user logged-in.... this causes big trouble
    (reboots)
    Romain
    "Craig Wilson" <[email protected]> wrote in message
    news:ggbGi.209$[email protected]..
    > Simply check for the non-existence of these variables in your app.
    >
    > NALDesk/NALWin are the programs used to deploy apps when a user is logged
    > in.
    > These will check the user space regardless of how the app is configured.
    >
    > This way your app will only distribute prior to a user logon.
    >
    >
    > --
    > Craig Wilson - MCNE, MCSE, CCNA
    > Novell Support Forums Volunteer Sysop
    >
    > Novell does not officially monitor these forums.
    >
    > Suggestions/Opinions/Statements made by me are solely my own.
    > These thoughts may not be shared by either Novell or any rational human.
    >
    > "Romain Petges" <[email protected]> wrote in message
    > news:87bGi.198$[email protected]..
    >> Hi,
    >>
    >> several MSI applications need to be deployed to workstations in light-out
    >> distribution. For this, the applications are workstation associated and
    >> the "Distribute in Workstation Space" is enabled.
    >>
    >> Doing this way, the installation runs in the system contax, but how can I
    >> detect if there is NO user currently logged in ?
    >>
    >> I thought about the %USERNAME% and %NWUSERNAME" environment variables,
    >> but they are created in the "USER" space, thus not accessible for the
    >> system account.
    >>
    >> Any solution ?
    >>
    >> Many thanks in advance,
    >> Romain Petges
    >>
    >>
    >
    >

  • Detect change user status on sales order

    Hi,
    I have a requirement that a custom program must start when a user puts a certain user status on a sales order.
    Problem is that I cannot detect on which event I can trigger this custom when the user status is changed. There seems not to be an entry in the change documents table, or an event triggered,...
    Does someone has already encountered such an issue ?
    thanks in advance !
    kind regards,
    Björn

    Hi Carl and Shiromani,
    thank you for your fast reply!
    I guess I will give it a try to do this with functions if I just can get it running with the cl_crm_mktpl_appl_base-class.
    As you suggested Shiromani the Save_and_commit gets an error in the assignment checks in the check_attributes-method.
    So I probably have to take a closer look why this method is returning an error-flag. Unfortunately I am not getting an error message - only an error flag is set.
    I will take a closer look at it today and keep you informed if I find out anything useful.
    Cheers,
    Dennis

  • Flash method to detect the user browser version.

    Hello, I found this property in Flash: System.capabilities.
    You can retreive some information about the user, but i did
    not find how i can detect
    what kind of browser they use to view the flash.
    example:
    trace(System.capabilities.os); // output is the current
    Operating system.. in my case "Windows XP"
    Does anyone know how to detect the browser and the version of
    it?
    Regards,
    Michea.

    I fully agree with you : it SHOULD but... it doesn't!
    Safari is the only browser with which it doesn't work...
    I tested it with IE, Netscape, Firefox and Opera.
    Do you run Safari on Mac OS X? so you could be able to test
    it...
    I put the code to get the values in the very first frame of
    the movie and it is on an "open" layer i.e. it is available from
    any frame of the movie.
    Any idea to "force" the script to work for Safari?
    For the Flash Tracer, I think the problem is Mac related...
    Anyway, thanks for your time!

Maybe you are looking for