If text is selected do ... else

How can I create a workflow that checks if text is currently selected.
I’m using the IF activity, but I don’t know what expression to write in there.

I want it to check if a mac address is selected. If that’s the case it should run a sequence if actions.
Else I want it to open an input box.

But I’m stuck on the expression required to check if text is currently selected.

Is there a good resource for finding expressions that work inUIPath?

Thanks for helping me out!

Hi,
May i know how your selecting specific text?

Hi, I’m just marking it by dragging my mouse over it.
Like when you want to copy some text.

Hi,
Here we go.
selectText.xaml (14.4 KB)

1 Like