Solved

force application minimize to task bar, registry key

Posted on 2012-03-27
3
634 Views
Last Modified: 2012-03-30
Is there something I can add to the registry that will force a select application to minimize to the task bar with custom key combination?  Something is weird where it stays running even if I hit the windows key.   If I can tell windows to force the application to mimimize using something simple (like windows key), that would be awesome.
0
Comment
Question by:icecom4
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 17

Expert Comment

by:Kent Dyer
ID: 37775156
Right here..

C:\>start /?
Starts a separate window to run a specified program or command.

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
      [/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
      [/NODE <NUMA node>] [/AFFINITY <hex affinity mask>] [/WAIT] [/B]
      [command/program] [parameters]

    "title"     Title to display in window title bar.
    path        Starting directory.
    B           Start application without creating a new window. The
                application has ^C handling ignored. Unless the application
                enables ^C processing, ^Break is the only way to interrupt
                the application.
    I           The new environment will be the original environment passed
                to the cmd.exe and not the current environment.
    MIN         Start window minimized.
    MAX         Start window maximized.
    SEPARATE    Start 16-bit Windows program in separate memory space.
    SHARED      Start 16-bit Windows program in shared memory space.
    LOW         Start application in the IDLE priority class.
    NORMAL      Start application in the NORMAL priority class.
    HIGH        Start application in the HIGH priority class.
    REALTIME    Start application in the REALTIME priority class.
Press any key to continue . . .

Open in new window


HTH,

Kent
0
 

Author Comment

by:icecom4
ID: 37777400
I tried launching from the start command, and all the different switches, it makes no difference, while in the application, if I press the windows key it it keeps the application running, and only shows the start menu and task bar.  It is possible to go into the task bar, find the application running, then minimize, but I am looking for an easy solution for users in the application.  

I am thinking this will require a registry edit.
0
 
LVL 2

Accepted Solution

by:
Kubejunkie earned 500 total points
ID: 37789218
you can use AutoHotKey to perform that function with a keystroke.

http://www.autohotkey.com/

depending on the application you can set it to run then minimize.

Example:

;This will Run notepad then minimize once launched using the key combo Ctrl+Alt+F
^!f::
Run, notepad.exe
WinWait, Untitled - Notepad
WinMinimize ; use the window found above


;This will Minimize the active window with the key combo Ctrl+Down Arrow
^Down::WinMinimize, A

you can create the hotkey file and compile to .exe and run from there. *note if you compile then you do not need to install autohotkey on any machine but the one you use to build the script.

if you need help customizing for the application i can assist with that as well.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times a day do you open, acknowledge, or close an IT incident? What’s your process? Do you have a process depending on the incident, systems involved, and other factors? New Relic Alerts gives you options for how you interact with notifica…
When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question