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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T13:17:25+00:00 2026-06-12T13:17:25+00:00

With VBScript, is there a way to open an application and have it maximize

  • 0

With VBScript, is there a way to open an application and have it maximize its window when its default behavior is to minimize to the tray?

I have an app that opens to the tray and does not show its login screen. I am trying to automate the login process using VBScript and SendKeys. I know this isn’t secure since anyone can view the script but that isn’t a concern.

Is there a way to open an app and then make it display its GUI? I also need to make sure that the app gets focus so that SendKeys works.

I know how to open the app. The problem is getting the app to show its login screen.

  • 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-06-12T13:17:27+00:00Added an answer on June 12, 2026 at 1:17 pm
    Dim oWsh : Set oWsh = CreateObject("WScript.Shell")
    oWsh.Run("prog.exe", 1, False)
    WScript.Sleep 500
    oWsh.AppActivate "Prog Title"  ' text in window title of 'prog.exe'
    oWsh.SendKeys "first Command"
    ' ...additional SendKeys commands
    

    References: Run Method and SendKeys Method

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

Sidebar

Related Questions

Is there a way to work with numbers that are larger than VBScript's Long
I have a vbscript file that I want to run in my vb.net application.
I have a vbscript file that will open a document with the correct program
Or any other normal scripting language for that matter. I know there is VBScript
I have a VBScript COM Component where I'm using Msxml2.FreeThreadedDOMDocument.4.0 however is there /
I have a classic asp webpage written in vbscript that outputs the results from
I would like to restore an application from the system tray using vbscript or
I'm using VBScript and I am wondering if is there any way to call
Given that one can define a class in VB Script, is there any way
Ok, Ive got a vbscript that iterates through a directory and its subfolders to

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.