HTMLview.Search Return Something If Not Found

Discuss GUI programming with the RapaGUI plugin here
Post Reply
PEB
Posts: 241
Joined: Sun Feb 21, 2010 1:28 am

HTMLview.Search Return Something If Not Found

Post by PEB » Mon Jul 15, 2019 8:21 pm

Is there a way to get HTMLview.Search to return something (bool or string) if the searched string is not found on the page?

In my code, I'm trying to find either one of two possible strings in the html files that I'm viewing. If the first is found, then I don't want to search for the second (and lose the first); but if the first is not found, then I do want to search for the second.

User avatar
airsoftsoftwair
Posts: 3075
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: HTMLview.Search Return Something If Not Found

Post by airsoftsoftwair » Mon Jul 22, 2019 6:19 pm

Currently not possible, but I'll see if this can be added.

PEB
Posts: 241
Joined: Sun Feb 21, 2010 1:28 am

Re: HTMLview.Search Return Something If Not Found

Post by PEB » Mon Jul 22, 2019 7:59 pm

Thanks!

Post Reply