Jump to content

Disabling Ctrl Key?


Recommended Posts

Hi Everyone! :-)

A little background on my project:

- I'm writing a fairly simple program to autoopen Internet Explorer in Kiosk mode, and sticking them into this window. So far I've disabled just about anything that can get you out of this. The last hurdle I'm facing is CTRL+N and CTRL+T (new window, new tab).

Is there a way to use Autoit to stop these functions from occuring? I was thinking some way of capturing ctrl and either:

- Disabling it

- Capturing and stopping it

- Capturing it and disabling N and T for a few seconds

Any advice would be very much appreciated :-)

Link to comment
Share on other sites

I feel we've Anyway,

HotKeySet("^n", "_HawkingHole")
HotKeySet("^t", "_HawkingHole")
HotKeySet("!{F4}", "_HawkingHole") ; Alt F4, good idea? Y/N

While 1
    Sleep(500)
WEnd

Func _HawkingHole()
    ;0/0
EndFunc

The ;0/0 comment is a special way to tell AutoIt that nothing in the function should be executed.

Edited by Manadar
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...