Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2006
    Posts
    8

    Load multiple urls in a single web object

    I am trying to load multiple URLS into one web object one after the other. i need to open various URLS when the first one loads and finishes loading the other one loads. each url returns an XML code. when it finishes loading i need to open the other one and the next one. it reads the URLS from a text file. i have managed to do that. ive managed to make the app return all the urls in a paragraph object but i cant seem to make the urls load one after the other into the web object

  2. #2
    Join Date
    May 2005
    Posts
    1,115
    Try with an Application.Sleep(some time in miliseconds here);
    Never know what life is gonna throw at you.
    (Based on a true story.)

  3. #3
    Join Date
    Jan 2006
    Posts
    8

    Load multiple urls in a single web object

    i already tried with that but it will load only the last one
    i have uploaded the app so you can see the coding

    Please Advice
    Attached Files

  4. #4
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    You have an event of the WebObject called onLoaded which will perform any action you setup AFTER the URL has finished loading.

    So you could use that to load one URL after another (the list taken from a textfile, a ini file, a previously built table....anything).

    Hope that helps

    Yossi

  5. #5
    Join Date
    Jan 2006
    Posts
    8
    but how would i do the looop because theres always a different amount of urls. today it could be 1 but tomorrow it could be 20. how would i do the loop on the script like load URL (on load) load url2 and loop there untill load urlLAST is performed. i haave uploaded an app where the urls are in a paragraph object that reads from a txt file
    please advice
    thanks

  6. #6
    Join Date
    Nov 2005
    Location
    Banned by moderator.
    Posts
    264

    Talking

    You could use this:

    Code:
    for index, url in MyURLTable do
    Web.LoadURL("Web1", url);
    end
    And use TextFile.ReadToTable or create your table, etc...

    I now (finally) understand how to loop through a table

Similar Threads

  1. Technique to reduce web object loading time
    By shariya in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 03-15-2005, 12:31 PM
  2. web object - load page - send login
    By sferguson in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 11-14-2003, 07:24 AM
  3. HOW TO: Return a Web Browser Object to the Original URL after a Page Jump
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 02-03-2003, 09:18 AM
  4. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  5. Replies: 0
    Last Post: 10-04-2002, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts