Jump to content

Test ClipPut for failure on purpose


Recommended Posts

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

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
 Share

×
×
  • Create New...