Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 20:52

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



can help in hot key

Discussion on can help in hot key within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 42
Received Thanks: 18
can help in hot key

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
osamaman2008 is offline  
Old 04/27/2012, 21:15   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 8,645
Received Thanks: 3,454
HotKeySet() ?
You can't use F12 cause it is reserved by Windows, according to its API.
Freddy​ is offline  
Old 04/27/2012, 21:26   #3
 
elite*gold: 0
Join Date: Jun 2010
Posts: 42
Received Thanks: 18
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 ?
osamaman2008 is offline  
Old 04/29/2012, 13:00   #4

 
theDJ-scripts's Avatar
 
elite*gold: 319
Join Date: May 2011
Posts: 147
Received Thanks: 31
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
theDJ-scripts is offline  
Reply




All times are GMT +1. The time now is 20:53.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.