通过Autoit3中带有的实例,做出的一个简单的小东西,主要用于显示主机的IP地址和计算机名称,以及C盘空余的空间显示。同时可以显示IP更改后,程序自动的更新。
#NoTrayIcon
#include <GDIPlus.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>
#include <GuiConstantsEx.au3>
#include <GUIConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <FontConstants.au3>
;Opt("MustDeclareVars", 1)
#CS
SoftName: IP show
Author: Hanson
Date: 2010.1.30
#CE
; ===============================================================================================================================
; Global constants
; ===============================================================================================================================
Global Const $AC_SRC_ALPHA = 1
; ===============================================================================================================================
; Global variables
; ===============================================================================================================================
Global $hGUIMain,$hGUI, $iLabel1, $iLabel2, $iLabel3,$iLabel4,$iLabel5,$iLabel6, $hImage
;==================&#