You are here: PSPad forum > English discussion forum > WSH error

WSH error

#1 WSH error

Posted by: pimenta | Date: 2011-02-20 17:09 | IP: IP Logged

I updated from 4.5.4. to 4.5.5. and I add 24-text_to_table, 152-XMLFormat and 204-ASCII_Set_32-255.
After that, when I open PSPad I get a window with "Support for 'JScript' active scripting not found! Install WSH with requested language support". I have W7 64 bit.

Options: Reply | Quote | Up ^


#2 Re: WSH error

Posted by: pspad | Date: 2011-02-20 19:10 | IP: IP Logged

You have 2 possibilities:
1. in program settings / System disable PSpad scripting if you don't use it
2. In Internet explorer settings allow local scripting

Options: Reply | Quote | Up ^


#3 Re: WSH error

Posted by: petitrot | Date: 2011-03-09 22:55 | IP: IP Logged

Hi

Another possibility yawning smiley

pimenta:
I updated from 4.5.4. to 4.5.5. and I add 24-text_to_table, 152-XMLFormat and 204-ASCII_Set_32-255.
After that, when I open PSPad I get a window with "Support for 'JScript' active scripting not found! Install WSH with requested language support". I have W7 64 bit.

My "rights" are effective. I'm using PSPad from years...

Same message

Quote:
"Support for 'JScript' active scripting not found!
Install WSH with requested language support"

Remove scripts, one by one. You will find "the script" causing the problem.

If an error occur in JScript = JScript is now not reachable! That's causing the message in my PSPad install.

I find the fault in a 'bad' (not updated, old) script yawning smiley

tag_close.js very old
// filename : tag_close.js
// description: Automatic closing html tag
// created : 08.10.2006
// author : Serge Balance
//
// You may distribute this script freely, but please keep this header intact.
//*******************************************************************************
var MODULE_NAME = "autoclosing TAG";
var MODULE_VER = "1.2";
var MODULE_TITLE = "Automatic closing html tag";

any_tag_close.js old version
// filename : tag_close.js
// description: Automatic closing html, xml, xsl and any arbitrary tag
// created : 08.10.2006 - 17.10.2006
// author : Serge Balance
//
// You may distribute this script freely, but please keep this header intact.
//*******************************************************************************
var MODULE_NAME = "autoclosing TAG";
var MODULE_VER = "1.7";
var MODULE_TITLE = "Automatic closing html, xml, xsl and any arbitrary tag";
262-any_tag_close_1.7.1.zip is ok

Not same name of file but same base of code. Duplicate = close the JScript = Support for 'JScript' active scripting not found! ...

@PSPad I never get this message before. I have made scripts and gets errors many time in the past but never get this message before last week. With the message, Recompile script is erratic or close PSPad. This is new!
Just from a week whitout any change in my installation or configuration of PSPad.
xp pro 32 Ie8

smiling smiley

Options: Reply | Quote | Up ^


#4 Re: WSH error

Posted by: pimenta | Date: 2011-03-13 16:27 | IP: IP Logged

Good idea.
The problem was with 152-XMLFormat.
I deleted it.
Thanks

Options: Reply | Quote | Up ^


#5 Re: WSH error

Posted by: mkocman | Date: 2011-05-11 10:31 | IP: IP Logged

A encountered this problem when I added plenty of scripts and in the end I've found out that it's caused by non-js files in JScript directory as *.txt, *.html etc. - when you move them to ".." then jscripts load as usualsmiling smiley

Options: Reply | Quote | Up ^


#6 Re: WSH error

Posted by: pspad | Date: 2011-05-11 16:52 | IP: IP Logged

mkocman:
A encountered this problem when I added plenty of scripts and in the end I've found out that it's caused by non-js files in JScript directory as *.txt, *.html etc. - when you move them to ".." then jscripts load as usualsmiling smiley

In script folders must be script files only. No other files.
This isn't bug.
PSpad has no chance to know if file is script or not, cause he doesn't know which scripting languages are installed in WSH. You can use any scripting language and use it in PSpad scripting.

Options: Reply | Quote | Up ^


#7 Re: WSH error

Posted by: mkocman | Date: 2011-05-12 12:03 | IP: IP Logged

Surely,
I only react on "PsPad 4.5.5 (2417) script problem" (no possibility to react in "Bug report" section):

pspad:
1. You havn't installed WSH on your computer
2. You havn't enabled local scripting in internet options

and I'm adding:
3. You loaded a non-script file with a script package - move it up (or anywhere but script folders)

Options: Reply | Quote | Up ^


#8 Re: WSH error

Posted by: SubGothius | Date: 2013-07-01 22:55 | IP: IP Logged

I got a similar error after adding emmet.js to my PSPad JScript folder; the problem turned out to be a simple matter of security permissions on that file -- see details in my other reply here:
forum.pspad.com

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR