AutoIt AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible.
May 27th, 2018
Batch script Task automation Auto system tweak Batch Script Tweaker Tweak. Tron Script was reviewed by Elena Opris. DOWNLOAD Tron Script 11.1.4 for Windows.
3) How to automatically start multiple service when it goes down using SysVinit in Linux System? Use the following bash script, if you would like to start multiple service in SysVinit Linux System. I have added httpd and rsyslog services in this script but you can add the service, whichever you want to monitor.
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
local loc = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
local list = game:GetService('Teams').Criminal:GetPlayers()
This page is a collection of useful AutoHotkey scripts.
[see AutoHotkey Tutorial]
Swap Modifier Keys
[see AutoHotkey Key Syntax]
Launch Browser, Switch to Browser
Suppose you want a hotkey that launches a browser, but if it is already running, just switch to it.
How to find window name or app name?
To find out what is the window's “ahk_class”, right click on the AHK icon and chose “Window Spy”, then click on a window you want.
for Mac or Linux, see:How to Set Key to Switch to Browser
Switch Apps
It is useful to have a single button to switch to last window.
Alt+Tab is no good because it strain your hands, and you have to take a second to chose.
Single Key for Cut, Copy, Paste
Disable Caps Lock, Num Lock, ScrLk
[see AutoHotkey Key Syntax]
The ▤Menu key is actually very useful. See: Microsoft Keyboard Menu Key.
Disable Windows Logo Key
Disable Win Key Start Menu Behavior
Disable ❖Window key, but don't disable ❖Window+key combination.
Disable Win+key Combination
Note: the ❖Window+l (lock computer) cannot be disabled.
Disable Win Key Completely
Disable F1 Help
Instead of disable keys, it's better to set them to do something useful, such as switching app/window/tab, or copy cut paste.
Empty Trash (Recycle Bin), Open Trash
open recycle bin:
Changing Sound Level
Many keyboards have special buttons to control sound level, but they are a pain to use. Because, the button change volume by a tiny amount. You have to press it 5 or 10 times. If you hold it, for a second nothing happens, then all of a sudden it became too loud.
The following script changes volume by 10%, using Ctrl and the + and - on the numberpad.
Change Sound Level with Multimedia Key
If you have a multimedia keyboard with special keys such asMicrosoft Ergonomic Keyboard, and want increase sound volume by one of its special button, here's what you can do.
Create a file of the following content and save it as increase_sound.ahk:
Automatic Script Review
Then, use IntelliTypeto assign the keyboard's special button to launch the script.
Close Tab in Browser
Close Current Window or Tab
Windows has many different keyboard shortcuts to close the window. For example, Alt+F4 closes the application, Ctrl+F4 or Ctrl+w closes current tab or window in browsers, Escape usually closes dialog boxes. (See: Windows Keyboard Shortcuts)All these can be thought of close the current visible box. You can define a easy key, so that it'll close the current browser tab, or window, or application.
The code checks what application is the current window, by the IfWinActive lines. When you want a hotkey to check what is the current window or if it exists, you can use“IfWinActive” or “IfWinExist”.
Toggle Window Size
Hide/Minimize Window
Note: in Microsoft Windows 7, you can maximize by ❖Window+↑ and restore by ❖Window+↓.[see Windows Keyboard Shortcuts]
Temporarily Disable AutoHotkey
Auto Script Executor
You have many personal hotkeys. In some situations, you want thesehotkeys to be off temporarily. You can create a hotkeyX, sothat it'll disable all your hotkeys, and press hotkeyX again to turn allyour hotkeys back on. Here's a example:
When hotkeys are suspended, the AutoHotkey icon in your system notification area changes to S.
Swap Middle/Right Mouse Buttons
[see Why Swap Mouse Right Button and Middle Button]
Script For Auto Attendant
If you have a question, put $5 at patreon and message me.