Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java

Need Help in reading data from "Task Manager"--->Application tab

Hi All My friend has written code to download the files automatically @ one click through selenium. His Application reads data from Excel sheets like 831---- a unique number...for each number there may be 1-20 files associated. His concern is he wont be knowing how many files he gonna be download at the beginning of download but he wants to develop GUI where he can see the actual progress.Actual percentage for every 10 secs.

We are planning to read data from "Task Manager"--->Application tab which will be more memory Efficient. but we don't know how to read data from that.

or else if you guys have any Idea to share please let me know.

Which OS are you planning to do this with? I'm assuming Windows. From personal experience, I haven't tried to read from the task manager using Java. I haven't implemented this code, so my suggestion would be to don't take this at face value. It will require more research.

http://stackoverflow.com/questions/17472001/how-to-get-opened-application-in-windowstaskmanager-application-tab-content