AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LiveWindows: Watch Dialogboxes in Thumbnail
Goto page Previous  1, 2
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
holomind



Joined: 11 Mar 2006
Posts: 299
Location: Munich, Germany

PostPosted: Wed Sep 20, 2006 8:43 am    Post subject: Reply with quote

Terrapin wrote:
I found this from the screen capture utility thread. You may have already done it, but it was very simple to add 'wingetactivestats....' and place the resulting variables to get a shot of the active window, instead of the whole screen. Great for getting shots of a gui.


Perhaps you could post your version of the code (with the print active window wingetactivestats) in the other post, i think other ahk users would benefit from it, as they maybe dont know how to apply this, code-examples always makes it more clear Wink
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Fri Sep 29, 2006 1:24 pm    Post subject: Reply with quote

I've added this great script to the script showcase. Please let me know if you have any revisions to the following description:
Quote:
LiveWindows: Watch Dialog-boxes in Thumbnail -- by Holomind: This script allows you to monitor the progress of downloads, file-copying, and other dialogs by displaying a small replica of each dialog and its progress bar (dialogs are automatically detected, even if they're behind other windows). The preview window stays always-on-top but uses very little screen space (it can also be resized by dragging its edges). You can also monitor any window by dragging a selection rectangle around the area of interest (with control-shift-drag), then press Win+W to display that section in the preview window with real-time updates.

Thanks for sharing these great scripts. Smile
Back to top
View user's profile Send private message Send e-mail
Mistrel



Joined: 12 Sep 2005
Posts: 187

PostPosted: Mon Nov 20, 2006 4:56 am    Post subject: Reply with quote

Can this be made to work for windows with 3D acceleration, e.g. 3dsmax/maya?
Back to top
View user's profile Send private message
holomind



Joined: 11 Mar 2006
Posts: 299
Location: Munich, Germany

PostPosted: Mon Nov 20, 2006 7:14 am    Post subject: Reply with quote

it may be possible with opengl/direct3d, but i doubt to get it working with gdi/plus. the reason is that the 3d windows are "overlays" and cannot be grabbed directly.
you can capture 3d-apps when you turn of hardware-accelleration and force the cpu to use software-rendering. (but i guess thats not what you want to do with maya).

if you only want to be informed when the rendering is finished, you could try to capture the window-title only, which often contains a percentage of progress.
Back to top
View user's profile Send private message Visit poster's website
Mistrel



Joined: 12 Sep 2005
Posts: 187

PostPosted: Mon Nov 20, 2006 7:44 am    Post subject: Reply with quote

I would like to record the thumbnail for streaming across a network. My current solution is to use a screen recording tool that resizes the capture area and stream that. The problem with this is that it wastes an incredible amount of resources capturing and processing a large area and waste additional processing power resizing and encoding it.

I would like to instead record and stream your thumbnail. When streaming 5-10 fps to multiple clients the smaller and more bandwidth-efficient the better.

If you think of a solution for this in the future please let me know.
Back to top
View user's profile Send private message
holomind



Joined: 11 Mar 2006
Posts: 299
Location: Munich, Germany

PostPosted: Mon Nov 20, 2006 8:08 am    Post subject: Reply with quote

you might use http://www.d3dgear.com/ which can capture opengl and direct3d apps and save them as screenshots or even video in different formats. its not directly scriptable with ahk, but perhaps better for your usage. perhaps you can save the video on a network-drive and stream it with a video-client like vlc http://www.videolan.org/vlc/.
Back to top
View user's profile Send private message Visit poster's website
Rhys



Joined: 17 Apr 2007
Posts: 707
Location: Florida

PostPosted: Tue Oct 30, 2007 7:52 pm    Post subject: Reply with quote

I'm really amazed by this script, but was disappointed to find that it does not work with some of the windows (the ones I want to monitor) - It seems like it won't capture Java-based images. This might be isolated to my system, so if someone else could confirm, I would appreciate it.

To test, go to http://www.coolfocus.com/ and navigate to Java tab > Java Applet Gallery > Menu Systems #1 and select one of the menus (I tried Classic). The preview will not show any image where the Java frame is.
_________________
[Join IRC!]
Back to top
View user's profile Send private message
holomind



Joined: 11 Mar 2006
Posts: 299
Location: Munich, Germany

PostPosted: Thu Nov 01, 2007 1:25 am    Post subject: Reply with quote

Rhys wrote:
I'm really amazed by this script, but was disappointed to find that it does not work with some of the windows (the ones I want to monitor) - It seems like it won't capture Java-based images. This might be isolated to my system, so if someone else could confirm, I would appreciate it.

To test, go to http://www.coolfocus.com/ and navigate to Java tab > Java Applet Gallery > Menu Systems #1 and select one of the menus (I tried Classic). The preview will not show any image where the Java frame is.


Hi, i guess its a problem with java and not the ahk-script. The "print-window" function is used, and java does not handle this correct. there are many programs which result in a grey screenshot etc from java-applications. eg. many expose-clones have difficulities.

perhaps you can try and modify this script, as it works similar but uses a different technique to grab the window (actually only clip it)
http://www.autohotkey.com/forum/viewtopic.php?p=71247#71247
Back to top
View user's profile Send private message Visit poster's website
Raccoon



Joined: 02 Jan 2008
Posts: 70

PostPosted: Wed Jan 02, 2008 7:34 am    Post subject: Reply with quote

This tool would be very useful for people who play PokerStars and other such online poker or gaming sites. In particular, many players like to play multiple games at the same time because (well, they're insane) the play in a single game is too slow/boring for them.

With this script, one could draw an area around their own hand (cards) and the associated pot for that hand, and thus monitor every game without having to flip between windows every few seconds.

Some options I'd like to see would be the ability to click on the 'monitored section' and have those clicks sent to the actual window. If this is not possible, then clicking on that 'monitored section' should bring up (activate) the actual window.

For cleanliness, it'd be nice if a selection size can be remembered, then applied to future selections so that each monitored selection is the same width-height. Perhaps additional cropping of individual selections or all-at-once could be done aswell.
Back to top
View user's profile Send private message
holomind



Joined: 11 Mar 2006
Posts: 299
Location: Munich, Germany

PostPosted: Wed Jan 02, 2008 2:47 pm    Post subject: Reply with quote

hi racoon,

if you want to click on the grabbed items, you can have it easier, just using winclip

http://www.autohotkey.com/forum/viewtopic.php?t=11642&highlight=moon+clock

where you simply make the window "smaller" and then can arrange them on the screen the way you like it.

as you deal with the real window and only remove "borders" you can click on the window and interact it.

live-windows works with screengrabs, and also has the possibility to zoom sections of the window.

greetings
holomind
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group