Capture active window

does java offer any methods to capture the active window as an image ie .gif or .jpeg?

thx for the info...i'm having difficulty compiling and executing the source files...can u helpme?

Similar Messages

  • Snagit v10 build 788 - unable to capture input - scrolling active window

    Hello,
    I use Snagit v10 build 788.
    I cannot use the "Scroll Active Window" option on Firefox 4 Beta.
    It does not work.
    I get the Snagit message : "Unable to capture input".
    Using Internet Explorer or on an other PC the Firefox v3.6, the "Scroll Active Window" option of Snagit v10 is working.
    How to solve it ?
    Thanks
    Caius

    FIXED!
    Guys, you will not believe how easy this is to fix! After hours of frustration I finally discovered a Firefox add-on called '''Screengrab'''. Install Screengrab, then right click in Firefox, choose Save, Complete Page - and you get a perfect scrolled page capture!
    Even better, you can open it in Snagit to work on it further (Screengrab saves it as a png)

  • Urgent!! How to capture the active windows

    I want to write a program to capture the active windows in the Windows desktop. Can anyone help me. I know to use class "Robot" to capture the screen, but how to determine the position of the active windows in the desktop.
    Thanks...

    This code could work to capture the desktop screen:
    Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
    Image imgs;
    try{
         Robot r = new Robot();
    Rectangle rect = new Rectangle(0,0,d.width,d.height);
    imgs = r.createScreenCapture(rect);
    }catch(AWTException awe) {
    System.out.println("robot excepton occurred");
    Try this!!!

  • Capture the Active Window

    I need to capture the Active window on the event of PrintScreen Key pressed. What I get is the whole desktop. Can anyone please tell how do I capture the Active Window?

    Try alt-printscreen
    But I don't know what it is in Java

  • Formerly I could download YouTube videos by double clicking the largest size page element in the Safari activity window address column. Now in V 5.0.5 page elements are not shown, just the page title, and under that about:blank.  Suggestions? Thanks.

    Formerly I could download YouTube videos by double clicking the largest size page element in the Safari activity window address column . Now in V 5.0.5 page elements are not shown, just the page title, and under that "about:blank".  Also, the activity window used to show sequential activity and now each new page replaces the last. Thanks for any suggestions re how to restore previous activity window function.

    Not all YouTube videos are available for downloading, but:
    There is the Free  iTube Grabber which can capture almost any audio and/or video stream (it says here) but only works with Intel Macs.
    http://itube-grabber.en.softonic.com/mac
    Firefox Download Helper is also supposed to work, you have to be logged into YouTube first.
    and the RealPlayer Downloader that comes with RealPlayer SP for Mac from:
    http://www.real.com/realplayer/mac
    which also downloads videos from YouTube.
    There is also iTubeX which allows you to download videos (Flash, HTML5 and others), .mp3 and .swf files from almost every website as easily as possible:
    http://www.macupdate.com/info.php/id/27604/itubex
    Lastly: How to download Flash videos and play them in Quicktime using Perian is explained here:
    http://perian.org/#watch
    It's the video at the bottom of the page.

  • Activity window in safari is very complicated.. any fix?

    Streaming videos in safari were so easy to download in Lion. Mountain Lion really made the activity window a mess(in my opinion)! Has anyone found a way to download streamning videos in Safari? I tried downloading from the new activity window but with least success.
    Any suggestions?

    I've been searching this on google for days now with very little success. However, I did find a method that works. I put this together from bits and pieces of what i've found on google, then expanded on it. It's not as easy as it was with the original activity window, however it does the job and I hope that this works out for you.
    1) First off you need to enable the Developer menu in safari: Safari>Preferences>Advanced and put a check box next to "show developer menu in menu bar". Once you've done this, you'll find a new menu at the top of the screen named "Develop". Now if you've been searching google you've probably seen this already, tried it out, and failed. Keep reading though, it gets better
    2) Next, navigate to the website from which you would like to download the streaming video/music/content. Do not click on the content yet to start it. You do not want safari to start downloading/streaming before you are ready to capture it.
    3) Once you are at the site you want, go to the "Develop" menu and click on "Start Timeline Recording" The bottom third of safari will now show you all the different file/content that are currently being streamed to your computer. It shouldn't show anything yet since you havn't started streaming your video yet.
    4) Once you have clicked on that, you should now start to play the content which you want to download.
    5) Now that it is streaming and downloading, it will show up in the Network Requests Timeline. If you are trying to download a flash video or sound file, I would expect it to be bigger than 1MB, so on the right side of the network requests window, sort the files by size so that the largest files appear on top. When you believe you see the file that you wish to download, go back up to the "Develop" windows and click on "Stop Timeline Recording".
    6) Next to the file that you wish to download in the Network Requests Timeline, there should be a little arrow that is pointing to the right. Click on it and it will try to play the video. It has a hard time loading for me, but that isn't important. What is important is that on the right side of the window, it gives you the full address of the video file.
    7) Highlight the address, copy it, and paste it into the address bar of safari and press enter. The file will now begin to download to your "downloads" folder or wherever you have designated your files to be downloaded to.
    And your done!!!!!!
    It's definately not as easy as the old windows activity window, but it works, and in some ways is easier..... Once you get in the habbit of doing it correctly. If anybody is still having trouble, make a reply on here and I will see about doing a picture or video tutorial.
    And to anybody who works for Apple that might read this, the activity window was one of the single greatest features that I have ever seen on a web browser. I suspect it may have been removed beacuse of people downloading material(s) that they were not suppose to download, but for all the bad that might have been done with it, it was an amazing tool and a real loss for safari which I think will drive people to other browsers. Please re-activate the activity window and don't cripple safari any further.

  • Batch won't run unless Illustrator CS3 is active window?

    I'm hoping someone can help me out with this as it's driving me nuts. Basically I'm trying to batch an action I made in CS3 to run on about 700 illustrator files.
    Everything runs just fine and dandy until I switch from Illustrator to another program (Firefox, photoshop, bridge, anything other than illustrator), once illustrator is no longer the active window, the batch process stops. When I make illustrator the active window again, the batch starts again. This worked perfect in CS2 and I never had this problem until CS3.
    This is a huge pain as I can't work on anything else while keeping the batch running in the background.
    Here's the nitty gritty details:
    XP SP2, Illustrator CS3, smoking fast machine
    Action was created in actions palette to do the following:
    Unlock All > Select All > Create Outlines > Convert to Grayscale
    Ran the batch via the actions palette, choose "Save and Close" and "log errors to a file".
    I've restarted Illustrator, restarted the machine, recreated the action, broke the folder into smaller folders with less files. It's making my Tuesday feel like a Monday.
    I've search all over and found nothing. There was one post here on the adobe forums, but it was from October and it never got answered. If you have a solution you will be my hero!
    Thanks!

    Yes, I have absolutely seen this! At our office we batch process Illustrator files to JPEG very frequently, and it's a huge nuisance to have Illustrator block the system during the batch processing. Everyone here is on XP SP2 as well, and we all have this issue. In fact, trying to switch in and out of Illustrator while it's batching can cause the application to crash fairly regularly for us.
    I can confirm that the Mac version of Illustrator CS3 does *not* have this problem, as I am batch-exporting right now with Illustrator in the background on my Mac. (Mac OS X 10.5.2, Illy 13.0.2)
    A fix for this would be most appreciated, Adobe!

  • How do I get the activity window in safari 6.0.2?

    How do I get the activity window in safari 6.0.2?

    Safari 6
    Activity Window is no more available in Safari 6.
    Apple removed that feature.
    Best.

  • I tried to open a bookmark and it opened in an active window as a frame, not a separate tab or window. What's going on?

    I've been having problems with Firefox hanging (seems related to Flash on a particular website). Through hours of troubleshooting yesterday, including on the phone with my ISP's help desk, it was recommended I "refresh" Firefox. I've done that before, and I did it yesterday again. This morning I opened Firefox to my home page (my ISP's portal), checked my email, logged out of email, closed that tab, opened two other forums and Photobucket--three tabs open in the window--to post photos and contribute to discussions in both forums. When done, I logged out of both forums and Photobucket, closed each tab separately, then quit Firefox. (While in Photobucket, Flash crashed several times....but that's not unusual with Photobucket in my experience. It's a different problem I am still dealing with....but forget it right now....) As part of yesterday's "refresh", I set Firefox to empty the cache and cookies and other files upon quitting.
    Later in the day today, I opened Firefox, my ISP's portal opened as usual and expected (my "Home page"). Sometimes, rather than close that window/tab, I just open a bookmark and it opens in that same window, but replacing the previous window and its contents. That is normal operating procedure for me. You know, rather than having two windows open where I'll have to close the first one, I just have the bookmark open in place of the original window/contents.
    Today (and it's happened before today, but only infrequently), the bookmarked page opened as if it was a frame in the active window....that is, my ISP's portal occupies about 3/4 of the window, but over on the left side of the window (not another tab or window, but in the very same window) is a slender partial view of the bookmarked page. This new web page--totally unrelated to the original page--has a scroll bar at the bottom, but can't be made to fill the window....the previously opened web page acts as a barrier to seeing the "new" frame/web page. While I can grab the right border of this "new frame" and drag it to the right, it still can't push the "old" original web page out of the way....the old page reaches some minimum limit and I get a split screen view of two entirely different web sites contained in exactly the same active window.
    The "new" frame has an "x" in the upper right corner, so I could close it.....but my question is, why did it open in a completely different company's web page/window....how can two web pages from completely different organizations/companies/websites occupy the same active window in Firefox? I have screenshots.....attached. And, oh yes, besides the HOW and WHY of it, how can it be prevented (or is the best thing to just right click and open it in a new tab or window.....??????) That still doesn't satisfy me....I'm someone who needs to know WHY something happened that should not have happened. It makes me crazy when something strange happens and the "solution" is to change MY behavior. (You know, like if YOU were the problem, but I have to change MY behavior instead of fix what's wrong with YOU.....when fixing YOU might render the entire situation obsolete.)
    Thanks for whatever you can suss out.....

    You do not have the properties in the Bookmarks Manager (Library), but you should have it if you right-click a bookmark the Bookmarks Toolbar or in the bookmarks sidebar.
    On Mac you probably do not have it if you right-click an item in the Bookmarks menu (this menu is under control of the Mac OS), but I assume that this should work if you click the "Show your bookmarks" button on the Navigation Toolbar that is next to the star to bookmark the current tab and right-click an item in the bookmarks list that opens.

  • The Background File Activity Window Is Annoying. Any tips on removing?

    So, I just started using Dreamweaver CC after having been on hiatus from the program for nearly a decade. I have to say, most of the things I hated it for, and stopped using it because of, have been corrected. Kudos, Adobe, for fixing what was everyone's least favorite program in the suite.
    Anywho, all that said, I am still annoyed on a very VERY regular basis by the program issuing an extremely pesky pop-up window anytime I attempt to Put files to my Remote or Testing server. I took a screenshot of the nasty bugger and have attached it here. The Background File Activity window closes when the Put action results in no errors or warnings. That's fine, but EVERY SINGLE TIME I put an HTML file that has references to external files (**so ya know like ANY HTML FILE EVER**), the window stays up and requires me to take action on closing it. THIS IS EXTREMELY ANNOYING. The error message displayed in the window doesn't even seem to be accurate (- error occurred - Access denied.  The file may not exist locally,  may be open in another program, or there could be a local permission problem), because it DOES put the HTML file in question. Perhaps the worst characteristic of this window is that is floats above everything else on my desktop. That means if I want to do a local>remote sync or just upload a bigger bunch of files, and then jump back into Photoshop to keep working on assets in there, I eventually am interrupted by this window popping up. This thing is worse than my cat trying to lay on my hands when I'm typing.
    So, if anyone has any suggestions on how to turn this frustrating dialogue off, I would be very grateful.
    My system specs are: Yosemite (Mac OS 10.10.1) and Dreamweaver CC 2014.1 (15.0.0.6947).
    MUCHO DANKES

    its not FTP information, the site is defined as Local
    Network. I have a drive
    lets say M:\ mapped to \\machine\webroot or whatever and then
    point my DW8 site
    to M:\webroot
    It can synchronize all it wants, all day long for all I
    care...... just lose
    the focus so I can switch windows??? You don't name something
    'background' file
    activity when its in your face and causing nothing to respond
    appropriately in
    the 'foreground' lol.

  • Formatted Search - Restrict to Only One Customer on Activity Window

    Hello Experts:
    Am trying to create a formatted search to provide a suggested RMA Number on the Business Partners > Activity window in a UDF.
    While in Activity, the user should get a list of ONLY the one customer they are currently working with.  So if C0001 is being used in the Activity window, the list should show all suggested RMA numbers just for that customer of C0001, not any other customer. 
    When I use the following it shows all customers.
    --FMS 6BP Automated RMA Number
    SELECT
    T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode]))
    FROM OCLG T0
    INNER JOIN OCRD T1
    ON T0.CardCode = T1.CardCode
    ORDER BY
    T1.CardCode Desc,
    T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode])) Desc
    When I put in WHERE T1.CardCode = $[$ 9.0.0 ] in the right place it shows nothing...
    Any ideas on how to make only the one current customer in Activity window appear in the list???
    Thanks in Advance - Zal

    Thanks Istvan and Gordon...
    Istvan - that is the same as my SQL - just do not know how to show the $[$... correctly in this forum - it always goes to that http thing.
    Gordon - tried to use your SQL but it gave me an error of "Internal Error (-1003) Occured [Message 131-183] every time I tried to click on the magnifying glass.  However, due to your last line in the SQL it gave me an idea that eventually they were OK with - namely, the highest number to the top of T0.ClgCode...
    Thanks again guys - Zal

  • How to open a paramter form in a active window

    I am calling a report from a form but the parameter form of the report does not show in active window . its been displayed but in the back ground. how to show this in active window.
    thanks for your help.

    when i looked in the code there was no code present for any triggers . the code is empty. I am using oracle 10g release 1 version.

  • How can I get that which one is currently activated window

    I created a frame. The user may be minimize that frame and he may use some other window like internet explorer or Notepad or something else. Then I want to know that which window is the currently activated window. Is it possible. Please help me.

    you can use Javascript functions/varibles.
    In any page you can insert a special form like this:
    <form name="myNameWindow">
    <input type="hidden" name="myName" value="Ivan_pag01">
    </form>
    and in the other reading that value.
    Obviusly you have to save a reference in a variable of the other window.
    This is possible only if:
    1) other page is in the same browser window but in an other frame
    2) you have generated the other page via an "window.open" function (or your page is generated from it via that function)
    -- Ivan

  • How do I stop iTunes from starting up in the other active Windows sessions?

    I have multiple (3) user accounts on a windows (Vista) computer. When I start iTunes from one account iTunes wants to also start up on each of the active windows accounts and continues to attempt to start iTunes after some time period (90 seconds?).
    I get a error screen on the attempts for the User that should not be starting iTunes that reads:
    You cannot open the application "iTunes" because another user has it open.
    Ask the other user to quit the application, then try again.
    I want iTunes to run within only one account. How do I stop iTunes from starting up in the other active accounts?

    Connect iPhone - iTunes will launch
    select iPhone in iTunes' left column
    in iTunes' main window untick "Automatically sync ..."

  • How can I make Reader the active window when opening documents?

    I am having trouble with this because right now documents open in the background and Adobe Reader does not become the active window.  This requires an extra click on Adobe to bring the opened document to the foreground.
    Nowhere to be found in Preferences.
    My system is Linux RedHat 2.16.0
    Adobe Reader 9.3.1
    Thanks a bunch.

    Sir,
    Inspect the following methods (all available to, say, a JFrame) - they might help you out:
    setVisible
    setState (to (de)iconify)
    toFront (request to bring to front)
    requestFocus

Maybe you are looking for