|
Writing to Clipboard Pinpres from United Kingdom [2 posts] |
11 year
|
Is it possible to write a variable value to the clipboard? It would seem that this might be a simple way to pass data to a Visual Basic program.
|
|
|
Steven Gentner from United States [1446 posts] |
11 year
|
That seems like a good idea ... just a clarification, is just one variable sufficient? If not, what's the easiest format for multiple variables to be written to the clipboard that you can read? As the clipboard is a single object (at least to be compatible with past OS's) only one content item can be written, so in order to transfer multiple variables you'd need to pack them into some sort of format which would need to be expanded on the VB side. Is CSV a good one to use? Or perhaps an XML format? Or maybe just a
name & ":" & value & vbCRLF
name & ":" & value & vbCRLF
?
Thanks,
STeven.
|
|
|
Pinpres from United Kingdom [2 posts] |
11 year
|
Writing values to the clipboard in CSV would be gratefully received - is it possible?
Pinpres
|
|
|
Steven Gentner from United States [1446 posts] |
11 year
|
Pinpres,
A radio button selection has been added to the Write_Variables module to allow for writing values directly to the Clipboard.
See the latest version for this update.
STeven.
|
|