Author Topic: Clipboard access  (Read 2818 times)

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Clipboard access
« on: August 12, 2008, 01:40:08 AM »
To anyone who may know (most likely Snerf :D) Is there a way to access data on the clipboard? To set clipbaord data?

Ive been researching for about an hour now, it seems that there is a cliboard object in Visual Basic but it was ommited in VBScript. Id like to be able to retrieve data but setting data would be nice too.
This message brought to you by the Wonderful Wizard of Oz.

Snerf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1968
    • IceChat IRC Client
Re: Clipboard access
« Reply #1 on: August 12, 2008, 06:58:05 PM »
$cb = Getting the contents of the clipboard.

/clipboard [-an] <text> = Setting data to the clipboard. -a appends it to what is currently there, and -n simply adds a linefeed at the end of <text> that was added.
The IceChat God

DarkStar

  • Full Member
  • ***
  • Posts: 135
  • Scripts for Praise
    • CorpseCorp
Re: Clipboard access
« Reply #2 on: August 12, 2008, 08:27:34 PM »
Awesome.
This message brought to you by the Wonderful Wizard of Oz.