Search found 137 matches

by serzh82saratov
30 Mar 2023, 02:02
Forum: Помощь
Topic: Не получается нарисовать квадрат из кординат линий
Replies: 8
Views: 1043

Re: Не получается нарисовать квадрат из кординат линий

для построения прямоугольника если он не под углом, достаточно двух точек
1:(-7, -9)(-8, -8):1
линии вычислить не так уж трудно
by serzh82saratov
10 Aug 2022, 12:32
Forum: Ask for Help
Topic: Error CryptAES and UnZipRawMemory
Replies: 1
Views: 1690

Re: Error CryptAES and UnZipRawMemory

It turned out that it does not work on several computers, everything is fine on others.
What could be the problem on the computer?
by serzh82saratov
01 Aug 2022, 15:02
Forum: Ask for Help
Topic: Error CryptAES and UnZipRawMemory
Replies: 1
Views: 1690

Error CryptAES and UnZipRawMemory

v1.1.33.10 Win32w AutoHotkey.exe windows 10x64 My goal is to write the text to the file, and then decipher it. Both methods are error. string:="This is a message from AutoHotkey." sz := ZipRawMemory(string, StrLen(string) * 2, var, "password") UnZipRawMemory(&var, sz, text, "password") MsgBox % text...
by serzh82saratov
06 Jul 2022, 17:44
Forum: Scripts and Functions (v1)
Topic: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
Replies: 106
Views: 73044

Re: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)

As I understand it, you need to change only CONVERT_TO_BYTE_ENCODING?
by serzh82saratov
06 Jul 2022, 17:31
Forum: Scripts and Functions (v1)
Topic: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)
Replies: 106
Views: 73044

Re: BARCODER - Create 1D and 2D Barcodes (QRCode , C39,etc)

Hello! Is there a version with Unicode support?
Or tell me how to fix it.
From the message just me I did not understand how to do it.
by serzh82saratov
31 Mar 2021, 10:39
Forum: Scripts and Functions (v1)
Topic: [Library] TAB v0.1 (Preview) - Add Functionality to the Tab Control
Replies: 15
Views: 6947

Re: [Library] TAB v0.1 (Preview) - Add Functionality to the Tab Control

Thanks. I tried to do it before you write here. I did not understand why always some inactive tabs became black. Maybe you will succeed, I would call it a basic need and I would like to see it in the examples of the library, if possible, the black text is not visible on dark backgrounds.
by serzh82saratov
30 Jan 2021, 19:49
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116071

Re: .NET Framework Interop (CLR, C#, VB)

Yes, but it is with Windows.ApplicationModel that it fails.
by serzh82saratov
30 Jan 2021, 13:44
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116071

Re: .NET Framework Interop (CLR, C#, VB)

More precisely, something like this. The point is to get the root object and manipulate it from AutoHotkey. This is an approximate VB code, maybe you suggest C # and it will be better. vb = ( Imports System Imports Windows Class Foo Function GetWA() as Object Return Windows.ApplicationModel End Func...
by serzh82saratov
30 Jan 2021, 11:57
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116071

Re: .NET Framework Interop (CLR, C#, VB)

I try so, error. vb = ( Imports System Imports Windows.ApplicationModel.DataTransfer Class Foo Public Sub Test() Windows.ApplicationModel.DataTransfer.Clipboard.clear() End Sub End Class ) asm := CLR_CompileVB(vb, "System.dll | Windows.ApplicationModel.DataTransfer.dll") obj := CLR_CreateObject(asm,...
by serzh82saratov
30 Jan 2021, 11:00
Forum: Scripts and Functions (v1)
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 200
Views: 116071

Re: .NET Framework Interop (CLR, C#, VB)

Hello! Is it possible using the CLR to create a Windows.ApplicationModel.DataTransfer object, and then use it in AutoHotkey? Here is a sample code, not convenient and difficult to use for each DllCall method (NumGet (NumGet (. Would like something like here JavaScript is easy to use an object. ; Aut...
by serzh82saratov
19 Jan 2021, 05:51
Forum: Ask for Help (v1)
Topic: Does not work CapsLock Up
Replies: 5
Views: 370

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 (v1)
Topic: Does not work CapsLock Up
Replies: 5
Views: 370

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 (v1)
Topic: Does not work CapsLock Up
Replies: 5
Views: 370

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: 901

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 (v1)
Topic: CNG (Cryptography API: Next Generation)
Replies: 101
Views: 64372

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 (v1)
Topic: CNG (Cryptography API: Next Generation)
Replies: 101
Views: 64372

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 (v1)
Topic: CNG (Cryptography API: Next Generation)
Replies: 101
Views: 64372

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 (v1)
Topic: CNG (Cryptography API: Next Generation)
Replies: 101
Views: 64372

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 (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 453744

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?

Go to advanced search