Programming :: Take A Screen Capture And Save It To A File?

Dec 9, 2010

Is there any simple example on how to take a screen cap and save it to a file?

View 11 Replies


ADVERTISEMENT

Programming :: Create A Screen Capture Program With Xvfb Server?

Jan 4, 2010

I am trying to create a screen capture program with Xvfb server, ImageMagick and Khtml2PNG. I seem to be having some issues and was hoping someone could help me out. I have everything installed and working on a centos WHM/CPanel system and am able to generate the screen shots and save them to root folder from shell with the following commands.

Xvfb :2 -screen 0 1024x768x24&
export DISPLAY=localhost:2.0
khtml2png2 --sw 200 --sh 150 http://www.example.com example.png
It works 100% fine when you run it from shell.

[Code]...

View 4 Replies View Related

Programming :: Cannot Capture - No At End Of File Store It And Print It Using Sed And Awk

Nov 25, 2008

How to write a shell script the would search for a phone no using at the end text file using sed or awk and store it in a varaible or print it.

The text file is in this form

The first line may take any form but the last line will always be Firstname Lastname:KEN:+254456789

I would like to seach for the Phone and store it in a variable and print it.

The phone no will alway be preceeded by ":+"

View 10 Replies View Related

Programming :: Sed - Save Output To File With Filename From Content Of Another File?

Feb 28, 2011

My employer issues pdf files with everyones work schedules. I copy the content and save it as plain text in a file called unformatted (hope to be able to automate this step someday). Im working on a SED script that reduces unformatted to only display what I want to see and saves the result in a file Iïve named formatted. After that I have to manually copy formatted and save it with that days date as a filename e.g. 2011-02-25 or whatever day is scheduled in the pdf, for use on a mobile device (Nokia N900). I noticed that the date occurs on certain lines in the file so I added a line like:

sed -n 's/^Date: (201[1-9])/([0-1][0-9])/([0-3][0-9]).*/1-2-3/p' < unformatted >theDate
That creates a file theDate with the date in it that I wish to use as the filename for this particular instance. So I would like to skip the file formatted all together and have the sed- script write to a new file using the content of the Date as a filename, but how do I make that happen? And of course it would be more elegant if I could skip the intermediate theDate file as well.

View 4 Replies View Related

Programming :: Save File From Deletion In C Code?

Apr 26, 2011

I create the file mytest.txt. Since this process is using this file. if I run this code in background and simply run "rm -rf mytest.txt" than file gets delete.Please help me how to save this file from other process.Here is my code

int main()
{
FILE *fp;

[code]...

View 9 Replies View Related

Ubuntu :: Finding A Software To Take A Snapshot Of Part Of The Screen And Save It As A Pdf File?

Jan 25, 2011

anyone knows of a software to take a snapshot of part of the screen and save it as a pdf file. I have KSnapshot installed but this only allows saving image files.

View 2 Replies View Related

Programming :: Store Data In Text File And Be Able To Modify It And Save As Well Using C++?

Jan 25, 2010

I wanna learn how to store data in text file and be able to modify it and save as well using C++.

Note: im using Turbo C++ 3.0

View 9 Replies View Related

Programming :: Save Input From An Online Form To A File/database?

Jan 27, 2010

Browsing some websites I've found a code for online form where a user provides name, number, etc. Everything is created in html/javascript. I'm just wondering whether it's possible to collect this input and present it in a database form so that I'd be able to see who's provided data and all the details they entered.Actually, it doesn't have to be a proper database (it would probably require php/mysql). It could be a weekly/monthly report (a text file) of people who provided details. The website is hosted by a third party company.This is an html bit:

Code:
<body id="main_body" >
<img id="top" src="top.png" alt="">

[code]...

View 4 Replies View Related

Programming :: Save The Results Of A Fortran Loop In A Text File?

Nov 2, 2010

I am trying to store the results of my code to a separate text file.But the problem is, as my results comes from a loop, my text file shows only the last result, not all of them.Like if the loop runs 5 time the text file shows the result for the 5th step.But i need to store all of them (1 to 5).Can I use awk to print the output field and store to another file and creat a new line so that the next output field goes to a new line?(just an idea, dont know).

#!/bin/basth
for (( i=1; i<=5; i++))
do
./file.exe > output.txt
done

View 2 Replies View Related

Ubuntu :: Screen Capture - Screen Grab Software - Not Fullscreen - Not Video

Feb 5, 2010

Hey I'm looking for something to grab a section of the screen ... like to allow me to drag a rectangle around a portion of the screen and when I release, capture only that -- in to the clipboard would be fine or at that point to a image file format which I could save on the file system.

View 2 Replies View Related

Ubuntu :: Fn + - Can't Capture The Screen With Screen Shot Key (ptr Sc)

Feb 28, 2010

i have ubuntu 9 10 i have been searching in the internet but i have not found a solution, my problem is that i cant capture the screen with screen shot key (ptr sc) my keyboard has it under the key home, so in windows i have to use the

View 1 Replies View Related

Fedora :: Screen Capture Corrupt On F11

Jun 26, 2009

I'm having problems with the screen capture utility in Fedora 11. Everytime i capture a screenshot, it looks like this:[url]

I've tried turning off Compiz, but that doesn't do anything. I suspect it may have something to do with the kms (I have an Intel 82855/855GM, which has had issues in beta).

View 1 Replies View Related

Fedora :: Capture Screen By Press Some Key

Mar 27, 2010

I wonder if there is the possibility of getting to press any key and the F6 for example, Fedora starts up a screenshot, equal to application "form screen capture image" in the menu acessories .. The problem is that if I want to do this I have to be opening up the application every time .. and I like to do with was fast, just by clicking F6 or printscreen for example ..

View 14 Replies View Related

General :: Screen Capture - Equivalent Of Fraps ?

May 9, 2011

I want to make a demo of a 3d app I'm writing, but I don't know of any good screencasting software like it that runs on Linux.

View 2 Replies View Related

Ubuntu :: Screen Capture Of A Selected Area Hot Key

May 7, 2010

On my Mac, when I press F2, I am able to take a screen shot of a selected area. Is it possible to assign a hot key to do the same thing on my Ubuntu 10.04 PC?

View 4 Replies View Related

Ubuntu :: Screen Capture While Running Application?

Nov 1, 2010

I need to take a screen capture while an application is running. The application is a touch screen calibration utility and alt-Prnt Scrn does not work when the calibration utility is active. Is there another way for me to capture the screen while the utility is active?

View 1 Replies View Related

Ubuntu :: 11.04system Freeze W/screen Capture

May 20, 2011

system - screen/mouse/keyboard/hard drive all freeze. if I am in the middle of video or audio, last second of audio loops. I get a terminal screen (attached).

Also, If there is a step by step overall troubleshooting guide,I would appreciate its location. This did not freeze under 10.10, but I have changed wifi card (changed driver) and loaded VirtualBox from oracle (not Ubuntu - VB not running during freeze)) - no other changes.

Running 11.04, classic gnome
Hardware: AMD Athlon II X4 2.8 GHz Processor
MB - MSI 785gtm-E45

What Ubuntu Sees:

View 7 Replies View Related

Software :: Screen Capture - Do Not Function Normal Any More

Apr 7, 2011

My screen capture software, shutter and system's default "take screenshot", do not function normal any more. It can only capture the desktop wallpaper, not any other elements on the desktop, nor any other opened windows. It's just like taking an x-ray picture by passing all the other objects/elements/running programs on top of the desktop wallpaper. Any ideas? I am using Fedora 14 64 bit. The screen capture software were working fine, though.

View 1 Replies View Related

Software :: Screen Capture Program For RHEL 5.x?

Jul 30, 2010

Anyone know of a decent screen capture program for RHEL 5.x?

View 4 Replies View Related

OpenSUSE :: Bash Script To Auto Capture Screen

Jul 5, 2010

I need a bash script that auto captures the screen (every 30 sec) and then realize an archive with those screenshots. The script will allow me to quering by user name and date and time framing and if exists a capture archive, it will display a slideshow that presents the captures of specified time.

View 2 Replies View Related

OpenSUSE Multimedia :: Capture Desktop Screen And Audio?

May 16, 2011

I'm trying to capture my desktop screen and audio , before I used xvidcap but after upgrading my system I can not use it and also recordmydesktop anymore these APPs hanged when I try to use them.Now I try to use recorditnow via ffmpeg recorder interface , it work properly in recording the desktop but it does not record the sound , so I tried to add below options to its command -f alsa -ac 2 -i hw:0,0 but it just record sound at the beginning and just for 1 second. Also when I try to capture my desktop with ffmpeg directly from command line with below command I face with same problem!!! ffmpeg -f x11grab -s 1024X768 -r 30 -i :0.0 -f alsa -ac 2 -i hw:0,0 ~/out.mpg

View 9 Replies View Related

Ubuntu Servers :: Possible To Capture Screen Shot Images?

Mar 26, 2010

I have Ubuntu Server Ed. installed (so no Gnome) and was wondering if it's possible to capture screen shot images?

I'm using Subversion, and need to capture screen shots of some merge collisions you see.

Everything is being done via the terminal.

View 5 Replies View Related

Ubuntu Multimedia :: XVidCap Screen Capture No Sound

Mar 25, 2011

I have installed XVidCap Screen Capture. If I record my screen with XVid Cap Screen Capture there is no sound. But if I record with Desktop Recorder there is sound. What is wrong?

View 9 Replies View Related

General :: Screen Capture Utility Software For Fedora?

Mar 19, 2010

Suggest me a good screen capture utility software for fedora?

View 10 Replies View Related

General :: V4l2 - Empty Screen With Capture Device

Jun 23, 2010

I have video capture device "MSI vox USB 2.0", every thing seem to be fine, but none of tv applications show the device, they just show my webcam "/dev/video0"

It's driver is "em28xx" from "v4l2"

I test it with "mythtv, tvtime, xawtv, kdetv, me-tv, v4l2-tool, vlc, mplayer" none of them work detect the device, expect mplayer open a green window with time out message.

The device work fine under windows I test it with vlc-win

lsusb show:

Quote:

dmesg | grep em28xx show:

Quote:

Quote:

So i did:

Quote:

then:

Quote:

Quote:

Quote:

View 2 Replies View Related

Software :: Download Helper Screen Capture With Ffmpeg ?

Jul 3, 2011

The sort of add on for Firefox 'download helper' now has a new screen capture thing, in case it won't download the video from a particular site. You click the red button and a purple boundary appears round the video frame. I assume this is the basic function of the thing; it then provides the geometry of the purple frame to the program you've given it to capture the video.

By default the program it uses is 'recordmydesktop'. I've tried using this but get sound from the laptop's internal microphone, not the video. Tried 'pavucontrol' to remedy this but it says (wrongly) that no program is recording, so can't put things right.

So tried using ffmpeg: [URL]

Assume the stuff in curly brackets is what download helper supplies. Sometimes works perfectly but with B.BC. i-player only get the top left hand corner of the video and it is stretched somewhat horizontally.

View 7 Replies View Related

Programming :: Bash: Capture All Output To A Log?

Jun 10, 2010

I have a script that generates a bunch of output, including the expansions details provided by: set -v -xI am trying to pipe everything that is displayed to a file, in addition to displaying it on the screen. I've managed to get stderr and stdout into the file, but the expansions are only printed to the screen. Here is what I have so far:sudo -u <user> source my_job.sh |tee my_log.txt 2>&1

View 2 Replies View Related

Programming :: Way To Capture X Keyboard Events

Jan 8, 2010

I wonder if there is a way to caputure all X keyboard events, blocking them from going to the window with keyboard focus?

View 4 Replies View Related

Ubuntu Security :: Screen Capture Application With Autorun Feature

Jun 5, 2010

I am looking for an screen capture application which auto runs when ubuntu starts up and work without any instructions or clicking capture or anything,
= "Some1" ** Turns on the System --> UBUNTU Loads --> the Screen capture Runs--> it takes screen shots with out "Some1"s knowledge// turns off system....
I get home -->> turn on system -->> screen shots r saved.. n um checking em...!!!

View 9 Replies View Related

Ubuntu Multimedia :: Is There A Video Screen Motion Capture Utility

Oct 23, 2010

On my Windoze machine, I use Replay Media Catcher 4 which runs silently in the background and captures any videos (FLV, AVI, MPG, WMV, etc) on any websites that I happen to go to, and saves them to a folder on my hard drive. Right now, if I want to save a video that I'm wathing from Ubuntu, I have to go to /temp, guess which file it is, and copy it after it downloads fully but before it finishes playing, otherwise Firefox deletes it from /temp right away. This is a pain.

Yes, there are screen motion capture utilities in the Ubuntu Software Center, but they're just screen scrapers that result in low quality copies without any audio. I want something that will actually capture the video stream and save it as a file. Even if it doesn't save all videos automatically like RMC4, and I have to right click on the video to Save As, that would be better than copying it from /temp at the precise exact moment.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved