I can't unpin a program pinned to the DF taskbar if the shortcuts are set to anything other than combined (i.e. left, auto, etc.) The only way to remove it is to use the shortcut editor. Also, if a program is pinned that is started with command-line parameters, they are not automatically added.
Thanks Chris! I'll check into both of these issues early next week.
Also, another issue is that you can't pin/unpin items from the jumplists.
Yes, the command-line parameters do show. However, if you pin something to the Windows taskbar, it doesn't save the parameters unless the program is launched from a shortcut, Win+R, or command prompt containing those parameters. That way if you open a picture, and pin the viewer to the taskbar, the pinned shortcut doesn't always launch the viewer with that picture; but if you create a shortcut with parameters to open the image, pinning it to the taskbar will copy the command line parameters, so the program will open with the image loaded.
Ok, interesting! I'll investigate the pinned item command line stuff further and I'll add it to our list as needed.
Thanks Chris!
Would you be able to provide an example of one of the programs and the command line parameters you're using? I've noticed that a lot of programs end up showing command line parameters, even if they were just launched normally (i.e. Chrome), so I need to find out if we can somehow detect when the command line parameters should and should not be saved.
Thanks!
I used IrfanView to try it. If I dropped a picture on the IrfanView shortcut, and then pinned the program to the taskbar, it did not use the command line parameters to create the pinned shortcut even though the program was launched with and had command line parameters visible in the taskbar. However, if I would edit the actual shortcut file and add parameters (e.g. "C:\Program Files (x86)\IrfanView\i_view32.exe" "C:\picture.jpg") in to open a picture, pinning it to the taskbar used the parameters in the shortcut.
Not many people know this, but items pinned to the taskbar are actually shortcuts stored in "C:\Users\________\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar". My theory is that Windows looks to see how the program was launched, and if it was a shortcut, it copies it into that folder, which would include the command line parameters.
Ok, thanks Chris! I'll test this out and add it to our list.
Unpinning works fine now, thanks!