Posted by: steph | Date: 2016-12-18 08:36 | IP: IP Logged
I already did it, no python subdir is created only JScript.Compact and XML.
As those new directories are empty, today I removed them and launched again PSPad as administrator : I once more got JScript.Compact and XML subdirectories but no python one.
I guess this means there is some trouble in my Python install and PSPad does not find it.
How PSPad knows about new language linkage (what make it create subdirs) ?
I need some clues to understand what's happening.
Posted by: pspad | Date: 2016-12-18 09:30 | IP: IP Logged
PSPad uses Windows scripting host. WSH returns all available languages to PSPad. There is nothing else.
Posted by: steph | Date: 2016-12-18 10:39 | IP: IP Logged
I know nothing about WSH.
How "WSH returns all available languages to PSPad" ?
It could help to find why python is not properly registered or why WSH doesn't know it.
Posted by: pspad | Date: 2016-12-18 10:45 | IP: IP Logged
Windows Scripting Host is part of operating system. As default there is VB Script and JScript installed in WSH and you can install any additional language - Python, PHP, ...
PSPad soesn't know what language has user installed. It gets list of installed languages from WSH interface.
I don't use Python, so I am sorry, I can't be more helpfull
Here are some problems and solutions with Active Python and WSH:
Posted by: steph | Date: 2016-12-18 11:03 | IP: IP Logged
The fact is that python is properly registered (there's a script to do that : ..ActivePython\Lib\site-packages\win32comext\axscript\client\pyscript.py)
I can execute python script using WSH command : cscript.exe
.pys files are recognized by script
.py files are not by can also be executed if specifying explicitly python engine with command like cscript //E:python myscript.py
So everything seems correct for python and WSH, but PSPad still doesn't creates script subdirectory for python, even when launched as administrator.
So I'm a little bit lost.
Posted by: pspad | Date: 2016-12-18 12:52 | IP: IP Logged
I will try to add Python support into WSH and test it. But now I must leave, I will be back tonight
Posted by: pspad | Date: 2016-12-18 13:07 | IP: IP Logged
I did quick test.
I downloaded Active Python community edition (free) from:
I downloadede x86 version, cause PSPad is 32 bits application
After I run PSPad as admin, I got subfolder .\Script\Python.AXScript.2
Maybe your problem is you installed 64bits version. It's the same as Java Runtime. If you want to use runtime with 32b application, you need to 32b version of runtime even your system is 64bit
Posted by: steph | Date: 2016-12-18 14:55 | IP: IP Logged
Indeed, with 32 bits version it does work as expected.
Thank you for your fast and efficient reaction.