Autohotkey padPlusPlus和顶部的editwithnotepapdplusplus函数定义。这些是这项工作所需的最低要求。@KudosJohnson请查看该图像,它仍然不起任何作用。“%*”未在任何答案中找到。%var%->这表示一个变量 Windows Re

Autohotkey padPlusPlus和顶部的editwithnotepapdplusplus函数定义。这些是这项工作所需的最低要求。@KudosJohnson请查看该图像,它仍然不起任何作用。“%*”未在任何答案中找到。%var%->这表示一个变量 Windows Re,autohotkey,Autohotkey,padPlusPlus和顶部的editwithnotepapdplusplus函数定义。这些是这项工作所需的最低要求。@KudosJohnson请查看该图像,它仍然不起任何作用。“%*”未在任何答案中找到。%var%->这表示一个变量 Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command] @="\"C:\\Program Files\\Note

padPlusPlus和顶部的
editwithnotepapdplusplus
函数定义。这些是这项工作所需的最低要求。@KudosJohnson请查看该图像,它仍然不起任何作用。“%*”未在任何答案中找到。%var%->这表示一个变量
Windows Registry Editor Version 5.00 
[HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command]
@="\"C:\\Program Files\\Notepad++\\notepad++.exe\" \"%1\""
"C:\Program Files\Notepad++\Notepad++.exe" "%1"
EditWithNotepadPlusPlus()
{
    Run "C:\Program Files (x86)\Notepad++\notepad++.exe" "%A_ScriptFullPath%"
}

; Remove the standard menu items temporarily
Menu, Tray, NoStandard 
; Add our custom menu item labeled "Edit With Notepad++" 
; and calls the function above
Menu, Tray, Add, Edit With Notepad++, EditWithNotepadPlusPlus 
; Add a separator
Menu, Tray, Add 
; Put the standard menu items back, under our custom menu item
Menu, Tray, Standard 
EditWithNotepadPlusPlus(*)
{
    Run "C:\Program Files\Notepad++\notepad++.exe " A_ScriptFullPath
}
EditWithVsCode(*)
{
    Run "C:\Program Files\Microsoft VS Code\Code.exe " A_ScriptFullPath
}
A_TrayMenu.Add()
A_TrayMenu.Add("Edit with VS Code", "EditWithVsCode")
A_TrayMenu.Add("Edit with Notepad++", "EditWithNotepadPlusPlus")
return
C:\Program Files (x86)\Notepad++\notepad++.exe %1  -multiInst -nosession
C:\Program Files (x86)\Notepad++\notepad++.exe %1  -multiInst -nosession
C:\Program Files (x86)\Notepad++\notepad++.exe %1