PDA

View Full Version : [ubuntu] Screenshot Menu Item



cylux
December 31st, 2008, 10:40 PM
Hello, I want to create an openbox menu item that captures a certain window and takes a screenshot of that window, then saves the file as the application window's name.

So if I was taking a screenshot of firefox, it would save the image as

firefox.jpg

Now I know the import command however I want to know what environment variable I should use to capture the window's name?

Any ideas?