Jump to content
Sign in to follow this  
DaLiMan

Compare copied text

Recommended Posts

DaLiMan

I want to compare text wich I copy from the screen with some other text wich I also copy from the screen.

I've tried it with $var1 - $var2 = 0 because I want it to be the same, but this don't work. I've looked in the HELP file but couldn't find anything like this.

Does someone have a way or some code for doing this? :D

Share this post


Link to post
Share on other sites
Jos

I want to compare text wich I copy from the screen with some other text wich I also copy from the screen.

I've tried it with $var1 - $var2 = 0 because I want it to be the same, but this don't work. I've looked in the HELP file but couldn't find anything like this.

Does someone have a way or some code for doing this? :D

What about :

If $var1 = $var2 then
- or for exact matching -
If $var1 == $var2 then

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
DaLiMan

Gonna try it, let you know...

Share this post


Link to post
Share on other sites
DaLiMan

What about :

If $var1 = $var2 then
- or for exact matching -
If $var1 == $var2 then
Works like a charm.... :D

Why didn't I think of this..... :iamstupid:

Thanx,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×