rajeshontheweb Posted May 7, 2009 Share Posted May 7, 2009 i saw another thread, but dynamic setting of menu text probably is alittle feasible but i need a dynamic update of menu items when a menu level is clicked ie., i have TrayMenu1 with TMItem1, TMItem2, TMItem3 When user clicks on TrayMenu1 , i need to specify a condition where in i can choose which items are to be shown or i also need to add entries to it in a nut shell, when a user clicks on the menu level, is it possible for me to control the menu items (add or delete them) ? i tried mouse hover in combination with single click detection et all, but i believe even with autopause mode off ( i am not using default menu btw) the script does pause for a user to select the menu item. so till i get mouse released first time, i cant do anything anyway out? did see the Tray menu UDFs around but they may not be very satisfactory for me if i have something in autoit already i might be able to do better . Also, is it yet possible to create a right click options on a menu level ? coz i checked getting trayitemtext which returns first level item's text instead of current menu level's text Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet Link to comment Share on other sites More sharing options...
Bert Posted May 7, 2009 Share Posted May 7, 2009 http://www.autoitscript.com/forum/index.ph...amic+Tray+menus The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
rajeshontheweb Posted May 9, 2009 Author Share Posted May 9, 2009 yeah thats what i meant about Tray Menu UDFs, but i was just wondering if AutoIT has any innate capability of letting me do what i wanted. anyways, after repeated trials, i ended up understanding > the script seems to pause when tray menu is clicked > even if i wanted to monitor a click / doubleclick on tray menu , it is gonna happen only after the first click, the first click is not recognisable, > clicking on menu level opens the sub menu level but i couldnt find a way to execute something before the menu level is expanded as i mentioned i am gonnaa try and use the UDF as it employs the windows / VB way of doing it.. (would need clarification if i am wrong in what i understood so far, or did i miss something? Started late is much better than having never started it!!!!Failure is another step towards success. I've been messing around with: Adding Entry to 'Hosts'File Information Lister (Logger)Yet Another AutoIT Error Handler Yet Another AutoIT Error Handler & Debugger Control your App's TaskBar Button YCurrency Ticker (Latest Release : 16 Apr 2009)_WinInetInternetCheckConnection UDF Symantec Definitions Lister UDF _GetLocalIPAddresses UDF UDF to get Special Folder Information WMI_NetworkAdapterConfiguration2Array WMI_CDRomDriveCapabilities _ScriptExists - Check if your au3 script is running!! Uninstaller UDF Get Version for your application (at script level or compiled stage) Uninstaller Pro - faster alternative to windows application removal applet 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