Notepad++ External Content - Action Script Fx

For Action 2 to kill the Notepad++ content out there:

  waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill notepad++ /a" else "taskkill /F /IM notepad++"}

needs to have .exe added onto the end of notepad++ for non XP systems:

waithidden {if (name of operating system = "WinXP" AND personal bit (suite mask of operating system)) then "tskill notepad++ /a" else "taskkill /F /IM notepad++.exe"}

If no .exe, the fixlet fails. The Mozilla Firefox Fixlets are using .exe as well to kill that app.

1 Like

Thanks for the info, I’ll let the patch team know.

Thanks for reporting this! The change has been published to version 861 of Updates for Windows Applications site.

Strange version number under windows 10:
Q: version of regapp "notepad++.exe"
A: 6.88.8.0

On all other windows:
Q: version of regapp "notepad++.exe"
A: 6.8.8.0

So I made my custom fixlet with this relevance:
version of regapp “notepad++.exe” < “6.8.9” or version of regapp “notepad++.exe” = “6.88.8.0”

Version 6.8.9 reports under Win10:
Q: version of regapp "notepad++.exe"
A: 6.89.9.0

Notepad++ was inconsistent initially with regapp a year or two ago so we have just been using this relevance in our custom content for Notepad++:

if (x64 of operating system) then (version of file "C:\Program Files (x86)\Notepad++\notepad++.exe" as string < "6.8.9" as string) else (version of file "C:\Program Files\Notepad++\notepad++.exe" as string < "6.8.9" as string)

use raw version of regapp "notepad++.exe" seems to workaround the issue.

1 Like