Copy to Clipboard through Basic256 (New Features)

by Andrew360 @, Monday, August 13, 2012, 17:34 (1923 days ago)

This program takes an input and copies it to the system Clipboard using a CMD terminal window. I'm not sure if it works on Mac, but it does on Windows.


#Copy to Clipboard
#No Circumflex(^) or Percent Sign(%)

print"Your clipboard will be overwritten.":input"Copy to Clipboard > ",a$
if a$<>""then
onerror fail:system"echo "+a$+"| clip":print"Success.":end
else
print"Failure.":end
fail:
print"Failure.":print"Turn on System Commands.":print"(Edit>Preferences)"


Complete thread:

 RSS Feed of thread

powered by my little forum