Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12220

Re: how to put a variable value in clipboard with VBScript

Newsgroups microsoft.public.scripting.vbscript
Date 2019-09-19 10:26 -0700
References <4650acf2$0$27400$ba4acef3@news.orange.fr>
Message-ID <3d46995f-feb4-4f6c-9514-a06b4c376aee@googlegroups.com> (permalink)
Subject Re: how to put a variable value in clipboard with VBScript
From tlstreng@gmail.com

Show all headers | View raw


On Sunday, May 20, 2007 at 4:17:55 PM UTC-4, Nemroth wrote:
> Hi,
> 
> Any One can say to me how to put a variable value in clipboard with 
> VBScript (used in a vbs file, not in a browser script) ?
> 
> If any, how to do it, please ?
> 
> Thanks by advance for your answer.

An easy way to get stuff to the clipboard is to display the variable text as the default text displayed with the inputbox 
i.e. myGuid = Mid(TypeLib.Guid, 2, 36)
InputBox "GUID:","GUID Generator",myGuid. 

Then use your mouse to swipe the information and copy it to the clipboard.

Back to microsoft.public.scripting.vbscript | Previous | NextNext in thread | Find similar


Thread

Re: how to put a variable value in clipboard with VBScript tlstreng@gmail.com - 2019-09-19 10:26 -0700
  Re: how to put a variable value in clipboard with VBScript "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2019-09-20 00:11 +0200
    Re: how to put a variable value in clipboard with VBScript JJ <jj4public@vfemail.net> - 2019-09-20 16:14 +0700

csiph-web