Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using a Java program called JDownloader v0.9.581 and I wish to copy the full file and link list from main scrolling window. JDownloader has no way to save the full list as a text file.

I have already tried using all programs from Is there any way a user can view or copy non-editable GUI controls' contents at runtime? and Read the contents of a ComboBox (or any other windows control), and also many other programs from a Google search such as GetWindowText. But nothing lets me copy full text from a Java program like this.

One suggestion I've received was to do a PrintScreen and OCR the results, but that isn't a workable/scalable solution. How I can copy full text from JDownloader?

share|improve this question
1  
Interesting. Generally Snagit's Text Capture feature (which I mentioned in my answer to the first thread you linked to) works with everything, but not here. Will get back to you if I find a way to do this. –  Karan Nov 29 '12 at 18:34
    
JDownloader is open source, so it should be possible to write an exporter in Java as an add-on or plugin of some sort. Going about it in this roundabout way is pretty silly when you can just modify the source to export it in the format you want. –  allquixotic Nov 29 '12 at 19:27
1  
@allquixotic: So you are saying I have to learn Java programming? Everyone is programmer and it is so easy like for you maybe? Can you plz write an exporter to help me and also everyone? –  Mohd. Ismail Nov 29 '12 at 20:45

1 Answer 1

Java programs are different because instead of using native controls, they custom paint the entire UI. (This is the case with the default UI toolkit known as Swing; other toolkits like SWT do use native controls, and the less said about the ancient AWT the better.) Sometimes they try to mimic the native platform, and other times they have their own look&feel. In any case, Windows-specific grabbers don't work because all they see is a single window with a bunch of pixels.

You can try installing the Java Access Bridge, which is intended for accessibility. Instead of just pixels, it makes the text content of the Java controls available to the OS, for assistive technologies like screen readers. That might make the native grabbers work. Or you can run the included JavaMonkey program:

  1. choose File | Refresh Tree on the main menu
  2. drill down the component hierarchy to find the main window (look for things like [panel] and [viewport])
  3. right-click, or from the Panels menu
  4. choose Display Accessibility Information

Depending on exactly how your particular app is structured, that may include all the visible text in the control, although the formatting and organization might not be ideal.

share|improve this answer
    
Thank you, I will try this Monkey program and say if it is helping me. –  Mohd. Ismail Nov 29 '12 at 20:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.