# application.getClipboardString();

**URL:** <https://forum.servoy.com/t/application-getclipboardstring/5818>\
**Category:** Classic Servoy\
**Created:** [April 26, 2006, 6:52pm UTC](https://forum.servoy.com/t/application-getclipboardstring/5818 "2006-04-26T18:52:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [April 26, 2006, 6:52pm UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/1 "2006-04-26T18:52:03Z")

</div>

Is it possible to retrieve a screenshot, that is on the Clipboard?  
(made on XP with the button: PrintScreen)

application.getClipboardString() does not do the job.

I can paste it in column(MEDIA), but than I have raw data, that is much to big, over an internet-line. I want convert the image first to JPG and than put it in a blob. possible?

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [April 27, 2006, 8:35am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/2 "2006-04-27T08:35:41Z")

</div>

Just from the top of my head, you could try to use:

```auto
var jpg_image = application.createJPGImage(clipboard_data,-1,-1)

```

It should work.

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [April 27, 2006, 9:28am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/3 "2006-04-27T09:28:06Z")

</div>

yes, but how do I get the clipboard\_data?

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [April 27, 2006, 9:32am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/4 "2006-04-27T09:32:52Z")

</div>

Maybe you could try to paste it in a global of type media, that way it should’t create network traffic cause it remains in the local client.

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [April 27, 2006, 9:35am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/5 "2006-04-27T09:35:12Z")

</div>

Yes, but I want it to do by method, if possible.

not manually pasting.

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [April 27, 2006, 9:56am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/6 "2006-04-27T09:56:38Z")

</div>

I was sure there was a “paste” function somewhere but I can’t find it right now… maybe I’m just confusing with Filemaker… I have to stop using that thing!

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [April 27, 2006, 10:26am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/7 "2006-04-27T10:26:16Z")

</div>

Nicola, FM is not a thing. It is a virus. The best thing to do is burn it out of your system ![:)]( "Smile")

---

<div class="post-metadata">

**Author:** ![ngervasi](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@ngervasi](https://forum.servoy.com/u/ngervasi)\
**Post date:** [April 27, 2006, 10:31am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/8 "2006-04-27T10:31:55Z")

</div>

I agree Marcel but as long as that “virus” keeps bringing money in I have to live with it… ![:cry:]( "Crying or Very sad")  
But the switching process is keeping a good pace, only a few customers are still infected ![:D]( "Very Happy")

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [April 27, 2006, 10:37am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/9 "2006-04-27T10:37:58Z")

</div>

> IT2Be:  
> Nicola, FM is not a thing. It is a virus. The best thing to do is burn it out of your system ![:)]( "Smile")

![:lol:]( "Laughing") ![:lol:]( "Laughing") ![:lol:]( "Laughing") ![:lol:]( "Laughing")

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [April 27, 2006, 10:41am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/10 "2006-04-27T10:41:35Z")

</div>

> as long as that “virus” keeps bringing money in I have to live with it

Hmm, sounds like a doctor. But hey doesn’t the medical industry say it is beter to keep peoply healthy instead of having to cure.

In Servoy words: You are on the right track my friend. Convert your clients to Servoy ![:)]( "Smile")

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [April 27, 2006, 11:26am UTC](https://forum.servoy.com/t/application-getclipboardstring/5818/11 "2006-04-27T11:26:35Z")

</div>

but, alle gekheid op een stokkie,

it’s not possible yet, to retrieve an image, from the clipboard?
