Search found 1470 matches

by burque505
15 Apr 2021, 13:55
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

User Nussbeisser in the German-language forum shared :arrow: here that a Chrome update to v90 trashes scripts. I did for me too. The following fixed it for me, be interested to know others' experiences. 1) Run scripts as admin. UPDATE: Nussbeisser reports this isn't needed if step 2 is performed. fu...
by burque505
15 Apr 2021, 13:35
Forum: Ich brauche Hilfe
Topic: Chrome.ahk - funktioniert nach Google Chrome Update auf Version 90 nicht mehr. Topic is solved
Replies: 11
Views: 169

Re: Chrome.ahk - funktioniert nach Google Chrome Update auf Version 90 nicht mehr. Topic is solved

:D Nicht zu danken, @Nussbeisser, ich habe was davon gelernt. Und siehe oben, jetzt habe ich den erwünschten (nicht leeren) ChromeProfile-Ordner.
by burque505
15 Apr 2021, 13:25
Forum: Ich brauche Hilfe
Topic: Chrome.ahk - funktioniert nach Google Chrome Update auf Version 90 nicht mehr. Topic is solved
Replies: 11
Views: 169

Re: Chrome.ahk Nach Google Chrome Update auf Version 90 funktioniert nicht mehr Topic is solved

@Nussbeisser, das ist auch bei mir der Fall. Ich bitte um Entschuldigung.

EDIT: Man muss jetzt den absoluten Pfadnamen eingeben:

Code: Select all

ChromeInst := new Chrome("C:\Users\HattuMoehrchen\Desktop\AHK\Chrome.ahk\Chrome.ahk-1.2\ChromeProfile")
by burque505
15 Apr 2021, 12:56
Forum: Ich brauche Hilfe
Topic: Chrome.ahk - funktioniert nach Google Chrome Update auf Version 90 nicht mehr. Topic is solved
Replies: 11
Views: 169

Re: Chrome.ahk Nach Google Chrome Update auf Version 90 funktioniert nicht mehr Topic is solved

Man muss mindestens einmal ein neues ChromeProfile erstellen. FileCreateDir, ChromeProfile ChromeInst := new Chrome("ChromeProfile") Wenn du das Skript das nächste Mal ausführst ist diese Zeile nicht mehr nötig, da der ChromeProfile-Ordner jetzt vorhanden ist: ;FileCreateDir, ChromeProfile EDIT: :oo...
by burque505
15 Apr 2021, 11:40
Forum: Ich brauche Hilfe
Topic: Chrome.ahk - funktioniert nach Google Chrome Update auf Version 90 nicht mehr. Topic is solved
Replies: 11
Views: 169

Re: Chrome.ahk Nach Google Chrome Update auf Version 90 funktioniert nicht mehr Topic is solved

Hallo Nussbeisser , dieser Fehler tritt auch bei mir auf. Workaround (am Anfang des Skripts): full_command_line := DllCall("GetCommandLine", "str") if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")) { try { if A_IsCompiled Run *RunAs "%A_ScriptFullPath%" /restart else Run *RunAs ...
by burque505
08 Apr 2021, 13:48
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hi @fenchai, @Tre4shunter is really good at this.
I always have to refresh my memory on CSS selectors with Flukeout, which is actually fun.
by burque505
07 Apr 2021, 12:28
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

fenchai , I see there's a "helper-label" that may need to be cleared first. Untested with Chrome.ahk but works in the DevTools console: document.querySelector("div[id='product-search'] label:nth-child(2)").innerText = ""; I think in your script it might have to be this wp.Evaluate("document.querySe...
by burque505
28 Mar 2021, 14:04
Forum: Scripts and Functions
Topic: RePNG() v0.55 : Dissolves data in to PNG image / Digital Matryoshka example
Replies: 13
Views: 778

Re: RePNG() : Dissolves data in to PNG image + Digital Matryoshka example

Thanks @SKAN, for yet another very useful script.
Regards,
burque505
by burque505
25 Mar 2021, 11:41
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

AHK_user , :thumbup: . Here's a version (probably has bugs but works) that automates all three popups. #Include tdChrome.ahk SetTitleMatchMode, 2 ;FileCreateDir, ChromeProfile ChromeInst := new Chrome("ChromeProfile") Sleep, 3000 PageInstance := ChromeInst.GetPage() PageInstance.Call("Page.navigate...
by burque505
24 Mar 2021, 12:36
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Ever notice how you can go browsing through the AHK forums and go off on a completely unexpected tangent? Maybe it's just me but I doubt it seriously. Now that I've got Chrome.ahk in my head (it will leave soon I'm sure), I thought I'd share this code that sets a custom download folder, creates a bl...
by burque505
24 Mar 2021, 12:21
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Nice, malcev thank you. Below is working code for AHK_user 's page using your code above. No doubt has bugs, redundancies and other overkill but works. I can never find teadrinker 's Chrome.ahk when I search the forum so it's attached as well for those who may find it useful. I use it as 'tdChrome.a...
by burque505
23 Mar 2021, 15:44
Forum: Ask For Help
Topic: Selenium Chrome - Translating Python Argument into AHK
Replies: 2
Views: 898

Re: Selenium Chrome - Translating Python Argument into AHK

Thoughtfu1Tux , sorry for this late reply. It's late because I hadn't found SeleniumBasic 3.141.0.0 yet. :D I find Selenium for AHK useful too, and although a lot of websites will detect I'm using Selenium and kick me off, for those that don't many things are just easier than they are with Chrome.a...
by burque505
20 Mar 2021, 10:59
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

This thread is deterring me from pursuing 'javascriptDialogOpening' with Chrome.ahk. That said, here is some code that at least adds an event listener. #Include Chrome.ahk SetTitleMatchMode, 2 ;FileCreateDir, ChromeProfile ChromeInst := new Chrome("ChromeProfile") Sleep, 3000 PageInstance := Chrome...
by burque505
18 Mar 2021, 17:35
Forum: Tutorials
Topic: Using SeleniumBasic v3.141.0.0 with AHK
Replies: 10
Views: 781

Re: Using SeleniumBasic v3.141.0.0 with AHK

Interacting with alerts/popups using SeleniumBasic v3.1.141.0.0 Recent posts to the Chrome.ahk thread lead me to post some relevant stuff here, where it probably belongs. AHK_user inquired about ways to interact with popups in the Chrome.ahk thread. malcev responded with a useful tidbit: You can al...
by burque505
18 Mar 2021, 09:31
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

If anyone's willing to use the SeleniumBasic 3.141.0.0 - not many so far apparently, :D then this code may be of some use. malcev , you'll no doubt notice right away that the syntax is different than that of the older version, but is more in line with what can be found on the web. [;https://www.auto...
by burque505
17 Mar 2021, 14:02
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 415
Views: 249913

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

@AHK_user, I do the same thing you're doing (i.e. Send, {Enter}). I'm also curious to know if there's a better way. Are those popups modal?
Regards,
burque505
by burque505
17 Mar 2021, 07:31
Forum: Tutorials
Topic: Using SeleniumBasic v3.141.0.0 with AHK
Replies: 10
Views: 781

Re: Using SeleniumBasic v3.141.0.0 with AHK

:thumbup: @kairushinjuu, thank you!
by burque505
17 Mar 2021, 07:30
Forum: 请求帮助
Topic: 请问如何用 SeleniumBasic 自动点击网页中的某个按钮?
Replies: 5
Views: 251

Re: 请问如何用 SeleniumBasic 自动点击网页中的某个按钮?

@sanmaodo, 我很高兴它有效。感谢您的客气话。

Go to advanced search