If web page exists activate if not run

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
gazmoz17
Posts: 72
Joined: 14 Mar 2018, 09:37

If web page exists activate if not run

Post by gazmoz17 » 28 Mar 2023, 05:13

Hi,

Is there a way to do this in firefox?

Check if a web pages exists, if this login portal exists then activate otehrwise run?

I know how to do this for prgrams and how to run a web page but I can't piece this together.

Many Thanks
Gareth

User avatar
mikeyww
Posts: 26931
Joined: 09 Sep 2014, 18:38

Re: If web page exists activate if not run

Post by mikeyww » 28 Mar 2023, 06:22

Hello,

Although I do not have an answer, I have a suggestion for how to address your issue. Break down your idea into steps. You did some of that already. It seems that the first step is that you would like to know which tabs are open (i.e., exist) in your Web browser. Many forum posts describe this, so you could examine them and then use one of the scripts there to do that. After you accomplish that step, you can expand your script. Below are a couple of the examples that you may find through searching the forum.

viewtopic.php?t=26947

viewtopic.php?t=79253

After you get the information about the browser tabs, the rest is easy, because you can search the tab data, and then Run a URL if the search fails.


Post Reply

Return to “Ask for Help (v1)”