Jump to content

Setting the IE property that HTML target attribute uses


spirospero
 Share

Recommended Posts

I want to be able to launch from a custom HTML page Application A to another IE window using the target attribute, so that the same window is always opened if it exists already:

                <td>
                    <a
                        href = "https://unchangeable.application/Application_B"
                        target = "custom_target_name">Link to the unchangeable application</a>
                </td>

the value that is used by the target= in launching is not the window title, it is the window.name but I cannot figure how to change this.

Application B has an empty window.name  value so setting target="" will not work either.

Although we cannot change the code of application B, we can launch it via an autoit launcher.exe in our environment, so I was hoping to use AutoIT to change this value but I cannot figure out how to do this.

Note that after I have launched once from custom HTML page Application A to Application B using the target attribute, it will continue to work fine, but finding it the first time is the problem.

Any help would be greatly appreciated.

 

Edited by spirospero
to fix typos and spelling mistakes
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...