pete1234 Posted July 19, 2008 Share Posted July 19, 2008 I have a pretty basic tray menu, and there's a submenu called Windows Explorer where I point to a few different locations on my drive that I navigate to frequently. Now, let's say I have a folder that contains only standard Windows shortcuts to these places. Is it possible to have my tray menu have tray items that are updated based on these shortcuts? So if I add a shortcut or delete one from this folder, the Windows Explorer submenu will automatically be updated. I've attached my code thus far, although I'm not sure it's necessary for these purposes. But note I am using ModernMenu. Thanks.Tray.au3 Link to comment Share on other sites More sharing options...
BrettF Posted July 19, 2008 Share Posted July 19, 2008 I have a pretty basic tray menu, and there's a submenu called Windows Explorer where I point to a few different locations on my drive that I navigate to frequently. Now, let's say I have a folder that contains only standard Windows shortcuts to these places. Is it possible to have my tray menu have tray items that are updated based on these shortcuts? So if I add a shortcut or delete one from this folder, the Windows Explorer submenu will automatically be updated.I've attached my code thus far, although I'm not sure it's necessary for these purposes. But note I am using ModernMenu.Thanks.Just build the sub-menu dynamically. I think if I understood correctly, that you had a folder of frequently used shortcuts, and you wanted to populate a submenu from them? FileFindFirst () and FileFindNext () will do the trick at the start, but as for updating, that shouldn't be much harder than doing a search on the forums... All you want to know is when the folder is updated, check back a few topics from this, there is a topic similar- but the OP wants to find if the folder changed, I posted an example there. Then just rebuild it. muttley Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
pete1234 Posted July 19, 2008 Author Share Posted July 19, 2008 LOL. I didn't even connect the two, even though I'm just finishing up with the other one. Thanks, I will try and figure this one out tomorrow. Code make head hurt. 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