usera Posted April 20, 2007 Share Posted April 20, 2007 Greeting, Newbie in Autoit. I need somebody help to write a script: move mouse from any current position to system tray then right click on "Local Area Connection Status" buttton then select "Open Network Connections". to open "Network Connections" window. Thank you very very much! Link to comment Share on other sites More sharing options...
Zedna Posted April 20, 2007 Share Posted April 20, 2007 (edited) For tray menu look at SysTray_UDFfor popup menu click look at Auto3Lib Edited April 20, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
BigDod Posted April 20, 2007 Share Posted April 20, 2007 Why bother with tray menu and mouse moves, just use #include <Process.au3> _RunDOS("ncpa.cpl") Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
usera Posted April 20, 2007 Author Share Posted April 20, 2007 Thanks for help, I like use tray menu and mouse moves function , because it can use the same method for another program. But, I am a newbie, is that possible can provide the source code. Thanks Link to comment Share on other sites More sharing options...
Significent Posted April 20, 2007 Share Posted April 20, 2007 Greeting,Newbie in Autoit.I need somebody help to write a script:move mouse from any current position to system tray then right click on "Local Area Connection Status" buttton then select "Open Network Connections". to open "Network Connections" window.Thank you very very much! How about just running ncpa.cpl from a command-prompt/batch file/or shortcut? Link to comment Share on other sites More sharing options...
Somerset Posted April 20, 2007 Share Posted April 20, 2007 checkmate... Link to comment Share on other sites More sharing options...
usera Posted April 20, 2007 Author Share Posted April 20, 2007 Zedna, Could you please give me help for the source code? Link to comment Share on other sites More sharing options...
Zedna Posted April 20, 2007 Share Posted April 20, 2007 (edited) Zedna,Could you please give me help for the source code?I can give you way to go Here is more accurately info to my previous tips:1) In SysTray_UDF page look at -- Example 5 --2) In Auto3Lib look at Include\A3LMenu.au3 and Examples\Menus 1.au3, Menus 2.au3 especially at _Menu_ClickPopup() _Menu_ClickPopupAccel() Edited April 20, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
PaulIA Posted April 20, 2007 Share Posted April 20, 2007 In the Auto3Lib Misc directory is a script called TaskTray. It shows you how to access the notification area of the TaskTray, which is really just a Toolbar. The demo uses the Toolbar module to print out the text of each item. Just modify this script to call Toolbar_ClickButton to right click on the item you want. Then, as Zedna indicated, use the Auto3Lib Menu calls _Menu_ClickPopup() or _Menu_ClickPopupAccel() to click on the desired menu item of the popup that appears. If you get stuck, post what code you have in the Auto3Lib thread in the Examples forum and I'll see what I can do to help you out. Auto3Lib: A library of over 1200 functions for AutoIt 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