Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User pinned shortcuts in the Taskbar aren't resolved #23

Open
sherpas-par opened this issue Jan 16, 2023 · 3 comments
Open

User pinned shortcuts in the Taskbar aren't resolved #23

sherpas-par opened this issue Jan 16, 2023 · 3 comments

Comments

@sherpas-par
Copy link

Hi,

The script AddShortcuts doesn't resolve user pinned shortcuts in the Taskbar, in my case OneNote, Word, Excel, PowerPoint and an Edge PWA-app.

image

@ParkerSDan
Copy link

I found the same issue. When clicking on a white icon I'd get the error that the file or application was missing and would I like to remove the shortcut.

I noticed if I hovered my mouse over a white icon, I'd get a bubble telling me the name e.g. OneNote. I launched OneNote from the Start Menu, and noticed the white icon was highlighted. I could then switch to it using the white icon.

I right-clicked the white icon and selected Unpin. This brought the correct icon back. I then right-clicked again and selected Pin. I did this for all 4 missing icons.

Not something you can role out, but might help if only a few users affected.

@Andrew-J-Larson
Copy link

Andrew-J-Larson commented May 30, 2023

Unfortunately, unless using a third-party application that can read the TaskBar registry key (to get a list of the shortcuts that need to be recreated), the only way to fix this issue is to reset the taskbar pinned shortcuts outright (I created a script that does this here)

The script should warn this, but putting this here anyways, make sure to take note of what is pinned, because you will have to manually re-pin everything. This is also a per user script, so it must be ran as the currently logged on user (and not elevated).

@Andrew-J-Larson
Copy link

Andrew-J-Larson commented May 30, 2023

A good contender that might aid in reading the TaskBar registry key may be https://github.com/0x546F6D/pttb_-_Pin_To_TaskBar, but functionality to do that hasn't been implemented in the program.

I've already already created a feature request in the repo specifying this, in case you want to add on and get it more attention: 0x546F6D/pttb_-_Pin_To_TaskBar#7

If this feature does eventually become a thing, most shortcuts could be recreated, except for Implict ones (e.g. browser profile shortcuts), those would need more work to recreate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants