@guest3456 I quoted your idea about background search in FineText() into the FineText thread because I think this is a precious contribution https://www.autohotkey.com/boards/viewtopic.php?f=6&t=17834&p=306478#p306478.
I hope you are ok with that. You may want to follow the discussion there if interested (but I left your user id away for discretion). Thank you and Merry Christmas!
Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
you could've quoted me, i don't mind. i just looked at the FindText source, and i see that they are using GetWindowDC and BitBlt, which is similar to what Gdip_BitmapFromScreen() would use. are you sure its not working to capture on windows behind others?Hotte wrote: ↑19 Dec 2019, 12:11@guest3456 I quoted your idea about background search in FineText() into the FineText thread because I think this is a precious contribution https://www.autohotkey.com/boards/viewtopic.php?f=6&t=17834&p=306478#p306478.
I hope you are ok with that. You may want to follow the discussion there if interested (but I left your user id away for discretion). Thank you and Merry Christmas!
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Yes, I just retested it. If I move windows explorer in front of the item, it fails. If I move it away it works.
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
what version of Windows are you on? if win7, do you have Aero theme enabled?
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
I'm running Windows 10 with standard desktop
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Hello,
Just wondering if anyone had any updates on AFX, I have AFX OLE control to work with. FindText() is a great tool, however, when size of text is not constant and there is variability in position...
Thank you all.
Just wondering if anyone had any updates on AFX, I have AFX OLE control to work with. FindText() is a great tool, however, when size of text is not constant and there is variability in position...
Thank you all.
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
How would this be done exactly? Could you provide an example of automating chromium based browser?gregster wrote: ↑16 Dec 2019, 03:38All common browsers always implemented their own controls - this is nothing new.If you spy an explorer like Opera or Edge little shows up that could be used by ahk.
Opera and Edge Beta (the future release) are both Chromium-based, like Chrome, and can be automated via the chrome debugging protocol and AHK. IE has COM and there is Selenium...
The old (current) Edge has another protocol that probably could have been automated, too, but it will be gone soon anyway.
Edit: Topic moved to 'Ask For Help'.
Thansk in advance!
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
One way is using Chrome.ahk by GeekDude. The "release" package on github contains some simple examples.
I see that there is also now some video in the first post of the Chrome.ahk topic... that topic contains more code examples and there are a few other topics about Chrome.ahk.
Despite the name, it can also be used for some other Chromium-based browsers like the new Edge and Opera - but not all Chromium-based browsers support the used interface, the chrome debugging protocol. You'll have to make some slight changes to the Chrome.ahk code to use other browsers than Chrome itself, but then the syntax will be the same.
A warning: Chrome.ahk is no polished product - it has a few bugs (most are mentioned somewhere in the main topic, with fixes) and its syntax is rather bulky. A good knowledge of javascript is definitely a plus, if you want to use it seriously.
Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Thanks a lot!
I'll look into it!
I'll look into it!
Who is online
Users browsing this forum: No registered users and 352 guests