Advertisement
toan9xpro2012

View Clipboard

Jul 26th, 2014
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;Vietnamese ver: http://pastebin.com/index/FTVffHCj
  2. #include <MsgBoxConstants.au3>
  3. $loi = 0;
  4. $data = ClipGet();
  5.  
  6. If @error = 1 then
  7.    msgbox(0,"","Clipboard empty!")
  8.    $loi = $loi +1
  9.    EndIf
  10. If @error = 2 then
  11.    msgbox(0,"","Can not be displayed as text!")
  12.    $loi = $loi +1
  13.  EndIf
  14. If (@error = 3) or (@error = 4) then
  15.    msgbox(0,"","Can not access the Clipboard!")
  16.    $loi = $loi +1
  17.    EndIf
  18. if $loi = 0 then MsgBox(0,"",$data)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement