Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Is it possible to dynamically change the order of icons in taskbar?

28 Apr 2012   #1

Windows 7 Ultimate x64
 
 
Is it possible to dynamically change the order of icons in taskbar?

I'm hoping that is can be accomplished via the registry or something like that. Here's the reason for my question:

I am using a laptop and it's LCD screen resolution is max 1900x1200. The icons in my Task bar are in a specific order/location. For example, on the LCD screen, I have two rows of icons and one of my most-frequently used apps is the last one on row 1.

However, when I dock my laptop, my external monitor is 2560x1600 and now I only have one row of icons. Thus, that app that was at the end of row 1 is no longer at the end and now I have to "search" for it each time because I'm accustomed to it being at the end.

So, would I be able to dynamically change the order of the icons myself via the registry or something? Basically, I'm hoping to run a script/batch file that would set the order depending on whether I'm docked or not.

Thanks!

My System SpecsSystem Spec
.

29 Apr 2012   #2

Microsoft Windows 8.1 Pro 64-bit
 
 

Hello, nuspieds,

RIGHT-click the file/program and click 'pin to start menu'.
My System SpecsSystem Spec
29 Apr 2012   #3

Windows 7 Pro-x64
 
 

Why not just move the one(s) you use most often to the front or first?

Left click and hold then drag the icon to the order you want.
My System SpecsSystem Spec
.


29 Apr 2012   #4

Windows 7 Ultimate x64
 
 

Export this reg key and save as something like LaptopTaskbar.reg

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

Dock your laptop and re-arrange your icons then export the key again saving this time as DockedTaskbar.reg

And here's a batch file that will allow you to select and change
Code:
@echo off

:START
echo.
echo 1. Laptop
echo 2. Docked
echo.
echo C. Cancel
echo.
set /p TB=Select taskbar: 

if %TB%==1 goto TB1
if %TB%==2 goto TB2
if /i %TB%==c exit

cls
echo.
echo %TB% is not a valid choice
echo Please enter 1 or 2
echo.
goto START

:TB1
taskkill /f /im explorer.exe
reg import LaptopTaskbar.reg
goto END

:TB2
taskkill /f /im explorer.exe
reg import DockedTaskbar.reg

:END
start explorer.exe
Now you have to close and restart Explorer to refresh and show the changes and the problem with this is it will close any Windows Explorer windows as well. So if you have any folders open they will need to be re-opened.

As is the reg files must exist in the same location as the batch file but you can simply add full paths to them.

You can also add or remove icons not just re-arrange them.
My System SpecsSystem Spec
30 Apr 2012   #5

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by DustSailor View Post
Hello, nuspieds,

RIGHT-click the file/program and click 'pin to start menu'.
No, this is about my Task bar apps, which only require a one-click to launch. My start menu is reserved for apps for which I don't mind having multiple clicks in order to locate and then launch the app.

I want a one-click lauch, which is why these apps are on my Task bar.
My System SpecsSystem Spec
30 Apr 2012   #6

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by carwiz View Post
Why not just move the one(s) you use most often to the front or first?
Ummm, perhaps the front is already occupied with the most-often used?

Because I have two rows, the end of row one was another quick/blind way to move my mouse to that location, where I specifically located other frequently-used apps.
My System SpecsSystem Spec
30 Apr 2012   #7

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by Duzzy View Post
Export this reg key and save as something like LaptopTaskbar.reg

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

Dock your laptop and re-arrange your icons then export the key again saving this time as DockedTaskbar.reg

And here's a batch file that will allow you to select and change
Code:
@echo off
 
:START
echo.
echo 1. Laptop
echo 2. Docked
echo.
echo C. Cancel
echo.
set /p TB=Select taskbar: 
 
if %TB%==1 goto TB1
if %TB%==2 goto TB2
if /i %TB%==c exit
 
cls
echo.
echo %TB% is not a valid choice
echo Please enter 1 or 2
echo.
goto START
 
:TB1
taskkill /f /im explorer.exe
reg import LaptopTaskbar.reg
goto END
 
:TB2
taskkill /f /im explorer.exe
reg import DockedTaskbar.reg
 
:END
start explorer.exe
Now you have to close and restart Explorer to refresh and show the changes and the problem with this is it will close any Windows Explorer windows as well. So if you have any folders open they will need to be re-opened.

As is the reg files must exist in the same location as the batch file but you can simply add full paths to them.

You can also add or remove icons not just re-arrange them.
Yes, something like that would work.

The only problem, though, is when I am adding/deleting/reorgnanzing some of the other icons. Not a big deal, I just have to recreate the .reg files, but I have to remember to do so.

I'm keeping this solution on the side for the moment, though. Right now I've moved them closer to the front to see if I can get accustomed to them there. But right now my hand is still intuitively moving the mouse to the end of the list when I want to launch those apps.

If I still can't retrain myself, I'll down the script and .reg files road.
My System SpecsSystem Spec
01 May 2012   #8

Windows 7 Ultimate x64
 
 

Quote:
The only problem, though, is when I am adding/deleting/reorgnanzing some of the other icons. Not a big deal, I just have to recreate the .reg files, but I have to remember to do so.
Yes that is a problem with my soulution. Every time you make a change to either of the Taskbar views you will need to remember to recreate the reg file for the view that you changed.

To make it easier you can create a batch file you simple run to export the key rather than having to open regedit, browse to key, etc.... Well that will help with exporting them anyway, but I can't help you remember.
My System SpecsSystem Spec
Reply

 Is it possible to dynamically change the order of icons in taskbar?




Thread Tools



Similar help and support threads for2: Is it possible to dynamically change the order of icons in taskbar?
Thread Forum
change order of taskbar thumbnail previews? General Discussion
Cant change taskbar icons. Help please Customization
How to change colors icons from the taskbar ? Customization
Solved Cannot Change order of Pinned Taskbar icons Customization
Change Order of Grouped Buttons on Taskbar General Discussion
Icons Change on taskbar! Customization
Objects in Taskbar resize dynamically. Customization

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:54 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33