Hello. Is there a predicate or function that can retrieve all the programs and processes running on the host computer?
I have been using this code to retrieve an slist of the window titles, but some processes of course don't have windows or windows with titles.
But Visual Prolog does not contain bindings to these API's: EnumProcesses, EnumProcessModules and GetModuleBaseName. So you would have to make these yourself.
Also notice that enumerating processes is not exact, because processes come and go. Also notice that processes is not the same as programs: An Edge (or Chrome) browser can for example have 10 processes with just one window on the screen.