Automating Chrome - AutoControl and AutoHotkey
Вставка
- Опубліковано 31 лип 2024
- A client wanted a script to automate his Chrome browser. We started off trying to automate with Chrome.ahk class in AutoHotkey however it proved troublesome. We then shifted to using a Chrome extension, AutoControl, which allowed us to inject JavaScript. We then ported that back over to AutoHotkey
If you get value out of this video... www.paypal.me/JoeGlines
Check out more of my scripts at: the-automator.com
Or join our AutoHotkey community on Facebook at: / ahk.automation
If you're new to AutoHotkey and want to learn amazing tips & tricks Check out this Amazing AutoHotkey Tutorial for Beginners: • Master AutoHotkey like...
Glad to have found autocontrol. Big game changer for chrome. Takes me back as autocontrol was my first video ever on YT.
You mean autocontrOL ?
You mean autocontrOL?
It's a cool tool. I realized some other advantanges to using it. We'll try and create some more videos on it in the coming weeks
@@JoeGlines-Automator please make more videos!!! I am interested in how to pass the javascripts commands from a js file instead of using ahk only to send hotkeys. Thank you, your videos are amazing!!
I like the way the format function is used in the script shown at 5:45! I wouldn't have thought of that and would probably have used some kind of concatenation. Efficient coding!
what is the difference between this and selenium? .
Hey, it as mentioned that some changes were done to chrome.ahk to prevent the loops and losing connection, but it didnt work 100%.
Can i see the changes to see how it were done?
Thanks!
Sorry, no. We reverted back to the original.
Joe is it posible to make program in ahk that is subscribiton based I mean license, so that when someone is going to buy it from me he will have limited time operating it?
Of course. But you have to do a lot of other things to "lock it down". There's lots of different approaches to license options, etc.
How could one access the text layer within a private PDF-viewer frame in chrome?
I have no idea, nor would i attempt this.
@@JoeGlines-Automator yeah, I have also nothing better than to just click within the viewer and mark all and the text and copy.
I've just checked with DevTools, there's no way to access the PDF content with Javascript. The only way would be to send keystrokes that select and then copy the text.