Code Snippets AutoIt

Short texts AutoIt 🧑‍💻 Code snippets AutoIt ✍️ Reading lists AutoIt 👀

NotAway.au3

#include HotKeySet(“{ESC}”, “Terminate”) TrayTip(“Not Away”, “Started…”, 30, $TIP_ICONASTERISK) While 1 MouseCursorRandomPosition() Sleep(5000) If @HotKeyPressed = “{ESC}” Then Terminate() WEnd Func MouseCursorRandomPosition() $x = Random(0, @DesktopWidth / 2) $y = Random(0, @DesktopHeight / 2) $speed = 70 MouseMove($x, $y, $speed) EndFunc Func Terminate() TrayTip(“Not Away”, “Closing”, 30, $TIP_ICONASTERISK) Exit 0 EndFunc

Automatic tradeskilling clicker for AutoIt

#include ;////////////////////////////////////////////////////////////////////// ;// This script will keep clicking mouse button, followed by Enter to simulate ;// user doing tradeskill. ;// To use: ;// 1. Run the script ;// 2. Point your mouse to the item button to make ;// 3. Use Ctrl+Shit+4 to start the clicks ;// 4. Watch or go make coffee ;// 5. […]