Macro to minimize/maximize applications in windows 7 via hotkey press.

Kascade_ZA

Reputable
Dec 13, 2014
8
0
4,510
Hi there,

I would like to be able to create a macro/script that will minimize an application e.g (chrome) and then have another application e.g (outlook) pop up/maximized + have the audio muted by pressing one hotkey.

Is this possible?:??:

If so then what application will I need?

Any advice and help will be much appreciated.

 

Moocats

Distinguished
Oct 24, 2014
68
4
18,665
So you want something that will ALT+TAB between open applications automatically and also mute sound globally?

I'm not sure about the muting thing but auto hot key will do the ALT+TAB aspect of it.

You will have to write a basic script it will require a minor amount of work to learn the elements of the script you need, we're talking less than 15 mins.
 

Kascade_ZA

Reputable
Dec 13, 2014
8
0
4,510


Yes, where would one be able to learn how to write this basic script, I'm completely new to this but I do have the auto hot key application installed on my PC.

Thanks for the response.
 

Moocats

Distinguished
Oct 24, 2014
68
4
18,665
It's been a very long time since I've used it so I honestly can't remember the setup of the scripts.

That said though, if you pop to their forum and ask the community to put together a script that alts tabs between windows every 10 seconds (or what ever) they'll be able to do it for you then all you ever need do is actually run it.

https://www.autohotkey.com/board/

Sorry I can't help more than that with the AHK suggestion.
 

Kascade_ZA

Reputable
Dec 13, 2014
8
0
4,510
 
Hi.

Autohotkey would do this task. It's very simple to make an ahk file that changes open windows, there is a built in command to activate any window - you just have to know the window name*

* When installing Autohotkey, you got also get "AutoIt3 Window Spy" installed wich is the tool you need to get that information.

OP have to decide what should happens what should happen if the other application isn't running, and also decide what hotkey will fire the command.

Nb: The help file that ships with the installation does contain enough information to let you create such a simple script.