I found out that I can take a screenshot of an application using this method (and I\'m currently taking a screenshot of my application and its working fine):