This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about a screen capture tool.  RSS feed

 
samuel, liu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create a screen capture program. It has to have three major functions: 1) be able to capture the whole screen. 2) be able to capture the active (current) window 3) be able to capture the desired region (the desired region might be defined by dragging the mouse and draw a box)
The first task is very easy to implement with robot class. But how can I implement the second and third task? How can I get the coordinate or dimension of the active window?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!