Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Does VBScript Interact with the Clipboard ?

Status
Not open for further replies.

Gadrin

Programmer
Mar 24, 2008
18
US
Anyone have any examples on how I can place text on the clipboard ?

Or does it require a 3rd party gimmick ?


Thx!

>
 
VBScript does not exist on its own. What script host are you asking about? WSH? IE? MSHTA? Something else?

Some of these expose clipboard support to script via global namespace objects.
 
WSH would be fine.

I'm searching through my script56.chm and not finding anything.


>
 
WSH doesn't provide clipboard support. You'd need some component or else you must move to another script host (IE, MSHTA, etc.).
 
Yuck.

Well I'll have to make sure clip.exe is around someplace.

>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top