Advertisement
oshkoshbagoshh

Autocomplete_Notepad++

Nov 6th, 2017
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.32 KB | None | 0 0
  1. ; Insert Parameter List for AHK Commands/Functions with Auto-Complete
  2. ; by boiler
  3. ;
  4. ; Thanks to Helgef and jeeswg for their effort on the list of commands, functions, and directives,
  5. ; which I have adapted and used in this script.
  6. ;
  7. ; Usage:
  8. ; - CapsLock: Start command/function entry, searching by from start of command/function name
  9. ; - Shift + CapsLock: Alternative commandfunction entry mode which will find anywhere in command/function name
  10. ; (to use different hotkeys, just find/replace "CapsLock" and "+CapsLock" with your own
  11. ; - Enter to select command/function (can use up/down arrows to navigate command/function list)
  12. ; - Parameter list will be displayed -- multiple versions if there are alternatives
  13. ; - Enter to select parameter list (can use up/down arrows to navigate alternate parameter lists)
  14. ; - Escape to return to normal editing
  15. ;
  16. ; It should work with any editor that allows pasting and returns caret positions (Sublime Text does not).
  17. ; Some may require special treatment as was done for SciTE4AHK (activates the edit control in case the Find box is open).
  18. ; It was tested with the editors below. If you don't see yours, add it and try it out.
  19.  
  20. SetTitleMatchMode, 1
  21. GroupAdd, Editors, ahk_exe notepad++.exe
  22. GroupAdd, Editors, ahk_exe ahk_exe SciTE.exe
  23. GroupAdd, Editors, AutoGUI ahk_class AutoHotkeyGUI
  24. GroupAdd, Editors, AHK Studio ahk_class AutoHotkeyGUI
  25.  
  26. CoordMode, Caret, Screen
  27.  
  28. Commands := []
  29. Parameters := {}
  30.  
  31. gosub, CommandListing
  32. Loop, Parse, CommandText, `n
  33. {
  34. Loop, Parse, A_LoopField, `;
  35. {
  36. if (A_Index = 1)
  37. {
  38. if (A_LoopField != LastCommand)
  39. {
  40. CurrentCommand := A_LoopField
  41. Commands.Push(CurrentCommand)
  42. Parameters[CurrentCommand] := []
  43. LastCommand := CurrentCommand
  44. }
  45. }
  46. if (A_Index = 2)
  47. Parameters[CurrentCommand].Push(A_LoopField)
  48. }
  49. }
  50.  
  51. Gui, -Caption +AlwaysOnTop +ToolWindow
  52. Gui, Font, s10, Consolas
  53. Gui, Margin, 0, 0
  54. Gui, Add, Edit, w170 h20 vCommandSearch gCommandTypingEvent
  55. Gui, Add, ListBox, h0 w170 vCommandChoice -HScroll
  56. Gui, Show, Hide AutoSize, Get Parameters
  57.  
  58. Gui, Params:-Caption +AlwaysOnTop +ToolWindow +Delimiter~ ; because pipe appears in parameter lists
  59. Gui, Params:Font, s10, Consolas
  60. Gui, Params:Margin, 0, 0
  61. Gui, Params:Add, ListBox, h0 w300 vParamDisplay -HScroll
  62. Gui, Params:Show, Hide AutoSize, Parameters List
  63.  
  64. return
  65. ; *** End of auto-execute section ***
  66.  
  67. CommandTypingEvent:
  68. GuiControlGet, CommandEntry,, CommandSearch
  69. PipedCommandList := "|"
  70. ListCount := 0
  71. if CommandEntry
  72. {
  73. if Anywhere
  74. {
  75. Loop, % Commands.MaxIndex()
  76. {
  77. if (InStr(Commands[A_Index], CommandEntry)) ; matches anywhere
  78. {
  79. PipedCommandList .= Commands[A_Index] "|"
  80. ListCount++
  81. }
  82. }
  83. }
  84. else
  85. {
  86. Loop, % Commands.MaxIndex()
  87. {
  88. if (SubStr(Commands[A_Index], 1, StrLen(CommandEntry)) = CommandEntry) ; matches at start
  89. {
  90. PipedCommandList .= Commands[A_Index] "|"
  91. ListCount++
  92. }
  93. }
  94. }
  95. }
  96.  
  97. GuiControl, Move, CommandChoice, % "h" 4 + 15 * (ListCount > 4 ? 5 : ListCount)
  98. GuiControl, % ListCount ? "Show" : "Hide", CommandChoice
  99. StringTrimRight, PipedCommandList, PipedCommandList, 1 ; remove last pipe
  100. GuiControl,, CommandChoice, %PipedCommandList%
  101. HighlightedCommand := 1
  102. GuiControl, Choose, CommandChoice, 1
  103. Gui, Show, AutoSize
  104. return
  105.  
  106. #IfWinActive, ahk_group Editors
  107.  
  108. CapsLock::
  109. +CapsLock::
  110. Anywhere := InStr(A_ThisHotkey, "+")
  111. GuiControl,, CommandSearch ; clear entry
  112. GuiControl,, CommandChoice, | ; clear list
  113. GuiControl, Hide, CommandChoice
  114. Gui, Show, x%A_CaretX% y%A_CaretY% AutoSize
  115. return
  116.  
  117. #IfWinActive, Get Parameters ahk_exe AutoHotkey.exe
  118. Esc::
  119. Gui, Cancel
  120. return
  121.  
  122. Up::
  123. if (HighlightedCommand > 1)
  124. {
  125. HighlightedCommand--
  126. GuiControl, Choose, CommandChoice, %HighlightedCommand%
  127. Gui, Show, AutoSize
  128. }
  129. return
  130.  
  131. Down::
  132. if (HighlightedCommand < ListCount)
  133. {
  134. HighlightedCommand++
  135. GuiControl, Choose, CommandChoice, %HighlightedCommand%
  136. Gui, Show, AutoSize
  137. }
  138. return
  139.  
  140. Enter::
  141. GuiControlGet, SelectedCommand,, CommandChoice
  142. if (!SelectedCommand || !CommandEntry || !ListCount)
  143. {
  144. Gui, Cancel
  145. return
  146. }
  147. Gui, Cancel
  148. WinWaitActive, ahk_group Editors
  149. CurrentCaretX := A_CaretX
  150. Paste(SelectedCommand)
  151. Loop
  152. Sleep, 50
  153. until A_CaretX > CurrentCaretX ; wait until paste is complete so gui is in correct place
  154. Sleep, 200
  155. CurrentCaretX := A_CaretX
  156. CurrentCaretY := A_CaretY
  157. PipedParamList := "~"
  158. MaxChars := 0
  159. Loop, % Parameters[SelectedCommand].MaxIndex()
  160. {
  161. PipedParamList .= Parameters[SelectedCommand][A_Index] "~"
  162. if (StrLen(Parameters[SelectedCommand][A_Index]) > MaxChars)
  163. MaxChars := StrLen(Parameters[SelectedCommand][A_Index])
  164. }
  165. GuiControl, Params:Move, ParamDisplay, % "w" (8 + MaxChars * 7) "h" (4 + 15 * Parameters[SelectedCommand].MaxIndex())
  166. StringTrimRight, PipedParamList, PipedParamList, 1 ; remove last pipe
  167. GuiControl, Params:, ParamDisplay, %PipedParamList%
  168. HighlightedParam := 1
  169. GuiControl, Params:Choose, ParamDisplay, 1
  170. Gui, Params:Show, x%CurrentCaretX% y%CurrentCaretY% AutoSize
  171. return
  172.  
  173. #IfWinActive, Parameters List ahk_exe AutoHotkey.exe
  174. Esc::
  175. Gui, Params:Cancel
  176. return
  177.  
  178. Up::
  179. if (HighlightedParam > 1)
  180. {
  181. HighlightedParam--
  182. GuiControl, Params:Choose, ParamDisplay, %HighlightedParam%
  183. Gui, Params:Show, AutoSize
  184. }
  185. return
  186.  
  187. Down::
  188. if (HighlightedParam < Parameters[SelectedCommand].MaxIndex())
  189. {
  190. HighlightedParam++
  191. GuiControl, Params:Choose, ParamDisplay, %HighlightedParam%
  192. Gui, Params:Show, AutoSize
  193. }
  194. return
  195.  
  196. Enter::
  197. Gui, Params:Cancel
  198. WinWaitActive, ahk_group Editors
  199. Paste(Parameters[SelectedCommand][HighlightedParam])
  200. return
  201.  
  202. Paste(text)
  203. {
  204. IfWinActive, ahk_exe ahk_exe SciTE.exe
  205. ControlFocus, Scintilla1, A ; so that find/replace pane doesn't get focus
  206. savedClip := ClipboardAll
  207. Clipboard := text
  208. Send, ^v
  209. Clipboard := savedClip
  210. }
  211.  
  212. CommandListing:
  213. CommandText =
  214. (Join`n %
  215. #If;[, Expression]
  216. #IfWinActive;[, WinTitle, WinText]
  217. #IfWinExist;[, WinTitle, WinText]
  218. #IfWinNotActive;[, WinTitle, WinText]
  219. #IfWinNotExist;[, WinTitle, WinText]
  220. #InputLevel;[, Level]
  221. #SingleInstance;[force|ignore|off]
  222. #UseHook;[On|Off]
  223. #Warn;[, WarningType, WarningMode]
  224. Abs;(Number)
  225. ACos;(Number)
  226. Asc;(String)
  227. ASin;(Number)
  228. ATan;(Number)
  229. AutoTrim;, On|Off
  230. Bind;(Parameters)
  231. BlockInput;, Mode
  232. Break;[, LoopLabel]
  233. Ceil;(Number)
  234. Chr;(Number)
  235. ClipWait;[, SecondsToWait, 1]
  236. Clone;()
  237. Close;()
  238. ComObjActive;(CLSID)
  239. ComObjArray;(VarType, Count1 [, Count2, ... Count8])
  240. ComObjConnect;(ComObject [, Prefix])
  241. ComObjCreate;(CLSID [, IID])
  242. ComObject;(VarType, Value [, Flags])
  243. ComObjEnwrap;(DispPtr)
  244. ComObjError;([Enable])
  245. ComObjFlags;(ComObject [, NewFlags, Mask])
  246. ComObjGet;(Name)
  247. ComObjMissing;()
  248. ComObjQuery;(ComObject, [SID,] IID)
  249. ComObjType;(ComObject)
  250. ComObjType;(ComObject, "Name")
  251. ComObjType;(ComObject, "IID")
  252. ComObjUnwrap;(ComObject)
  253. ComObjValue;(ComObject)
  254. Continue;[, LoopLabel]
  255. Control;, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  256. ControlClick;[, Control-or-Pos, WinTitle, WinText, WhichButton, ClickCount, Options, ExcludeTitle, ExcludeText]
  257. ControlFocus;[, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  258. ControlGet;, OutputVar, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  259. ControlGetFocus;, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  260. ControlGetPos;[, X, Y, Width, Height, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  261. ControlGetText;, OutputVar [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  262. ControlMove;, Control, X, Y, Width, Height [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  263. ControlSend;[, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
  264. ControlSetText;[, Control, NewText, WinTitle, WinText, ExcludeTitle, ExcludeText]
  265. CoordMode;, ToolTip|Pixel|Mouse|Caret|Menu [, Screen|Window|Client]
  266. Cos;(Number)
  267. Critical;[, Off]
  268. CtrlEvent;(CtrlHwnd, GuiEvent, EventInfo, ErrorLevel:="")
  269. DetectHiddenText;, On|Off
  270. DetectHiddenWindows;, On|Off
  271. DllCall;("[DllFile\]Function" [, Type1, Arg1, Type2, Arg2, "Cdecl ReturnType"])
  272. Drive;, Sub-command [, Drive , Value]
  273. DriveGet;, OutputVar, Cmd [, Value]
  274. DriveSpaceFree;, OutputVar, Path
  275. EnvAdd;, Var, Value [, TimeUnits]
  276. EnvDiv;, Var, Value
  277. EnvGet;, OutputVar, EnvVarName
  278. EnvMult;, Var, Value
  279. EnvSet;, EnvVar, Value
  280. EnvSub;, Var, Value [, TimeUnits]
  281. Exit;[, ExitCode]
  282. ExitApp;[, ExitCode]
  283. ExitFunc;(ExitReason, ExitCode)
  284. Exp;(N)
  285. FileAppend;[, Text, Filename, Encoding]
  286. FileCopy;, SourcePattern, DestPattern [, Flag]
  287. FileCopyDir;, Source, Dest [, Flag]
  288. FileCreateDir;, DirName
  289. FileCreateShortcut;, Target, LinkFile [, WorkingDir, Args, Description, IconFile, ShortcutKey, IconNumber, RunState]
  290. FileDelete;, FilePattern
  291. FileEncoding;[, Encoding]
  292. FileGetAttrib;, OutputVar [, Filename]
  293. FileGetShortcut;, LinkFile [, OutTarget, OutDir, OutArgs, OutDescription, OutIcon, OutIconNum, OutRunState]
  294. FileGetSize;, OutputVar [, Filename, Units]
  295. FileGetTime;, OutputVar [, Filename, WhichTime]
  296. FileGetVersion;, OutputVar [, Filename]
  297. FileInstall;, Source, Dest [, Flag]
  298. FileMove;, SourcePattern, DestPattern [, Flag]
  299. FileMoveDir;, Source, Dest [, Flag]
  300. FileOpen;(Filename, Flags [, Encoding])
  301. FileRead;, OutputVar, Filename
  302. FileRead;, OutputVar, *Pnnn Filename
  303. FileReadLine;, OutputVar, Filename, LineNum
  304. FileRecycle;, FilePattern
  305. FileRecycleEmpty;[, DriveLetter]
  306. FileRemoveDir;, DirName [, Recurse?]
  307. FileSelectFile;, OutputVar [, Options, RootDir\Filename, Prompt, Filter]
  308. FileSelectFolder;, OutputVar [, StartingFolder, Options, Prompt]
  309. FileSetAttrib;, Attributes [, FilePattern, OperateOnFolders?, Recurse?]
  310. FileSetTime;[, YYYYMMDDHH24MISS, FilePattern, WhichTime, OperateOnFolders?, Recurse?]
  311. Floor;(Number)
  312. For; Key [, Value] in Expression
  313. FormatTime;, OutputVar [, YYYYMMDDHH24MISS, Format]
  314. Func;(FunctionName)
  315. GetAddress;(Key)
  316. GetCapacity;()
  317. GetCapacity;(Key)
  318. GetKeyName;(Key)
  319. GetKeySC;(Key)
  320. GetKeyState;, OutputVar, KeyName [, Mode]
  321. GetKeyState;("KeyName" [, "Mode"])
  322. GetKeyVK;(Key)
  323. Gosub;, Label
  324. Goto;, Label
  325. GroupActivate;, GroupName [, R]
  326. GroupAdd;, GroupName [, WinTitle, WinText, Label, ExcludeTitle, ExcludeText]
  327. GroupClose;, GroupName [, A|R]
  328. GroupDeactivate;, GroupName [, R]
  329. Gui;, sub-command [, Param2, Param3, Param4]
  330. GuiContextMenu;(GuiHwnd, CtrlHwnd, EventInfo, IsRightClick, X, Y)
  331. GuiControl;, Sub-command, ControlID [, Param3]
  332. GuiControlGet;, OutputVar [, Sub-command, ControlID, Param4]
  333. GuiSize;(GuiHwnd, EventInfo, Width, Height)
  334. HasKey;(Key)
  335. Hotkey;, KeyName [, Label, Options]
  336. Hotkey;, IfWinActive/Exist [, WinTitle, WinText]
  337. Hotkey;, If [, Expression]
  338. Hotkey;, If, % FunctionObject
  339. if; (expression)
  340. IfEqual;, var, value
  341. IfExist;, FilePattern
  342. IfGreater;, var, value
  343. IfGreaterOrEqual;, var, value
  344. IfInString;, var, SearchString
  345. IfLess;, var, value
  346. IfLessOrEqual;, var, value
  347. IfMsgBox;, ButtonName
  348. IfNotEqual;, var, value
  349. IfNotExist;, FilePattern
  350. IfNotInString;, var, SearchString
  351. IfWinActive;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  352. IfWinExist;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  353. IfWinNotActive;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  354. IfWinNotExist;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  355. ImageSearch;, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ImageFile
  356. IniDelete;, Filename, Section [, Key]
  357. IniRead;, OutputVar, Filename, Section, Key [, Default]
  358. IniRead;, OutputVarSection, Filename, Section
  359. IniRead;, OutputVarSectionNames, Filename
  360. IniWrite;, Value, Filename, Section, Key
  361. IniWrite;, Pairs, Filename, Section
  362. Input;[, OutputVar, Options, EndKeys, MatchList]
  363. InputBox;, OutputVar [, Title, Prompt, HIDE, Width, Height, X, Y, Font, Timeout, Default]
  364. Insert;(StringOrObjectKey, Value)
  365. InsertAt;(Pos, Value1 [, Value2, ... ValueN])
  366. InStr;(Haystack, Needle [, CaseSensitive = false, StartingPos = 1, Occurrence = 1])
  367. IsByRef;(UnquotedVarName)
  368. IsByRef;(ParamIndex)
  369. IsFunc;(FunctionName)
  370. IsLabel;(LabelName)
  371. IsObject;(ObjectValue)
  372. IsOptional;(ParamIndex)
  373. KeyWait;, KeyName [, Options]
  374. Length;()
  375. ListLines;[, On|Off]
  376. Ln;(Number)
  377. LoadPicture;(Filename [, Options, ByRef ImageType])
  378. Log;(Number)
  379. Loop;[, Count]
  380. Loop;, Files, FilePattern [, Mode]
  381. Loop;, FilePattern [, IncludeFolders?, Recurse?]
  382. Loop;, Parse, InputVar [, Delimiters, OmitChars]
  383. Loop;, Read, InputFile [, OutputFile]
  384. Loop;, Reg, RootKey[\Key, Mode]
  385. Loop;, RootKey [, Key, IncludeSubkeys?, Recurse?]
  386. LTrim;(String, OmitChars = " `t")
  387. MaxIndex;()
  388. Menu;, MenuName, Cmd [, P3, P4, P5]
  389. MenuGetHandle;(MenuName)
  390. MenuGetName;(Handle)
  391. MinIndex;()
  392. Mod;(Dividend, Divisor)
  393. MouseClick;[, WhichButton , X, Y, ClickCount, Speed, D|U, R]
  394. MouseClickDrag;, WhichButton, X1, Y1, X2, Y2 [, Speed, R]
  395. MouseGetPos;, [OutputVarX, OutputVarY, OutputVarWin, OutputVarControl, 1|2|3]
  396. MouseMove;, X, Y [, Speed, R]
  397. MsgBox;, Text
  398. MsgBox;[, Options, Title, Text, Timeout]
  399. Next;(OutputVar1 [, OutputVar2, ...])
  400. NumGet;(VarOrAddress [, Offset = 0][, Type = "UPtr"])
  401. NumPut;(Number, VarOrAddress [, Offset = 0][, Type = "UPtr"])
  402. ObjAddRef;(Ptr)
  403. ObjBindMethod;(Obj, Method, Params)
  404. ObjRawSet;(Object, Key, Value)
  405. ObjRelease;(Ptr)
  406. OnClipboardChange;(Func [, AddRemove])
  407. OnExit;[, Label]
  408. OnMessage;(MsgNumber [, Function, MaxThreads])
  409. OnMessage;(MsgNumber, "FunctionName")
  410. OnMessage;(MsgNumber, "")
  411. OnMessage;(MsgNumber)
  412. OnMessage;(MsgNumber, FuncObj)
  413. OnMessage;(MsgNumber, FuncObj, 1)
  414. OnMessage;(MsgNumber, FuncObj, -1)
  415. OnMessage;(MsgNumber, FuncObj, 0)
  416. _NewEnum;()
  417. Ord;(String)
  418. OutputDebug;, Text
  419. Pause;[, On|Off|Toggle, OperateOnUnderlyingThread?]
  420. PixelGetColor;, OutputVar, X, Y [, Alt|Slow|RGB]
  421. PixelSearch;, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, Variation, Fast|RGB]
  422. Pop;()
  423. PostMessage;, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
  424. Process;, Cmd [, PID-or-Name, Param3]
  425. Progress;, Off
  426. Progress;, ProgressParam1 [, SubText, MainText, WinTitle, FontName]
  427. Push;([ Value, Value2, ..., ValueN ])
  428. Random;, OutputVar [, Min, Max]
  429. Random;, , NewSeed
  430. RawRead;(VarOrAddress, Bytes)
  431. RawWrite;(VarOrAddress, Bytes)
  432. ReadLine;()
  433. ReadNumType;()
  434. RegDelete;, RootKey, SubKey [, ValueName]
  435. RegExMatch;(Haystack, NeedleRegEx [, UnquotedOutputVar = "", StartingPosition = 1])
  436. RegExReplace;(Haystack, NeedleRegEx [, Replacement = "", OutputVarCount = "", Limit = -1, StartingPosition = 1])
  437. RegisterCallback;("FunctionName" [, Options = "", ParamCount = FormalCount, EventInfo = Address])
  438. RegRead;, OutputVar, RootKey, SubKey [, ValueName]
  439. RegWrite;, ValueType, RootKey, SubKey [, ValueName, Value]
  440. Remove;(FirstKey, LastKey)
  441. RemoveAt;(Pos [, Length])
  442. Return;[, Expression]
  443. Round;(Number [, N])
  444. RTrim;(String, OmitChars = " `t")
  445. Run;, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  446. RunAs;[, User, Password, Domain]
  447. RunWait;, Target [, WorkingDir, Max|Min|Hide|UseErrorLevel, OutputVarPID]
  448. Seek;(Distance [, Origin = 0])
  449. SendLevel;, Level
  450. SendMessage;, Msg [, wParam, lParam, Control, WinTitle, WinText, ExcludeTitle, ExcludeText, Timeout]
  451. SetBatchLines;, 20ms
  452. SetBatchLines;, LineCount
  453. SetCapacity;(MaxItems)
  454. SetCapacity;(Key, ByteSize)
  455. SetCapsLockState;[, State]
  456. SetControlDelay;, Delay
  457. SetDefaultMouseSpeed;, Speed
  458. SetEnv;, Var, Value
  459. SetFormat;, NumberType, Format
  460. SetKeyDelay;[, Delay, PressDuration, Play]
  461. SetMouseDelay;, Delay [, Play]
  462. SetNumLockState;[, State]
  463. SetRegView;, RegView
  464. SetScrollLockState;[, State]
  465. SetStoreCapslockMode;, On|Off
  466. SetTimer;[, Label, Period|On|Off|Delete, Priority]
  467. SetTitleMatchMode;, MatchMode
  468. SetTitleMatchMode;, Fast|Slow
  469. SetWinDelay;, Delay
  470. SetWorkingDir;, DirName
  471. Shutdown;, Code
  472. Sin;(Number)
  473. Sleep;, DelayInMilliseconds
  474. Sort;, VarName [, Options]
  475. SoundBeep;[, Frequency, Duration]
  476. SoundGet;, OutputVar [, ComponentType, ControlType, DeviceNumber]
  477. SoundGetWaveVolume;, OutputVar [, DeviceNumber]
  478. SoundPlay;, Filename [, wait]
  479. SoundSet;, NewSetting [, ComponentType, ControlType, DeviceNumber]
  480. SoundSetWaveVolume;, Percent [, DeviceNumber]
  481. SplashImage;, Off
  482. SplashImage;[, ImageFile, Options, SubText, MainText, WinTitle, FontName]
  483. SplashTextOn;[, Width, Height, Title, Text]
  484. SplitPath;, InputVar [, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive]
  485. Sqrt;(Number)
  486. StatusBarGetText;, OutputVar [, Part#, WinTitle, WinText, ExcludeTitle, ExcludeText]
  487. StatusBarWait;[, BarText, Seconds, Part#, WinTitle, WinText, Interval, ExcludeTitle, ExcludeText]
  488. StrGet;(Address [, Length] [, Encoding = None ] )
  489. StringCaseSense;, On|Off|Locale
  490. StringGetPos;, OutputVar, InputVar, SearchText [, L#|R#, Offset]
  491. StringLeft;, OutputVar, InputVar, Count
  492. StringLen;, OutputVar, InputVar
  493. StringLower;, OutputVar, InputVar [, T]
  494. StringMid;, OutputVar, InputVar, StartChar [, Count , L]
  495. StringReplace;, OutputVar, InputVar, SearchText [, ReplaceText, ReplaceAll?]
  496. StringRight;, OutputVar, InputVar, Count
  497. StringSplit;, OutputArray, InputVar [, Delimiters, OmitChars]
  498. StringTrimLeft;, OutputVar, InputVar, Count
  499. StringTrimRight;, OutputVar, InputVar, Count
  500. StringUpper;, OutputVar, InputVar [, T]
  501. StrLen;(InputVar)
  502. StrPut;(String [, Encoding = None ] )
  503. StrPut;(String, Address [, Length] [, Encoding = None ] )
  504. SubStr;(String, StartingPos [, Length])
  505. Suspend;[, Mode]
  506. SysGet;, OutputVar, Sub-command [, Param3]
  507. Tan;(Number)
  508. Tell;()
  509. Thread;, NoTimers [, false]
  510. Thread;, Priority, n
  511. Thread;, Interrupt [, Duration, LineCount]
  512. Throw;[, Expression]
  513. ToolTip;[, Text, X, Y, WhichToolTip]
  514. Transform;, OutputVar, Cmd, Value1 [, Value2]
  515. TrayTip;[, Title, Text, Seconds, Options]
  516. Trim;(String, OmitChars = " `t")
  517. UrlDownloadToFile;, URL, Filename
  518. VarSetCapacity;(UnquotedVarName [, RequestedCapacity, FillByte])
  519. WinActivate;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  520. WinActivateBottom;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  521. WinActive;("WinTitle", "WinText", "ExcludeTitle", "ExcludeText")
  522. WinClose;[, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  523. WinExist;("WinTitle", "WinText", "ExcludeTitle", "ExcludeText")
  524. WinGet;, OutputVar [, Cmd, WinTitle, WinText, ExcludeTitle, ExcludeText]
  525. WinGetActiveStats;, Title, Width, Height, X, Y
  526. WinGetActiveTitle;, OutputVar
  527. WinGetClass;, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  528. WinGetPos;[, X, Y, Width, Height, WinTitle, WinText, ExcludeTitle, ExcludeText]
  529. WinGetText;, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  530. WinGetTitle;, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  531. WinHide;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  532. WinKill;[, WinTitle, WinText, SecondsToWait, ExcludeTitle, ExcludeText]
  533. WinMaximize;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  534. WinMenuSelectItem;, WinTitle, WinText, Menu [, SubMenu1, SubMenu2, SubMenu3, SubMenu4, SubMenu5, SubMenu6, ExcludeTitle, ExcludeText]
  535. WinMinimize;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  536. WinMove;, X, Y
  537. WinMove;, WinTitle, WinText, X, Y [, Width, Height, ExcludeTitle, ExcludeText]
  538. WinRestore;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  539. WinSet;, Attribute, Value [, WinTitle, WinText, ExcludeTitle, ExcludeText]
  540. WinSetTitle;, NewTitle
  541. WinSetTitle;, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
  542. WinShow;[, WinTitle, WinText, ExcludeTitle, ExcludeText]
  543. WinWait;[, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  544. WinWaitActive;[, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  545. WinWaitClose;[, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  546. WinWaitNotActive;[, WinTitle, WinText, Seconds, ExcludeTitle, ExcludeText]
  547. Write;(String)
  548. WriteLine;([String])
  549. WriteNumType;(Num)
  550. )
  551. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement