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
516 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
angular2 2 way binding on load 7 38
Check if Object property exists? 3 18
Javascript to allow login/password authorization 4 28
is this a cms? 8 33
This article discusses how to create an extensible mechanism for linked drop downs.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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)
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now