| View previous topic :: View next topic |
| Author |
Message |
simtech76
Joined: 24 Nov 2009 Posts: 5
|
Posted: Tue Nov 24, 2009 12:43 am Post subject: Switching between multiple windows wth same 'window title' |
|
|
Hi, hope someone can help with a little problem I am having. I am trying to automate a process however as I need to switch between 5 applications all of the same name (cannot alter application name) and then perform the same process and then start again. Tried just alt tabbing but this gets very messy after the first few alt tabs.
Hope that makes sense to someone
_________
Or is there another way of doing this to make things simpler ? can u select a tab another way ? - however I need go through the applications in order (although same app)
Simtech |
|
| Back to top |
|
 |
i3egohan
Joined: 18 Jul 2006 Posts: 403
|
Posted: Tue Nov 24, 2009 1:13 am Post subject: |
|
|
| Are alll the 'applications' all the same 'applications'. Because if they havent diffrent text in the main window.. Or diffrent buttons/control placements then you can easily obtain the classnn and stuff and use this.. If so checkout the 'AutoIt Window Spy' that comes packaged with AHK. |
|
| Back to top |
|
 |
simtech76
Joined: 24 Nov 2009 Posts: 5
|
Posted: Tue Nov 24, 2009 1:29 am Post subject: |
|
|
| unfortunatly they are all the same application and all setup the same way - same icon postition, window position. Nothing within the application differs. - Auto window it shows same Window Title and Class |
|
| Back to top |
|
 |
TLM
Joined: 21 Aug 2006 Posts: 2926 Location: The Shell
|
Posted: Tue Nov 24, 2009 2:51 am Post subject: |
|
|
Are you running/starting the appilcations from AHK?
If so, you can use the PID to switch between them by using WinGet (see PID and Example #2 at the bottom of the page ).
If your not executing from AHK you can use WinGet with an A for the wintitle (A = Active window).
Give it a try an post the code you come up with. _________________
paradigm.shift:=(•_•)┌П┐RTFM||^.*∞ |
|
| Back to top |
|
 |
simtech76
Joined: 24 Nov 2009 Posts: 5
|
Posted: Tue Nov 24, 2009 1:09 pm Post subject: |
|
|
| Thanks for help but after 3 hours of messing around remembered the good old Alt Escape which will work in order - although reversed |
|
| Back to top |
|
 |
svi
Joined: 09 Oct 2006 Posts: 236 Location: Finland
|
Posted: Tue Nov 24, 2009 9:12 pm Post subject: |
|
|
Alt+Shift+Escape  _________________ Pekka Vartto |
|
| Back to top |
|
 |
|