Diana (Cda) Posted January 12, 2011 Share Posted January 12, 2011 As usual, I've done a search on the forum but the results I get have to do with the old systray gui icon issue which is something that I, thankfully, seem to have mastered some time back. For a script that resides in the sytray and that we can launch other items from, is there a way to code the entries so that each line displayed in the "systray popup" shows its own icon? Right now I just have lines of text. I have to add a few more entries to it and it would seriously make it easier to work with if the entries could also have an identifying icon. The code for the systray gui begins like this: #include <GuiConstants.au3> ;*****===== Tray "context menu": =====*****=====*****=====*****=====*****=====*****=====*****=====* Opt("GuiOnEventMode", 1) Opt("TrayOnEventMode", 1) Opt("TrayMenuMode", 1) ;-------------------------------------------------------------------------------------------------- TrayCreateItem($TrayTitle) TrayCreateItem("") ; creates a "separator" line between items in tray menu ;-------------------------------------------------------------------------------------------------- If this is something that can be done, hopefully just knowing what the code name to search for is all I need to get going with modifying the script. Thanks! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 12, 2011 Moderators Share Posted January 12, 2011 Diana (Cda), Yashied posted this a few days ago - looks like just what you need. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Diana (Cda) Posted January 16, 2011 Author Share Posted January 16, 2011 Diana (Cda), Yashied posted this a few days ago - looks like just what you need. M23 Hi, thanks! The only thing that concerns me is this: Note that icons will only work in Windows Vista and later.I have Windows XP. So will take a look at it but not sure it's going to work. Darn. Also, sounds like a big job since it goes on to say "Also need a library." Well, I'll cross that bridge when I get to it. Thanks and cheers, 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