Check if Directory is currently open - without additional modules!?

Hi @Gerhard.P
What’s your ultimate goal? If it is to open the explorer window if not already opened, you can use

import os

os.startfile(path, "open")

source

If you really need to do what you asked and use pyautoguim follow this guide to create a redistributable library extension

1 Like