Giáo Trình How To Use AutoIt A Professional Manner part 115 ppsx
... Additional parameter required by some commands. option2 [optional] Additional parameter required by some commands. Return Value Depends on command as table below shows. In case of an error ... window/control, rather than just to the active window. ControlSend is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rathe...
Ngày tải lên: 08/07/2014, 21:20
... <GUIConstantsEx.au3> GUICreate("Hello World", 200, 100) GUICtrlCreateLabel("Hello world! How are you?", 30, 10) GUICtrlCreateButton("OK", 70, 50, 60) GUISetState(@SW_SHOW) ... strings remain. ["", 0] ] GUI (Giao diện đồ h a) AutoIt có khả năng tạo giao diện đồ h a tương tác với người dùng (GUIs) mà có các c a sổ và điều khiển. khái...
Ngày tải lên: 08/07/2014, 20:20
... "envvariable" [, "value"] ) Parameters envvariable Name of the environment variable to set. value [optional] Value to set the environment variable to. If a value is not used ... environment variable will be deleted. Return Value Success: Returns not 0. Failure: Returns 0. Remarks A environment variable set in this way will only be accessible to...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 21 ppsx
... the stream does not remove the data from the buffer, however, it does return the available data as normal. By default, data is returned in text format. By using the binary option, the data will ... programs which may be expecting data on this stream. ConsoleWriteError ( "data" ) Parameters data The data you wish to output. This may either be text or binary. Return Value .....
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 27 ppsx
... Description $array[4] = tên file Icon $array[5] = số thứ tự Icon $array[6] = kiểu chạy (@SW_SHOWNORMAL, @SW_SHOWMINNOACTIVE, @SW_SHOWMAXIMIZED) Related FileCreateShortcut Example ; Sets a shortcut ... Remarks mảng trả lại gồm 7 phần tử ch a các thông tin sau $array[0] = đường dẫn tới file mà shortcut dẫn tới $array[1] = thư mục làm việc $array[2] = Arguments $array[3] = Des...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 34 ppsx
... windows as well as top-level windows. Function Reference AutoItSetOption Changes the operation of various AutoIt functions/parameters. AutoItSetOption ( "option" [, param] ) Parameters ... Remarks You may use Opt() as an alternative to AutoItSetOption(). AutoIt will halt with an error message if the requested option is unknown. Options are as follows: Option...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 38 ppsx
... ; example 2 Func Example2() Local $gui, $background, $pic, $basti_stay, $msg Local $sFile = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE \AutoIt v3 \AutoIt& quot;, "InstallDir") & ... deactivated. $WS_EX_TRANSPARENT The window appears transparent because the bits of underlying sibling windows have already been painted. $WS_EX_TOOLWINDOW tạo ra một c a sổ công cụ, th...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 39 ppsx
... Opt('MustDeclareVars', 1) Example() Func Example() Local $Button_1, $Button_2, $msg GUICreate("My GUI Button") ; will create a dialog box that when displayed is centered ... $Button_1 = GUICtrlCreateButton("Run Notepad", 10, 30, 100) $Button_2 = GUICtrlCreateButton("Button Test", 0, -1) GUISetState() ; will display an dialog box with...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 50 ppsx
... Clean up resources _GDIPlus_GraphicsDispose($hGraphic) _GDIPlus_ImageDispose($hImage) _GDIPlus_ShutDown() ; Draw PNG image Func MY_WM_PAINT($hWnd, $Msg, $wParam, $lParam) _WinAPI_RedrawWindow($hGUI, ... example 3 PNG work araund by Zedna #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GDIPlus.au3> #Include <WinAPI.au3> Global $hG...
Ngày tải lên: 08/07/2014, 20:20
Giáo Trình How To Use AutoIt A Professional Manner part 64 ppsx
... GUISetAccelerators ( accelerators [, winhandle] ) Parameters accelerators A 2 dimensional array holding the accelerator table (See remarks). winhandle [optional] Windows handle as returned ... 1st accelerator, as returned by GUICtrlCreate () $array[1][0] = Hotkey of 2nd accelerator $array[1][1] = Control ID of the 2nd accelerator $array[n][0] = Hotkey of nth accelerator $array[n...
Ngày tải lên: 08/07/2014, 20:20