+Xinok Subscriber² Posted March 24, 2011 Subscriber² Share Posted March 24, 2011 (edited) Pin programs with custom launchers to taskbar About This Guide A lot of programs have separate launchers which are required to launch the program. For example, portable versions of programs which have a custom launcher, such as those from PortableApps. The trouble is that they don't work properly when pinned to the taskbar in Windows 7. If you pin the launcher, the program windows will be added as separate taskbar buttons. If you try pinning the program directly bypassing the launcher, the program may not launch at all. The Problem: Left icon is the pinned launcher, right icon is the program window This guide will show you how to properly pin these programs to the taskbar. Every window on your desktop has an AppID (short for Application ID), and it is by this that Windows 7 groups items together on the taskbar. This guide will show you how to change the AppID of items pinned to the taskbar so they match that of the actual program and not the launcher. The trick used in this guide may not work with all programs! If this guide does not work for you, you may use 7 Taskbar Tweaker, but this requires running a background process at all times. Jump list items may not work for the pinned launcher! Since the AppID is that of the program, the jump list items will also be for the program and not the launcher. Clicking a jump list item is likely to run the program directly and skip the launcher. For that reason, jump list items may not work. What You Need 7 Taskbar Tweaker mkshortcut.zip - VirusTotal Results Step 1 - 7 Taskbar Tweaker The first step is to figure out the AppID of the running program. 7 Taskbar Tweaker will allow you to do this. Download the program and run it. It does not require installation. In the Settings window, click the Taskbar Inspector button. In this window, you can see the AppID of all items on the taskbar, pinned or not. Some programs have a special AppID, while others are just the path of the EXE. Write down the AppID of the program you want to pin to the taskbar. For this guide, I will be showing you how to pin Portable 7-Zip to the taskbar. Step 2 - mkshortcut.exe The second step is to use mkshortcut.exe to create a shortcut to the launcher, but with the AppID of the actual program. 1. Copy mkshortcut.exe into the same directory as the launcher. 2. In an empty space in the folder, Shift+Right Click and choose Open command window here. At the command prompt, call mkshortcut.exe with the following parameters: mkshortcut.exe -output [shortcut Name].lnk -target "%cd%\[Program Launcher].exe" -appid "[AppID]"For example, if I want to pin Portable 7-zip to the taskbar, I would write: mkshortcut.exe -output 7-Zip.lnk -target "%cd%\7-ZipPortable.exe" -appid "C:\Users\Michael\Desktop\Utilities\7-Zip\App\7-Zip\7zFM.exe" Step 3 - Drag shortcut to taskbar If everything worked correctly, it should have created a new shortcut in the same folder. Simply drag this shortcut to the taskbar and launch it. Added note about jump lists Updated mkshortcut.exe download to include source code Edited April 27, 2011 by Xinok Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/ Share on other sites More sharing options...
briangw Posted March 24, 2011 Share Posted March 24, 2011 Xinok, Would this work for programs/shortcuts that do not/cannot pin to the taskbar (not just custom launchers?) Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/#findComment-593821090 Share on other sites More sharing options...
+Xinok Subscriber² Posted March 24, 2011 Author Subscriber² Share Posted March 24, 2011 Xinok, Would this work for programs/shortcuts that do not/cannot pin to the taskbar (not just custom launchers?) Could you give me an example? Then I'll see if I can figure something out. Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/#findComment-593821130 Share on other sites More sharing options...
briangw Posted March 24, 2011 Share Posted March 24, 2011 Could you give me an example? Then I'll see if I can figure something out. Well, Network shortcuts (i.e. network share on the desktop as an icon) for example won't pin or the hosts file that I have as a shortcut in my quick launch won't pin either. The only other one I can think of is Wndows XP Mode.exe file. Currently, I have that in a QuickLaunch taskbar I created, but it won't pin. Basically, one of the problems I and others I know have is these one off applications that will not pin. Just wondering if there is a way to force them to pin. Your guide is the closest thing I have found for the ability to do so outside of other guides describing how to pin things like My Computer and the Recycle Bin, I was wondering if there is any way to pin anything. Thanks! Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/#findComment-593821160 Share on other sites More sharing options...
+Xinok Subscriber² Posted March 24, 2011 Author Subscriber² Share Posted March 24, 2011 Well, Network shortcuts (i.e. network share on the desktop as an icon) for example won't pin or the hosts file that I have as a shortcut in my quick launch won't pin either. The only other one I can think of is Wndows XP Mode.exe file. Currently, I have that in a QuickLaunch taskbar I created, but it won't pin. Basically, one of the problems I and others I know have is these one off applications that will not pin. Just wondering if there is a way to force them to pin. Your guide is the closest thing I have found for the ability to do so outside of other guides describing how to pin things like My Computer and the Recycle Bin, I was wondering if there is any way to pin anything. Thanks! You could try Bat To Exe Converter. Write a batch file which will launch what you want, use that program to compile an EXE (remember to set an icon under the "Versioninformations" tab), use mkshortcut.exe to create a shortcut, and pin the shortcut to the taskbar. Essentially all you would be doing here is creating a custom launcher, then following the guide as is. Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/#findComment-593821184 Share on other sites More sharing options...
ruxx Posted October 11, 2011 Share Posted October 11, 2011 Thank You Xinok and all the neowinians who helped me solve the problem. Thank You very much. Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/#findComment-594373751 Share on other sites More sharing options...
cooky560 Veteran Posted October 18, 2011 Veteran Share Posted October 18, 2011 Wouldn't it be easier to make a regular lnk file with the paramaters in the "command" field of properties then attaching that to the task-bar like in the old days? Link to comment https://www.neowin.net/forum/topic/985014-guide-pin-programs-with-custom-launchers-to-taskbar/#findComment-594388299 Share on other sites More sharing options...
Recommended Posts