Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
528 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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Several part series to implement Internet Explorer 11 Enterprise Mode
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

636 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