Andreia Biancato 5 Posted August 7, 2019 Share Posted August 7, 2019 Hello Can someone help me I want to create a command in Phyton to verify that the value of the document property is equal to a "password" please, how do I do this validation Best Regards, Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted August 7, 2019 Share Posted August 7, 2019 You can use something like below givenPassword=Document.Properties["password"] actualPassword="abc" if givenPassword==actualPassword: print "same Password" else: print "different password" Link to comment Share on other sites More sharing options...
Andreia Biancato 5 Posted August 7, 2019 Author Share Posted August 7, 2019 I will test the script thank you for the answer. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now