Advertisement
tabnation

lotsofcodewithlittle

Oct 21st, 2022
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.20 KB | None | 0 0
  1. f1::
  2.  
  3. allcommands = Winmove|WinMaximize|WinMinimize|WinClose|A_Index|A_LoopField|A_LoopFileAttrib|A_LoopFileDir|A_LoopFileExt|A_LoopFileFullPath|A_LoopFileLongPath|A_LoopFileName|A_LoopFilePath|A_LoopFileShortName|A_LoopFileShortPath|A_LoopFileSize|A_LoopFileSizeKB|A_LoopFileSizeMB|A_LoopFileTimeAccessed|A_LoopFileTimeCreated|A_LoopFileTimeModified|A_LoopReadLine|A_LoopRegKey|A_LoopRegName|A_LoopRegSubKey|A_LoopRegTimeModified|A_LoopRegType|Abs()|absolute value, abs()|ACos()|activate a window|ActiveX controls (GUI)|add|AllowSameLineComments|alnum|alpha|AlwaysOnTop (WinSet)|append to file|Asc()|ASCII conversion|ASin()|ATan()|attributes of files and folders|AutoTrim|balloon tip|beep the PC speaker|between (check if var between two values)|blind-mode Send|BlockInput|blocks (lines enclosed in braces)|Break|buffering|Button controls (GUI)|button state|callbacks|Case|case sensitive strings|Catch|Ceil()|Checkbox controls (GUI)|choose file|choose folder|Chr()|class name of a window|Click|Click a mouse button|ClipWait|close a window|color names, RGB/HTML|color of pixels|COM|ComboBox controls (GUI)|commands, alphabetical list|ComObject()|ComObjActive()|ComObjArray()|ComObjConnect()|ComObjCreate()|ComObjError()|ComObjFlags()|ComObjGet()|ComObjQuery()|ComObjType()|ComObjValue()|context menu (GUI)|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|coordinates|CoordMode|copy file|copy folder/directory|Cos()|create file|create folder/directory|Critical|current directory|Custom controls (GUI)|dates and times (compare)|dates and times (math)|dates and times (of files)|DateTime controls (GUI)|debugger|decimal places|Default|delete files|delete folder/directory|DetectHiddenText|DetectHiddenWindows|dialog FileSelectFile|dialog FileSelectFolder|dialog InputBox|dialog MsgBox|digit|disk space|DllCall()|download a file|DPI scaling|drag and drop (GUI windows)|drag the mouse|Drive|DriveGet|DriveSpaceFree|DropDownList controls (GUI)|Edit|Edit controls (GUI)|Else|EnvAdd|EnvDiv|EnvGet|environment variables (change them)|EnvMult|EnvSet|EnvSub|EnvUpdate|ErrorStdOut|Exception()|Exit|ExitApp|Exp()|ExtractInteger -> NumGet()|file attributes|file or folder (does it exist)|file pattern|file, creating|file, reading|file, writing/appending|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileExist()|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileOpen()|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|Finally|find a file|find a string|find a window|floating point (check if it is one)|floating point (Format)|Floor()|focus|folder/directory copy|folder/directory create|folder/directory move|folder/directory remove|folder/directory select|For ... in|Format()|format (defaults)|FormatTime|free space|FTP uploading example|Func()|g-label (responding to GUI events)|game automation|GetKeyName()|GetKeySC()|GetKeyState|GetKeyState()|GetKeyVK()|Gosub|Goto|GroupActivate|GroupAdd|GroupBox controls (GUI)|GroupClose|GroupDeactivate|Gui|Gui control types|GuiClose (label)|GuiContextMenu (label)|GuiControl|GuiControlGet|GuiDropFiles (label)|GuiEscape (label)|GuiSize (label)|hexadecimal format|hibernate or suspend|hidden text|hidden windows|HKEY_CLASSES_ROOT (HKCR)|HKEY_CURRENT_CONFIG (HKCC)|HKEY_CURRENT_USER (HKCU)|HKEY_LOCAL_MACHINE (HKLM)|HKEY_USERS (HKU)|hook|Hotkey|Hotkey controls (GUI)|Hotkey, ListHotkeys|HotkeyInterval|HotkeyModifierTimeout|Hotstring()|HTML color names|HWND (of a control)|icon, changing|ID number for a window|If|If ... between ... and|If ... contains|If ... in|If ... is|If ... is not|If ... not between ... and|If ... not contains|If ... not in|If (legacy)|If var [not] between Low and High|If var [not] in/contains MatchList|If var is [not] type|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|IL_Add()|IL_Create()|IL_Destroy()|Image Lists (GUI)|ImageSearch|Include|IniDelete|IniRead|IniWrite|Input|InputBox|InputHook()|InsertInteger -> NumPut()|Install|InstallKeybdHook|InstallMouseHook|InStr()|integer (check if it is one)|integer (Format)|Interrupt|IsByRef()|IsFunc()|IsLabel()|IsObject()|JScript, embedded/inline|key state|keyboard hook|KeyHistory|keystrokes, sending|KeyWait|length of a string|Link controls (GUI)|ListBox controls (GUI)|ListHotkeys|ListLines|ListVars|ListView controls (GUI)|ListView, getting text from|Ln()|lnk (link/shortcut) file|LoadPicture()|Locale|Log()|logarithm, log()|logoff|long file name (converting to)|Loop|Loop (until)|Loop (while)|Loop, Reg|Loop, Files|Loop, Parse|Loop, Read|lParam|LTrim()|LV_Add()|LV_Delete()|LV_DeleteCol()|LV_GetCount()|LV_GetNext()|LV_GetText()|LV_Insert()|LV_InsertCol()|LV_Modify()|LV_ModifyCol()|LV_SetImageList()|math functions|Max()|MaxHotkeysPerInterval|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|Menu|MenuGetHandle()|MenuGetName()|Menu Bar (GUI)|Menu Icon|messages, receiving|messages, sending|Min()|Mod()|modal (always on top)|modulo, mod()|MonthCal controls (GUI)|mouse hook|mouse speed|mouse wheel|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|move a window|move file|move folder/directory|MsgBox|multiply|mute (changing it)|NoTimers|NoTrayIcon|number (if var is number)|NumGet()|NumPut()|ObjAddRef()|ObjBindMethod()|ObjRelease()|OnClipboardChange:|OnClipboardChange()|OnError()|OnExit|OnExit()|OnMessage()|open file|Ord()|OutputDebug|OwnDialogs (GUI)|Owner of a GUI window|parse a string (Loop)|parse a string (StrSplit)|Pause|Picture controls (GUI)|PID (Process ID)|PixelGetColor|PixelSearch|play a sound or video file|PostMessage|print a file|priority of a process|priority of a thread|Process|Progress|Progress controls (GUI)|properties of a file or folder|quit script|Radio controls (GUI)|Random|raw-mode Send|read file|READONLY|reboot|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|RegDelete|RegEx: SetTitleMatchMode RegEx|RegExMatch()|RegExReplace()|RegisterCallback()|registry loop|RegRead|regular expressions: RegExMatch()|regular expressions: RegExReplace()|regular expressions: SetTitleMatchMode RegEx|RegWrite|Reload|remove folder/directory|rename file|resize a window|restart the computer|Return|RGB color names|RGB colors|Round()|rounding a number|RTrim()|Run|RunAs|RunWait|SB_SetIcon()|SB_SetParts()|SB_SetText()|scan code|scientific notation|select file|select folder|Send|SendEvent|sending data between scripts|SendInput|SendLevel|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapsLockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumLockState|SetRegView|SetScrollLockState|SetStoreCapsLockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|short file name (8.3 format)|shortcut file|Shutdown|Sin()|SingleInstance|size of a file/folder|size of a window|Sleep|Slider controls (GUI)|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|space|speed of a script|spinner control (GUI)|SplashImage|SplashTextOff|SplashTextOn|SplitPath|Sqrt()|standard output (stdout)|StatusBar controls (GUI)|StatusBarGetText|StatusBarWait|StrGet()|string (search for)|string: InStr()|string: SubStr()|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|StrLen()|StrPut()|StrReplace()|StrSplit()|structures, via DllCall|SubStr()|subtract|Suspend|suspend or hibernate|Switch|SysGet|Tab controls (GUI)|Tan()|terminate a window|terminate script|Text controls (GUI)|text-mode Send|Thread|Throw|time|Timer (timed subroutines)|times and dates (compare)|times and dates (math)|times and dates (of files)|title of a window|ToolTip|Transform|transparency of a window|tray menu (customizing)|TrayTip|TreeView controls (GUI)|Trim|Trim()|Try|TV_Add()|TV_Delete()|TV_Get()|TV_GetChild()|TV_GetCount()|TV_GetNext()|TV_GetParent()|TV_GetPrev()|TV_GetSelection()|TV_GetText()|TV_Modify()|TV_SetImageList()|Unicode text and clipboard|Until|UpDown controls (GUI)|URLDownloadToFile|UseHook|user (run as a different user)|variables, assigning to|variables, comparing them|variables, ListVars|variables, type of data|variants (duplicate hotkeys and hotstrings)|VarSetCapacity()|version of a file|virtual key|volume (changing it)|wait (sleep)|wait for a key to be released or pressed|Wheel, simulating rotation|While|whitespace|wildcards (for files & folders)|WinActivate|WinActivateBottom|WinActivateForce|WinActive()|WinClose|WinExist()|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinSize (via WinMove)|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive|WM_COPYDATA|working directory|wParam|write file|YYYYMMDDHH24MISS|{Blind}|
  4. StringSplit, outputWords_array, allcommands,|,all
  5.  
  6. Loop{
  7. currentword := outputWords_array%A_Index%
  8. newcode =
  9. (
  10. if vmode=V1 MODE
  11. {
  12. run, https://www.autohotkey.com/docs/commands/%currentword%.htm
  13. Return
  14. }
  15. )
  16. allcode = %allcode% `n %newcode%
  17. if currentword =
  18. {
  19. break
  20. }
  21. }
  22.  
  23. clipboard = %allcode%
  24. msgbox, all done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement