Forum Archive

"Find" not working?

Sigafoos

I can't seem to get the "Find" block to work. This is what I'm trying to do:

Find 'zzz'
Set Variable 'firstpos'
If firstpos != 0:0
    Show Alert 'Hey you forgot stuff'
    Stop
Convert Markdown
Open URL (Wordpress app url to post)

The problem is that the Find always returns 0:0 (or an empty string if I do it that way). I've tried case sensitive, insensitive and regex. I tried just finding 'z' (without quotes, obviously). Nothing will make Find return a positive result.

omz

You need to add a Get Document Text action before the Find action, so that it knows what to search.

Sigafoos

Wonderful! Thank you.