所有对象的父类
TracePrint TypeName(Me)
储存 Empty 的一个内置变量
TracePrint TypeName(Me.F2730835_2229_445E_97C7_l3F76l2771DA)
储存 空数组(256) 的一个内置变量
TracePrint TypeName(Me.F2730835_2229_445E_97C7_l3F761277lDA)
TracePrint UBound(Me.F2730835_2229_445E_97C7_l3F761277lDA)
子程序或函数里储存所有定义的变量和参数的一个内置类
Call 子程序("SMWH", true, 2)
Sub 子程序(a, b, c)
Dim d
d = 3.14
Set names = Me.F2730835_2229_445E_97C7_l3F7612771DA
TracePrint names.a
TracePrint names.b
TracePrint names.c
TracePrint names.d
End Sub
子程序里储存 Nothing、Empty、 Variant(256) 的内置变量
Call 子程序()
Sub 子程序()
Set names = Me.F2730835_2229_445E_97C7_l3F7612771DA
Set var_Nothing = names.F2730835_2229_445E_97C7_13F76l2771DA
var_Empty = names.F273O835_2229_445E_97C7_l3F76l277lDA
var_Array = names.F2730835_2229_445E_97C7_l3F761277lDA
TracePrint TypeName(var_Nothing)
TracePrint TypeName(var_Empty)
TracePrint TypeName(var_Array) & "=" & UBound(var_Array)
End Sub
储存 SetSimMode 设置值的一个内置变量
' 未设置模拟方式前,输出该变量的值
TracePrint Me.g_iSimulateModeInVBSBlock
' 设置模拟方式为 2=超级模拟
SetSimMode 2
' 该变量的值也同时变成了 2
TracePrint Me.g_iSimulateModeInVBSBlock
Me支持的方法函数
Variant SetSimMode(SimMode As Variant)
Variant KeyPress(KeyCode As Variant, Count As Variant)
Variant KeyDown(KeyCode As Variant, Count As Variant)
Variant KeyUp(KeyCode As Variant, Count As Variant)
Variant KeyGroup(KeyCodes As Variant)
Variant LeftClick(Count As Variant)
Variant RightClick(Count As Variant)
Variant MiddleClick(Count As Variant)
Variant LeftDoubleClick(Count As Variant)
Variant LeftDown(Count As Variant)
Variant LeftUp(Count As Variant)
Variant RightDown(Count As Variant)
Variant RightUp(Count As Variant)
Variant MoveTo(MoveX As Variant, MoveY As Variant)
Variant MoveR(MoveX As Variant, MoveY As Variant)
Variant MouseWheel(Movement As Variant)
Variant KeyPressH(KeyCode As Variant, Count As Variant)
Variant KeyDownH(KeyCode As Variant, Count As Variant)
Variant KeyUpH(KeyCode As Variant, Count As Variant)
Variant LeftClickH(Count As Variant)
Variant RightClickH(Count As Variant)
Variant MiddleClickH(Count As Variant)
Variant LeftDoubleClickH(Count As Variant)
Variant LeftDownH(Count As Variant)
Variant LeftUpH(Count As Variant)
Variant RightDownH(Count As Variant)
Variant RightUpH(Count As Variant)
Variant MoveToH(MoveX As Variant, MoveY As Variant)
Variant MoveRH(MoveX As Variant, MoveY As Variant)
Variant MouseWheelH(Movement As Variant)
Variant KeyPressS(KeyCode As Variant, Count As Variant)
Variant KeyDownS(KeyCode As Variant, Count As Variant)
Variant KeyUpS(KeyCode As Variant, Count As Variant)
Variant LeftClickS(Count As Variant)
Variant RightClickS(Count As Variant)
Variant MiddleClickS(Count As Variant)
Variant LeftDoubleClickS(Count As Variant)
Variant LeftDownS(Count As Variant)
Variant LeftUpS(Count As Variant)
Variant RightDownS(Count As Variant)
Variant RightUpS(Count As Variant)
Variant MoveToS(MoveX As Variant, MoveY As Variant)
Variant MoveRS(MoveX As Variant, MoveY As Variant)
Variant MouseWheelS(Movement As Variant)
Variant SaveMousePos()
Variant RestoreMousePos()
Variant LockMouse()
Variant UnlockMouse()
Variant WaitKey()
Variant GetLastKey()
Variant WaitClick()
Variant GetLastClick()
Variant Delay(DelayTime As Variant)
Variant MessageBox(MessageText As Variant)
Variant SayString(MessageText As Variant)
Variant Beep()
Variant EndScript()
Variant PutAttachment(PutPath As Variant)
Variant TracePrint(PrintContent As Variant)
Variant LogStart(LogFileName As Variant)
Variant LogStop()
Variant ExitScript()
Variant RestartScript()
Variant StopThread(ThreadID As Variant)
Variant PauseThread(ThreadID As Variant)
Variant ContinueThread(ThreadID As Variant)
Variant GetThreadId()
Variant GetMacroID()
Variant GetExeDir()
Variant GetEnv(Name As Variant)
Variant GetEnvironmentVar(Name As Variant)
Variant SetEnv(Name As Variant, Value As Variant)
Variant SetEnvironmentVar(Name As Variant, Value As Variant)
Variant CompColor(XPos As Variant, YPos As Variant, ColorToComp As Variant, CompType As Variant)
Variant RunApp(AppPath As Variant)
Variant GetCursorPos(CursorX As Variant, CursorY As Variant)
Variant GetPixelColor(PosX As Variant, PosY As Variant)
Variant FindColor(iLeft As Variant, iTop As Variant, iRight As Variant, iBottom As Variant, szColor As Variant, FoundX As Variant, FoundY As Variant)
Variant FindCenterColor(iLeft As Variant, iTop As Variant, iRight As Variant, iBottom As Variant, szColor As Variant, FoundX As Variant, FoundY As Variant)
Variant FindColorEx(iLeft As Variant, iTop As Variant, iRight As Variant, iBottom As Variant, szColor As Variant, iType As Variant, fSimilar As Variant, FoundX As Variant, FoundY As Variant)
Variant ReadMemory(dwAddress As Variant, iType As Variant, ReadValue As Variant)
Variant FindPic(iLeft As Variant, iTop As Variant, iRight As Variant, iBottom As Variant, szFileName As Variant, fSimilar As Variant, FoundX As Variant, FoundY As Variant)
Variant FindPicEx(iLeft As Variant, iTop As Variant, iRight As Variant, iBottom As Variant, szFileName As Variant, fSimilar As Variant, szTransparentColor As Variant, FoundX As Variant, FoundY As Variant)
Variant GetCursorShape(iType As Variant)
Variant GetScreenResolution(ScreenX As Variant, ScreenY As Variant)
Variant SetCursorPos(CursorX As Variant, CursorY As Variant)
网友评论