Search found 126 matches

by serzh82saratov
19 Jan 2021, 05:51
Forum: Ask For Help
Topic: Does not work CapsLock Up
Replies: 5
Views: 71

Re: Does not work CapsLock Up

Thank you, I forgot about that.
Now it happens that CapsLock freezes.
And this also needs to be changed, otherwise it does not work.

Code: Select all

 ~SC3A & f1::
Do you think this whole situation is documented?
by serzh82saratov
19 Jan 2021, 04:07
Forum: Ask For Help
Topic: Does not work CapsLock Up
Replies: 5
Views: 71

Re: Does not work CapsLock Up

KeyWait does not suit me, it is necessary to interrupt another thread.
by serzh82saratov
19 Jan 2021, 02:37
Forum: Ask For Help
Topic: Does not work CapsLock Up
Replies: 5
Views: 71

Does not work CapsLock Up

CapsLock Up does not work if there is any hotkey with it and &. More precisely, it does not work if you hold down CapsLock or any other key. In this case, it is not necessary to press f1, you can press, for example, the left arrow. ~CapsLock Up:: ToolTip % A_ThisHotkey " " A_TickCount ~CapsLock & f1...
by serzh82saratov
08 Jan 2021, 09:16
Forum: Помощь
Topic: g-label выполнить при нажатии кнопки GUI, а не при отпускании
Replies: 1
Views: 96

Re: g-label выполнить при нажатии кнопки GUI, а не при отпускании

Gui, Add, Button, vButton1, Button Gui, Add, Button, vButton2, Button Gui, Show, w333 h333 Return Button1: MsgBox % A_ThisLabel Return Button2: MsgBox % A_ThisLabel Return WM_LBUTTONDOWN(wParam, lParam, msg, hwnd) { Static _ := OnMessage(0x201, "WM_LBUTTONDOWN") Try SetTimer %A_GuiControl%, -10 }
by serzh82saratov
07 Jan 2021, 06:23
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 82
Views: 44290

Re: CNG (Cryptography API: Next Generation)

Thanks for the good answer. I understand that cryptography is difficult, I would even say very much, so I am not looking for a truth here that I cannot understand. I just want to get public opinion.
by serzh82saratov
06 Jan 2021, 13:56
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 82
Views: 44290

Re: CNG (Cryptography API: Next Generation)

Thank you. That is, it complicates hacking. But how reliable is a CBC 256 bit and an empty IV?
by serzh82saratov
06 Jan 2021, 08:00
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 82
Views: 44290

Re: CNG (Cryptography API: Next Generation)

I'll try to ask my question in a different way. Why do you need a second key if you can easily recover data without it? text = ( abcdefghijklmnop abcdefghijklmnop abcdefghijklmnop abcdefghijklmnop abcdefghijklmnop abcdefghijklmnop abcdefghijklmnop abcdefghijklmnop ) Encrypt := Crypt.Encrypt.String("...
by serzh82saratov
05 Jan 2021, 15:41
Forum: Scripts and Functions
Topic: CNG (Cryptography API: Next Generation)
Replies: 82
Views: 44290

Re: CNG (Cryptography API: Next Generation)

:xmas:

Code: Select all

Encrypt := Crypt.Encrypt.String("AES", "CBC", "abcdefghijklmnop abcdefghijklmnop", "1234567890123456", "1234567890123456")

MsgBox % Crypt.Decrypt.String("AES", "CBC", Encrypt, "1234567890123456", "123")
And what is IV needed for if it changes only the first characters in the entire line?
by serzh82saratov
09 Dec 2020, 10:40
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 159103

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

Excellent! So it worked.

Code: Select all

 Page.Call("Target.createTarget", {url: url2, background: LightJson.true})
But it turned out that this opens a tab in the background, and my problem is that createTarget activates the window.
And another question - how to initially start chrome minimized?
by serzh82saratov
09 Dec 2020, 02:24
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 159103

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

There is an example with this class, but it seems like there are many versions json.
by serzh82saratov
08 Dec 2020, 15:52
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 159103

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

Thanks!
For some reason, this line brings the window to the foreground.

Code: Select all

Page.Call("Target.createTarget", {url : url2})
I try this, but nothing changes.

Code: Select all

Page.Call("Target.createTarget", {url : url2, background: Chrome.Jxon_True()})
by serzh82saratov
07 Dec 2020, 14:49
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 159103

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

Tell me, how can I find out the PID or HWND of the main window if I found it using FindInstances?
ChromeInst.PID is empty in this case.
by serzh82saratov
06 Dec 2020, 16:06
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 367
Views: 159103

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

How can you specify the text? This is how I did in InternetExplorer Str := Clipboard objIE.document.querySelector("textarea[name=text_or_url]").value := Str Any text can be on the clipboard. So with Chrome.ahk in the Clipboard there can only be text that matches the JSON syntax if I understand corre...
by serzh82saratov
19 Oct 2020, 14:13
Forum: Помощь
Topic: ведущие нули в строке
Replies: 5
Views: 283

Re: ведущие нули в строке

Code: Select all

MyFile:=3
CountF:=109 

MsgBox %  Format("{:0" StrLen(CountF) "}", MyFile)
by serzh82saratov
09 Sep 2020, 14:09
Forum: Ask For Help
Topic: BoundFunc object get function name
Replies: 1
Views: 84

BoundFunc object get function name

How do I know the name of the function?

Code: Select all

fn := Func("StrLen").Bind("123")
MsgBox % fn.Name
by serzh82saratov
18 Aug 2020, 16:01
Forum: Ask For Help
Topic: Error: Nonexistent hotkey
Replies: 6
Views: 153

Re: Error: Nonexistent hotkey

Code: Select all

test.init() 
return

Class test {
    init() {
        this.f_func1 := ObjBindMethod(this, "func1") 
		SetTimer, % this.f_func1, 1111
    } 
    func1() {
        ToolTip, % "hello world"
    }  
}
I had a timer in the form of a function

Code: Select all

SetTimer(this.f_func1, 1111)
I didn't think it mattered.
by serzh82saratov
18 Aug 2020, 14:54
Forum: Ask For Help
Topic: Error: Nonexistent hotkey
Replies: 6
Views: 153

Re: Error: Nonexistent hotkey

But no, that's right, SetTimer doesn't work either, I'm a little confused. :crazy:
by serzh82saratov
18 Aug 2020, 14:50
Forum: Ask For Help
Topic: Error: Nonexistent hotkey
Replies: 6
Views: 153

Re: Error: Nonexistent hotkey

I read, thought that it should be a reference to an object, not the object itself.The description of SetTimer contains exactly the same words.Means an error in the help. And this is some kind of implicit limitation.

Go to advanced search