Visit Our UNIX and Linux User Community


C coding for Screenshot capture


 
Thread Tools Search this Thread
Top Forums Programming C coding for Screenshot capture
# 8  
Old 08-18-2009
Thanks for your advice.I guess its a little complicated,but can you give me an idea on how it can be achieved atleast.

Thanks...

Smilie
# 9  
Old 08-18-2009
The system needs an username and password to check for write/read/execute permissions, if you want to run a program to make a screenshot of a login screen BEFORE the login occurs, as corona688 says, i don't think it's possible.

But in Windows, there's an account that doesn't have any restrictions on the system, it would be Windows "root" user, it's name is SYSTEM, it's responsible to initialize all the services in the system and some other things, SYSTEM user is superior than the Administrator one.

You can configure a program to run BEFORE the login occurs by telling the SYSTEM account to execute it, this can be done with the gpedit.msc program.

Go to Start -> Run... -> type gpedit.msc and click OK

On the Group Policy console, get into Computer Configuration -> Windows Settings -> Scripts (Startup/Shutdown) -> Startup and double click on it, in the new window select the path to the program you want to run before logging in (the screenshot app) and restart your system.

With the program, i cannot help you, this is a UNIX/Linux forum, and Windows is a different operating system, which opperates in a different way.

If you were on an UNIX system, i would tell you to do a simple `cat /dev/fb0 > image.raw` to capture the screen, and a `cat image.raw > /dev/fb0` to view what you've captured. Obviously this wont work on Windows. By the way, in an UNIX system, it is impossible to do anything without logging on.
Zykl0n-B

Previous Thread | Next Thread
Test Your Knowledge in Computers #110
Difficulty: Easy
As of 2014, Apple's macOS was the largest Unix installed base globally.
True or False?

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Script to Capture a Screenshot

Hi All, Suppose I want to take a screenshot of a website say Google and save that image. How should I do it? I tried wget with this but of no help. It just makes a particular file in jpeg format but on opening the same it says corrupted. Although I can edit the jpeg as an HTML file. wget... (15 Replies)
Discussion started by: ankur328
15 Replies

2. Shell Programming and Scripting

Shell or Perl Loop Screenshot URLs

I am trying to capture screenshots from a huge list of URLs. I am able to manually capture images of individual pages; that is, I simply run the following command to get a screenshot of Foo.com $ python /path/to/screencapture.sh http://www.foo.com I want to modify the script so that instead of... (2 Replies)
Discussion started by: chipperuga
2 Replies

3. Windows & DOS: Issues & Discussions

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (2 Replies)
Discussion started by: crazydude80
2 Replies

4. Shell Programming and Scripting

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (1 Reply)
Discussion started by: crazydude80
1 Replies

5. Programming

Help for coding this programme

for a floating-point array x whose size is n, find the geometric mean.. GM =n x1.x2.x3...xn (2 Replies)
Discussion started by: allyjaah
2 Replies

6. What is on Your Mind?

Movie Screenshot Contest - Bits to be won!

I propose a little game, I post a bunch of images from random movies out there and people try to identify the name of the character and the movie. Each correct answer earns a point, at the end of the contest I'll give some Bits to those with the most points. The rules: I'll post only a few... (35 Replies)
Discussion started by: Smiling Dragon
35 Replies

7. Programming

where i get coding for networking in C?

hai, this is nagalakshmi. i have a question in Unix C. i need the coding for the file transfer and simulation of protocols in C where i get the coding? (2 Replies)
Discussion started by: xpertlakshmi
2 Replies

8. UNIX for Advanced & Expert Users

can I use this coding

I apologise because I had pasted this question in the newbies forum first (because i am a bit of a newbie) but thought it might be better suited in here if i have to sepearate parameters can I use this syntax especially the or part (||) and is this correct if (6 Replies)
Discussion started by: w33man
6 Replies

Featured Tech Videos