can help in hot key

04/27/2012 21:02 osamaman2008#1
can help in hot key
i make the script but need some help that it
i went cant chick on Checkbox Use Only hot key for chick or no chick
and went Ctrl+C to open it and hid it can help?

Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=Form1.kxf
$Form1 = GUICreate("", 215, 235, 299, 218)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 112, 16, 97, 17)
$Label1 = GUICtrlCreateLabel("Hot Key Ctrl+1", 8, 16, 72, 17)
$Label9 = GUICtrlCreateLabel("Hot Key For Open and Closs Ctrl+C", 8, 208, 165, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit

	EndSwitch
WEnd
04/27/2012 21:15 Freddy​#2
HotKeySet() ?
You can't use F12 cause it is reserved by Windows, according to its API.
04/27/2012 21:26 osamaman2008#3
Quote:
Originally Posted by Freddy​ View Post
HotKeySet() ?
You can't use F12 cause it is reserved by Windows, according to its API.
Yes HotKeySet()

ok will change F12 to Ctrl + C
you can help me now ?
04/29/2012 13:00 theDJ-scripts#4
Quote:
Originally Posted by osamaman2008 View Post
Yes HotKeySet()

ok will change F12 to Ctrl + C
you can help me now ?

Ctrl + C = Copy a marked text or sth. else