 |
| Javascript How-To Ask your "How do I do this with Javascript?" questions here. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

February 6th, 2006, 06:45 AM
|
|
Authorized User
|
|
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
DISABLING CTRL-ALT-DELETE
HI FOLKS..I WANT TO DISABLE CTRL-ALT-DELETE(IN WINDOWS XP) USING A SCRIPT ...HW CAN I DO IT?
IF U HAVE ANY IDEA TO MY QUESTION..PLS ANS ME
|
|

February 6th, 2006, 06:51 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
No chance, you would need to implement your own version of MSGINA to do this and certainly not from a scripting level.
--
Joe ( Microsoft MVP - XML)
|
|

February 6th, 2006, 07:18 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
if you can detect the eventKey Alt, can you not detect the eventKey Ctrl?
www.crmpicco.co.uk
|
|

February 6th, 2006, 07:22 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
Yes, but the combination of those three keys is handled at a very low level. I think you'd have to install a Windows hook to cancel it.
I've seen some code that works on Windows 9x but not on NT. It's so dangerous because if a password protected screen saver or the like came up you'd never be able to log back in...
--
Joe ( Microsoft MVP - XML)
|
|

February 6th, 2006, 08:50 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
yeah, i totally agree with you Joe. its certainaly something thats not recommended!
www.crmpicco.co.uk
|
|

February 6th, 2006, 08:51 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
just out of interest, what is a Windows Hook?
www.crmpicco.co.uk
|
|

February 7th, 2006, 08:52 AM
|
|
Friend of Wrox
|
|
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Picco,
Its a function for trapping or monitoring whats going on inside an OS (usually at interrupt level). They can be local (for one or more App), or global, for the whole OS. They're used alot these days by hackers writing keylogging apps.
Cheers
Joe
|
|

February 7th, 2006, 11:31 AM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
|

February 7th, 2006, 12:23 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
thinking seriously about trying to completely disable Ctrl+Alt+Del - it not something that is not going to be either easy to do or something that can't be done with scripting
www.crmpicco.co.uk
|
|

February 10th, 2006, 03:30 AM
|
|
Authorized User
|
|
Join Date: Aug 2005
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hey folks..i have done it using Jscript ....can u pls tell me hw to disable alt key functions using registry..
|
|
 |