This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIP: Batch processing examples and AutoHotkey
09-09-2025, 09:13 AM, (This post was last modified: 15-09-2026, 05:24 PM by shaswin.)
#1
TIP: Batch processing examples and AutoHotkey
See some batch files (.bat) examples for batch processing in the ZIP attachment. Using the command CHCP 1252 in the batch makes it possible to use other extended characters (different code page in MS-DOS COMMAND application) as standard till the .bat/.cmd file is finished, so letters like ë, ä, ï, etc. in the FILENAME/FILEPATH will be allowed/recognised in the PLE batch processing.

Also the AutoHotkey v1.1 (Quick Reference | AutoHotkey v1) source code script examples for making PLE in- and output is attached as a ZIP-file. If you don't have the Export Communication PLE module (E0) you can use a virtual printer i.e. ImagePrinter Pro v6.3, where the licence is very cheap. In the AHK (AutoHotkey) script for PLE output we used the ImagePrinter Pro multi-page printing as PNG-file(s) and then importing all PNG-files with titles and a main index in a Word output file through a VBA macro.

Using AutoHotkey for PLE for making it a part of an automated computing chain is forbidden by EDS nowadays.
Using VBA macros in Excel and Word can automate a lot of things with automating reports to PDFs.

So, this information is made available as an example for how to make a good automated batch computing chain for other software programs than PLE.


Attached Files
.zip   Voorbeeld Batch bestanden voor PLE.zip (Size: 613 bytes / Downloads: 0)
.zip   Voorbeeld AutoHotkey script broncode in- en uitvoer voor PLE.zip (Size: 1,87 MB / Downloads: 0)
Reply
14-10-2025, 08:26 AM,
#2
RE: TIP: Batch processing examples and AutoHotkey
Hey Shaswin,

Thanks for the tip.
This tip has been added to our ticketing system (2879).

Regards,
Billy
Reply
14-10-2025, 12:25 PM,
#3
RE: TIP: Batch processing examples and AutoHotkey
Again, thank you for this information.

Please note that using scripting tools such as AutoHotKey is forbidden for both the educational and the professional version of the program, see the General Terms and Conditions
 (link to document at the end of the page), especially paragraph 5.3 (xi)
Reply
26-10-2025, 09:35 PM, (This post was last modified: 29-10-2025, 10:43 AM by shaswin.)
#4
RE: TIP: Batch processing examples and AutoHotkey
(14-10-2025, 12:25 PM)Dr. J Foerster Wrote: Again, thank you for this information.

Please note that using scripting tools such as AutoHotKey is forbidden for both the educational and the professional version of the program, see the General Terms and Conditions
 (link to document at the end of the page), especially paragraph 5.3 (xi)

Jens, the scripting in AutoHotkey is NOT hacking, it simulates the mouse clicks and keyboard (hot)keys strokes, where a human is not (always) needed anymore to type with a keyboard or to scroll/click with the mouse (a human can take a break for a coffee Smile or have a discussion with a colleague) and it increases the productivity of the engineer a lot. I did once almost 8000 different PLE configurations calculation in 48 hours without any interaction with the PLE-program and the PLE-computer before the Gereral Terms And Condtions was written with a different script than above. I only monitored it through VPN with a laptop at home if it stopped at office or some error happened, but it didn't stop the calculations and all errors had been mitigated before with the script. It created also PDF reports. If AutoHotkey is forbidden then a mouse and keyboard should also be forbidden, I think Wink .

During the scripting with AutoHotkey for years together with my former collegues I tracked a lot of bugs in Ple4Win, which i informed you guys on the forums and e-mails. Mostly got fixed. So, it was good for everyone, because PLE is a very stable now and less unhandled program errors now.

I want to share this information, so the productivity of the PLE engineers can be increased/improved.
Reply
23-09-2026, 03:43 AM, (This post was last modified: 23-09-2026, 03:44 AM by shaswin.)
#5
RE: TIP: Batch processing examples and AutoHotkey
(14-10-2025, 08:26 AM)B Bharatadjaya MSc Wrote: Hey Shaswin,

Thanks for the tip.
This tip has been added to our ticketing system (2879).

Regards,
Billy

The CHCP tip in a batch file has been added in the PLE-manual. Ticket 2879 can be closed internally.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)