Solved

javascript: how to open a URL from an already running Internet Explorer 7 window identified by some criteria?

Posted on 2011-03-23
6
521 Views
Last Modified: 2012-05-11
Hi Experts:

    I want to use javascript to find an already running Internet Explorer 7 window according to some criteria and open a URL with it.
    The environment the javascript running is: Window XP SP 3, IE 7, and Oracle Work and Asset Management (need to find the IE window being used by this application).

     Attached screenshot is the instruction from Oracle I haven't been able to follow. In this document it is introducing me to pass a non-URL parameter into the window.open javascript function, and I don't understand what that non-URL parameter is, neither be able to pratically get it work.

     If you can help me on any of these, it will be great:
1. what actually is the non-URL parameter mentioned in the attached document? Why I could see any clue in javascript documentation? The javascript documentation I am referring to is http://msdn.microsoft.com/en-us/library/ms536651(VS.85).aspx
2. is there any alternative way to search an already running IE 7 window, for example, according to the title bar text? The task I want to accomplish is to find the window being used by Oracle Work and Asset Management and let it open another URL.
3. IE 7 supports tabs, is it possible to search all tabs over all windows?
4. How can I find out the forms_tnsname part of the attached document in my environment? I don't know what config.properties is referring to.

    Thank you.

oracle-document.JPG
0
Comment
Question by:huangs3
  • 3
  • 3
6 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 500 total points
ID: 35204685
To answer the first part:
var windowHandle = window.open("",oracleWindowName);

Open in new window

Where the window name is derived from the algorithm in the document.
That is returning the window object of an already opened window or opens a new empty window or tab depending on the user's settings which can also BLOCK the window open command.
I'll look at the rest of the questions in 30 minutes
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35204750
Second: No. Javascript cannot do that. For that you need a windows application which CAN do exactly that
Third: No. You will get the window (or tab) handle if the name is set. If there are two windows with the same name, you may be in trouble.
Fourth: that is a file on the box you installed the oracle on.
0
 

Author Closing Comment

by:huangs3
ID: 35302116
thank you, putting the name in second parameter works
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:huangs3
ID: 35302263
Hi mplungjan:

    I did some experiment and asked a further question
http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_26928664.html

    Please have a look if interested.
    Thank you.

0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 35303965
Sorry, not my table ;)

Request attention if you do not get any silverlight people there

I added some zones to your question
0
 

Author Comment

by:huangs3
ID: 35307701
Thank you mplungjan!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question