capture

Using axWebBrowser control to capture page request and postdata.

I'm writing a small utility to capture all requests made to a web server from a windows application using the axWebBrowser control. So far I have the following working, as the user traverse the website clicking on links, posting forms etc I capture the webpage and the data being send to the server to request the next page. Where I ru...

Capture Window (Alt-Print Screen) of Context Menu

As everyone knows, sometimes developers have to document stuff. Or capture some stuff for filing bug reports. My question is in MS Windows. I'm trying to capture the context menu (right-click on an item) of several areas of an application. Pressing Alt to start the alt-printscreen process closes the context menu. (Only pressing Print...

How to capture the final HTML output from a JSP page(s) but before it is displayed to user?

I need to capture the HTML and do some post processing on the HTML data before it is finally output to the user. The final HTML document is actually composed of many JSP includes (12 or so), so there is some existing logic actually in the JSP. But I need the HTML that is generated. This has to be done on the server-side. I have only...

How to get a screen capture of a .Net control programmatically?

How do you programmatically obtain a picture of a .Net control? ...

Capturing image from webcam in java?

How can I continuously capture images from a webcam? I want to experiment with object recognition (by maybe using java media framework). I was thinking of creating two threads one thread: Node 1: capture live image Node 2: save image as "1.jpg" Node 3: wait 5 seconds Node 4: repeat... other thread: Node 1: wait until image is c...

How to capture and display output from a task via Windows CMD

Hi, I've got a PHP script which I'm running from a command line (windows) that performs a variety of tasks, and the only output it gives is via 'print' statements which output direct to screen. What I want to do is capture this to a log file as well. I know I can do: php-cli script.php > log.txt But the problem with this approach...

Dump hidden (or minimized) X11 window

I'd like to dump the contents of an X window. Like this: xwd -id | convert - capture.png ... which works quite well as long as the target window is not hidden (totally or partially behind other windows) or minimized. Any idea on how to do this? I guess we somehow have to send a "repaint" signal to the hidden window and then capture ...

launch app, capture stdout and stderr in c++

How do I launch an app and capture the output via stdout and maybe stderr? I am writing an automated build system and I need to capture the output to analyze. I'd like to update the svn repo and grab the revision number so I can move the files in autobuild/revNumber/ if successful. I also would like to build using make and upload the co...

How can I capture the output of an Executable in an image?

I want to capture the output of an exe file as an png or jpg image, i mean the display of that exe. Is there any command on windows to capture and save as image of an exe output or any other idea that i can do this. ...

How do I convert an audio stream to MP3 using Java?

Is it possible using Java to convert a real time audio stream from the mixer to MP3? It has to be converted chunk by chunk otherwise the memory will be exhausted. I already know how to record but only to lossless formats such as wav and aiff. I need conversion as the audio comes in. ...

Capturing MSN Chat via Memory

Is it possible, or does anyone know the best way to capture MSN chats? I was thinking about attaching to the MSN process, and messing about searching for static addresses for conversations, to capture them. (This is all on the windows platform using c++) ...

How to tell if mouse pointer icon changed

I'm writing a screen recording app for Windows in Delphi 7 and wish to know when the mouse pointer changes in my app (like from a normal pointer to a resize pointer, etc). Currently what I'm doing is painting the mouse pointer onto an in-memory bitmap everytime the mouse moves (and on a timer) and doing a pixel by pixel comparison of it...

Record Video of Screen using .NET technologies

Is there a way to record the screen, either desktop or window, using .NET technologies. My goal is something free. I like the idea of small, low cpu usage, and simple, but would consider other options if they created a better final product. In a nutshell, I know how to take a screenshot in C#, but how would I record the screen, or area...

Linux: launch window, capture screen

I need to write a Red Hat Linux command line tool that launches a window and captures its appearance to disk as a JPEG. Typically the target machines don't have graphics cards, but we can install any software components (e.g., X). Question or two: What libraries or tools might you suggest for this? If I were to use something like GTK...

How to tell a lambda function to capture a copy instead of a reference in C#?

I've been learning C#, and I'm trying to understand lambdas. In this sample below, it prints out 10 ten times. class Program { delegate void Action(); static void Main(string[] args) { List<Action> actions = new List<Action>(); for (int i = 0; i < 10; ++i ) actions.Add(()=>Console.WriteLine(i)); foreach (Action a in actio...

How do I turn OFF DML, ON DDL tracking in SQL Server 2008 Change Data Capture

Is there a way to turn OFF the DML tracking for SQL Server 2008 Change Data Capture? I'd like to only track all DDL statements. Thanks! ...

Which format has an audio stream before reaching the soundcard?

I want to manipulate an audio stream before it gets to the soundcard. So I wanna use the sAPOs from Microsoft to manipulate the audiostream in the audio engine (vista audio architecture). My basic question actually is which format the audio stream is in. I don't know but I think it is the WAVE format or the RIFF. Can anyone help me in ...

1. I fill out a form & click submit. 2. I get the results page. Goal: Get the same results without filling out the form again.

This is my first time posting - I greatly appreciate any and all guidance on this subject. Background: I am building a Real Estate web site. I would like to use the free IDX data provided by my local MLS board. The MLS board does not allow me the option of displaying a predefined search and only provides me with a link to the search fi...

Can libpcap reassemble TCP segments

I need to sniff TCP traffic into my application. Can libpcap reassemble TCP segments or I have to do it manually? The home page says "Full documentation is provided with the source packages in man page format". After I sudo apt-get install libpcap-dev I only find one man pcap. Is it all the documentation available or I simply missed so...

How can I capture another process's output using C?

How can I capture another process's output using pure C? Can you provide sample code? EDIT: let's assume Linux. I would be interested in "pretty portable" code. All I want to do is to execute a command, capture it's output and process it in some way. ...