taydoc2008 Posted September 29, 2014 Share Posted September 29, 2014 Hi everybody, I'm trying to get data from balloon tip of a running program. But I don't know how it works. Anyone can tell me ? One more question : How to get event of a program ? I want to get directly this balloon tip event without getting data balloon tip. Thanks. Link to comment Share on other sites More sharing options...
Bert Posted September 29, 2014 Share Posted September 29, 2014 Name of application please The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Kyan Posted September 29, 2014 Share Posted September 29, 2014 Use AutoIT window info in order to get class window name/other required stuff... Xandy 1 Heroes, there is no such thing One day I'll discover what IE.au3 has of special for so many users using it.C'mon there's InetRead and WinHTTP, way better Link to comment Share on other sites More sharing options...
taydoc2008 Posted September 29, 2014 Author Share Posted September 29, 2014 DarthCookieMonster: HD-Agent.exe of Bluestack. Tks Kyan: Because this program isn't show on screen so I think we can't use this way Link to comment Share on other sites More sharing options...
Bert Posted September 29, 2014 Share Posted September 29, 2014 Neat program. I assume you are running a specific app inside this emulator? What I'm getting at is I'm trying to understand exactly what you are trying to do. I know you want to get the data from a balloon tip. What I'm trying to find out is there may be a better way to do what you have in mind. For example you may be running a testing setup and need to track things in the emulator. Thanks. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
taydoc2008 Posted September 29, 2014 Author Share Posted September 29, 2014 Tks DarthCookieMonster, I think I understand your idea. I worked it with adb brigde and I catched many things in emulator but bad result. Can I get something between two process or catch an event of a process? Link to comment Share on other sites More sharing options...
BrewManNH Posted September 29, 2014 Share Posted September 29, 2014 Look at the _GUIToolTip functions in the help file and see if any of those will do what you're looking to do. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
AutoitMike Posted October 2, 2017 Share Posted October 2, 2017 (edited) I think you are all are not understanding the question. The question is how to GET the text that shows in a balloon when you hover over something. Autoit window information can not tell you anything about this new "Window" because you cant make it "Active". As soon as you move to the balloon, it disappears. TRayTip CREATES a tool tip, it doesnt GET one. So, How do you GET a balloon tip??? Edited October 2, 2017 by AutoitMike forgot something Link to comment Share on other sites More sharing options...
Xandy Posted October 2, 2017 Share Posted October 2, 2017 (edited) I think tooltips have a handle or something. The problem I see is a BlueStacks tooltip is likely to be coded differently then a typical Windows tooltip, rendering the normal AutoIt way of anything useless. I don't know though. A screenshot might help me understand. EDIT: I just read there is no GUI. Hmm can you Windows Info Tool the balloon tip like Kyan suggested? You could store all the handles Windows sees before the tip and compare to a list of handles Windows sees while the tooltip is up. Edited October 2, 2017 by Xandy Human Male Programmer (-_-) Xandy About (^o^) Discord - Xandy Programmer MapIt (Tile world editor, Image Tile Extractor, and Game Maker) Link to comment Share on other sites More sharing options...
BrewManNH Posted October 2, 2017 Share Posted October 2, 2017 You can try using _GUIToolTip_GetText, the second example might be a good start. If it doesn't work, then there might not be a standard Windows tooltip being displayed. Xandy 1 If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
junkew Posted October 2, 2017 Share Posted October 2, 2017 9 hours ago, AutoitMike said: I think you are all are not understanding the question. The question is how to GET the text that shows in a balloon when you hover over something. Autoit window information can not tell you anything about this new "Window" because you cant make it "Active". As soon as you move to the balloon, it disappears. TRayTip CREATES a tool tip, it doesnt GET one. So, How do you GET a balloon tip??? Thats because you provide not a lot of information in your first post. You seem to be on an android emulator and as such you will get not much initially when you read FAQ 31 see link below from simplespy, inspect or au3inf. Most likely you have to get much more thru the android debugger and have to switch to other tools like UIAutomator Viewer or Appium inspector Catching events under windows from an android emulator i doubt if thats possible without deeply hooking into an emulator. (and then over here is not the correct forum) like https://github.com/android/platform_external_qemu but if you understand this part then you probably would not have had your initial question. Maybe a screenshot of what you try to catch? Xandy 1 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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