Forum Discussion
JeffSm
15 years agoContributor
Hi Tony,
Thanks for the suggestion. It really helped. What you suggested worked great, but what I really want is to only capture the application window. Your suggestion got me headed in the right direction. Here's what I ended up with, and gets me exactly what I'm looking for.
pic = .Desktop.ActiveWindow();
Thanks for the suggestion. It really helped. What you suggested worked great, but what I really want is to only capture the application window. Your suggestion got me headed in the right direction. Here's what I ended up with, and gets me exactly what I'm looking for.
var pic = Sys.Desktop.ActiveWindow();
pic = .Desktop.ActiveWindow();
Regions.AddPicture(pic, "test.jpg");
Regions.GetPicture("test.jpg").SaveToFile("C:\\TEMP\\test.jpg");
Jeff
Related Content
- 12 years ago
- 2 years ago
Recent Discussions
- 4 days ago
- 4 days ago