Author Topic: CTRL+v  (Read 3425 times)

0 Members and 1 Guest are viewing this topic.

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
CTRL+v
« on: February 14, 2020, 04:20:02 pm »
Hi,

I refer to the contents of the windows clipboard: how to insert them into a variable?

For example, I might want to copy and paste a word from a TXT file in to a field o database.
Or, more simply, try copying the word "name" and paste it into the variable j$:

Code: QB64: [Select]
  1. Input "Past here (in j$) something - a string - that's in the clipboard  "; j$

« Last Edit: February 14, 2020, 04:25:42 pm by krovit »
Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

FellippeHeitor

  • Guest
Re: CTRL+v
« Reply #1 on: February 14, 2020, 04:50:23 pm »
« Last Edit: February 14, 2020, 04:54:28 pm by FellippeHeitor »

Offline krovit

  • Forum Regular
  • Posts: 179
    • View Profile
Re: CTRL+v
« Reply #2 on: February 14, 2020, 04:56:03 pm »
This one i really missed!
But since when is there this command?

« Last Edit: February 14, 2020, 05:11:33 pm by krovit »
Nothing is easy, especially when it appears simple (and nothing could be as dangerous as trying to do good to others)

Offline Real2Two

  • Newbie
  • Posts: 18
    • View Profile
Re: CTRL+v
« Reply #3 on: February 14, 2020, 05:23:38 pm »
Like long time ago. Doesnt say on wiki rip

FellippeHeitor

  • Guest
Re: CTRL+v
« Reply #4 on: February 14, 2020, 05:55:35 pm »
Since 1.0 for sure, maybe even before.

FellippeHeitor

  • Guest
Re: CTRL+v
« Reply #5 on: February 14, 2020, 05:56:32 pm »
There's _CLIPBOARDIMAGE too, btw.