Jump to content

Recommended Posts

Posted (edited)

I need communication between an AutoIt script and the VBScript script of PSPad. More precisely, it should be possible to call various VBScript functions in the running PSPad from the outside via AutoIt, which then access internal information of PSPad.

It should be an isolated*, stable communication that can also pass parameters. (*isolated = no sending of hotkeys, which can disturb the normal process, because interval tasks should be possible, e.g. every 50ms). I tried a lot of things, but unfortunately I have no idea and it was just a random poking around.

Important: In VBScript there are no timers that send events in intervals and due to limitations of PSPad there are no loops possible that run continuously.

Such communication is necessary because otherwise I can't develop the PSPad4AutoIt3 project further. Can anyone help me?

Who wants to test his ideas can use PSPad from the official website. In the path "PSPad4AutoIt3\Script\VBScript\" are VBScripts included, with functions for testing. The WSH support must be enabled in PSPad main menu / Settings / Program Settings / System integration:

enable WSH.png

Edited by Professor_Bernd
  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...