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
514 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
Comment Utility
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
Comment Utility
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
Comment Utility
thank you, putting the name in second parameter works
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:huangs3
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you mplungjan!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
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 +…

771 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

10 Experts available now in Live!

Get 1:1 Help Now