AutoHotkey Community

It is currently May 27th, 2012, 3:03 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: March 19th, 2010, 5:03 pm 
Offline

Joined: December 20th, 2005, 7:14 pm
Posts: 61
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 19th, 2010, 7:04 pm 
Offline

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

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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: March 19th, 2010, 11:26 pm 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6071
Location: San Diego, California
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 20th, 2010, 4:47 am 
Offline

Joined: December 20th, 2005, 7:14 pm
Posts: 61
Leef_me, you're an insane genius! thankx!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 20th, 2010, 8:45 am 
Offline

Joined: April 8th, 2009, 7:49 pm
Posts: 6071
Location: San Diego, California
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!


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: rbrtryn and 29 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