Search found 213 matches

by kyuuuri
17 May 2019, 05:03
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 20
Views: 2420

Re: [H] what is /MT? Topic is solved

HotKeyIt wrote:
17 May 2019, 04:53
In MD Version you can use CriticalObject as much and as often as you like, it won't cause memory leaks and it is a fast + easy way to share data :+1:
Nice! Thank you for answering and for everything you've done for ahk!
by kyuuuri
17 May 2019, 04:47
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 20
Views: 2420

Re: [H] what is /MT? Topic is solved

CriticalObject will most likely cause problems. MemoryModule and getvar/assign will not cause problems. The problem is internal memory allocation including VirtualAlloc, HeapAlloc... Hello, have 2 questions: What you said is true only for /MT right? And, when using /MD is Critical Object the right ...
by kyuuuri
16 May 2019, 17:52
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 20
Views: 2420

Re: [H] what is /MT? Topic is solved

Does this include Critical Objects?
by kyuuuri
15 May 2019, 15:17
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 20
Views: 2420

Re: [H] what is /MT? Topic is solved

/MD Pros: The exe is smaller. The dll is exposed to updates. /MD Cons: You need to distribute the dll with the exe. If a dll is updated it might break your app. /MT Pros: You don't need to distribute the dll with the exe. /MT Cons: The exe is bigger. The Dll is not exposed to updates so if it needs ...
by kyuuuri
15 May 2019, 14:46
Forum: Ask For Help
Topic: [H] what is /MT? Topic is solved
Replies: 20
Views: 2420

Re: [H] what is /MT? Topic is solved

When compiling source code there are 2 options: /MD and /MT. In the past AHK_H used /MD which means that the dll was not included in the exe, that's why you had to distribute vcruntime140.dll with your exe. Around 2 months ago (you can check on GitHub) HotKeyIt changed it to /MT which means that you...
by kyuuuri
14 May 2019, 08:06
Forum: Ask For Help
Topic: anyway to print?
Replies: 2
Views: 251

Re: anyway to print?

If by print to an edit control you mean change its text then you can use GuiControl, check the docs the explanation is perfect.
by kyuuuri
14 May 2019, 07:45
Forum: Ask For Help
Topic: Section sign (§) hotkey not working
Replies: 3
Views: 293

Re: Section sign (§) hotkey not working

You can install KeyBoardHook to see how the script detects the key and then use this value to create the hotkey
by kyuuuri
14 May 2019, 05:43
Forum: Ask For Help
Topic: Hide Button on a Named GUI - ARGGGHHHH
Replies: 1
Views: 241

Re: Hide Button on a Named GUI - ARGGGHHHH

You need to write a ":" After gui's name.
It should be like this: GuiControl, hide, MyGui:<ReplaceMeWithControl'sAssociated Variable>
by kyuuuri
06 May 2019, 22:08
Forum: AutoHotkey_H
Topic: [Guide] Compiling Ahk_h's source step by step
Replies: 28
Views: 4754

Re: [Guide] Compiling Ahk_h's source step by step

Set password from source code (ahkdll-master) ; compile script 1) got 990kb only compare to 2MB from ahkdll-v1-release-master 2) CleanUpAndPack.ahk \ahkdll-master\bin\Win32a\AutoHotkey.exe The system cannot find the path specified. do i need to build all? As HotKeyIt said, you need to build all if ...
by kyuuuri
01 May 2019, 13:45
Forum: Ask For Help
Topic: [GDIP] How do I replace part of a bitmap with black pixels
Replies: 0
Views: 213

[GDIP] How do I replace part of a bitmap with black pixels

Hello. Let's say I have this screenshot https://i.gyazo.com/a0ca855a41ecbe33f6aaa1fa3812c189.png And I want it to ignore a portion of the image like this: https://i.gyazo.com/405fba3f08236c2a5e37764c1985cb5a.png What can I do to achieve that? I've been thinking about replacing that portion of the im...
by kyuuuri
01 May 2019, 12:00
Forum: AutoHotkey_H
Topic: Threads slow each other down (not hardware related) Topic is solved
Replies: 4
Views: 838

Re: Threads slow each other down (not hardware related) Topic is solved

Can you try running 5 or 20 exe processes doing the same, does it also slow down? Ran some tests I wish I had done before posting :D Here are the results: Running 10 scripts with this code: Script opener.ahk f3:: mousegetpos, x, y loop, 10 run, % "search.ahk " x " " y " test" a_index ".png" return ...
by kyuuuri
01 May 2019, 00:09
Forum: AutoHotkey_H
Topic: Threads slow each other down (not hardware related) Topic is solved
Replies: 4
Views: 838

Threads slow each other down (not hardware related) Topic is solved

Hello, for some reason that I can't figure out, my threads are slowing down too much. CritObj := CriticalObject() CritObj.found:=1 threads= (%` #persistent #notrayicon #NoEnv #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off Coordmode, pixel, screen Coordmode, mous...
by kyuuuri
30 Apr 2019, 15:42
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 247
Views: 46452

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Hello, I've been trying to achieve something like this: $q:: if GetKeyState("q", "p") { send {q} sleep, 50 } return But using Interception. My problem is that when I hold down Q, the key is sent by Interception and the scripts detects it's own keystroke so they loop goes crazy. Is there any workarou...
by kyuuuri
16 Mar 2019, 12:54
Forum: Forum Issues
Topic: Reminding new members to use code tags
Replies: 71
Views: 8431

Re: Reminding new members to use code tags

Spanish is my main language so in case you need to translate the message you can count with me
by kyuuuri
15 Mar 2019, 17:03
Forum: Forum Issues
Topic: Reminding new members to use code tags
Replies: 71
Views: 8431

Re: Reminding new members to use code tags

To be honest I prefer people not posting if they are going to ignore every rule, like I don't even want to answer because it's wasting more time than needed trying to figure out what they need. A simple rule like "use code tags or your post will be insta deleted / locked" might be good. We can have ...
by kyuuuri
12 Mar 2019, 19:02
Forum: Forum Issues
Topic: Reminding new members to use code tags
Replies: 71
Views: 8431

Re: Reminding new members to use code tags

But it's possible that their post contains zero code. For this reason I think it might be too "harsh" to force code-tags. Perhaps there could actually be a rule which focuses on characters like :: or { The chance is pretty high to have them if it's a code. When they post no code, I see no reason th...
by kyuuuri
12 Mar 2019, 00:49
Forum: Ask For Help
Topic: if (expression OR expression) Syntax short-hand ? Topic is solved
Replies: 23
Views: 1908

Re: if (expression OR expression) Syntax short-hand ? Topic is solved

I don't know if this is useful but in this tutorial there is a better way to change the cursor inside certain controls/guis https://www.autohotkey.com/boards/viewtopic.php?f=7&t=61496 , maybe using that you can reduce everything to an object containing all the controls and a loop to change cursor on...
by kyuuuri
11 Mar 2019, 22:45
Forum: Ask For Help
Topic: Is there any better way to monitor memory address?
Replies: 8
Views: 559

Re: Is there any better way to monitor memory address?

YoucefHam wrote:
11 Mar 2019, 22:09
ok!
Just wanted to help and learn with you. Sorry.
I'm sorry for being rude but you didn't even read what I wrote, that's disrespectful.
Thanks anyway, but don't post anymore.
by kyuuuri
11 Mar 2019, 22:00
Forum: Ask For Help
Topic: Is there any better way to monitor memory address?
Replies: 8
Views: 559

Re: Is there any better way to monitor memory address?

Please! don't post again, thank you!
by kyuuuri
11 Mar 2019, 21:56
Forum: Ask For Help
Topic: Is there any better way to monitor memory address?
Replies: 8
Views: 559

Re: Is there any better way to monitor memory address?

YoucefHam wrote:
11 Mar 2019, 21:54
you need to find the static memory address of that value and use it.

Code: Select all

Value := ReadMemory("0x01B91E58","calc.exe")
Oh okay, so you are a bot or you don't know how to read maybe.
Please, Can u read what I wrote? If not then gtfo, thank you!
Didn't want to be rude but I hate people like him.

Go to advanced search