Ju Zi's blog

Back

相关链接#

文档:https://www.autoitscript.com/autoit3/docs/

函数库:https://www.autoitscript.com/autoit3/docs/functions/

语法#

条件#


If (<expression>) Then

    <statement>

EndIf
plaintext

常用函数#

  • MsgBox:对话框

  MsgBox ( flag, "title", "text" [, timeout = 0 [, hwnd]] )

  • FileExists:检查文件是否存在

  FileExists ( "path" )

  • FileSelectFolder:选择文件夹

  FileSelectFolder ( "dialog text", "root dir" [, flag = 0 [, "initial dir" [, hwnd]]] )

  注:根目录可参考:https://www.autoitscript.com/autoit3/docs/appendix/clsid.htm

  • _Crypt_HashData:数据串计算哈希

    #include <Crypt.au3>

    _Crypt_DeriveKey ( $vPassword, $iAlgID [, $iHashPasswordID = $CALG_MD5] )
plaintext
  • _Crypt_HashFile:文件计算哈希

    #include <Crypt.au3>

    _Crypt_HashFile ( $sFilePath, $iAlgID )
plaintext
  • StringTrimLeft:修剪字符串左边

  StringTrimLeft(“ string”,count)

AU3语法
https://juzzi.qzz.io/blog/os/windows/au3
Author Ju Zi
Published at March 22, 2021
Comment seems to stuck. Try to refresh?✨