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 7074533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:04:09+00:00 2026-05-28T06:04:09+00:00

We have a scripting engine (running under Windows) that launches another application several thousand

  • 0

We have a scripting engine (running under Windows) that launches another application several thousand times as we do our work. This other application has a busy user interface (main window pops up, flashes several dialogs, does it’s work, then closes). Ideally, we’d like to completely suppress the user interface of the child application so the user can continue working on the workstation.

We don’t have any control over the code of the other app, so we need to be able to achieve this result from our external process. We are launching the other process, so our app is the new process’ owner, if that helps.

Forcing the main window of the app to be minimized by sending a window message after launch doesn’t seem to be a good strategy, because we have the launch the app several thousand times over the course of our run (we could minimize the main window each time, but the experience to the user would, I think, still wind up with the focus changing and interrupting the rest of their work). Also, the app in question seems to intentionally call SW_SHOW, so even if we minimize the app, it comes back.

Does anyone have any creative or clever approaches to this? Maybe some way of pushing the app’s UI into a different desktop that won’t interfere with the user’s regular work? (The problem here is that, I’m pretty sure, Windows doesn’t support virtual desktops…).

Note that I’m fine with completely suppressing the UI of the child application.

  • 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-28T06:04:10+00:00Added an answer on May 28, 2026 at 6:04 am

    Windows in fact does support virtual desktops. Your proposed solution should work beautifully.

    Create a new desktop with CreateDesktop but do not switch to it (obviously). Then when you create the process, specify this desktop in the STARTUPINFO struct that you pass to CreateProcess.

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

Sidebar

Related Questions

I have an embedded scripting engine in my C# application that uses IronPython 2.
I have an old project at our company that uses shell scripting a lot.
I am building a C++ application that embeds the Lua scripting engine. I am
in writing a scripting engine, I have functions like (psuedo-code) function is_whitespace?(char c){ return
I have some simple shell scripting tasks that I want to do For example:
I have a ruby script that does a few perforce operations (through the scripting
What I'm looking for is a scripting engine for Java that would allow users
I have a small scripting engine written which can run basic code. I want
I have a program that uses Javascript as a scripting language binding to a
I developed a scripting engine that has many built-in functions, so to call any

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.