Jump to content

how to capture the screen image?


cls9215

Recommended Posts

  • 3 years later...
  • 2 weeks later...

QUOTE (cls9215 @ Oct 6 2004, 08:24 PM)

I attach a VI that I use to programmatically update the snapshot of

a computer's desktop in a webpage :camera:

To run this VI you need the http://forums.ni.com/attachments/ni/170/157084/1/Clipbrd.zip' target="_blank">clipbrd.llb library.

The VI uses a call to Win32 API function "keybd_event" in user32.dll,

therefore it only works under Win32.

The "invoke node" method suggested before should be platform independent

but does not provide the entire screen.

Note:

the enumerator used to select the "print screen" key includes many other

(probably all) possible values to call the "keybd_event" function

(I found it somewhere but I don't remember where,

I apologize with the author for the lack of credits :worship: )

I use LV 8.2 and I can down-convert the file only to 8.0.

I hope you can find a way to convert it down to LV 7.0

(volunteers?)

Have fun :beer:

G

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.