Search found 3526 matches

by Helgef
Yesterday, 01:40
Forum: Ask For Help
Topic: InstallMouseHook vs Mousemove
Replies: 4
Views: 100

Re: InstallMouseHook vs Mousemove

Hehe, that's right.
by Helgef
17 Feb 2019, 15:23
Forum: Ask For Help
Topic: Help with CLR.ahk and 3rd-party DLLs
Replies: 7
Views: 150

Re: Help with CLR.ahk and 3rd-party DLLs

Is eventhandler.dll supposed to be a standard dll? It isn't in WinFormsAero.zip, and I get 0 for both isobject(helper) and isobject(helperAsm).

Cheers.
by Helgef
17 Feb 2019, 15:13
Forum: Ask For Help
Topic: Array Concatenation Topic is solved
Replies: 9
Views: 814

Re: Array Concatenation Topic is solved

already does what this is supposed to do
Perhaps it does, but it doesn't do the same thing in general ;) . (That is, the result isn't the same in general)

Cheers.
by Helgef
17 Feb 2019, 15:10
Forum: Ask For Help
Topic: InstallMouseHook vs Mousemove
Replies: 4
Views: 100

Re: InstallMouseHook vs Mousemove

Or even, SetMouseDelay -1, -1. Additionally, if you didn't specify the speed for mousemove,you could add setdefaultmousespeed 0.

Cheers.

Edit: strike
by Helgef
17 Feb 2019, 02:52
Forum: Ask For Help
Topic: UnDeclared Vars (--) but not (++)? Topic is solved
Replies: 7
Views: 122

Re: UnDeclared Vars (--) but not (++)? Topic is solved

Yes.

As a side note, you are using a very old version of ahk. You might want to upgrade unless you have some special reason not to to.

Cheers.
by Helgef
17 Feb 2019, 02:38
Forum: Ask For Help
Topic: UnDeclared Vars (--) but not (++)? Topic is solved
Replies: 7
Views: 122

Re: UnDeclared Vars (--) but not (++)? Topic is solved

"" is less than 1,so v is assigned 5.
by Helgef
17 Feb 2019, 02:08
Forum: Ask For Help
Topic: UnDeclared Vars (--) but not (++)? Topic is solved
Replies: 7
Views: 122

Re: UnDeclared Vars (--) but not (++)? Topic is solved

This is documented behaviour. See expressions. You should initialise your variable.
by Helgef
13 Feb 2019, 16:41
Forum: Ask For Help
Topic: how to debug ahk source??
Replies: 3
Views: 85

Re: how to debug ahk source??

like so!
by Helgef
13 Feb 2019, 16:07
Forum: Ask For Help
Topic: how to debug ahk source??
Replies: 3
Views: 85

Re: how to debug ahk source??

Select debug build in VS and then run debug (F5). Set breakpoint either by right-click a line or left click left of line number. It runs Test\test.ahk (I'm not sure if I set this or if is default though) Edit: Test\test.ahk is default and is set in int WINAPI _tWinMain (HINSTANCE hInstance, HINSTANC...
by Helgef
13 Feb 2019, 08:20
Forum: Ask For Help
Topic: weird script crash if LoadLibrary isnt used Topic is solved
Replies: 6
Views: 111

Re: weird script crash if LoadLibrary isnt used Topic is solved

if its not User32.dll, Kernel32.dll, ComCtl32.dll, Gdi32.dll -> LoadLibrary() That is not entirely correct. You need to specify the path/name of the dll when it is not one of those, however, the dll might still be loaded. You can check if a dll needs to be loaded by calling GetModuleHandle . Cheers...
by Helgef
13 Feb 2019, 07:49
Forum: Ask For Help
Topic: weird script crash if LoadLibrary isnt used Topic is solved
Replies: 6
Views: 111

Re: weird script crash if LoadLibrary isnt used Topic is solved

helgef wrote:it is undefined behaviour, which might or might not cause a crash, or something else or nothing.
Btw, #2 doesn't crash for me on 32 build, but errorlevel shows 0xc0000005, that is, access violation, which is in line with just me's points.

Cheers
by Helgef
13 Feb 2019, 05:43
Forum: Ask For Help
Topic: weird script crash if LoadLibrary isnt used Topic is solved
Replies: 6
Views: 111

Re: weird script crash if LoadLibrary isnt used Topic is solved

As you say, dllcall calls FreeLibrary before returning. so your token is invalid. Using it is undefined behaviour, which might or might not cause a crash, or something else or nothing.
just me wrote:Longer story:
well put :thumbup:

Cheers.
by Helgef
13 Feb 2019, 03:47
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 542
Views: 99515

Re: Suggestions on documentation improvements

I provided 4 simple recommendations here: 1) GuiControl , no recommendation, ask for help. 2) If var , no recommendation, false statement. 3) ?: , an actual suggestion, although not very precise. It later turned out you wanted a load time error, so it should be in the wish list instead. 4) DllCall ...
by Helgef
13 Feb 2019, 00:22
Forum: Forum Issues
Topic: Recent spam, forum problems and some background information Topic is solved
Replies: 14
Views: 609

Re: Recent spam, forum problems and some background information Topic is solved

User has been on the forum with several accounts in the past, always ending up with a ban and followed up by a spam attack. The worst I know of lasting for several weeks with explicit content and death threats.
by Helgef
12 Feb 2019, 13:44
Forum: Ask For Help
Topic: #IF directive works differently than all other #IFWIN... directives
Replies: 10
Views: 137

Re: #IF directive works differently than all other #IFWIN... directives

That is a lot of talk about other stuff to make that point, I'd say.
by Helgef
12 Feb 2019, 13:32
Forum: Ask For Help
Topic: #IF directive works differently than all other #IFWIN... directives
Replies: 10
Views: 137

Re: #IF directive works differently than all other #IFWIN... directives

There is nothing suggesting that #ifwin lines are executed, they are simply conditions for making hotkeys active or inactive. You may also not that even when the HOTKEY is not triggered, the listlines includes execution of the #IF. That is, hit f1 in an active window that is NOT firefox, and the #IF...
by Helgef
12 Feb 2019, 12:37
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 542
Views: 99515

Re: Suggestions on documentation improvements

@ joefiesta , there was no misunderstanding. @ jeeswg , 'the current behaviour is the most logical because it's the current behaviour'. I didn't comment on the logic of the behaviour, I commented on the lack of logic in your comment, - I had thought that since an object returns an empty string, An o...
by Helgef
12 Feb 2019, 03:54
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 542
Views: 99515

Re: Suggestions on documentation improvements

Many(/most?) people would expect obj == "" to be true, yes. I made a ridiculous example to help you realise that your comment, - I had thought that since an object returns an empty string, was nonsensical . I will try again, do you expect obj.key to be equivalent to "".key ? And no, I do not think ...
by Helgef
11 Feb 2019, 15:05
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 542
Views: 99515

Re: Suggestions on documentation improvements

- GuiControlGet: It may be more subtle than that, I was exploring backporting AHK v2 GUIs, and something important was unclear. Something was unclear , that means you should ask for help , so when it is not unclear anymore, you can make an actual suggestion. In general, this thread is mostly ask fo...

Go to advanced search