AutoI Technology Curriculum Book part 50 ppsx
... Global $hGUI, $hImage, $hGraphic, $hImage1 ; Create GUI $hGUI = GUICreate("Show PNG", 350, 301) ; Load PNG image _GDIPlus_StartUp() $hImage = _GDIPlus_ImageLoadFromFile("MAIN.png") ... 100, 100, 200) $progressbar1 = GUICtrlCreateProgress(10, 10, 200, 20) GUICtrlSetColor(-1, 32 250) ; not working with Windows XP Style $progressbar2 = GUICtrlCreateProgress(10...
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
... None. Related SoundPlay Example ; plays back a beep noise, at the frequency 500 for 1 second Beep (500 , 1000) Remarks định dạng chuẩn của file .ini như sau: [SectionName] ... [, Duration ]] ) Parameters Frequency tần số (hertz) [37 32,767], [0x25 0x7fff] mặc định là 500 hz Duration khoảng thời gian phát (mini giây) mặc định là 1000 ms (1 giây) Return Value...
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 43 ppsx
... GUICreate("My Draw") $del = GUICtrlCreateButton("Delete", 50, 165, 50) $a[1] = GUICtrlCreateGraphic(20, 50, 100, 100) GUICtrlSetBkColor(-1, 0xffffff) GUICtrlSetColor(-1, ... GUICtrlSetGraphic(-1, $GUI_GR_PIE, 50, 50, 40, 30, 270) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x00ff00, 0xffffff) GUICtrlSetGraphic(-1, $GUI_GR_PIE, 58, 50, 40, -60, 90) GUICtr...
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 53 ppsx
... $item, $hItem, $text GUICreate("My GUI with treeview", 350, 215) $treeview = GUICtrlCreateTreeView(6, 6, 100, 150, BitOR($TVS_HASBUTTONS, $TVS_HASLINES, $TVS_LINESATROOT, $TVS_DISABLEDRAGDROP, ... "compinfo"-text during initialization GUICtrlCreateLabel("", 0, 170, 350, 2, $SS_SUNKEN) $togglebutton = GUICtrlCreateButton("&Toggle", 3...
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
... GUICreate("My Draw") $del = GUICtrlCreateButton("Delete", 50, 165, 50) $a[1] = GUICtrlCreateGraphic(20, 50, 100, 100) GUICtrlSetBkColor(-1, 0xffffff) GUICtrlSetColor(-1, 0) ... GUICtrlSetGraphic(-1, $GUI_GR_PIE, 50, 50, 40, 30, 270) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, 0x00ff00, 0xffffff) GUICtrlSetGraphic(-1, $GUI_GR_PIE, 58, 50, 40, -60, 90) GUICt...
Ngày tải lên: 07/07/2014, 01:20
AutoI Technology Curriculum Book part 61 ppsx
... GUICtrlCreateLabel("my moving label", 10, 20) $button = GUICtrlCreateButton("Click to close", 50, 50) GUICtrlSetState(-1, $GUI_FOCUS) ; the focus is on this button GUISetState() While ... GUISetOnEvent($GUI_EVENT_RESTORE, "SpecialEvents") $ok1 = GUICtrlCreateButton("OK", 10, 30, 50) GUICtrlSetOnEvent(-1, "OKPressed")...
Ngày tải lên: 07/07/2014, 01:20