nedsociety / pysandboxie

A python binding to Sandboxie
MIT License
12 stars 2 forks source link

Update Readme & list sandbox names #13

Open nubonics opened 2 years ago

nubonics commented 2 years ago

Was wondering if you could update the readme to reflect the listpids api, as well as others that i may not know of?

Also, as the title says, was wondering if you could add an api to get a list of sandbox names? I would like to iterate over all the sandboxes, find the running processes, and do stuff with those processes [in my case im moving running processes/apps in a grid like layout, obviously I would never expect sandboxie to do this part lol]

nedsociety commented 2 years ago

Was wondering if you could update the readme to reflect the listpids api, as well as others that i may not know of?

Other than listpid() I'm sure there's nothing to note for now.

Also, as the title says, was wondering if you could add an api to get a list of sandbox names?

It's a bit tricky as there's no API to query for the sandbox names. The only way is to parse the Sandboxie.ini for sandbox names but it won't be able to identify all the running sandboxes if the ini file is changed on-the-fly. The parsing part also needs some research since there are some sections other than sandboxes like global/UI settings.