09-29-2006 06:21 AM
@rolfk wrote:
The original code in your VI for the clipboard handling looks a lot like my bitmap library with clipboard support, but since I believe that I didn't release that one before 2002 I think this is a different implementation.
A. Bartel's clipboard code was actually replaced with your VIs (with credit) in later versions of the code where I added in support for copying the image to the clipboard as well. I now incorporated this in as well, so you should be able to copy text on Mac and Linux as well if the function is implemented. I tried it in Windows and it didn't work, so I left the previous method.
Additional changes to this version -
09-29-2006 06:25 AM - edited 09-29-2006 06:25 AM
Message Edité par chilly charly le 09-29-2006 01:29 PM
09-29-2006 06:38 AM
I know but this is for back to LabVIEW 6 and it does work but apparently goes around the internal LabVIEW clipboard somehow. If you try to paste the text in another application it should work but I have to admit I didn't try in 8.2, just 6.02, 7.1 and now 8.01.
@chilly charly wrote:
RolfK, Thanks but the clipboard problem disappeared with LV 8.0 : there is now an application method which works on MacOS. 🙂Message Edité par chilly charly le 09-29-2006 01:29 PM
12-23-2006 07:52 AM
12-23-2006 08:32 AM
12-23-2006 10:43 AM
@mrbean wrote:
So, are you saying the CodeCaptureTool does NOT work for Windows?
I'm not sure where you got that idea. There was one version where there was a bug which only affected Windows users (as I mentioned), but that was fixed. If I remember correctly, the problem was that I did not set the inputs to Required, so in all the changes I did to have compatibility between different versions and platforms, I forgot to connect one wire.
To sum this up, in the current version -
Copying text -
Copying images -
08-21-2007 06:06 AM
08-21-2007 06:36 AM
I believe Ton said there is a problem with the colon in library names which I believe he solved. He's actually working on a new and improved version (what's up with that, Ton?).
To embed an image, you need to have its URL. The easiest thing to do is to post with the image as an attachment, right click the attachment link to get its URL and then edit the post and use the button to embed the image into the post.
BTW, a nice thing about the CCT is that it can copy the file path into the clipboard. That way you can immediately click in the attachment field and paste instead of browsing to the file.
08-21-2007 07:09 AM
08-21-2007 09:19 AM
I don't really remember, but the most likely option is that at the time I only had a DLL for copying text to the clipboard in Windows. That meant that other platforms (at least before LV 8.0) could only capture and save the image, but not copy it to the clipboard.
Another option is that it was simply a matter of giving the user the option of not overwriting the current content of the clipboard. Since the create image is available as a standard file, you don't HAVE to use the clipboard.
As for the future, with the changes Ton is making to the CCT, I can see the option of saving the created file to another location. In such a case, not writing to the clipboard would be even more useful.