cookiemonster Posted July 1, 2016 Share Posted July 1, 2016 Hi, So im using ClipPut ( "value" ) to copy a value to my clipboard. It works all the time at the moment, and i have in if statement to show one message box if successful, and another if it fails. Has anyone got any suggestions on how to make it fail on purpose, eg: lock windows clipboard so it fails. Just want to confirm the action when it actually fails not that it ever should. Link to comment Share on other sites More sharing options...
AutoBert Posted July 1, 2016 Share Posted July 1, 2016 Check the return value. Link to comment Share on other sites More sharing options...
cookiemonster Posted July 1, 2016 Author Share Posted July 1, 2016 Im doing that and its always successful, what im wanting is a way of forcing it to fail, eg: locking windows clipboard so script fails to clipput 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