Recently I have been trying to automate a log in process which has lots of hoops to jump through like scheduling a time slot on a google calendar and opening 2 programs and I have started building it with pywinauto already and put a lot of work into figuring it out.
The issue I am having is that when i open chrome with:
from pywinauto.application import Application
chrome_dir = '"C:\Program Files\Google\Chrome\Application\chrome.exe"'
start_args = ' --force-renderer-accessibility --start-maximized https://#URLHERE#.com'
app = Application(backend="uia").start(chrome_dir+start_args)
it opens with the wrong google profile and I need it to open with the other.
I have tried reading through the documentation and have had a really hard time coming up with a solution to this. I also tried to just open it with the profile selector but I would much rather not have to click on something which may not come up right away or change in the future to get the right account. I would much rather it just be done when launching. Any ideas?