Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2007
    Posts
    16

    pass variables to web object

    my problem is that when i try to load url with variables like (when i set it as the first url, not by code) :
    "AutoPlay\Docs\Web Events\web_event.htm?category=Man&address=North&na me=Last"
    it gives me an error but when i try to load
    "AutoPlay\Docs\Web Events\web_event.htm", it works fine.
    when i open the url with explorer it also works fine.

    when i try to load it with variables it loads but it disregards the variables.
    does anyone explain to me what i'm doing wrong?

  2. #2
    Join Date
    Nov 2006
    Posts
    64
    "AutoPlay\Docs\Web Events\web_event.htm?category=Man&address=North&na me=Last"

    Might it be cos u had the space inbetween the word name?

  3. #3
    Join Date
    Aug 2007
    Posts
    16
    no, it's just a problem with the paste.
    i want to add that i try to get the variables using javascript.
    does anyone have an example for something like this?

  4. #4
    Join Date
    Jul 2007
    Posts
    4
    I realize that this is a little late, but I have passed info to various server-side apps via url reference. This is the format that I use:

    Code:
    File.OpenURL("http://example.net/cgi-bin/sample_app.cgi?full_name="..full_name.."&username="..username.."&con_type="..con_type.."&sdrive=".._SourceDrive, SW_SHOWNORMAL);
    It works without issue. I have also been able to pass the info as a command-line arg to specific browsers:
    Code:
    File.Run(_ProgramFilesFolder.."\\Internet Explorer\\iexplore.exe", "http://example.net/cgi-bin/sample_app.cgi?full_name="..full_name.."&username="..username.."&con_type="..con_type.."&sdrive=".._SourceDrive, "", SW_MAXIMIZE, false);
    Hope this helps,

    Art

Similar Threads

  1. Web Object Right Click Management
    By Roboblue in forum AutoPlay Media Studio 7.5 Examples
    Replies: 9
    Last Post: 12-24-2007, 01:56 PM
  2. Web Object - javascript errors - doesn't pass IE params
    By thesven in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 08-29-2003, 09:48 PM
  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