topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 24, 2019, 12:25 AM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Program not responding reliably to active window changes  (Read 983 times)

W6FCC

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
Program not responding reliably to active window changes
« on: February 26, 2019, 05:51 PM »
I use a remote server to allow access to some Amateur Radios. When someone connects to one of the radios, the active window changes to show the word "Connected" followed on the next lines by the users callsign, name, and IP address.

First, I tried the Capture Option is "Active Window or Desktop if none (default)
and I have an active Window (highlighted title bar)
Then I choose Capture Now
it captures everything, not the active window.
It seems that if I set the program to capture the active window (with the title bar)
it should only capture that window.

---------------------

I also set the threshold to 10 pixels (far fewer than what will change)

The program doesn't catch the changes described above.

I then set the program to watch a "Specific Region" approach, that didn't work either.

I selected "Capture whenever the active window changes" but
changes in that window are not captured.

If this does work, I have over 500 users following a facebook page
using this remote program that can make use of your program,
not to mention the thousands of other remote access programs that
can benefit from screen captures when things change (users login).

Any suggestions?

Jeff, W6FCC.

Attached is a portion of a sample screen ==  when the word << Connected >> appears
the screen capture should record this change. It doesn't do it reliably.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 39,499
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Program not responding reliably to active window changes
« Reply #1 on: February 26, 2019, 10:21 PM »
Ok let's see if we can get things to work for you and figure out what's going wrong.

First, can you make sure you are using the latest version so we know we are talking about the same thing.

Second, and most import, is to make sure AS *can* capture the window you care about, and that the saved screenshot is correct -- that is, it shows the contents of the captured windows.  Leaving aside the issue of whether it detects all changes or not.

If it does that, then there is no reason it shouldn't be able to do what you want.

Assuming that the above works, it may simply be a matter of AS not capturing/monitor what you think it is.

It sounds like the "Active window or desktop" is the setting you want.  Note that this captures the currently active window on the desktop (the one receiving focus of the mouse/keyboard).
Set capture rate to 1 second for maximum capture speed.

Now, the option "Also capture whenever the active window changes" may be slightly misleading.. It has nothing to do with checking the content of the active window -- that should already happen automatically.  It's simply saying you want AS to capture IMMEDIATELY any time the user selects a new active window.

Let me know the answer to those questions.

It may be that what you would benefit from more would be an option to tell AS to watch and capture only the window of a specific executable...

But let's first focus on getting AS to perform properly for you given the current options.  The main reason I would think it might be failing is if you are switching away from the window you are about (making another window active), OR more likely, if you have the capture rate too high.  Set that to 1 and it should be capturing once every second and evaluating the window for changes.

Try keeping the main AS window open and then select your active window and look in the AS window to see what it tells you it is doing.