Jump to content

Setting the IE property that HTML target attribute uses

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:

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

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

Share this post

Link to post
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

  • Create New...