Eambo 0 Posted March 7, 2011 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 :-) Share this post Link to post Share on other sites
jvanegmond 306 Posted March 7, 2011 (edited) 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 EndFuncThe ;0/0 comment is a special way to tell AutoIt that nothing in the function should be executed. Edited March 7, 2011 by Manadar github.com/jvanegmond Share this post Link to post Share on other sites
Eambo 0 Posted March 7, 2011 Thank you very much for the response. Just so I'm clear, does the ^ mean anything preceding this? Eg: ^n means "if *something* plus n are pressed, do nothing? Share this post Link to post Share on other sites
jvanegmond 306 Posted March 7, 2011 Thank you very much for the response. Just so I'm clear, does the ^ mean anything preceding this? Eg: ^n means "if *something* plus n are pressed, do nothing?Yes, the ^ means what is described here: http://www.autoitscript.com/autoit3/docs/functions/Send.htm . Look for ^. github.com/jvanegmond Share this post Link to post Share on other sites
Eambo 0 Posted March 7, 2011 Brilliant, this functions exactly as I wanted. Thanks again for your time, and sorry for not digging deep enough :-( Share this post Link to post Share on other sites
Eambo 0 Posted March 7, 2011 (edited) <Double post, sorry> Edited March 7, 2011 by Eambo Share this post Link to post Share on other sites
jvanegmond 306 Posted March 7, 2011 No problem. I rather tell you where to find the appropriate information instead of telling you how it works directly.And by the way, the remark about ;0/0 was a joke. github.com/jvanegmond Share this post Link to post Share on other sites