Hi Thomas, thanks for input, but the problem with that part of script works okay either with message ID or text.
Problem is that if there exists such vendor and it is confirmed, it presses Enter twice, but should only once as there are nested if when double-Enter is needed. Seems that system does not recognize it and always presses Enter twice. Where is mistake in the script?
Thanks, Diana