• Minimized? (XP-SP-2)

    Author
    Topic
    #431871

    Create a shortcut in the suitable place (say, on your desktop) by right-clicking and selecting New | Shortcut.

    Put your command line in the “Type the location…” box.

    Type an appropriate name for the shortcut. Click Finish.

    Right-click the shortcut icon, from pop-up menu choose Properties, then from Run drop-down box select Minimize. You can also change shortcut icon clicking “Change Icon” button and navigating to C:Windowssystem32Shell32.dll or another icon container.

    Viewing 1 reply thread
    Author
    Replies
    • #1011879

      Edited by HansV to get rid of problem caused by %1

      I understand that method… but this command string is called from the context menu item via the registry.

      The reg entry that generates the context menu item is:

      Windows Registry Editor Version 5.00

      [HKEY_CLASSES_ROOTInternetShortcutshellOpenSCinIE_with_BAT]
      @=”Open in &IE”

      [HKEY_CLASSES_ROOTInternetShortcutshellOpenSCinIE_with_BATcommand]
      @=””C:WinAppsCommInternetUtilsIE_2_OpenOpenSCinIE.bat” “%1″”

      And the string mentioned initially is the only command in the bat file.

      Regards,
      Chuck Billow

      Chuck Billow

      • #1011930

        ————-Edited————————

        In your .bat file add START /MIN command in the beginning of the command line:

        START /MIN cscript.exe “C:WinAppsCommInternetUtilsIE_2_OpenOpenSCinIE.vbs” %1

    • #1011829

      Also edited by HansV to replace % with [%] to get rid of duplication

      Edited by Bigaldoc to make the post number live. (Adding square brackets and a colon is all it takes.) You can do it by highlighting the post number.[/size]

      I’ve been using the script Jefferson uploaded post 565544 to add “Open in IR” to the context menu if you use another browser as default.

      Works great.

      It opens up a command window, executing

      cscript.exe “C:WinAppsCommInternetUtilsIE_2_OpenOpenSCinIE.vbs” %1

      Is there any “flag” that would make that window run “minimized” or hidden?

      Regards,
      Chuck Billow

      PS — Thanks Jefferson….

      Chuck Billow

      • #1011917

        And I don’t know what else is wrong with your post. I don’t think my EDIT caused your repeat text. Whassup do ya think, Chuck?

        Edited. Thanks for the tutorial, Hans! (following post).

        • #1011921

          The %1 causes text to be duplicated each time the post is edited. I got rid of the problem by using [%] tags in both posts that use %.

    Viewing 1 reply thread
    Reply To: Minimized? (XP-SP-2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: