Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    Join Date
    Nov 2006
    Posts
    35

    blocking keyboard commnads

    hey everyone , need some help figuring how to block common keyboard commands such as:

    Alt Ctrl Del, Windows Run, Windows E, Windows Pause/Break, Ctrl Esc, Alt Tab, Windows key,

    Thank you

  2. #2
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728
    If this is on a kiosk system that your app will be running on permanently, and you just want to disable those keys completely, you could use KeyTweak to disable (some of) them. (I don't think this method would disable ctrl+alt+del as the system processes that before the scancode is translated.)

    Or were you wanting to disable those keys only while your application is running?
    --[[ Indigo Rose Software Developer ]]

  3. #3
    Join Date
    Nov 2006
    Posts
    306
    Hey emma,

    Maybe this is it what u want?

    if System.IsKeyDown(13) then
    -- The user is holding down the 'enter' key (13 is a virtual key integrated by --- AMS, you also can use the LuaScript).
    end

    I refer you to the helpfile inside AMS and search in the index on System.IsKeyDown. You find the values there !!
    This will definitely help you !

    Kind Regards,
    Casper

  4. #4
    Join Date
    Nov 2006
    Posts
    35
    hmmm... thank you guys. I'll see what I can do. Not experienced in AMS at all.

    I will have my kiosk running on a lot of computers and different locations so the easiest way to disable keyboard keys is in my kiosk, if its just one computer I can disable a lot of functions from gpedit
    Last edited by emma06; 11-21-2006 at 03:11 PM.

  5. #5
    Join Date
    Nov 2006
    Posts
    306
    nice !
    keep in mind you dont abuse this method for potential clients
    if you know what I mean

    Kind Regards,
    Casper

  6. #6
    Join Date
    Nov 2006
    Posts
    35
    hey guys this is not enough of information for me as a AMS starter. can I just pay someone to do this? or can I buy a plugin or some little copy and paste thingy.

  7. #7
    Join Date
    Apr 2005
    Posts
    172
    Well to disable ctrl+alt+del you can use a script like this (registery script):

    PHP Code:
    REGEDIT4 
    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
    "DisableTaskMgr"=dword:00000001 

    And here the reg script to enable it again:

    PHP Code:
    REGEDIT4 
    [HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
    "DisableTaskMgr"=dword:00000000 

    Remember that am not responsible for any damage it can bring on the system you install this script.

    (This change does not affect how Windows works, merely changes the results on pressing ctrl+alt+del.)
    Last edited by Ham; 11-24-2006 at 06:21 PM.

  8. #8
    Join Date
    Nov 2006
    Posts
    35
    Ham, so I can put this code in the 'when application starts, and reenable alt ctrl del on application exit, so this should work right?

  9. #9
    Join Date
    Nov 2006
    Posts
    24
    this works fine, but you need to call from an external web file for this to work, AMS dose not support php file running

    well i dont seem to be able to get it to work unless i call a remote file on a website.

  10. #10
    Join Date
    Apr 2005
    Posts
    172
    These are reg file's not php.

  11. #11
    Join Date
    Mar 2006
    Location
    Corpus Christi, Texas
    Posts
    132
    This is what i use for Alt Ctrl Del but use this at your own risk!

    Put this in On Startup.
    Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Pol icies\\System", "DisableTaskMgr", 1, REG_DWORD);
    Put this in On Shutdown.
    Registry.SetValue(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Pol icies\\System", "DisableTaskMgr", 0, REG_DWORD);

  12. #12
    Join Date
    Nov 2006
    Posts
    35
    yep that works and thank you so much. ....but, anyone can help adding more command blocking: like let's say how to block 'locking the workstation' when you click alt-ctrl-del it blocks the task manager but still brings up the alt-ctrl-del menu with options like change password, lock computer, etc.

  13. #13
    Join Date
    Nov 2006
    Posts
    306
    Hummm,
    It can be done with regkeys, but make sure you know what you doing.
    You want something like this: "gpedit.msc" in Start->Run (type without quotes) to give rights ?
    I will have a closer look this week, im very busy last week.
    -Casper

  14. #14
    Join Date
    Nov 2006
    Posts
    35
    Quote Originally Posted by usernameCasper View Post
    Hummm,
    It can be done with regkeys, but make sure you know what you doing.
    You want something like this: "gpedit.msc" in Start->Run (type without quotes) to give rights ?
    I will have a closer look this week, im very busy last week.
    -Casper

    gpedit will not work for this matter, Unless I can incorporate some script that will automatacly adjust all policy settings, I need to incorporate scipts in my kioks application.

  15. #15
    Join Date
    Nov 2006
    Posts
    306
    Did you try the use of KeyTweak ?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Help: Keyboard driver and logo folder to taskbar
    By laonux in forum Setup Factory 7.0
    Replies: 0
    Last Post: 01-07-2006, 03:39 AM
  2. help with keyboard drivers and logo setup
    By laonux in forum Setup Factory 7.0
    Replies: 0
    Last Post: 12-14-2005, 05:15 AM
  3. good on screen keyboard?
    By gnetcanada in forum AutoPlay Media Studio 5.0
    Replies: 7
    Last Post: 02-21-2005, 07:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts