Page 1 of 1

Comparing strings on the Window box

PostPosted: Mon Jun 28, 2021 11:25 am
by EdWalker
Afternoon.

Does eValid have a way to compare strings on the WIndows box?

Thanks

Re: Comparing strings on the Window box

PostPosted: Tue Jun 29, 2021 9:21 am
by eValid
EdWalker wrote:Afternoon.

Does eValid have a way to compare strings on the WIndows box?

Thanks


Thanks for posting your question EdWalker.

eValid runs as a windows program and there are sereral commands that interact dicretly.

One of them is to compare strings: CompareStrings "file1" "file2" where "file1" and "file2" have to be valid path names for files on your local machine (sorry, no URLs allowed here).

If the strings compare, you get OK; otherwise, ERROR.

If either one is a substring of the other, you get WARNING.

You can use this in your playback script flow if you have set up a command like this:

OnWarningGoScript "[PATH]script-name"

OnErrorGoScript "[PATH]script-name"

whereby you can take appropriate actions.


-- eValid Support