You are here: PSPad forum > English discussion forum > Re: AutoIt
Posted by: Andreas.1 | Date: 2017-01-17 07:10 | IP: IP Logged
Hi.
Is it possible embed to PSPad scripts AutoIT as well as VBScript and Jscript?
[Adjusted the Subject Line. The mod]
Edited 1 time(s). Last edit at 2017-01-19 15:00 by Stefan.
Posted by: pspad | Date: 2017-01-17 07:31 | IP: IP Logged
PSPad uses Windows Scripting Host. You can install any language suitable for WSH.
PSPad will create folder for all languages supported by WSH.
In case PSPad is installed in program files, you need to start PSPad as admin to give it rights to write there.
Posted by: Andreas.1 | Date: 2017-01-17 08:05 | IP: IP Logged
I mean that create folder PSPad\Script\AutoIt.
Folder contains files "au3".
In each of these files have a line
Sub Init
addMenuItem "AutoIt.1","AutoIt", "AutoIt1", ""
End Sub
In these files, there is a function
Func AutoIt1()
Statements
EndFunc
Posted by: pspad | Date: 2017-01-17 08:14 | IP: IP Logged
No.
WSH is Windows scripting Host engine. It serves as host for another languages. Part of Windows is JScript and VBScript. You can install another languages like PHP, Perl, ...
I don't know if AutoIT suports to be hosted by WSH.
To create folders manually won't help you. PSPad gets list of languages from system and creates folders for languages which are installed when you start PSPad and when PSPad has rights to do it.
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