Search found 147 matches

by whynotregister
26 Sep 2022, 04:15
Forum: AutoHotkey_H
Topic: FindText not available
Replies: 2
Views: 2591

Re: FindText not available

I've been doing the same thing for years, I use XYplorer as a file explorer, with it what I do is run FindText and other scripts that have the same problem with the AutoHotKey_L portable, and the rest with AutoHotKey_H portable. Keeping FindText compiled with AutoHotKey_L may be a workaround for no...
by whynotregister
20 Sep 2022, 10:48
Forum: AutoHotkey_H
Topic: FindText not available
Replies: 2
Views: 2591

FindText not available

;/* ;=========================================== ; FindText - Capture screen image into text and then find it ; https://autohotkey.com/boards/viewtopic.php?f=6&t=17834 ; ; Author : FeiYue ; Version : 8.9 ; Date : 2022-05-28 ; ; Usage: (required AHK v1.1.31+) ; 1. Capture the image to text string. ;...
by whynotregister
05 Aug 2022, 22:58
Forum: Ask for Help
Topic: Has hotkeyit stopped developing autohotkey_h v1?
Replies: 0
Views: 1387

Has hotkeyit stopped developing autohotkey_h v1?

hotkeyit stopped the project of ahk_h v1?
by whynotregister
25 Oct 2021, 04:49
Forum: Gaming Help (v1)
Topic: How to find the IDirect3DDevice9 parameter of CreateDevice already defined
Replies: 0
Views: 543

How to find the IDirect3DDevice9 parameter of CreateDevice already defined

Direct3DCreate9(SDKVersion) { if !DllCall("GetModuleHandle","str",(a_windir)"\SysWOW64\d3d9", "PTR") { MsgBox Error Direct3DCreate9 Return } return DllCall((a_windir)"\SysWOW64\d3d9\Direct3DCreate9", "uint", SDKVersion) } IDirect3D9_CreateDevice(this,Adapter,DeviceType,hFocusWindow,BehaviorFlags,pP...
by whynotregister
24 Oct 2021, 08:06
Forum: Ask for Help (v1)
Topic: Loop Break, Return
Replies: 4
Views: 1008

Re: Loop Break, Return

Because I was wondering if using return instead of break > return to immediately exit the loop could cause goto-like instability. It does not. When you return from directly inside a loop, the script doesn't think that you're still inside the loop for any reason. thank you for answer :superhappy:
by whynotregister
23 Oct 2021, 22:06
Forum: Ask for Help (v1)
Topic: Loop Break, Return
Replies: 4
Views: 1008

Re: Loop Break, Return

It's not a matter of stability. It's a matter of how the code is supposed to flow when exiting the loop. You would choose break or return to do very specific things. You would use break to have it continue executing the commands below the loop, and you would use return to return back to where it wa...
by whynotregister
23 Oct 2021, 21:57
Forum: Ask for Help (v1)
Topic: Loop Break, Return
Replies: 4
Views: 1008

Loop Break, Return

Code: Select all

Loop
{
  If A_Index = 10
  Break 
}
...
Return

Loop
{
  If A_Index = 10
  Return 
}
...
Return
Both codes have the same exit point, but which one is more stable? I'm wondering which one is more stable, break or return, when I need to exit the loop under some circumstances.
by whynotregister
20 Oct 2021, 03:07
Forum: Scripts and Functions (v1)
Topic: MinHook - API Hooking Library
Replies: 22
Views: 13423

Re: MinHook - API Hooking Library

this is so useful. But does it only possible to api or function? The hook doesn't seem to be installed on normal address
by whynotregister
16 Oct 2021, 22:48
Forum: Ask for Help (v1)
Topic: Dll Injector
Replies: 0
Views: 657

Dll Injector

source:https://github.com/Fooly-Cooly/InjectDll/blob/master/InjectDll.ahk ;================================================================================= ; InjectDll - An AutoHotkey library for injecting dll files into a process ; Copyright (C) 2016 Brian Baker https://github.com/Fooly-Cooly ; Li...
by whynotregister
14 Oct 2021, 14:53
Forum: Scripts and Functions (v1)
Topic: MapFile() : Maps a file and returns a memory pointer.
Replies: 6
Views: 1947

Re: MapFile() : Maps a file and returns a memory pointer.

I don't know what this functions means. Can someone explain this function?
by whynotregister
09 Oct 2021, 02:08
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

guest3456 wrote:
08 Oct 2021, 18:24
whynotregister wrote:
08 Oct 2021, 04:18
It takes about 2 seconds to execute about 20,000 lines of script.
i'm seeing similar results on startup of my compiled script, i think its because of the source code encryption, since it needs to be decrypted on startup
Yes, thats right :D
by whynotregister
08 Oct 2021, 09:57
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

I already disabled windows defender, so it doesn't seem to matter.
Would the execution speed improve if decrypt 2-3 lines at the same time instead of decrypting line by line? Could this method introduce a security flaw?
by whynotregister
08 Oct 2021, 07:03
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

HotKeyIt wrote:
08 Oct 2021, 07:00
Same is for Windows Defender.
Did you use compression?

yes use compression option
by whynotregister
08 Oct 2021, 05:47
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

So you mean until your Gui is displayed for example? In that case try to whitelist the program in your Antivirus programm, because AHK_H is larger and additionally uses compression internally it takes longer to anlyze it. Yes. But I dont use AV, Windows Defender. Compile the script with msgbox 1 wr...
by whynotregister
08 Oct 2021, 05:01
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

You would have to take measurements (with QueryPerformanceFrequency / QueryPerformanceCounter) at different places in the code and see where the slowest part is. I did the same also in a code I used and I found out that the wmi part takes 80% of the speed from my whole code I used (e.g.) Maybe HotK...
by whynotregister
08 Oct 2021, 04:47
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

HotKeyIt wrote:
08 Oct 2021, 04:29
Do you have an example code that runs slower?
Are you using SetBatchLines, -1
Yes. It is already in use.
by whynotregister
08 Oct 2021, 04:18
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

How to speed up execution

ahk_h is awesome. The only downside is that the program runs a bit slower. Does anyone have a user who improves this and uses it?
It takes about 2 seconds to execute about 20,000 lines of script.
by whynotregister
06 Oct 2021, 23:50
Forum: Forum Issues
Topic: Recent Forum Issues - August 2021
Replies: 239
Views: 293621

Re: Recent Forum Issues - August 2021

Is it correct that the recent ddos ​​has slowed the loading of the site?
by whynotregister
29 Sep 2021, 10:42
Forum: AutoHotkey_H
Topic: Can't compile and use ahk2exe?
Replies: 8
Views: 3368

Re: Can't compile and use ahk2exe?

HotKeyIt wrote:
29 Sep 2021, 10:28
Correct.
checked your pm and sent you a reply. :dance:
by whynotregister
29 Sep 2021, 10:27
Forum: AutoHotkey_H
Topic: Can't compile and use ahk2exe?
Replies: 8
Views: 3368

Re: Can't compile and use ahk2exe?

HotKeyIt wrote:
29 Sep 2021, 10:22
Yes, I also tested with encrypt option but I tested v1 version.
For v2 version I am currently merging v2.beta, please wait until it is released, I will make sure the compiler works too.
v1 is correct.
Did you compile the ahk2exe.ahk script and compile another ahk with that file?

Go to advanced search