AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WinGetTitle question from a beginner

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
asox



Joined: 31 Jul 2005
Posts: 4

PostPosted: Sun Jul 31, 2005 10:30 pm    Post subject: WinGetTitle question from a beginner Reply with quote

Hello!
Please help me
I am a beginner in AutoHotkey, and have problem

I want all wintitle from the windows they are open and beginning with a word (z.b. Google ) in varaiblen
z.b.
I have var1,var2,var3,var4 (4 is the maximum)

I want that var1 is the wintitle from the first window that open and the wintilte beginn with Google

var2 should only have the wintitle from the second window that open and beginn with Google, if var1 is not empty

var3 should only have the wintitle from the third window that open and beginn with Google, if var1 and var2 is not empty and so ......

All var must be diffrent, so no wintitle may be double


z.b.
6 Windows are open
4 windowsTitles have the beginning word Google
So var1-var4 must be this wintitles
If i close the window 3 than var3 must be var4 (becauese only 3 so windows open)and var4 must be empty now
So 3 so windows open and the wintitle stand in var1-var3

If i start a new window where windowsTitle have the beginning word Google then this wintitle must be in the first var that is be empty (so var4)

If i close window 2 and window 3 than var2 must be var4, and var3 and var4 must be empy(so 2 so windows open, and the wintitle stand in var1 and var2)
If i start now a so new window, than this wintitle must be var3, var 4 is empty

Start i again so window than this must be var4

Sorry for my bad english !
Can somebody help me

Very thanks for your help and your time
Asox
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3841
Location: Bremen, Germany

PostPosted: Mon Aug 01, 2005 4:50 am    Post subject: Reply with quote

Please have a look at the manual.

If you have started the windows before you start the script please have a look at:
SetTimer
WinGet,,List

If you want to memorize the order in which the windows where started I would recommend you to use a script that uses a Hotkey to start a Google window. That way you can easily emorize the UniqueIDs of the windows in the correct order. The rest can be done again with the other two commands.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BoBo
Guest





PostPosted: Mon Aug 01, 2005 6:36 am    Post subject: Reply with quote

Was machst du anschließend damit ?
Was ist dein Endziel?? GoogleFenster sammeln??? I don't think so. Cool
Back to top
asox



Joined: 31 Jul 2005
Posts: 4

PostPosted: Tue Aug 02, 2005 10:10 am    Post subject: TY Reply with quote

Hello!
WinGet,,List , that i have searched

Very thanks for help

Asox
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group