-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: SynergyWin
Message 1 in Discussion

Hi Folks    How to log all the URLs from all open InternetExplorer Windows ? I 
had posted this question in Mumbai-MSN group last month. Solution was found 
from a Japanese friend :   Its a JavaScript  :    save this  with  .wsf 
extension ( for eg.  c:\xyz\ie.wsf  ) and   invoke from CommandLine  as : 
C:\xyz>cscript ie.wsf                                            Or redirect 
the output to a file.                          C:\xyz>cscript ie.wsf  > 
All_Open_IE_URLs.txt  2>&1                                    -  It will 
display all the URLs  ( only from Internet Explorer windows).   - In case no IE 
window is open, then it will result in error  " ...Object not found....."   - 
If for eg. 3rd IE  Window is "Not responding" ( as  per Windows Task manager)   
    then this script will hang at that particular IE instance.    To include 
URLs from open Netscape and FireFox Windows (and other browsers )   this script 
needs to be modified . I tried but no joy yet.   
==================================================== <?xml version="1.0" 
standalone="yes" ?>
<package>
<job>
<object id="shellWindows" 
classid="clsid:9BA05972-F6A8-11CF-A442-00A0C90A8F39"/>
<script language="JavaScript">
<![CDATA[
for (var i = 0; i < shellWindows.Count; ++i)
{
  var URL = shellWindows(i).LocationURL;
  if (URL)
  {
    WScript.Echo(URL);
  }
}
]]>
</script>
</job>
</package>
====================================================   Ok. Now I have a simple 
question: How to open  more than 1 URL  using a script , in Windows? Any script 
JavaScript or VB Script , etc    I guess the above mentioned JavaScript itself 
can be modified to do so. But there is a simple way to do this using Windows 
Batch file itself. A clue : you can use "for" command !!! I will post this 
Batch file  tomorrow , if nobody post it.   thanks   Regds VETRI    
www.Global-Software-Engineering.com   Software Engineering Consultant SINGAPORE

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to