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
522 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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 +…

733 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