AutoHotkey Script: Open in Explorer with Notepad++, Keep Window always on top
; AutoExecute Section must be on the top of the script
#NoEnv
SetWorkingDir %A_ScriptDir%
GroupAdd, Explore, ahk_class CabinetWClass ; Add a class to the group
GroupAdd, Explore, ahk_class ExploreWClass ; Add a other class to the group
; Always on Top CTRL+SPACE on current window
; http://www.labnol.org/software/tutorials/keep-window-always-on-top/5213/
^SPACE:: Winset, Alwaysontop, , A
; Open file With Notepad++ from Explorer using Alt+N hotkey
; https://autohotkey.com/board/topic/77665-open-files-with-portable-notepad/
#ifWinActive,ahk_group Explore ; Set hotkeys to work in explorer only
; Alt+N
!n::
ClipSaved := ClipboardAll
Clipboard := ""
Send ^c
ClipWait, 0.5
file := Clipboard
Clipboard := ClipSaved
Run D:\DSUsers\uid41890\PortableApps\Notepad++Portable\Notepad++Portable.exe "%file%"
return