-
Notifications
You must be signed in to change notification settings - Fork 76
/
Forum.txt
115 lines (94 loc) · 5.82 KB
/
Forum.txt
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[center][b][color=#168013][size=200]Set up Notepad++ for AutoHotkey[/size][/color][/b][/center]
[center]( [url=https://github.com/jNizM/ahk_notepad-plus-plus]GitHub[/url] - Tested with Notepad++ v8.4.8 64-bit )[/center]
[b][size=150][color=#3FB137]Syntax Highlighting[/color][/size][/b]
[hr][/hr]
[list]
[*] Download [c]userDefineLang_AHK.xml[/c] (right-click the download link and choose [c]Save link as[/c])
[list]
[*] [url=https://github.com/jNizM/ahk_notepad-plus-plus/raw/master/userDefineLang/default/userDefineLang_AHK.xml]Download[/url] | [url=https://github.com/jNizM/ahk_notepad-plus-plus/raw//master/userDefineLang/default/udl_default.png]Preview[/url] [i](Default theme)[/i]
[*] [url=https://github.com/jNizM/ahk_notepad-plus-plus/raw/master/userDefineLang/lazy/userDefineLang_AHK.xml]Download[/url] | [url=https://github.com/jNizM/ahk_notepad-plus-plus/raw/master/userDefineLang/lazy/udl_lazy.png]Preview[/url] [i](Lazy theme)[/i]
[/list]
[*] Open your download folder
[*] Start Notepad++ and click on menu [c]Language -> User Defined Language -> Open User Defined Language folder...[/c]
[*] Move [c]userDefineLang_AHK.xml[/c] from your download folder to this folder
[*] Restart Notepad++
[/list]
[b][size=150][color=#3FB137]Auto-Completion[/color][/size][/b]
[hr][/hr]
[list]
[*] Download [c]AutoHotkey.xml[/c] (right-click the download link and choose [c]Save link as[/c])
[list]
[*] [url=https://github.com/jNizM/ahk_notepad-plus-plus/raw/master/autocomplete/AutoHotkey.xml]Download[/url] | [url=https://github.com/jNizM/ahk_notepad-plus-plus/raw/master/autocomplete/autocomplete.png]Preview[/url]
[/list]
[*] Save it to the right location:
[list]
[*] 32-Bit: [c]C:\Program Files (x86)\Notepad++\autoCompletion\[/c]
[*] 64-Bit: [c]C:\Program Files\Notepad++\autoCompletion\[/c]
[/list]
[*] Start Notepad++ and click on menu [c]Settings -> Preferences[/c]
[*] Click on [c]Auto-Completion[/c] and activate [c]Enable auto-completion on each input[/c]
[*] (Recommendation: From 2th character, Function completion & Function parameters hint on input)
[/list]
[b][size=150][color=#3FB137]Useful Notepad++ Plugins[/color][/size][/b]
[hr][/hr]
These plugins may be useful when using Notepad++ to edit AutoHotkey scripts:
[list]
[*] [url=https://github.com/francostellari/NppPlugins]AutoSave[/url] - [i]automatically save the currently open files based on a timer schedule.[/i]
[*] [url=https://github.com/francostellari/NppPlugins]RunMe[/url] - [i]execute the currently open file, based on its shell association.[/i]
[/list]
[b][size=115][color=#3FB137]Install Notepad++ Plugins[/color][/size][/b]
You can install Notepad++ plugins by using the Notepad++ plugin manager:
[list]
[*] Start Notepad++ and click on menu [c]Plugins -> Plugins Admin...[/c]
[*] Check the box for the plugins you want to install
[*] Click [c]Install[/c]
[/list]
Or by using Notepad++ import:
[list]
[*] Download the plugin's dll file
[*] Start Notepad++ as administrator and click on menu [c]Settings -> Import -> Import plugin(s)...[/c]
[*] Navigate to the downloaded dll file and click the [c]Open[/c] button
[/list]
[size=150][b][color=#3FB137]Set up AutoHotkey to Use Notepad++[/color][/b][/size]
[hr][/hr]
AutoHotkey launches an editor to edit a script when menu option [c]Edit Script[/c] or [c]Edit This Script[/c] is selected. This menu option is listed in Windows Explorer's right-click menu and in several AutoHotkey menus.
[b][size=115][color=#3FB137]If AutoHotkey v2 is installed[/color][/size][/b]
To set up AutoHotkey to use Notepad++ as script editor:
[list]
[*] Run [c]AutoHotkey[/c] (which launches AutoHotkey Dash) and click [c]Editor settings[/c]
(Or select [c]Edit Script[/c] or [c]Edit This Script[/c] in one of the menus if an editor has not been set yet)
[*] A dialog will appear where you can set the editor of your choice. In the Command line field, enter the following text:
[code]
Notepad++.exe "%L"
[/code]
[*] Click [c]OK[/c]
[/list]
[b][size=115][color=#3FB137]If AutoHotkey v1 is installed and not also AutoHotkey v2[/color][/size][/b]
To set up AutoHotkey to use Notepad++ as script editor, do one of the following:
[list]
[*] Create and run a .ahk file with the following contents (run as administrator):
[code]
RegWrite REG_SZ, HKCR, AutoHotkeyScript\Shell\Edit\Command,, Notepad++.exe "`%L"
[/code]
[*] Or execute at the Command Prompt (run as administrator):
[code]
REG ADD HKCR\AutoHotkeyScript\Shell\Edit\Command /ve /t REG_SZ /d "Notepad++.exe \"%L\"" /f
[/code]
[/list]
[size=150][b][color=#3FB137]Others[/color][/b][/size]
[hr][/hr]
[list]
[*] [url=https://autohotkey.com/boards/viewtopic.php?f=60&t=27882]Hotstrings[/url] - [i](by Helgef) expand parameters for AHK's functions, commands and directives.[/i]
[*] [url=https://autohotkey.com/boards/viewtopic.php?f=60&t=18960]FunctionList[/url] - [i]enable function list in Notepad++ for AHK scripts.[/i]
[*] [url=https://autohotkey.com/boards/viewtopic.php?f=60&t=30173]MsgBox Creator[/url] - [i](by boiler) integrated into the editor like it is in SciTE4AutoHotkey.[/i]
[*] [url=https://autohotkey.com/boards/viewtopic.php?f=60&t=30829]Run[/url] - [i](by boiler) run a script directly from Notepad++ whether or not it has ever been saved to a file.[/i]
[/list]
[size=150][b][color=#3FB137]Downloads[/color][/b][/size]
[hr][/hr]
[list]
[*] [url=https://notepad-plus-plus.org/download/]Notepad++[/url] [i](software)[/i]
[*] [url=https://autohotkey.com/download/]AutoHotkey[/url] [i](software)[/i]
[*] [url=../../raw/master/userDefineLang/default/userDefineLang_AHK.xml]userDefineLang_AHK.xml[/url] [i](xml file for Syntax Highlighting, [b]Default theme[/b])[/i]
[*] [url=../../raw/master/userDefineLang/lazy/userDefineLang_AHK.xml]userDefineLang_AHK.xml[/url] [i](xml file for Syntax Highlighting, [b]Lazy theme[/b])[/i]
[*] [url=../../raw/master/autocomplete/AutoHotkey.xml]AutoHotkey.xml[/url] [i](xml file for Auto-Complete function)[/i]
[/list]