toyotabedzrock Posted December 7, 2007 Share Posted December 7, 2007 (edited) Admin Tray Ver 0.2.0.0Allows creation of custom systray menus with icons, It can execute single Auto It commands that are stored in the XML file. This is the first script i have posted on the site, so feedback would be very appreciated.*Credits*_XMLDomWrapper.au3 BY: ElTorroModernMenu.au3 BY: HolgerShell32.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 vars2. Add error checking3. Installer that can add the menu to the Task Scheduler to avoid UAC4. Add Gui to configure the menu5. 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 script2. 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/20071. Fixed spacer positioning2. Stream Lined the code a littleVer 0.1.1 12/07/20071. 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/2007Admin_Tray_Ver_0.1.7zAdmin_Tray_Ver_0.1.1.7zAdmin_Tray_Ver_0.1.2.7zAdmin_Tray_Ver_0.2.0.0.7z Edited December 31, 2007 by toyotabedzrock [font="Comic Sans MS"]Admin Tray V0.2.0.0[/font] Link to comment Share on other sites More sharing options...
Zedna Posted December 7, 2007 Share Posted December 7, 2007 Looks very nice!! Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
gseller Posted December 8, 2007 Share Posted December 8, 2007 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.. Link to comment Share on other sites More sharing options...
JustinReno Posted December 8, 2007 Share Posted December 8, 2007 Under the tools menu you should add Disk Defragmenter(Not sure if its possible). Link to comment Share on other sites More sharing options...
toyotabedzrock Posted December 9, 2007 Author Share Posted December 9, 2007 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. [font="Comic Sans MS"]Admin Tray V0.2.0.0[/font] Link to comment Share on other sites More sharing options...
toyotabedzrock Posted December 9, 2007 Author Share Posted December 9, 2007 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..Like the vista start menu? [font="Comic Sans MS"]Admin Tray V0.2.0.0[/font] Link to comment Share on other sites More sharing options...
gseller Posted December 9, 2007 Share Posted December 9, 2007 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. Link to comment Share on other sites More sharing options...
JohnBailey Posted December 9, 2007 Share Posted December 9, 2007 Way to Go! A decision is a powerful thing Link to comment Share on other sites More sharing options...
Dolemite50 Posted December 10, 2007 Share Posted December 10, 2007 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 Clickhttp://www.autoitscript.com/forum/index.ph...mp;#entry443055That 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! Link to comment Share on other sites More sharing options...
JerryD Posted December 10, 2007 Share Posted December 10, 2007 (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 December 10, 2007 by JerryD Link to comment Share on other sites More sharing options...
Holger Posted December 10, 2007 Share Posted December 10, 2007 @toyotabedzrock: thanks for using my "ModernMenu" I'm very happy to see something useful @JerryD: I think you should try the newest release version of AutoIt3.GreetsHolger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView Link to comment Share on other sites More sharing options...
Achilles Posted December 10, 2007 Share Posted December 10, 2007 Sweet! I think I'll add this into my Multiple Desktops program... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
JerryD Posted December 11, 2007 Share Posted December 11, 2007 Updated to latest release - very nice indeed! Link to comment Share on other sites More sharing options...
toyotabedzrock Posted December 13, 2007 Author Share Posted December 13, 2007 (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 Clickhttp://www.autoitscript.com/forum/index.ph...mp;#entry443055That 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 December 13, 2007 by toyotabedzrock [font="Comic Sans MS"]Admin Tray V0.2.0.0[/font] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now