Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6973389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:06:07+00:00 2026-05-27T17:06:07+00:00

How can I trick an NSWindow as displaying as active, without activating the application

  • 0

How can I trick an NSWindow as displaying as active, without activating the application itself?

(The reason is that I wish to somehow trick Cocoa into doing that temporarily while I take a “screenshot” of the window.

It’s very difficult to do this through all the methods I’ve experimented with, because things always happen not instantly but “soon”. For example, I can’t just activate the app, take the screenshot, and re-activate the previously active app, because “activate app” is an operation that just happens “sometime in the future”, i.e. the app doesn’t wait for the operation to finish before continuing. So it’s all very tricky.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:06:08+00:00Added an answer on May 27, 2026 at 5:06 pm

    I doubt there is any good way to do this properly

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering if there is a way to ensure that an ASP.NET application can
What kind of trick can I use to speed up and improve an image
Farmvilli can do fullscreen. HappyIsland can do fullscreen. But what is the trick to
I know that Mercurial can track renames of files, but how do I get
I have a set of checkboxes that an Admin can tick to give users
How can you track the movement of a JFrame itself? I'd like to register
How can I trick the -in argument of the OpenSSL command line tool in
How can I write a unit test for a method that has a using
Any trick I can use to break the html in append() ? For instance,
In PL/SQL, I can use a trick like this one here to find out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.