make .js use data from text file

Author Message
Jagie

  • Total Posts : 2
  • Scores: 0
  • Reward points : 0
  • Joined: 3/27/2010
  • Status: offline
make .js use data from text file Saturday, March 27, 2010 8:26 PM (permalink)
0
Hi, I have .js script wich looks like this;
 
var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2("http://www.test.org/");
oIE.Navigate2("http://www.ebay.com/", navOpenInBackgroundTab);
oIE.Visible = true;
 
It opens up different websites i IE, also using tabs in IE.
 
anyways i want the .js script to read from a txt-file, so that i can make a text file in wich I write alle my URLs, and it opens them all in tabs, like the .js script above.
 
#1
    TNO

    • Total Posts : 2094
    • Scores: 36
    • Reward points : 0
    • Joined: 12/18/2004
    • Location: Earth
    • Status: offline
    Re:make .js use data from text file Saturday, October 23, 2010 6:50 AM (permalink)
    0
    Search the forum for the Scripting.FileSystemObject
    To iterate is human, to recurse divine. -- L. Peter Deutsch
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9