function setClip( txt )
{
var ie = new ActiveXObject( "InternetExplorer.Application" );
ie.Navigate( "about:blank" );
while( ie.Busy ) WScript.Sleep( 50 );
ie.Document.parentWindow.clipboardData.setData( "text", txt );
ie.Quit( );
}
wsh_setClipboard
Leave a Reply
You must be logged in to post a comment.