Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WIndows 7 - is it possible to switch between program automatically?

Posted on 2014-09-12
3
Medium Priority
?
1,786 Views
Last Modified: 2014-09-17
hi,

Windows 7 Pro
Fully Patched.

Is it possible, by script or other means, to have the applications automatically rotate?

The aim is to have my 3 or 4 main reporting programs eg helpdesk, RMM, sales, etc to spend 1 minute on the screen and then automatically switch to the next. The actual window of the program does not need to change.

Thanks
Gareth
0
Comment
Question by:gareth629
3 Comments
 
LVL 5

Assisted Solution

by:SemperPhi
SemperPhi earned 200 total points
ID: 40320508
if you have all of them running you could find a key macro program that would execute ALT + TAB for you on a timed interval...

AutoHotKey and several others are out there...
0
 

Assisted Solution

by:Andrew Foster
Andrew Foster earned 200 total points
ID: 40320618
You can use a macro program, or write your own application to find the application's windows and make them active.
0
 
LVL 56

Accepted Solution

by:
Joe Winograd, EE MVE 2015&2016 earned 1600 total points
ID: 40321142
Hi Gareth,

Here's a related EE question that I participated in recently:
http://www.experts-exchange.com/Programming/Misc/Q_28486055.html

In that case, the asker wanted to switch two programs every 30 seconds, but the answer is similar for four programs every 60 seconds. As stated in that question, the solution uses the excellent (and free!) programming language called AutoHotkey. Here's an EE article that shows where/how to download and install it:
http://www.experts-exchange.com/Web_Development/Document_Imaging/A_13315-How-to-Combine-Merge-PDF-Files-in-Many-Subfolders.html

The article is about a different topic — you may safely ignore most of it — use it just for the sections on downloading and installing AutoHotkey.

Here's the revised code for automatically switching four programs, leaving each one up for one minute (note that a semicolon begins a comment in the code):
; there are three choices for the SetTitleMatchMode value:
; 1: A window's title must start with the specified WinTitle to be a match.
; 2: A window's title can contain WinTitle anywhere inside it to be a match.
; 3: A window's title must exactly match WinTitle to be a match.
; the code below has 2 (CONTAINS) - change to whatever you want.
SetTitleMatchMode,2
Loop
{
  WinActivate,ProgramTitle1 ; title is case sensitive
  Sleep,60000 ; wait 60 seconds (time is specified in milliseconds)
  WinActivate,ProgramTitle2 ; title is case sensitive
  Sleep,60000 ; wait 60 seconds (time is specified in milliseconds)
  WinActivate,ProgramTitle3 ; title is case sensitive
  Sleep,60000 ; wait 60 seconds (time is specified in milliseconds)
  WinActivate,ProgramTitle3 ; title is case sensitive
  Sleep,60000 ; wait 60 seconds (time is specified in milliseconds)
}

Open in new window

This will loop forever. If you want to stop the script, simply right-click on the AutoHotkey icon in the system tray/notification area (blue arrow below) and select Exit (red arrow below):

Exit AutoHotkey script
That should do it for you. If you have any problems, let me know and I'll try to troubleshoot it with you, but it should work straightaway. Regards, Joe
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses

773 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