Indigo Rose Software

Professional Software Development Tools

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

    Grin Open html file with browser

    I have a html file I'm trying to open with a button but not having much luck? see what I have wrong?
    Code:
    Web.LoadURL("Web1", "Docs\links.html");

  2. #2
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    I got it never mind. need \\ not just \

  3. #3
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Quote Originally Posted by bobbie
    I got it never mind. need \\ not just \
    I often did the same mistake, forgotting to escape the slash. Maybe this forum has an escape required list somewhere.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  4. #4
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    What is funny if you use the quick link stuff to load a page in the the web browser it don't show the \\ just the reg links to the file .
    Know what I mean?

  5. #5
    Join Date
    Oct 2004
    Location
    East, South & West Asia
    Posts
    1,020
    Quote Originally Posted by bobbie
    What is funny if you use the quick link stuff to load a page in the the web browser it don't show the \\ just the reg links to the file .
    Know what I mean?
    Bobbie,

    I was also wondering whats with the \\.

    Someone told me the reason is to ESCAPE the slash. ESCAPE? What ESCAPE??? hehe ... I thought he was kidding. Nope... he wasn't.

    The first "\" actually tells the AMS Scripting Engine to leave alone ( to ESCAPE ) the next character. Well, I'd call it SKIP. So far, I did some SKIPPING like:
    - \r telling AMS it's a Return and not an r
    - \n telling AMS it's a New Line and not an n
    - \" telling the Engine to treat it as a " and not the end of a variable
    - \\ was the oddest but tells the engine it's a slash and not an ESCAPE. heehe ...Escape the Escaper.

    I saw someone put up a \t for TAB. I think there are other characters that can SKIP.
    Newbie Examples
    ------> AMS 7.5 : amstudio.azman.info
    ----> AMS 6 & 5: www.azman.info/ams/
    ----> FB: facebook.com/GuideToWealth

    ----> Content Development Blog: www.AZMAN.asia

  6. #6
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Yep exactly. All scripting languages have the same thing although implementation may vary.

  7. #7
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Some php scripts you can use \\ for file paths when they use unix paths / on a windows server .

Similar Threads

  1. How to insert bullet in a paragraph object
    By jrak in forum AutoPlay Media Studio 6.0
    Replies: 13
    Last Post: 12-29-2005, 10:53 AM
  2. Paje jump and open file browser
    By synistics in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 06-24-2004, 11:48 AM
  3. Mac autostart function???
    By Protocol in forum AutoPlay Media Studio 4.0
    Replies: 21
    Last Post: 06-26-2003, 10:25 AM
  4. HOWTO: Open an HTML Help File to a Specific Topic
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-01-2002, 02:24 PM
  5. Replies: 0
    Last Post: 08-17-2000, 02:29 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