Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

    input box to url

    I want to add a zip code to the use if this and then go to the page.
    sText = Input.GetText("Input1");
    Web.LoadURL("Web1", "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="sText");
    But I keep getting errors .
    I had this saved someplace and now I can't find it. grrrr
    The sText would be the zipcode if that is right to use?
    Thanks for any help here.

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Try this:

    sText = Input.GetText("Input1");
    Web.LoadURL("Web1", "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="..sText);

  3. #3
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Thanks Corey, that did the trick.

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Cheers.

  5. #5
    Join Date
    Nov 2005
    Location
    Banned by moderator.
    Posts
    264
    A shorter way:
    Web.LoadURL("Web1", "http://www.wunderground.com/cgi-bin/findweather/getForecast?query="..Input.GetText("Input1"));

Similar Threads

  1. input and load a url
    By cloud in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 01-13-2006, 04:21 AM
  2. Input Box Wierdness
    By Roboblue in forum AutoPlay Media Studio 6.0
    Replies: 9
    Last Post: 11-18-2005, 01:20 PM
  3. URL Address Input
    By sidd in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 07-14-2004, 03:21 PM
  4. HOWTO: Display Conditional Text Based Upon a List Box Selection
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-15-2002, 10:54 AM
  5. Packages and If Statements
    By Medlir in forum Setup Factory 6.0
    Replies: 4
    Last Post: 05-09-2002, 03:51 PM

Posting Permissions

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