|
You last visited: Today at 14:30
Advertisement
Help me in the Code
Discussion on Help me in the Code within the AutoIt forum part of the Coders Den category.
04/30/2012, 15:48
|
#1
|
elite*gold: 0
Join Date: Jun 2010
Posts: 42
Received Thanks: 18
|
Help me in the Code
how make the script work ?
Code:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=bit.kxf
$Form1_1 = GUICreate("Test", 243, 331, 299, 238, 0)
GUISetBkColor(0xFF0000)
$Label1 = GUICtrlCreateLabel("Time:", 40, 192, 30, 17)
$Label2 = GUICtrlCreateLabel("Sec", 112, 216, 23, 17)
$Label4 = GUICtrlCreateLabel("Sec", 112, 192, 23, 17)
$Label5 = GUICtrlCreateLabel("Time:", 40, 96, 30, 17)
$Label6 = GUICtrlCreateLabel("Sec", 112, 144, 23, 17)
$Label9 = GUICtrlCreateLabel("Time:", 40, 216, 30, 17)
$Label11 = GUICtrlCreateLabel("Time:", 40, 144, 30, 17)
$Label12 = GUICtrlCreateLabel("Sec", 112, 168, 23, 17)
$Label13 = GUICtrlCreateLabel("Time:", 40, 168, 30, 17)
$Label14 = GUICtrlCreateLabel("Sec", 112, 120, 23, 17)
$Combo1 = GUICtrlCreateCombo("", 0, 0, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo2 = GUICtrlCreateCombo("", 0, 48, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo3 = GUICtrlCreateCombo("", 0, 168, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo4 = GUICtrlCreateCombo("", 0, 144, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo6 = GUICtrlCreateCombo("", 0, 96, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo7 = GUICtrlCreateCombo("", 0, 120, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo8 = GUICtrlCreateCombo("", 0, 192, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo9 = GUICtrlCreateCombo("", 0, 72, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo10 = GUICtrlCreateCombo("", 0, 216, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo11 = GUICtrlCreateCombo("", 0, 24, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo12 = GUICtrlCreateCombo("", 0, 264, 49, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "Tab")
$Combo13 = GUICtrlCreateCombo("", 0, 240, 49, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "Ctrl")
$Label15 = GUICtrlCreateLabel("Time:", 56, 240, 30, 17)
$Label16 = GUICtrlCreateLabel("Time:", 56, 264, 30, 17)
$Label17 = GUICtrlCreateLabel("Time:", 40, 120, 30, 17)
$Label19 = GUICtrlCreateLabel("Time:", 40, 72, 30, 17)
$Label20 = GUICtrlCreateLabel("Time:", 40, 0, 30, 17)
$Label21 = GUICtrlCreateLabel("Time:", 40, 24, 30, 17)
$Label22 = GUICtrlCreateLabel("Time:", 40, 48, 30, 17)
$Input4 = GUICtrlCreateInput("0", 72, 216, 36, 21)
$Input1 = GUICtrlCreateInput("0", 72, 168, 36, 21)
$Input6 = GUICtrlCreateInput("0", 72, 192, 36, 21)
$Input7 = GUICtrlCreateInput("0", 72, 120, 36, 21)
$Input8 = GUICtrlCreateInput("0", 72, 144, 36, 21)
$Input9 = GUICtrlCreateInput("0", 72, 72, 36, 21)
$Input10 = GUICtrlCreateInput("0", 72, 96, 36, 21)
$Input11 = GUICtrlCreateInput("0", 72, 24, 36, 21)
$Input12 = GUICtrlCreateInput("0", 72, 48, 36, 21)
$Input13 = GUICtrlCreateInput("0", 72, 0, 36, 21)
$Input2 = GUICtrlCreateInput("0", 88, 240, 36, 21)
$Input15 = GUICtrlCreateInput("0", 88, 264, 36, 21)
$Label3 = GUICtrlCreateLabel("Sec", 112, 96, 23, 17)
$Label7 = GUICtrlCreateLabel("Sec", 112, 72, 23, 17)
$Label18 = GUICtrlCreateLabel("Sec", 112, 24, 23, 17)
$Label25 = GUICtrlCreateLabel("Sec", 112, 48, 23, 17)
$Label26 = GUICtrlCreateLabel("Sec", 112, 0, 23, 17)
$Label27 = GUICtrlCreateLabel("Sec", 128, 264, 23, 17)
$Label30 = GUICtrlCreateLabel("Sec", 128, 240, 23, 17)
$Button1 = GUICtrlCreateButton("Stop", 176, 0, 35, 17)
$Button2 = GUICtrlCreateButton("Exit", -8, 288, 251, 17)
$Button3 = GUICtrlCreateButton("Stop", 176, 24, 35, 17)
$Button4 = GUICtrlCreateButton("Stop", 176, 48, 35, 17)
$Button5 = GUICtrlCreateButton("Stop", 176, 72, 35, 17)
$Button6 = GUICtrlCreateButton("Stop", 176, 96, 35, 17)
$Button7 = GUICtrlCreateButton("Stop", 176, 120, 35, 17)
$Button8 = GUICtrlCreateButton("Stop", 176, 144, 35, 17)
$Button9 = GUICtrlCreateButton("Stop", 176, 168, 35, 17)
$Button10 = GUICtrlCreateButton("Stop", 184, 192, 35, 17)
$Button11 = GUICtrlCreateButton("Stop", 200, 240, 35, 17)
$Button12 = GUICtrlCreateButton("Stop", 184, 216, 35, 17)
$Button13 = GUICtrlCreateButton("Stop", 200, 264, 35, 17)
$Button14 = GUICtrlCreateButton("Start", 136, 0, 35, 17)
$Button15 = GUICtrlCreateButton("Start", 136, 24, 35, 17)
$Button16 = GUICtrlCreateButton("Start", 136, 48, 35, 17)
$Button17 = GUICtrlCreateButton("Start", 136, 72, 35, 17)
$Button18 = GUICtrlCreateButton("Start", 136, 96, 35, 17)
$Button19 = GUICtrlCreateButton("Start", 136, 120, 35, 17)
$Button20 = GUICtrlCreateButton("Start", 136, 144, 35, 17)
$Button21 = GUICtrlCreateButton("Start", 136, 168, 35, 17)
$Button22 = GUICtrlCreateButton("Start", 144, 192, 35, 17)
$Button23 = GUICtrlCreateButton("Start", 160, 240, 35, 17)
$Button24 = GUICtrlCreateButton("Start", 144, 216, 35, 17)
$Button25 = GUICtrlCreateButton("Start", 160, 264, 35, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Stop()
Case $Button2
Exit
Case $Button3
Stop
Case $Button4
Stop()
Case $Button5
Stop()
Case $Button6
Stop()
Case $Button7
Stop()
Case $Button8
Stop()
Case $Button9
Stop()
Case $Button10
Stop()
Case $Button11
Stop()
Case $Button12
Stop()
Case $Button13
Stop()
Case $Button14
Start()
Case $Button15
Start()
Case $Button16
Start()
Case $Button17
Start()
Case $Button18
Start()
Case $Button19
Start()
Case $Button20
Start()
Case $Button21
Start()
Case $Button22
Start()
Case $Button23
Start()
Case $Button24
Start()
Case $Button25
Start()
$Input4 = GUICtrlCreateInput("0", 72, 216, 36, 21)
Case $Input1
Time()
Case $Input6
Time()
Case $Input7
Time()
Case $Input8
Time()
Case $Input9
Time()
Case $Input10
Time()
Case $Input11
Time()
Case $Input12
Time()
Case $Input13
Time()
Case $Input24
Time()
Case $Input15
Time()
EndSwitch
WEnd
Func Stop()
Func Start()
Func Time()
EndFunc
Stop to Stop Key Start to Start key and Time can help?
|
|
|
05/02/2012, 20:59
|
#2
|
elite*gold: 0
Join Date: Nov 2010
Posts: 120
Received Thanks: 89
|
Code:
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=bit.kxf
$Form1_1 = GUICreate("Test", 243, 331, 299, 238, 0)
GUISetBkColor(0xFF0000)
$Label1 = GUICtrlCreateLabel("Time:", 40, 192, 30, 17)
$Label2 = GUICtrlCreateLabel("Sec", 112, 216, 23, 17)
$Label4 = GUICtrlCreateLabel("Sec", 112, 192, 23, 17)
$Label5 = GUICtrlCreateLabel("Time:", 40, 96, 30, 17)
$Label6 = GUICtrlCreateLabel("Sec", 112, 144, 23, 17)
$Label9 = GUICtrlCreateLabel("Time:", 40, 216, 30, 17)
$Label11 = GUICtrlCreateLabel("Time:", 40, 144, 30, 17)
$Label12 = GUICtrlCreateLabel("Sec", 112, 168, 23, 17)
$Label13 = GUICtrlCreateLabel("Time:", 40, 168, 30, 17)
$Label14 = GUICtrlCreateLabel("Sec", 112, 120, 23, 17)
$Combo1 = GUICtrlCreateCombo("", 0, 0, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo2 = GUICtrlCreateCombo("", 0, 48, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo3 = GUICtrlCreateCombo("", 0, 168, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo4 = GUICtrlCreateCombo("", 0, 144, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo6 = GUICtrlCreateCombo("", 0, 96, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo7 = GUICtrlCreateCombo("", 0, 120, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo8 = GUICtrlCreateCombo("", 0, 192, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo9 = GUICtrlCreateCombo("", 0, 72, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo10 = GUICtrlCreateCombo("", 0, 216, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo11 = GUICtrlCreateCombo("", 0, 24, 33, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "1|2|3|4|5|6|7|8|9|10")
$Combo12 = GUICtrlCreateCombo("", 0, 264, 49, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "Tab")
$Combo13 = GUICtrlCreateCombo("", 0, 240, 49, 25, BitOR($CBS_DROPDOWNLIST,$CBS_AUTOHSCROLL))
GUICtrlSetData(-1, "Ctrl")
$Label15 = GUICtrlCreateLabel("Time:", 56, 240, 30, 17)
$Label16 = GUICtrlCreateLabel("Time:", 56, 264, 30, 17)
$Label17 = GUICtrlCreateLabel("Time:", 40, 120, 30, 17)
$Label19 = GUICtrlCreateLabel("Time:", 40, 72, 30, 17)
$Label20 = GUICtrlCreateLabel("Time:", 40, 0, 30, 17)
$Label21 = GUICtrlCreateLabel("Time:", 40, 24, 30, 17)
$Label22 = GUICtrlCreateLabel("Time:", 40, 48, 30, 17)
$Input4 = GUICtrlCreateInput("0", 72, 216, 36, 21)
$Input1 = GUICtrlCreateInput("0", 72, 168, 36, 21)
$Input6 = GUICtrlCreateInput("0", 72, 192, 36, 21)
$Input7 = GUICtrlCreateInput("0", 72, 120, 36, 21)
$Input8 = GUICtrlCreateInput("0", 72, 144, 36, 21)
$Input9 = GUICtrlCreateInput("0", 72, 72, 36, 21)
$Input10 = GUICtrlCreateInput("0", 72, 96, 36, 21)
$Input11 = GUICtrlCreateInput("0", 72, 24, 36, 21)
$Input12 = GUICtrlCreateInput("0", 72, 48, 36, 21)
$Input13 = GUICtrlCreateInput("0", 72, 0, 36, 21)
$Input2 = GUICtrlCreateInput("0", 88, 240, 36, 21)
$Input15 = GUICtrlCreateInput("0", 88, 264, 36, 21)
$Label3 = GUICtrlCreateLabel("Sec", 112, 96, 23, 17)
$Label7 = GUICtrlCreateLabel("Sec", 112, 72, 23, 17)
$Label18 = GUICtrlCreateLabel("Sec", 112, 24, 23, 17)
$Label25 = GUICtrlCreateLabel("Sec", 112, 48, 23, 17)
$Label26 = GUICtrlCreateLabel("Sec", 112, 0, 23, 17)
$Label27 = GUICtrlCreateLabel("Sec", 128, 264, 23, 17)
$Label30 = GUICtrlCreateLabel("Sec", 128, 240, 23, 17)
$Button1 = GUICtrlCreateButton("Stop", 176, 0, 35, 17)
$Button2 = GUICtrlCreateButton("Exit", -8, 288, 251, 17)
$Button3 = GUICtrlCreateButton("Stop", 176, 24, 35, 17)
$Button4 = GUICtrlCreateButton("Stop", 176, 48, 35, 17)
$Button5 = GUICtrlCreateButton("Stop", 176, 72, 35, 17)
$Button6 = GUICtrlCreateButton("Stop", 176, 96, 35, 17)
$Button7 = GUICtrlCreateButton("Stop", 176, 120, 35, 17)
$Button8 = GUICtrlCreateButton("Stop", 176, 144, 35, 17)
$Button9 = GUICtrlCreateButton("Stop", 176, 168, 35, 17)
$Button10 = GUICtrlCreateButton("Stop", 184, 192, 35, 17)
$Button11 = GUICtrlCreateButton("Stop", 200, 240, 35, 17)
$Button12 = GUICtrlCreateButton("Stop", 184, 216, 35, 17)
$Button13 = GUICtrlCreateButton("Stop", 200, 264, 35, 17)
$Button14 = GUICtrlCreateButton("Start", 136, 0, 35, 17)
$Button15 = GUICtrlCreateButton("Start", 136, 24, 35, 17)
$Button16 = GUICtrlCreateButton("Start", 136, 48, 35, 17)
$Button17 = GUICtrlCreateButton("Start", 136, 72, 35, 17)
$Button18 = GUICtrlCreateButton("Start", 136, 96, 35, 17)
$Button19 = GUICtrlCreateButton("Start", 136, 120, 35, 17)
$Button20 = GUICtrlCreateButton("Start", 136, 144, 35, 17)
$Button21 = GUICtrlCreateButton("Start", 136, 168, 35, 17)
$Button22 = GUICtrlCreateButton("Start", 144, 192, 35, 17)
$Button23 = GUICtrlCreateButton("Start", 160, 240, 35, 17)
$Button24 = GUICtrlCreateButton("Start", 144, 216, 35, 17)
$Button25 = GUICtrlCreateButton("Start", 160, 264, 35, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1, $Button3,$Button4, $Button5,$Button6, $Button7, $Button8 , $Button9, $Button10, $Button11, $Button12, $Button13
Stop()
Case $Button2
Exit
Case $Button14, $Button15, $Button16, $Button17, $Button18, $Button19, $Button20, $Button21, $Button22, $Button23, $Button24
Start()
Case $Button25
Start()
$Input4 = GUICtrlCreateInput("0", 72, 216, 36, 21)
Case $Input1, $Input6, $Input7, $Input8, $Input9, $Input10, $Input11, $Input12, $Input13, $Input14, $Input15
Time()
EndSwitch
WEnd
Func Stop()
Endfunc ;==> Stop
Func Start()
Endfunc ;==> Start
Func Time()
Endfunc ;==> Time
This version is a bit shorter then yours. But I dont get your question, what do you want us to explain?
|
|
|
Similar Threads
|
[Biete]1x Allstar Akali Code 2x Riot Nasus Code 7x PAX JAX Code
09/26/2011 - League of Legends Trading - 7 Replies
Hi,
ich habe die Codes gewonnen und möchte sie nun verkaufen da ich kein LoL mehr Spiele.
Skype: nashvil.
mit dem Punkt!
Ich erhalte die Paysafecards zuerst!
Egal wieviele TBM ihr habt!
|
Biete AW50F Code + Javelin Code + Kamazaki Code an
08/18/2011 - WarRock Trading - 6 Replies
Biete AW50F Code + Javelin Code + Kamazaki Code an
Was biete Ich
_________________________________________________ _ _________________
----- AW50F CODE
----- Javelin Code
|
Waffen Code´s - Premium Code´s - Dinar Code´s [VERKAUFBAR] ! ! !
03/10/2011 - WarRock Trading - 9 Replies
Waffen Code´s - Premium Code´s - Dinar Code´s ! ! !
Hallo Leute , ich verkaufe Code´s .
Die Code´s werde ich jetzt darunter hinschreiben und ihr könnt euch bei mir melden 50 % Günstiger Als WarRock Marketplace .
1.Waffen Code´s >>>
G36 Code
Xm8 Code
Javelin Code
|
All times are GMT +1. The time now is 14:30.
|
|