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 

how to get wingettitle to work with IE8 and Opera10?

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



Joined: 20 Dec 2005
Posts: 61

PostPosted: Fri Mar 19, 2010 4:03 pm    Post subject: how to get wingettitle to work with IE8 and Opera10? Reply with quote

weirdly enough, wingettitle works fine with Firefox 3.6 but breaks with IE8 and Opera 10.

this is all i do:

Code:
WinGetTitle, title, A
msgbox %title%


how do i get this to work?
Back to top
View user's profile Send private message
TLM



Joined: 21 Aug 2006
Posts: 2926
Location: The Shell

PostPosted: Fri Mar 19, 2010 6:04 pm    Post subject: Reply with quote

Try this:
Code:
loop {
   WinGetTitle, title, A
   tooltip %title%
}
esc::exitapp ; press escape to exit


If it doesnt work you may have to find the title using IE's PID. Look at either run or process in the manual.
_________________
paradigm.shift:=(•_•)┌П┐RTFM||^.*∞
Back to top
View user's profile Send private message
Leef_me



Joined: 08 Apr 2009
Posts: 5334
Location: San Diego, California

PostPosted: Fri Mar 19, 2010 10:26 pm    Post subject: Re: how to get wingettitle to work with IE8 and Opera10? Reply with quote

dwaynek wrote:
weirdly enough, wingettitle works fine with Firefox 3.6 but breaks with IE8 and Opera 10.
how do i get this to work?

Code:
f1::
;DetectHiddenWindows, On
WinGet, ID, ID, A
WinGetTitle, title1, ahk_id %ID%
msgbox %title1%

; or

sleep, 1000   ; <-------- wait so we don't accidentally 'see' the MsgBox
;DetectHiddenWindows, On
WinGet, PID, PID, A
WinGetTitle, title2, ahk_pid %PID%
msgbox %title2%

; or

sleep, 1000
;DetectHiddenWindows, On
WinGet, ProcessName, ProcessName, A
msgbox %ProcessName%

;listvars
;msgbox
Back to top
View user's profile Send private message
dwaynek



Joined: 20 Dec 2005
Posts: 61

PostPosted: Sat Mar 20, 2010 3:47 am    Post subject: Reply with quote

Leef_me, you're an insane genius! thankx!
Back to top
View user's profile Send private message
Leef_me



Joined: 08 Apr 2009
Posts: 5334
Location: San Diego, California

PostPosted: Sat Mar 20, 2010 7:45 am    Post subject: Reply with quote

You been lookin at my location again,
haven't you?
<===========

Which one of us are you talking to?
Which method works for you?

dwaynek wrote:
Leef_me, you're an insane genius! thankx!
Back to top
View user's profile Send private message
Display posts from previous:   
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