Search found 19 matches

by Botsy
22 Nov 2020, 17:06
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Re: Execute part of the script on the server

Thanks everyone for the answers). Are you going to run the program on the user computers or from a web server? The script is run on the PC, verification and part of the program logic will be on the server side. I was advised to cut one of the functions in ahk and implement it on the server side, for...
by Botsy
22 Nov 2020, 09:51
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Re: Execute part of the script on the server

Now I'm making a binding of a script to a person a computer against multi-use. However, in addition to this, I would like take out some of the logic to the server. This is my scheme for binding a script to a person, maybe it will be normally, or maybe it will not work at all. * SID - Security Identi...
by Botsy
21 Nov 2020, 16:17
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Re: Execute part of the script on the server

Do you propose to transfer part of the script functions from server after passing the verification? For example, as a "response" from the server, and a script to catch the function through "WinHTTPRequest ResponseText"?
by Botsy
21 Nov 2020, 13:13
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Re: Execute part of the script on the server

@mikeyww Password protection is also weak, it seems that you can still get the code from the process memory. And it’s interesting for me to do it with server separation, though I don’t know yet how it will be with ahk.
by Botsy
21 Nov 2020, 12:41
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Re: Execute part of the script on the server

This is a kind of source code protection. When a part of the program will be executed on the server side. This is a mass-market solution. Since ahk is very vulnerable and easy to hack, I thought to move some of the logic to the server. Those. even if you find out the source code of the script, it wi...
by Botsy
21 Nov 2020, 04:35
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Re: Execute part of the script on the server

There is ahk script. I took its functions into a separate file and connect it via #include. Is it possible to transfer these functions to the server (hosting), and leave the script itself on the computer? It turns out that the script pulls them from the server, like a client-server architecture. Or ...
by Botsy
20 Nov 2020, 15:42
Forum: Ask For Help
Topic: Execute part of the script on the server
Replies: 17
Views: 453

Execute part of the script on the server

Good evening. Perhaps this is called something different, but how can you split the script into two parts so that one of them is executed on the server side? For example, upload a file with functions to the server and make part of the ahk script on the computer work in tandem with another part. Thos...
by Botsy
11 Nov 2020, 04:33
Forum: Ask For Help
Topic: Getting SID, renaming all names associated with ahk Topic is solved
Replies: 2
Views: 114

Re: Getting SID, renaming all names associated with ahk Topic is solved

TheDewd Thanks for the alternative method, works great!
by Botsy
09 Nov 2020, 14:34
Forum: Ask For Help
Topic: Getting SID, renaming all names associated with ahk Topic is solved
Replies: 2
Views: 114

Getting SID, renaming all names associated with ahk Topic is solved

I think to bind the script to the SID, to avoid multi-use. - Is it possible to get the SID in the code not through the registry? For example via cmd / powershell -> whoami / user? Maybe this is a better option. #NoEnv F10:: regSID := rgtSID() msgbox, %regSID% rgtSID() { loop,HKLM,SOFTWARE\Microsoft\...
by Botsy
17 Sep 2020, 11:30
Forum: Ask For Help
Topic: Find animated objects
Replies: 1
Views: 76

Re: Find animated objects

For example, there are animated objects (these rats), the task is to find them. This is a photo of the work of that function from another program. She compares the difference between the screenshots. For clarity, it is highlighted in red on the screen.
func_mob.jpg
func_mob.jpg (55.16 KiB) Viewed 49 times
func.jpg
func.jpg (75.97 KiB) Viewed 49 times
by Botsy
17 Sep 2020, 04:41
Forum: Ask For Help
Topic: Find animated objects
Replies: 1
Views: 76

Find animated objects

Have you come across ahk's search function for animated images? Perhaps it has already been written somewhere or someone has posted it. For example: The task is to find objects on the screen, the appearance and color of which is not known . Make a screen / area screen -> pause -> make a second scree...
by Botsy
07 Sep 2020, 17:44
Forum: Gaming
Topic: Exit the loop every time if it was done more than N times Topic is solved
Replies: 4
Views: 177

Re: Exit the loop every time if it was done more than N times Topic is solved

counter_first := 0 Loop, 100 { MsgBox,,,First %counter_first% counter_second := 0 Loop, 100 { MsgBox,,, Second %counter_second% if counter_second > 9 Break counter_second += 1 } if counter_first > 10 Break counter_first += 1 } Now you have only to know where to reset your counter variables, what ar...
by Botsy
07 Sep 2020, 16:35
Forum: Gaming
Topic: Exit the loop every time if it was done more than N times Topic is solved
Replies: 4
Views: 177

Re: Exit the loop every time if it was done more than N times Topic is solved

Kobaltauge wrote:
07 Sep 2020, 16:26
I would use an index variable. You can define for every loop a separate one. Increase it and break at your defined counter.
can you explain a little bit more ?
by Botsy
07 Sep 2020, 16:14
Forum: Gaming
Topic: Exit the loop every time if it was done more than N times Topic is solved
Replies: 4
Views: 177

Exit the loop every time if it was done more than N times Topic is solved

Hello everyone! Could tell me plz, how you can exit the loop if it has been done more than N times? There are two endless loops: Loop (first) { Loop (second) { .... if { *If this if is done more than N times, exit the second loop and return to the first loop* break { else { .... } } } If we add "if ...
by Botsy
05 Sep 2020, 11:32
Forum: Ask For Help
Topic: Two and more hotkeys in 1 script
Replies: 5
Views: 131

Re: Two and more hotkeys in 1 script

thank you all for your answers! The problem has been resolved. I am just getting to know ahk and my scripts are still missing the correct logic.
by Botsy
04 Sep 2020, 11:28
Forum: Ask For Help
Topic: Two and more hotkeys in 1 script
Replies: 5
Views: 131

Re: Two and more hotkeys in 1 script

Thanks for your answers, I will explain in a little more detail. There is a hotkey F11 -> pressing the loop is executed -> msgBox with the condition, repeat the cycle or go further -> gui and another msgBox -> the script does not stop before the hotkey F9, it bypasses this and still continues to exe...
by Botsy
04 Sep 2020, 10:30
Forum: Ask For Help
Topic: Two and more hotkeys in 1 script
Replies: 5
Views: 131

Two and more hotkeys in 1 script

Good day. Tell me plz, how you can continue to execute the auto-execution section between the two hotkeys? I got it so that when we press the 1st hotkey, it executes the script and does not stop before another: F1:: ..... return code..... (now this part is not executed at all. If you remove the uppe...
by Botsy
01 Sep 2020, 10:43
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 256
Views: 78864

Re: Vis2 - Image to Text OCR()

Hi all, maybe u can help me with this: how to specify coordinates in ocr () obtained from the position of the mouse on the button? In general, I want to make such a script: with the mouse we put on the desired area, by clicking the button, the coordinates are written to variables. I use these variab...
by Botsy
01 Sep 2020, 07:29
Forum: Помощь
Topic: Передвигаемая рамка на экране с записью координат
Replies: 0
Views: 207

Передвигаемая рамка на экране с записью координат

Доброго всем.

Подскажите плз как можно сделать такое ?: на экране появляется рамка поверх всех окон, позицию и размер которой можно менять левой кнопкой мыши, а нажав на правую - координаты этой области запишутся в переменную.
test.jpg
test.jpg (7.88 KiB) Viewed 203 times
Спасибо

Go to advanced search