Sign in to follow this  
Followers 0
toyotabedzrock

XML Based SysTray Admin Menu with Icons V 0.2.0.0

14 posts in this topic

#1 ·  Posted (edited)

Admin Tray Ver 0.2.0.0

Allows creation of custom systray menus with icons, It can execute single Auto It commands that are stored in the XML file.

Posted Image Posted Image

Posted Image

This is the first script i have posted on the site, so feedback would be very appreciated.

*Credits*

_XMLDomWrapper.au3 BY: ElTorro

ModernMenu.au3 BY: Holger

Shell32.au3 BY: kjactive

*I used MS XML Notepad 2007 to make the XML file*

*You can nest menus in menus and place spacers and items where ever you want. Also the order in which an item or menu appears in the XML file defines where they will appear in the tray.*

I would like to encourage everyone to post there XML files for Admin Tray

*Future Plans*

1. Move more things to const vars

2. Add error checking

3. Installer that can add the menu to the Task Scheduler to avoid UAC

4. Add Gui to configure the menu

5. Auto redraw the menu when the config file changes.

6. Add more options for how commands are run.

*History*

Ver 0.2.0.0 12/30/2007 [Full setup file here]

1. Made an Inno setup script

2. Created a small app that will import a login task into Vista for Admin Tray. If its run when the task is already installed it will delete it.

If you have trouble with the task import app it might be due to the file encoding of the xml file it imports to the task manager.

I'll post the full setup on my site and the scripts here. I know the setup works since i installed it over and over trying out the options.

Ver 0.1.2 12/13/2007

1. Fixed spacer positioning

2. Stream Lined the code a little

Ver 0.1.1 12/07/2007

1. Added option for running a command with arguments.

2. Added option for running a command hidden, maximized or minimized.

3. Added Text file to explain the options for running a command, and added a XML file to show basic layout.

Ver 0.1 12/07/2007

Admin_Tray_Ver_0.1.7z

Admin_Tray_Ver_0.1.1.7z

Admin_Tray_Ver_0.1.2.7z

Admin_Tray_Ver_0.2.0.0.7z

Edited by toyotabedzrock

Share this post


Link to post
Share on other sites



Looks great! Will be awesome with a gui to congigure. Kinda like pstart. Can even try to add the search as you type into it maybe..

Share this post


Link to post
Share on other sites

Under the tools menu you should add Disk Defragmenter(Not sure if its possible).

Share this post


Link to post
Share on other sites

Under the tools menu you should add Disk Defragmenter(Not sure if its possible).

Its easy to add it to the xml file. I added a few new options for running commands with arguments. And there is an example of using defrag in the xml file.

Share this post


Link to post
Share on other sites

Like the vista start menu?

No, like this pstart: http://www.pegtop.net/start/this is awesome if it could pull its arguments from a txt file would be even better.

Share this post


Link to post
Share on other sites

Way to Go!


A decision is a powerful thing

Share this post


Link to post
Share on other sites

Bravo! Really nice script. Thanks for sharing.

I used to use a freeware utility similar to this, but having the luxury to call autoit funcs directly makes your program the hands-down favorite. Is it possible to add seperators to the sub-menus? When I tried placing them between sub-menu items in the XML file they would appear on the main menu.

Also, I think that this would make a fine addition to your script:

Two Tray Menus Right & Left Click

http://www.autoitscript.com/forum/index.ph...mp;#entry443055

That way you could configure it so that an app menu appears on left-click, and maybe a folder menu or configuration menu on right-click.

Keep up the good work!

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

How did anyone get this to run. Both versions (Admin_Tray_Ver_0.1.7z and Admin_Tray_Ver_0.1.1.7z) come up with the same error:

_AdminTray.au3(57,40) : ERROR: syntax error
Func _Parse(ByRef $trayItems, $cPath = $xmlBasePath
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

You can't use a variable as a parameter value assignment for a function, can you?

Edited by JerryD

Share this post


Link to post
Share on other sites

Updated to latest release - very nice indeed!

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

Bravo! Really nice script. Thanks for sharing.

I used to use a freeware utility similar to this, but having the luxury to call autoit funcs directly makes your program the hands-down favorite. Is it possible to add seperators to the sub-menus? When I tried placing them between sub-menu items in the XML file they would appear on the main menu.

Also, I think that this would make a fine addition to your script:

Two Tray Menus Right & Left Click

http://www.autoitscript.com/forum/index.ph...mp;#entry443055

That way you could configure it so that an app menu appears on left-click, and maybe a folder menu or configuration menu on right-click.

Keep up the good work!

Could you show me your xml file so i can test it and correct the code?

I was also thinking about doing a dual menu but im not sure about what the fuction of the other menu would be. Id like to make the fuction of the other menu customizable.

Edited by toyotabedzrock

Share this post


Link to post
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
Sign in to follow this  
Followers 0