Jump to content

hotkeySet

Members
  • Posts

    8
  • Joined

  • Last visited

hotkeySet's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Autoit help is user friendly. try it out i am also new to autoit
  2. #include <GuiComboBox.au3> #include <GUIConstantsEx.au3> $Debug_CB = False ; Check ClassName being passed to ComboBox/ComboBoxEx functions, set to True and use a handle to another control to see it work Global $iMemo _Main() Func _Main() Local $aSel, $hCombo ; Create GUI GUICreate("ComboBox Set Edit Sel", 400, 296) $hCombo = GUICtrlCreateCombo("", 2, 2, 396, 296) $iMemo = GUICtrlCreateEdit("", 2, 32, 396, 266, 0) GUICtrlSetFont($iMemo, 9, 400, 0, "Courier New") GUISetState() ; Add files _GUICtrlComboBox_BeginUpdate($hCombo) _GUICtrlComboBox_AddDir($hCombo, @WindowsDir & "\*.exe") _GUICtrlComboBox_EndUpdate($hCombo) ; Select Item _GUICtrlComboBox_SetCurSel($hCombo, 2) ; Set Edit Sel _GUICtrlComboBox_SetEditSel($hCombo, 0, 4) ; Get Edit Sel $aSel = _GUICtrlComboBox_GetEditSel($hCombo) MemoWrite(StringFormat("Edit Sel: %d - %d", $aSel[0], $aSel[1])) ; Loop until user exits Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete() EndFunc ;==>_Main ; Write a line to the memo control Func MemoWrite($sMessage) GUICtrlSetData($iMemo, $sMessage & @CRLF, 1) EndFunc ;==>MemoWrite
  3. hmm i did create this from using kodaForm builder.Taborder set is accurate in the formBuilder property settings. After compiling it ..taborder is altered. Guess i have to start over.
  4. $rp = GUICtrlCreateCombo("[0.01]", 263, 392, 89, 25) GUICtrlSetData(-1, "1|2|3|4|5|6|7") GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $poinput = GUICtrlCreateInput("0", 72, 480, 89, 26, BitOR($GUI_SS_DEFAULT_INPUT,$ES_RIGHT,$ES_NUMBER)) GUICtrlSetFont(-1, 12, 800, 0, "Verdana") GUICtrlSetColor(-1, 0xFF0000) $t100 = GUICtrlCreateInput("0", 165, 24, 89, 26, BitOR($GUI_SS_DEFAULT_INPUT,$ES_RIGHT,$ES_NUMBER)) GUICtrlSetFont(-1, 12, 800, 0, "Verdana") GUICtrlSetColor(-1, 0xFFFFFF) GUICtrlSetBkColor(-1, 0xC8C8C8) above taborder skips to $t100 from $rp. why?
  5. probably basic how can i edit tabOrder within the script other than using koda formDesigner. $d5 = GUICtrlCreateInput("0", 72, 158, 89, 26, BitOR($GUI_SS_DEFAULT_INPUT,$ES_RIGHT)) GUICtrlSetFont(-1, 12, 800, 0, "Verdana") GUICtrlSetColor(-1, 0x001F40) $d1 = GUICtrlCreateInput("0", 72, 191, 89, 26, BitOR($GUI_SS_DEFAULT_INPUT,$ES_RIGHT)) GUICtrlSetFont(-1, 12, 800, 0, "Verdana") GUICtrlSetColor(-1, 0x001F40) $d1c = GUICtrlCreateInput("0", 72, 225, 89, 26, BitOR($GUI_SS_DEFAULT_INPUT,$ES_RIGHT))
  6. this is my first question on this website forum. after compiling autoit program..the program is interfering with other application even when the GUI window is not active. For example. Bellow codes are running on my program. If I want type in something on other window like my email or typing something on a notepad "s" "g" "w" "j" "r" characters won't appear on notepad or browser or any other applications. If this is a bug is there is any patch to download and fix it quickly or any method to prevent this from happening? HotKeySet("{s}", "focus1") HotKeySet("{g}", "focus2") HotKeySet("{w}", "focus3") HotKeySet("{j}", "focus4") HotKeySet("{r}", "focus5") func focus1() GUICtrlSetState($Combo2, $GUI_FOCUS) EndFunc func focus2() GUICtrlSetState($Combo4, $GUI_FOCUS) EndFunc func focus3() GUICtrlSetState($Combo6, $GUI_FOCUS) EndFunc func focus4() GUICtrlSetState($Combo8, $GUI_FOCUS) EndFunc func focus5() GUICtrlSetState($Combo10, $GUI_FOCUS) EndFunc
×
×
  • Create New...