|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
WSH - ClipBoard
Does anyone have an idea of how to get contents (not just text) off the clipboard?
I'm also wondering if it is possible to use vbscript object in jscript or vise versa through createObject("JScript") or new ActiveXObject("VBScript") ![]() |
|
#2
|
|||||||
|
|||||||
|
Quote:
vb Code:
Quote:
![]()
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! Last edited by Nilpo : July 16th, 2007 at 03:31 AM. |
|
#4
|
|||
|
|||
|
Quote:
I didn't succeed with doing that. Could you please show me an example of this? |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
In vb, to use the regExp object of jscript.
|
|
#7
|
||||||||
|
||||||||
|
Okay, you're talking about a language object. I thought you were talking about a COM object.
Language objects are specific to their language and cannot be used outside of it. However, VBS also provides a RegExp object that you can use. Here's a Jscript example followed by its VBS equivalent. javascript Code:
vb Code:
http://msdn2.microsoft.com/en-us/library/ms974570.aspx |
|
#8
|
|||
|
|||
|
Quote:
Isn't there any common COM objects or DLLs that can be use to get binary data off the clipboard or to load it into a flie? |
|
#9
|
||||
|
||||
|
Quote:
Another alternative uses the Kodak Imaging software provided with Windows, but then you have to assume it's actually installed. http://ourworld.compuserve.com/home...azaar/News6.htm |
|
#10
|
||||
|
||||
|
I don't mean to necro here, but I'm interested to hear what, if anything, you came up with for a solution, javaman.
|