Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 11 of 11
  1. #1
    Join Date
    Feb 2001
    Location
    Hungary Budapest
    Posts
    54

    Lightbulb Quick launch built-in variable

    I suggest a new built-in variable:
    %QuickLaunch%

    I have use for put some icon to Quick Launch in my setup, but I can't do it.

    Sincerely
    Laslie

  2. #2
    Join Date
    Feb 2002
    Posts
    4

    Re: Quick launch built-in variable

    I'd also like this option... does anybody have a script that does this?... (as a temporal workaround)

  3. #3
    Join Date
    Feb 2001
    Location
    Indigo Rose Software
    Posts
    2,728

    Re: Quick launch built-in variable

    Try this:

    First, use a Read from Registry action to get the AppData path:

    Read from Registry
    Variable name: %AppData%
    Main key: HKEY_CURRENT_USER
    Sub Key: Software\Microsoft\Windows\CurrentVersion\Explorer \Shell Folders
    Value name: AppData

    Then, use an Assign Value action to guess the standard "Quick Launch" folder's path:

    Assign Value
    Variable name: %QuickLaunch%
    Value: %AppData%\Microsoft\Internet Explorer\Quick Launch
    Evaluate value as expression: unchecked

    You'll probably want to test this out on several operating systems...I've only tested it on my work system, which is running Windows 2000 at the moment.
    --[[ Indigo Rose Software Developer ]]

  4. #4
    Join Date
    Nov 2002
    Location
    Bergen, Norway
    Posts
    16

    Re: Quick launch built-in variable

    That worked great on my machine.

    I'm running Windows XP Pro [img]/ubbthreads/images/icons/smile.gif[/img]

  5. #5
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328

    Re: Quick launch built-in variable

    What about the Rest of the Users on the system, and 9.x boxes? I want to make sure the short is avable for all users on the computer especially in Windows 2000 Terminal Server.

  6. #6
    Join Date
    Nov 2002
    Location
    Bergen, Norway
    Posts
    16

    Re: Quick launch built-in variable

    To make it work on all OS you have to use the OS detect feature and write a script for Win95, 98, ME and for NT, 2000 and XP.

  7. #7
    Join Date
    Jan 2002
    Location
    Nashville TN
    Posts
    328

    Re: Quick launch built-in variable

    I know I could use that to deside what OS I am installing on, But each OS uses a different location for storing the Quick Launch also its different for each user, I was hoping that someone knew a gloable location. Is there a way to find each users account on the system and add the to their Quick Launch tool bar?

  8. #8
    Join Date
    Nov 2002
    Location
    Bergen, Norway
    Posts
    16

    Lightbulb Re: Quick launch built-in variable

    This should be a global way to add a shortcut to Quick Launch.
    It should work on all NT, 2000, XP and .Net platforms.
    If someone finds it not to work please let me know at robert@geotrail.no


    Read from Registry:

    Variable name:
    %QuickLaunch%

    Default Value:
    0

    Main key:
    HKEY_CURRENT_USER

    Sub key:
    Software\Microsoft\Windows\CurrentVersion\GrpConv\ MapGroups

    Value name:
    Quick Launch



    The code could look like this:

    Read from Registry (%QuickLaunch% = HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\GrpConv\MapGroups\\Quick Launch)
    IF (%QuickLaunch% = 0)
    Show Message Box (Could not find path to Quick Launch.)
    GOTO LABEL (skip)
    END IF
    Create Shortcut (%QuickLaunch%\Notepad.exe -> Notepad.exe)
    skip

  9. #9
    Join Date
    Nov 2002
    Location
    Bergen, Norway
    Posts
    16

    Re: Quick launch built-in variable

    Or to make sure the user is on NT, 2000, XP or .Net use this:

    IF (%IsWin2000% OR %IsWinNT3% OR %IsWinNT4% OR %IsWinXP% = TRUE)
    Read from Registry (%QuickLaunch% = HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\GrpConv\MapGroups\\Quick Launch)
    IF (%QuickLaunch% = 0)
    Show Message Box (Could not find path to Quick Launch.)
    GOTO LABEL (skip)
    END IF
    END IF
    Create Shortcut (%QuickLaunch%\Notepad.exe -> Notepad.exe)
    skip

  10. #10
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Quick launch built-in variable

    I've added this as a suggestion for consideration in the future. Thank you.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  11. #11
    Join Date
    Nov 2002
    Location
    Bergen, Norway
    Posts
    16

    Re: Quick launch built-in variable

    Sounds great.
    Hope it gets added [img]/ubbthreads/images/icons/wink.gif[/img]

    Thanks!

Posting Permissions

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