Another person helped me figure out the selector issue (windows changes the “name” of the setting whenever a new program is set as a default, like email), but I’m stuck on how to validate the name before attempting to change the default setting. I’m guessing I would scrape the current name, then do an IF statement, then change if True, but how would I go about that?
I’m very new to UIPath, so sorry for some major basic questions, but I’m not even sure how to get the reference out of the selector to use as part of an IF statement.
Thanks in advance!
appid=‘windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersiv>econtrolpanel’ title=‘Settings’ />
automationid=‘SystemSettings_DefaultApps_EmailDefaultAssociation_TitleTextBlock’ >cls=‘TextBlock’ name=‘Google Chrome’ />