-
Notifications
You must be signed in to change notification settings - Fork 0
/
My_AHK_Scripts.ahk
96 lines (81 loc) · 1.89 KB
/
My_AHK_Scripts.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
;--- TRIGGER HOTSTRINGS BELOW ONLY WITH SPACE ENDCHAR ---
Hotstring("EndChars", " ")
;
;--- EMOJI KEYBOARD SHORTCUT ---
;
RCtrl::Send '#.'
;
;--- CHANGE TEXT COLOR IN OBSIDIAN ---
;
#HotIf WinActive("ahk_exe Obsidian.exe")
F12::Send("{LCtrl down}x{LCtrl up}q{LCtrl down}{tab}v{LCtrl up}")
#HotIf
;
;--- SPECIAL CHARACTERS ---
;
:O?:````dash::–
:O?:````ldash::—
:O?:````ellipsis::…
:O?:````quote-pl::„”
:O?:````quote-en::“”
:O?:````bullet::•
:O?:````bbullet::●
:O?:````left::←
:O?:````right::→
:O?:````rbullet::➤
:O?:````tick::✓
:O?:````gbp::£
:O?:````eur::€
;
;--- FRENCH ACCENTS ---
;
:O?:````a::à
:O?:^^a::â
:O?:==ae::æ
;
:O?:,,c::ç
;
:O?:''e::é
:O?:````e::è
:O?:^^e::ê
:O?:""e::ë
;
:O?:^^i::î
:O?:""i::ï
;
:O?:^^o::ô
:O?:==oe::œ
;
:O?:````u::ù
:O?:^^u::û
:O?:""u::ü
;
:O?:""y::ÿ
;
;--- GERMAN ACCENTS ---
;
:O?:""a::ä
:O?:""o::ö
:O?:""u::ü
;
:O?:==ss::ß
;
;--- CLICK THE NEXT" BUTTON IN ROSETTA STONE ---
;
#HotIf WinActive("Welcome to Rosetta Stone!", )
Ctrl::
{
MouseGetPos(&X, &Y)
Click("1849, 1044") ; use WindowSpy to adjust numbers according to the window size. In this case, Chrome needs to be maximized on the upper screen
MouseMove(X, Y)
}
return
#HotIf
;
;--- SOUNDCLOUD/YOUTUBE DOWNLOADER ---
;
#HotIf WinActive("ahk_class CASCADIA_HOSTING_WINDOW_CLASS") || WinActive("ahk_class VirtualConsoleClass") || WinActive("ahk_class ConsoleWindowClass")
::yt::yt-dlp --add-metadata --embed-thumbnail -o "%(uploader)s - %(title)s.%(ext)s"`
::ytm::yt-dlp --embed-thumbnail --audio-quality 320k --extract-audio --no-part --audio-format mp3 --add-metadata -o "%(uploader)s - %(title)s.%(ext)s"`
::ytv::yt-dlp -f bestvideo -ciw --write-thumbnail -o "%(uploader)s - %(title)s.%(ext)s"`
#HotIf