| View previous topic :: View next topic |
| Author |
Message |
EdScriptNewbie
Joined: 20 Jan 2007 Posts: 110
|
Posted: Thu Feb 26, 2009 12:46 am Post subject: Want script only at one site; site name not in title or tab |
|
|
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 |
|
 |
Guest
|
Posted: Thu Feb 26, 2009 7:59 am Post subject: |
|
|
| 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
|
Posted: Thu Feb 26, 2009 8:14 am Post subject: |
|
|
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 |
|
 |
hotkey Guest
|
Posted: Thu Feb 26, 2009 2:02 pm Post subject: |
|
|
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 |
|
 |
|