Jump to content

Check if at the right spot of start menu


Recommended Posts

Hi

I have written an auto it macro which does the following: Open the start menu, then type "app:ex" so that the Explorer App is visible and then right mouse click (Left Shift Down + F10) and then the down arrows to get to "Pin to taskbar". The problem is that depending on the configuration or Windows version the "Pin to taskbar" is in a different position. So sometimes I need two arrows down, sometimes three. Is there a way to check whether I'm on the right spot (context menu item)?

Thanks,
Thomas

Edited by Wanderer82
Link to comment
Share on other sites

Yes, I use this app to pin everything but Windows Explorer (File Explorer). It just doesn't work with all these Pin To Taskbar tools unfortunately. It seems to work but everytime I try to open File Explorer with the created taskbar item (created by Pin To Taskbar) another of the same icon appears on the taskbar with the File Explorer. Somehow it's not the correct file I try to pin to the taskbar. But I've tried back and forth, it won't work without an Auto IT macro. If you have a better and working solution, I'd be very happy 🙂

Link to comment
Share on other sites

I swear Explorer worked but I'm seeing now that it doesn't. The other method I used was a registry export of a preconfigured PC (we did Outlook, a browser and a custom app). 

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband

and maybe this one but it might only be outlook.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Taskband\AuxilliaryPins

Copy the shortcuts to be pinned to the user's "%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\"

then import the reg file you made and finally kill explorer.

Link to comment
Share on other sites

Well, yes, I could do it that way and I even delete the reg key and the shortcut files already. But copying an already exisiting taskband key gave me some problems, as I can remember. It's been quite a while since I tested everything. It just seemed a bit safer to do it with the extra app.

But actualyl my question is also general. I'd like to know if it's possible so check if the right "object" or text field is selected before continuing.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...