目 录CONTENT

文章目录
Lua

LuaAuxLib_按键精灵lua库

Administrator
2025-05-01 / 0 评论 / 0 点赞 / 36 阅读 / 0 字

触摸命令

KeyPress            --(virtual_key, 0)=KeyPress
                    --(virtual_key, 1)=KeyDown
                    --(virtual_key, 2)=KeyUp
Swipe               --(x1,y1,x2,y2,time)=Swipe
Tap                 --(x, y)=Tap
                    --(x, y, time)=Touch
TouchOperation      --(0, x, y, id, 0)=TouchDown
                    --(1, x, y, id, time)=TouchMove
                    --(2, 0, 0, id, 0)=TouchUp
WritePointerInput   --(0, x, y, id, 0)=TouchDownEvent
                    --(1, x, y, id, time)=TouchMoveEvent
                    --(2, 0, 0, id, 0)=TouchUpEvent

颜色命令

CmpColor
CmpColorEx
ColorDiff
ColorToRGB
FindColor
FindMultiColor
GetColorNum
GetPixelColor
GetPixelRGB
RGB

图像命令

FindPicture
EnableFrameBufferCapture
KeepReleaseScreenSnapshot
GetKeepState
SnapShot

文字命令

SetDict
UseDict
SetRowsNumber
SetOffsetInterval
FindStr
Ocr
SmartOcr

设备命令

GetDeviceID
GetScreenInfo            
                        --(0)=GetScreenX,
                        --(1)=GetScreenY, 
                        --(2)=GetScreenColorDep, 
                        --(3)=GetScreenRotation
​
GetRunningApp
GetSdcardDir
GetAppDataPath
KeepScreen
PlaySound
StopPlay
SetScreenScale
Shake
Vibrate

其他命令

Sleep
SendText
TracePrint
ShowMessage
RunApp
KillApp
ExtractAttachment
SetControlBarPos
SetAppSpeed

界面配置

ReadConfig
WriteConfig

重设控件

UI_SetTextView
UI_SetEditText
UI_SetButton
UI_SetRadioGroup
UI_SetCheckBox
UI_SetImageView
UI_SetSpinner
UI_SetLine
UI_SetWebView

属性

UI_SetText
UI_SetTitleText
UI_SetTextSize
UI_SetEnabled
UI_SetVisible
UI_SetColor
UI_SetEditInputType
UI_GetText
UI_GetTitleText
UI_GetEnabled
UI_GetColor
UI_GetVisible

方法

UI_GetValue
UI_Show
UI_Close
UI_ProFileHandle
UI_SetFullScreen
UI_SetPadding
UI_SetGravity

事件

UI_SetOnEvent

静态事件

UIP_GetAttribute
UIP_SetAttribute

设备命令

DEVICE_GetDeviceInfo        
                        --(0)=Device.Getip, 
                        --(1)=Device.GetImsi, 
                        --(2)=Device.GetModel, 
                        --(3)=Device.GetIccid, 
                        --(4)=GetNetworkTime
GetDPI

电话命令

PhoneCall
SendSMS

系统命令

GetClipText
SetClipText
ClearAppCache
ClearMemory
GetBatteryLevel
GetFront
AppIsFront
IsRunning
MemorySearch
MemoryRead
MemoryWrite
EngineVersion
OsVersion

文件命令

DIR_Copy
DIR_Create
DIR_Delete
DIR_Exist
DIR_Rename

日志命令

Logging_Open
Logging_Close

字符串命令

UTF8_InStr
UTF8_InStrRev
UTF8_Left
UTF8_Length
UTF8_StrCut
UTF8_Mid
UTF8_Right
UTF8_StringReverse
UTF8_StrnComp

加解密(编码)命令

Encode_Md5
Encode_GetJsonLib

网络地址

URL_OperationGet
URL_OperationPost

数学函数

VBS_Round
VBS_SGN

字符串函数

VBS_InStr
VBS_InStrRev
VBS_STRCUT
VBS_STRMID
VBS_Relpace
VBS_STRCMP
VBS_STRNCMP
VBS_GetBaseString

数组函数

NewArray
StringSplit
TableClone
TableSize

日期时间函数

GetTickCount


0

评论区