ItsBen Posted August 20, 2013 Share Posted August 20, 2013 Hi all, I'm trying to automate some steps that have to be run every time an application starts. The steps are: Find the icon in the system tray Right click Choose an option (same option every time) and click it. There are 2 things that need to be changed so the above should run twice. I've tried this '?do=embed' frameborder='0' data-embedContent>> and and post 2 in this topic, but even though I've triple checked that I'm giving the functions the correct application name, neither of them can find it. I'm thinking that the reason for this is because the program isn't always visible; it gets put in the overflow notification area, so it's only accessible by clicking the button that shows the extra notifications. I've spent a while trying to make a script that accomplishes the same task by sending keys, but it only works 60/70% of the time because it assumes that the overflow notifications aren't being shown which isn't always the case - E.G. the keys required if the notifications aren't shown are different to the ones that are needed if they are. Does anyone know of a way that I can do this without messing around sending keys? Can either of the above functions be modified so that they search the overflow area as well as the system tray? Cheers, Ben. Link to comment Share on other sites More sharing options...
Solution FireFox Posted August 20, 2013 Solution Share Posted August 20, 2013 I've spent a while trying to make a script that accomplishes the same task oh dear... a simple forum search would give you some >results. Btw, Welcome to the autoit forum Br, FireFox. Link to comment Share on other sites More sharing options...
ItsBen Posted August 20, 2013 Author Share Posted August 20, 2013 #52 in that topic worked thank you. Not sure how you can say that I hadn't searched given the examples that I linked to in my first post though. Link to comment Share on other sites More sharing options...
FireFox Posted August 20, 2013 Share Posted August 20, 2013 Not sure how you can say that I hadn't searched given the examples that I linked to in my first post though.Yes sorry. Link to comment Share on other sites More sharing options...
ItsBen Posted August 20, 2013 Author Share Posted August 20, 2013 Hi, Actually, having tried this a few more times, it only seems to work around half the times I run it; the other times it opens the Autoit menu or simply right clicks on what ever the active window is. Any ideas? FireFox, on 20 Aug 2013 - 3:41 PM, said: Yes sorry. No worries Link to comment Share on other sites More sharing options...
FireFox Posted August 20, 2013 Share Posted August 20, 2013 (edited) The example I linked clicks on its tray icon (region #EXAMPLE).Have you removed the TraySetToolTip function, otherwise if you change the $sToolTipTitle var it may click on the example or your app tray icon.Br, FireFox. Edited August 20, 2013 by FireFox Link to comment Share on other sites More sharing options...
ItsBen Posted August 20, 2013 Author Share Posted August 20, 2013 Ahh, removing TraySetTooltip did the trick. Cheers. Link to comment Share on other sites More sharing options...
FireFox Posted August 20, 2013 Share Posted August 20, 2013 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