Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2007
    Posts
    6

    How to create a shortcut to a folder

    I feel like I'm taking dumb pills.. This was very simple in the previous version.

    I'm trying to create a shortcut to a folder in the start menu.

    Startmenu --> Programs --> App-folder --> /shortcut to a folder/

    For the file of me I can't work it out.
    I can create a shortcut to a file no worries, but this one is just ****ing me off.

    I just want a simple shortcut inside the start menus app-folder that links opens a folder in programs folder.

  2. #2
    Join Date
    Sep 2007
    Posts
    6
    Trying to use everything I can think off..

    Shell.CreateShortcut("%AppShortcutFolderName%", "Movies", "%AppFolder%\\Movies", "", "", "", 0, SW_SHOWNORMAL, nil, "");
    Shell.CreateShortcut("%AppShortcutFolderName%", "Documents", "%AppFolder%\\Documents", "", "", "", 0, SW_SHOWNORMAL, nil, "");

  3. #3
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Something like this?

    Code:
    Folder.Create( SessionVar.Expand("%AppFolder%\\MegaFolder") );
    Shell.CreateShortcut(SetupData.GetAppShortcutFolderPath(), "My Folder Shortcut", SessionVar.Expand("%AppFolder%\\MegaFolder"), SessionVar.Expand("%AppFolder%\\MegaFolder"), SessionVar.Expand("%AppFolder%\\MegaFolder"), "", 0, SW_SHOWNORMAL, {}, "");


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  4. #4
    Join Date
    Sep 2007
    Posts
    6
    Thanks mate... I only needed the second line. The folder in created during the install.

    Shell.CreateShortcut(SetupData.GetAppShortcutFolde rPath(), "Movies", SessionVar.Expand("%AppFolder%\\Movies"), SessionVar.Expand("%AppFolder%\\Movies"), SessionVar.Expand("%AppFolder%\\Movies"), "", 0, SW_SHOWNORMAL, {}, "");

    Not sure why they've made v7 so complicated. Version 6 was so simple.

    Now I just need to work on sorting the icons..

  5. #5
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by mattspew View Post
    Thanks mate... I only needed the second line. The folder in created during the install.
    You're welcome -- I provided the 1st line for "completeness" so you could just run the code & verify it worked.

    Quote Originally Posted by mattspew View Post
    Not sure why they've made v7 so complicated. Version 6 was so simple.
    V7 isn't an 'upgrade' to v6, it's a whole new product -- the learning curve is steep to pick up the scripted way, but it's SO MUCH more powerful -- and once you "get it" it really becomes very easy to use. I have a handful of v6 installers I need to maintain (customers don't want to pay me to convert it) -- and each time I have to work in v6, all I can think of is "How did I think this was better?" v7 is the way to go! I'm now converting any of my customers for 'free' if they wish just so I can have an easier time of the regular upkeep.


    Quote Originally Posted by mattspew View Post
    Now I just need to work on sorting the icons..
    What do you need to sort out? Post a new thread if you need more help!


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Similar Threads

  1. HOWTO: Create a Shortcut to an Internet URL
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-29-2002, 02:07 PM
  2. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM
  3. HOWTO: Create an Empty Folder
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-21-2002, 03:21 PM
  4. HOWTO: Create a Shortcut on the Desktop
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 09-19-2002, 02:56 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