美文网首页
按键精灵里也可以使用Me对象

按键精灵里也可以使用Me对象

作者: 神梦无痕 | 来源:发表于2021-09-24 07:19 被阅读0次
所有对象的父类
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) 

相关文章

  • 按键精灵里也可以使用Me对象

    所有对象的父类 储存 Empty 的一个内置变量 储存 空数组(256) 的一个内置变量 子程序或函数里储存所有定...

  • 按键精灵脚本编写入门(一)

    按键精灵很像VB,也像易语言,如果你熟悉vb6.0那个时代的编程,可以很快的掌握,如果用惯了面向对象的语言,那大家...

  • this和对象原型

    1、为什么要使用this 这段代码可以在不同的上下文对象(me和you)中重复使用函数identify()和spe...

  • XP自动扫雷

    很老很老的代码,按键精灵使用的代码,做个存档

  • Kindle推送

    Step 1 登录网站 readfree.me click me, please 可以使用豆瓣登录(建议使用豆瓣登...

  • 关于使用权和道德以及社会文明进化的数理化分析

    “使用"对象可以是自已,也可以是他人社会对象,甚至是自然对象,这样,自产自足时的产品的使用对象是自已,出让产品成为...

  • 2020-06-09

    1.对象也可以当函数使用:

  • Vue3.0

    setup, 返回对象(可以直接使用,对象里有数据 方法)或渲染函数 引用对象 (响应引用对象) 数据改变,页面变...

  • matplotlib内容

    图标的基本元素 面向对象编程 可以用 或者,也可以用 创建figure对象,然后可以使用 创建figure对象,之...

  • Centos7 上安装使用xdotool,自动化脚本工具

    在Centos7上如果需要使用自动化脚本,那xdotool肯定当仁不让了,号称Linux下的按键精灵,可以自动输入...

网友评论

      本文标题:按键精灵里也可以使用Me对象

      本文链接:https://www.haomeiwen.com/subject/qtiagltx.html