Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2004
    Posts
    32

    New to set up a link

    Folks, I wish to create a link to the web. Please bear with me in your response. I am not that fluent in speaking code. The simpler the better. Thanks for your patience.

    Kenster

  2. #2
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    You need to be a little more specific.

  3. #3
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Depending on what you want.

    Within AMS you can use the following code on any event you want to open up the default browser to a web site.

    Code:
    --open the default browser to IR's website
    File.OpenURL("http://www.indigorose.com", SW_SHOWNORMAL)
    Or if you are wanting to make a Shortcut to put on someone's dekstop, use this:
    Code:
    --Set the contents of the URL file
    sWebLink = "[DEFAULT]\r\n";
    sWebLink = sWebLink .. "BASEURL=http://www.warmuskerken.com/\r\n";
    sWebLink = sWebLink .. "[InternetShortcut]\r\n";
    sWebLink = sWebLink .. "URL=http://www.warmuskerken.com/";
    
    --Write out the file
    TextFile.WriteFromString(_DesktopFolder .. "\\Warmuskerken.url", sWebLink, false);
    Hope that helps.

  4. #4
    Join Date
    Jan 2000
    Posts
    2,002
    or:

    Shell.CreateShortcut(Shell.GetFolder(SHF_DESKTOP), "Indigo Rose Web Site","http://www.indigorose.com");

  5. #5
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Smarty Pants!



    Quote Originally Posted by Brett
    or:

    Shell.CreateShortcut(Shell.GetFolder(SHF_DESKTOP), "Indigo Rose Web Site","http://www.indigorose.com");

  6. #6
    Join Date
    Jan 2000
    Posts
    2,002
    Actually, I am wearning my new pair of Old Navy cargo pants which I love (it's cold here today.) Loose, comfortable, cheap, and oh, so stylish. I guess they are smart pants, come to think of it...

  7. #7
    Join Date
    Apr 2004
    Posts
    32

    Thanks

    Worm, thanks for the code, it worked. I appreciate yours and everyone else's help.

    Kenster

  8. #8
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746
    Harem pants are fully inline with the criteria you've listed and will turbocharge your nightlife. "Smarter" pants, if you will.

    Corey Milner
    Creative Director, Indigo Rose Software

Similar Threads

  1. Replies: 1
    Last Post: 11-01-2003, 03:30 PM
  2. List box item value to set up loop
    By bruciori in forum AutoPlay Media Studio 4.0
    Replies: 3
    Last Post: 04-17-2003, 03:06 PM
  3. HOWTO: Set up an MP3 Playlist
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-24-2002, 11:57 AM
  4. INFO: How to Set the Default Application Directory
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-25-2002, 12:02 PM
  5. Change actions properties for a set of actions
    By HayoOellrich in forum Setup Factory 6.0
    Replies: 0
    Last Post: 05-23-2002, 05:20 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