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 

Want script only at one site; site name not in title or tab

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



Joined: 20 Jan 2007
Posts: 110

PostPosted: Thu Feb 26, 2009 12:46 am    Post subject: Want script only at one site; site name not in title or tab Reply with quote

Hi, I've been using SaaS mindmap program comapping.com (and I recommend it!). Naturally it lacks some functionality I'd like (else why would AHK exist?!).

I want to write some scripts that run only if the active tab is a comapping document. The snag is, the tab title consists of only the name of the map, and doesn't mention "comapping."

For instance, go to http://go.comapping.com/comapping.html and click Welcome; you'll see a map called Welcome, in a tab entitled Welcome, and the Windows title bar says "Welcome - Mozilla Firefox".

AU3_spy doesn't find any magic bullets.

The only thing I can think of is, how could I detect whether the active address line starts with "http://go.comapping" and otherwise just pass through the hotkey? Or is there another way? I looked at some recent maybe-applicable posts elsewhere, but got confused.

Thanks!
_________________
...Ed
Back to top
View user's profile Send private message
Guest






PostPosted: Thu Feb 26, 2009 7:59 am    Post subject: Reply with quote

what are you doing? are you trying to find windows controls inside firefox renderer engine?
Back to top
EdScriptNewbie



Joined: 20 Jan 2007
Posts: 110

PostPosted: Thu Feb 26, 2009 8:14 am    Post subject: Reply with quote

Thanks; I don't know what that means. All I know is, I'm trying to write some scripts that only operate in a comapping.com window. When Firefox is pointed towards anything else, I don't want the scripts to work, because if they did, who knows what mischief their behavior would accomplish. Thanks again.
_________________
...Ed
Back to top
View user's profile Send private message
hotkey
Guest





PostPosted: Thu Feb 26, 2009 2:02 pm    Post subject: Reply with quote

As a last option you could use the ImageSearch command.
Just take a picture of the link part with the web address start in it and do an image search with it. If it is found then you are on that webside.

But maybe someone could suggest an easier way.
Back to top
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