Search found 38 matches

by KusochekDobra
10 Jun 2020, 00:48
Forum: Помощь
Topic: Скрипт ограничивающий время удержания нажатой клавиши Topic is solved
Replies: 2
Views: 1499

Re: Скрипт ограничивающий время удержания нажатой клавиши Topic is solved

Пользуйтесь справкой . Вообще, есть Русскоязычный форум , на котором гораздо больше шансов получить помощь, даже с такими пустяковыми задачами. Случайно сюда зашёл. ~LButton:: SetTimer, UpLButton, 2000 Return UpLButton: if (GetKeyState("LButton")) MouseClick, left,,, 1, 0, U ; Release the mouse butt...
by KusochekDobra
06 Nov 2019, 07:00
Forum: AutoHotkey_H
Topic: How to combine autohotkey dll with Python?
Replies: 8
Views: 7718

Re: How to combine autohotkey dll with Python?

I figured out how it work. Need pause before end of script and no need call "ahkExec()".
by KusochekDobra
05 Nov 2019, 10:53
Forum: AutoHotkey_H
Topic: How to combine autohotkey dll with Python?
Replies: 8
Views: 7718

Re: How to combine autohotkey dll with Python?

Hello everyone! I learn equal question and after reading some examples from HotkeyIt and other, i has come to this result: After start, script show MsgBox with "400" then i click to "Ok" and script terminate the process with exit code "-1073740940 (0xC0000374)" and do not a print a "Done" to console...
by KusochekDobra
05 Nov 2019, 10:49
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 852
Views: 2022882

Re: Issues with registering, Post your username here...

Im trying write my question with example code and then I submit them, I get this message. =(
by KusochekDobra
05 Nov 2019, 07:22
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 852
Views: 2022882

Re: Issues with registering, Post your username here...

Hello everyone!
Why me blocking then a try a send my question in this theme?
by KusochekDobra
22 Jul 2018, 05:45
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Also noticed that adding a function call by event "Close" terminates the script earlier than the script itself describes. Sometimes the code finishes correctly, but more often it is incorrect: #SingleInstance, Force #NoEnv ;OnExit, BeforeExit #Include <Chrome> ; >>--++--<< >>--++--<< ProfilePath := ...
by KusochekDobra
21 Jul 2018, 18:33
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Hello! I tried to add to my code processing event "OnExit" and noticed, that the GUI is freeze after close a browser window. After that, I added messages on "OutputDebug" and it turned out that exit from program is unreachable. Could you check this effect on your system? #SingleInstance, Force #NoEn...
by KusochekDobra
19 Jun 2018, 09:17
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Help me please. I do not understand, how to use Chrome browser with "Chrome.ahk" in "Headless" mod. Can you give an example? Check out the ExportPDF.ahk example When I run example, MsgBox tells me "Could not retrieve page!". This is exactly the problem, because of which I can not understand how to ...
by KusochekDobra
13 Jun 2018, 12:12
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Help me please.
I do not understand, how to use Chrome browser with "Chrome.ahk" in "Headless" mod.
Can you give an example?
by KusochekDobra
18 May 2018, 14:01
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Is it possible to connect to events such as Target.targetCreated ? This feature would reduce the possibility of errors, telling the ahk-code what him need to create a new connection. I haven't tested it, but I think if use the Target.setDiscoverTargets method that you can receive those events using...
by KusochekDobra
15 May 2018, 12:24
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Is it possible to connect to events such as Target.targetCreated? This feature would reduce the possibility of errors, telling the ahk-code what him need to create a new connection.
by KusochekDobra
14 May 2018, 10:35
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

And another question. Is it possible to replace this exception: Call(DomainAndMethod, Params:="", WaitForResponse:=True) { if !this.Connected throw Exception("Not connected to tab") ; ... other code } To return a connection to the state "disabled"? I think that this is logical, if all the tabs are c...
by KusochekDobra
14 May 2018, 08:51
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Sometimes, when creating an instance of a class Chrome , passing an address to the constructor, the method WaitForLoad() returns flow control before the page loads: #NoEnv #SingleInstance, Force #Include Chrome.ahk SetBatchLines, -1 JS := "alert(document.querySelector('.rightside .nav-link').textCon...
by KusochekDobra
12 May 2018, 19:50
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Can I ask you to add the name of the function to the constructor of class Page by the third parameter, which will be called when the connection is broken? For example: __New(wsurl, fnCallback:="", freeFunc := "") { this.fnCallback := fnCallback this.freeFunc := freeFunc this.BoundKeepAlive := this.C...
by KusochekDobra
10 May 2018, 12:55
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

It will be very powerful instrument! :)

In "Source code (zip)" - link => in "Chrome.ahk" file => in 72 code-line have a one missing letter "t" (...\App Pahs\chrome.exe).
by KusochekDobra
08 May 2018, 19:00
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

#1 In fact, it was just a guess witch I did not bother checking, and now I look like a fool. Apparently, somewhere in the implementation, this method has already been created. Thank you for this clarification. But for greater reliability, it can come in handy. :) #2 I use for automatic understandin...
by KusochekDobra
30 Apr 2018, 20:34
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

Thank you, this is very much noticed! ;) The method GetPageBy() is overridden, passing to the constructor Class Page two parameters. And it does not have to be an extension. I would like to see this tool to be in the future part of the library and just to not clutter up the author's original code, i...
by KusochekDobra
29 Apr 2018, 12:39
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 454963

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

After a little reflection, I wrote an a simple extension for the class Chrome , which eliminates the need to change the original code and supports the functionality described earlier. Class ChromeEx Extends Chrome { __New(ProfilePath:="", URL:="about:blank", Flags:="", ChromePath:="", DebugPort:=922...

Go to advanced search