Skip to content

Instantly share code, notes, and snippets.

View disable mouse click.json
{ "title": "disable mouse click",
"rules": [
{
"description": "disable mouse click",
"manipulators": [
{
"from": {
"pointing_button": "button3"
View disable key.json
{ "title": "disable key",
"rules": [
{
"description": "disable key",
"manipulators": [
{
"from": {
"key_code": "left_shift"
View Script 20 for AutoKey.py
# app: Xdotool
# user input
direction = 'down' # 'up' or 'down' or 'left' or 'right'
# end of user input
time.sleep(1)
system.exec_command("xdotool key space")
time.sleep(1)
activeApp = window.get_active_class()
if activeApp == 'nemo.Nemo' or activeApp == 'nemo-desktop.Nemo-desktop':
if direction == 'up':
View script 53.txt
-- user options ----------------------------------------------
set file_name to "untitled"
set file_name_with_current_date_time to "on" -- "on" or "off
set extension to ".txt"
-- end of user options ---------------------------------------
tell application "Finder"
activate
View Text File 1.txt
AutoIt Script ====================================================
#WinActivate("[CLASS:MozillaWindowClass]", "")
# user input
$ahk_file="C:\Users\John See\Desktop\t2.ahk"
# end of user input
ShellExecute($ahk_file)
sleep(199)
View AutoIt Script 11.au3
#Include <WinAPI.au3>
$activeApp = _WinAPI_GetClassName(WinGetHandle("[ACTIVE]"))
$activeWindow = WinGetTitle("[ACTIVE]")
; -------------------------------------------------------------------
; Example 1 - based on active app:
;
; If $activeApp = "WordPadClass" Then
; WinMove("", "", 1326, 60, 518, 962)
; sleep(1990)
View script 23.6.txt
-- user options
set KillWindows_User to {"app1", "app2"}
-- end of user options
-----------------------------------------------
-- s23.6 - supported: TextMate
-- s23.5 - supported: FreeFileSync
-- s23.4 - fixed: closing windows of Finder on Mac Catalina, hang caused by some apps | improved: killing apps listed in KillWindows_User
-- s23.3 - supported: Audacity
-- s23.2 - supported: wine-preloader, wine
-----------------------------------------------
View input source.json
{ "title": "input source",
"rules": [
{ "description": "input source",
"manipulators": [
{"from": { "key_code": "a" },
"parameters": {"basic.to_if_alone_timeout_milliseconds": 300},
"to_if_alone": [{"key_code": "8"},
{"key_code": "9"},
{"key_code": "0"}],
"type": "basic",
View AutoIt Script 10.au3
#include <Date.au3>
Send("!{TAB}");; if you run script using hotkey or autotext, delete line 2.
$curtime = _NowTime()
$curdate =_NowDate ( )
sleep (500)
Send($curdate)
Send("_")
Send($curtime)
View script 52.txt
-- Requirement: application 'BetterTouchTool'
-- user input
set UUID_user to "DA47E447-6FF8-4D71-BAC6-643E5AEB9111"
set name_of_app to "All Apps" -- If you select 'All Apps' in BetterTouchTool, set name_of_app to "All Apps."
-- end of user input
-- user options
set done_dialog to "on" -- "on" or "off"
-- end of user options -----------------------------------------------