You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone,
While researching for a tool to automate windows based application, I came across the pywinauto module that offers automation of all kinds of application and especially applications that run on Win10. Hence I thought to give it a try. I am trying to open/launch a msix.file with the Application.start function which looks like below:
I have found so far a thread in stackoverflow which resolved the issue with opening of a .msi file. But this method could not launch the msix. file. Is there a way out to this problem?
Also, I tried to detect the window (after launching the .msix file manually) using its process id, that I could extract using the inspect.exe offered by Windows SDK, to check if atleast the program is being detected. Sadly the active window was not highlighted or brought to the front. Here´s the below code:
# Connect to already running process
app = Application(backend="uia").connect(process=5696)
It could be very likely, that I could be overlooking something or may be I am using incomplete code. It would be great, if someone could show me the right direction in that case.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone,
While researching for a tool to automate windows based application, I came across the pywinauto module that offers automation of all kinds of application and especially applications that run on Win10. Hence I thought to give it a try. I am trying to open/launch a msix.file with the Application.start function which looks like below:
I have found so far a thread in stackoverflow which resolved the issue with opening of a .msi file. But this method could not launch the msix. file. Is there a way out to this problem?
Also, I tried to detect the window (after launching the .msix file manually) using its process id, that I could extract using the inspect.exe offered by Windows SDK, to check if atleast the program is being detected. Sadly the active window was not highlighted or brought to the front. Here´s the below code:
It could be very likely, that I could be overlooking something or may be I am using incomplete code. It would be great, if someone could show me the right direction in that case.
Beta Was this translation helpful? Give feedback.
All reactions