当前位置:网站首页>AHK common functions
AHK common functions
2022-06-10 16:59:00 【fqbqrr】
Common functions | explain |
|---|---|
FileExist | Check File or directory whether There is , And return its properties . |
GetKeyState | If Press down The specified key returns true (1), If According to the Then return false (0). |
InStr | from Left or right Search for a given string ( Whether in string ). |
RegExMatch | Determine whether the string contain Pattern ( Regular form ). |
RegExReplace | Replace In the string Pattern ( Regular form ). |
StrLen | There is... In the string How many? character Count . |
StrReplace | New string Replace the existing assignment Substring . |
StrSplit | Specify with Separator The separation string is Substring array . |
SubStr | From string The specified location take Substring . |
WinActive | Check Specify the window whether Activities And return its unique ID(HWND). |
WinExist | Check whether the There is Appoint window , And back to first Match the window's only ID(HWND). |
Other functions | explain |
|---|---|
Asc | Returns the specified string First byte or UTF-16 The value of the code unit . |
Chr | The symbol represented by numbers . |
DllCall | call DLL Internal function , Such as standard window API function . |
Exception | abnormal |
FileOpen | Open file |
Format | Format string |
Func | Take the function reference . |
GetKeyName/VK/SC | Take the key name / Text , Virtual key code or scan code . |
Hotstring | When the script runs establish , modify , Enable or disable Hot string . |
IL_XXX | add to Icon / picture , Create or delete ListView or TreeView Control uses ImageList The function of . |
InputHook | establish Collect or intercept Keyboard input objects . |
IsByRef | If you use Variable Provide designation ByRef Parameters , Then return to Non zero number . |
IsFunc | If... Exists in the script Appoint function , Then return to Nonzero Count . |
IsLabel | If the specified label is in Script in , Then return to Nonzero number . |
IsObject | If the specified value is object , Returns a nonzero number . |
LoadPicture | From file load Picture and return to Bitmap or icon Handle . |
LV_XXX | add to , Insert , Modify or delete ,ListView Of That's ok / Column Or get data from it function . |
MenuGetHandle | Take the menu Win32 Menu handle . |
MenuGetName | Take a given bottom layer Win32 Menu name of the menu handle . |
NumGet | return Storage At the specified address The offset Of Binary number . |
NumPut | Appoint Address Press... At the offset Binary system Store numbers . |
ObjAddRef/ObjRelease | Increase or decrease object Reference count . |
ObjBindMethod | establish call Of a given object method BoundFunc object . |
ObjGetBase | Take the object Base object . |
ObjRawGet | Bypass object Meta function , Take... From the object Key value pair . |
ObjRawSet | Bypass the object Meta function , In the object Store or overwrite Key value pair . |
ObjSetBase | Set the object Base object . |
ObjXXX | Object Type of built-in Method function , Such as ObjInsertAt. It is recommended to use the corresponding method . |
OnClipboardChange | register Function or function object , In the The contents of the clipboard Run when changes are made . |
OnError | Specify occurrence error Automatically run functions when . |
OnExit | Appoint Script Automatically run the function on exit . |
OnMessage | monitor news / event . |
Ord | Returns the specified string first Character Order number |
SB_XXX | towards StatusBar Add Text / Icon or Partition column . |
StrGet | from Memory address Copy string , Can be found in code page Inter conversion . |
StrPut | Copy String to memory address , Can be found in code page Inter conversion . |
RegisterCallback | Create... When called Machine code Address , Redirection in script call function . |
Trim/LTrim/RTrim | From the string Beginning and / Or the end Trim characters . |
TV_XXX | add to , Modify or delete TreeView term , Or from it Take the data . |
VarSetCapacity | Expand variables Capacity Or release Memory . |
Mathematical functions | explain |
|---|---|
Abs | The absolute value . |
Ceil | rounding To the nearest integer . |
Exp | return e( about 2.71828182845905) Of N Power . |
Floor | Next time |
Log | 10 Base logarithm |
Ln | e Base logarithm |
Max/Min | return Multiple numbers Of Maximum / minimum value . |
Mod | more than |
Round | Roundness |
Sqrt | square root . |
Sin/Cos/Tan | Triangle sine / cosine / tangent . |
ASin/ACos/ATan | In radians return Anti sine / Arccosine / Anyway . |
COM function | explain |
|---|---|
ComObjActive | Get registered COM object . |
ComObjArray | Create for COM Of Safe array . |
ComObjConnect | Connect COM Object's Event source To have Given prefix function . |
ComObjCreate | establish COM object . |
ComObject | Create representation By parameter or return value Delivered Type values object . |
ComObjEnwrap/ComObjUnwrap | packing / Unpack COM object . |
ComObjError | Enable or disable COM Error notification . |
ComObjFlags | Take or change control COM Wrapping object behavior sign . |
ComObjGet | return COM component-provided object quote . |
ComObjMissing | establish " Lack of parameter " Object to pass to COM Method . |
ComObjParameter | Press COM Method parameter packing Values and types . |
ComObjQuery | Inquire about COM object Interface or service . |
ComObjType | from COM Take... From the object Type information . |
ComObjValue | Fetch and store in COM In the package Value or pointer . |
边栏推荐
- Research Report on the development scale of Chinese sanatorium industry and the 14th five year plan (2022-2028)
- 【Proteus仿真】DS18B20+报警温度可调+LM016显示
- L1-069 tire pressure monitoring (15 points)
- Why do I need a thread pool? What is pooling technology?
- 直播预告 | 社交新纪元,共探元宇宙社交新体验
- Detailed steps for installing redis image in docker (easy to understand, suitable for novices to get started quickly)
- How to realize the website dark mode
- postman常用断言
- Link multiple alamofire requests - chain multiple alamofire requests
- Nat. Rev. Drug Discov. | AI在小分子药物发现中的应用:一个即将到来的浪潮?
猜你喜欢

迪赛智慧数——文字(文本墙):80后儿童时期风靡的25种玩具

Numpy learning notes
Example code of PHP for uploading multiple pictures

靠,嘉立创打板又降价

消除业务代码中if....else的五种方式

毕业季:致走向辽远未知的你

IDEA的Swing可视化插件JFormDesigner

解决idea打开某个项目卡住的问题

Institute of automation, Chinese Academy of Sciences: a review of the latest visual language pre training

ADB is not an internal or external command, nor is it a runnable program or batch file
随机推荐
Under the "plastic ban order", does the Hong Kong stock exchange pay for the deep excavation of degradable plastics by Zhongbao new materials?
Flood control and drainage monitoring automatic monitoring and telemetering terminal for flood control and drainage
VBA判断一个长字符串中是否包含另一个短字符串
亦舒作品经典语句
Introduction to postmangrpc function
Mm main tables and main fields_ SAP LIUMENG_
Basic use of pycharm
全链路追踪 & 性能监控工具 SkyWalking 实战
Li Ling: in six years, how did I go from open source Xiaobai to Apache top project PMC
How does Dao achieve decentralized governance?
postman常用断言
隐形马尔可夫模型及其训练(一)
adb不是内部或外部命令,也不是可运行的程序或批处理文件
[quick code] define the new speed of intelligent transportation with low code
How to build an enterprise middle office? You need a low code platform!
MySQL如何修改字段类型和字段长度
Roll up and break through the anxiety of 35 years old. The animation demonstrates how easy it is for the CPU to record the function call process and enter the Internet factory
Have you ever written a line of efficient code that equals 20 lines of others?
从零开始,如何拥有自己的博客网站【华为云至简致远】
Example code of PHP for uploading multiple pictures