AutoHotkey Community

It is currently May 27th, 2012, 2:46 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: November 24th, 2009, 1:43 am 
Offline

Joined: November 24th, 2009, 1:35 am
Posts: 5
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 2:13 am 
Offline

Joined: July 18th, 2006, 12:18 pm
Posts: 403
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 2:29 am 
Offline

Joined: November 24th, 2009, 1:35 am
Posts: 5
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 3:51 am 
Offline

Joined: August 21st, 2006, 7:07 pm
Posts: 2925
Location: The Shell
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.

_________________
Imageparadigm.shift:=(•_•)┌П┐RTFM||^.*∞


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 2:09 pm 
Offline

Joined: November 24th, 2009, 1:35 am
Posts: 5
Thanks for help but after 3 hours of messing around remembered the good old Alt Escape which will work in order - although reversed


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 24th, 2009, 10:12 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
Alt+Shift+Escape :)

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], rbrtryn and 20 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group