AutoI Technology Curriculum Book part 70 ppsx
... Opt("WinWaitDelay", 250) ;250 milliseconds Function Reference AutoItSetOption Changes the operation of various AutoIt functions/parameters. AutoItSetOption ( "option" [, param] ) Parameters ... be pre-declared (default) OnExitFunc Sets the name of the function called when AutoIt exits (default is OnAutoItExit). PixelCoordMode Sets the way coords are used...
Ngày tải lên: 07/07/2014, 01:20
... GUICtrlCreateLabel("Hello world! How are you?", 30, 10) $okbutton = GUICtrlCreateButton("OK", 70, 50, 60) $dummywindow = GUICreate("Dummy window for testing ", 200, 100) GUISwitch($mainwindow) ... GUICtrlCreateLabel("Hello world! How are you?", 30, 10) GUICtrlCreateButton("OK", 70, 50, 60) GUISetState(@SW_SHOW) Sleep(2000) Bây g...
Ngày tải lên: 07/07/2014, 01:20
... Returns 0 nếu có bất kì nỗi nào trong quá trình copy Remarks nếu thư mục đích chưa có thì autoit sẽ tạo mới (nếu có thể) Related DirRemove, FileCopy Example Writes data to the STDOUT
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 33 ppsx
... INI file we will write to. It will be created on the Desktop. $sIni = @DesktopDir & "\AutoIt-Test.ini" ; Demonstrate creating a new section using a string as input. $sData =
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 43 ppsx
... EndSelect WEnd GUIDelete() EndFunc ;==>RichEditExample Func MyErrFunc() MsgBox(0, "AutoItCOM Test", "We intercepted a COM Error !" & @CRLF & @CRLF & _ ... GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0xff0000, 0xff0000) GUICtrlSetGraphic(-1, $GUI_GR_PIE, 50, 50, 40, 30, 270) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x00ff00, 0xffffff) GUICtrlSetGraphi...
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 50 ppsx
... GUICtrlCreateProgress(10, 40, 200, 20, $PBS_SMOOTH) $button = GUICtrlCreateButton("Start", 75, 70, 70, 20) GUISetState() $wait = 20; wait 20ms for next progressstep $s = 0; progressbar-saveposition
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 53 ppsx
... GUICtrlCreateLabel("", 0, 170, 350, 2, $SS_SUNKEN) $togglebutton = GUICtrlCreateButton("&Toggle", 35, 185, 70, 20) $infobutton = GUICtrlCreateButton("&Info", 105, 185, 70, 20) ... = GUICtrlCreateButton("Col./Exp.", 175, 185, 70, 20) $cancelbutton = GUICtrlCreateButton("&Cancel", 245, 185, 70, 20) GUICtrlSetState($ge...
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 57 ppsx
... Button controls are always painted in "Windows Classic style". Earlier versions of AutoIt (prior to v3.0.102) used the BGR format for defining color - newer versions use RGB by default
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 60 ppsx
... GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0xff0000, 0xff0000) GUICtrlSetGraphic(-1, $GUI_GR_PIE, 50, 50, 40, 30, 270) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x00ff00, 0xffffff) GUICtrlSetGraphic(-1, $GUI_GR_PIE, ... GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0, 0xff) GUICtrlSetGraphic(-1, $GUI_GR_PIE, 50, 50, 40, 30, 270) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x00ff00, 0xffffff) Return Value...
Ngày tải lên: 07/07/2014, 01:20