RS: Hm, the pages from that link show lots of praise, but I could not find details of the language. That would interest me (and others on this Wiki too, I think) most: why a new scripting language? Why not embed Tcl? How is the language different from Tcl?
Luciano ES: If you come from another language, PPSL (PowerPro Scripting Language) is surely going to disappoint you. I am not too fond of it myself. The really good thing about it is maintaining your code. Everything used to be kept in a configuration file. After scripting was introduced, many users began to use the configuration file as little as possible. Scripting was introduced very slowly, one command after another, and it is all a little clumsy now. The author is aware of it. But the good thing about it is the simplicity. Let's see one example:Let's press a key combo and launch a script. This script will check if Notepad is running and visible (PowerPro can hide windows). If it's not visible, unhide it. If it's not even running, launch it. Then type text into it. Warning: this is PowerPro script, not Tcl! It is just a small example.
If (activewindow ("*Notepad*")) do
Jump Hello
ElseIf (anywindow ("*Notepad*")) do
Window Show "*Notepad*"
Else
C:\Windows\Notepad.exe
Wait "*Notepad*"
EndIf
@Hello
Keys {toany "*Notepad*"}line 1{enter}line 2{enter}Hi, Mom!
QuitWhy not embed Tcl? Well, why not embed Perl? Or Java? Or Visual Basic? Many choices in life are made at random. And PowerPro already had some unique features that could not be addressed by existing languages. What we call "historical reasons".I'm quite sure that someone could make a Tcl plug-in. There is a Lua plug-in, by the way. I'd be more interested in a Tk plug-in. Its widgets would be extremely welcome to PowerPro users, some of which are beginning to succumb to GUI4Cli [1]. Only no one still has been able to make such plug-in.Hint: install PowerPro, open the manual and look for the "Expressions" page. Also look for the "PPST.chm" file - PowerPro Scripting Tutorial.Category Language