Search found 2108 matches

by HotKeyIt
01 Nov 2014, 13:57
Forum: Wish List
Topic: Run code when window appear or resizes
Replies: 12
Views: 4881

Re: Run code when window appear or resizes

As I understand there must be another hook that does not call CallNextHookEx so we never receive the message, see here.
by HotKeyIt
01 Nov 2014, 13:22
Forum: Wish List
Topic: Run code when window appear or resizes
Replies: 12
Views: 4881

Re: Run code when window appear or resizes

joedf wrote:I have been looking to catch the maximize event a long time ago..
but the tooltip doesnt change when dragging or maximize
Min/Max works only when minimizing and restoring from minimized state as far as I undstand.
by HotKeyIt
01 Nov 2014, 07:32
Forum: Allgemeines
Topic: Das andere Forum
Replies: 9
Views: 4197

Re: Das andere Forum

Erledigt.
by HotKeyIt
30 Oct 2014, 14:30
Forum: AutoHotkey v2 Development
Topic: [Wish] One line while loop (similar to if)
Replies: 45
Views: 19504

Re: [Wish] One line while loop (similar to if)

For me saving lines means always to see more code at once and understand/remember/connect more code at once. Also note that here you can group the code by columns, means you can clearly see straight away what happens for which condition. For example when you need to reassign different variable or do...
by HotKeyIt
30 Oct 2014, 14:09
Forum: Allgemeines
Topic: Das andere Forum
Replies: 9
Views: 4197

Re: Das andere Forum

Einverstanden ;)
by HotKeyIt
28 Oct 2014, 14:10
Forum: Allgemeines
Topic: Das andere Forum
Replies: 9
Views: 4197

Re: Das andere Forum

Ich hab's mal gepinnt, mal gucken was passiert :)
by HotKeyIt
28 Oct 2014, 14:02
Forum: Ask For Help
Topic: Getting the size of a data type
Replies: 13
Views: 4533

Re: Getting the size of a data type

Yes.
by HotKeyIt
28 Oct 2014, 12:52
Forum: AutoHotkey v2 Development
Topic: [Wish] One line while loop (similar to if)
Replies: 45
Views: 19504

Re: [Wish] One line while loop (similar to if)

Readability? It's up to the user I would say :) ; both not good to read: While (Expression,MoreExpressions,A_Index<3),v:=A_Index*2,a:=Func(v) While Expression,MoreExpressions,A_Index<3 v:=A_Index*2,a:=Func(v) ; one liner is not as good to read but still okay in my view While (Expression, MoreExpres...
by HotKeyIt
28 Oct 2014, 12:42
Forum: Ask For Help
Topic: Getting the size of a data type
Replies: 13
Views: 4533

Re: Getting the size of a data type

Here are some corrections including String types AStr, WStr, Str: BOOL uint INT HRESULT ptr INT LANGID short USHORT LPCSTR ptr ASTR LPCTSTR ptr STR LPCWSTR ptr WSTR LPSTR ptr ASTR LPTSTR ptr STR LPWSTR ptr WSTR LRESULT ptr UINT PCSTR ptr ASTR PCTSTR ptr STR PCWSTR ptr WSTR PSTR ptr ASTR PTSTR ptr ST...
by HotKeyIt
27 Oct 2014, 14:59
Forum: Ask For Help
Topic: Getting the size of a data type
Replies: 13
Views: 4533

Re: Getting the size of a data type

The only variable-sized data type in the Windows API is the pointer type. There is also TCHAR,TBYTE , Ansi 1 Byte / Unicode 2 Bytes A_IsUnicode+1 ; 8-bit/ANSI strings: size_of_char=1 type_of_char="Char" ; 16-bit/UTF-16 strings: size_of_char=2 type_of_char="UShort" HALF_PTR WORD on 32-bit and INT on...
by HotKeyIt
27 Oct 2014, 07:23
Forum: AutoHotkey v2 Development
Topic: [Wish] One line while loop (similar to if)
Replies: 45
Views: 19504

[Wish] One line while loop (similar to if)

Currently in v2 the last expression is used for While loop evaluation: While Expression,MoreExpressions,A_Index<3 MsgBox % A_Index I would love to be able to write While loop in one line, so it works the same way as if statement. While (Expression,MoreExpressions,A_Index<3),MsgBox(A_Index) What do y...
by HotKeyIt
24 Oct 2014, 18:59
Forum: Tooltime
Topic: Frage zu Notepad++
Replies: 3
Views: 8518

Re: Frage zu Notepad++

Settings->Shortcut Mapper...
by HotKeyIt
19 Oct 2014, 14:57
Forum: Ask For Help
Topic: how can i execute ahk like "exec" in python
Replies: 1
Views: 848

Re: how can i execute ahk like "exec" in python

You can't execute code in running script, this is only possible in AHK_H using ahkExec

Code: Select all

a := "array(10,20)"
DllCall(A_AhkPath "\ahkExec","Str","b :=" a)
MsgBox % b[1]
by HotKeyIt
18 Oct 2014, 16:37
Forum: AutoHotkey v2 Development
Topic: StrLower / StrUpper / StrTitleCase?
Replies: 21
Views: 10185

Re: StrLower / StrUpper / StrTitleCase?

StrUpper() | StrLower() | StrTitle()
by HotKeyIt
14 Oct 2014, 11:25
Forum: Wish List
Topic: Removing obtect elements inside iteration
Replies: 6
Views: 1879

Re: Removing obtect elements inside iteration

I would simply use a copy:

Code: Select all

for key, value in list.Clone()
    list.remove(key,"")
by HotKeyIt
01 Oct 2014, 06:23
Forum: Bug Reports
Topic: Trim function bug [v1.1.16.04]
Replies: 2
Views: 1267

Re: Trim function bug [v1.1.16.04]

RTrim removes all given characters from end of string.
What you need is probably MsgBox % RegExReplace("ado.o", "\.o$")
by HotKeyIt
26 Sep 2014, 09:17
Forum: Ask For Help
Topic: DllCall - The most efficient and performant way
Replies: 2
Views: 1000

Re: DllCall - The most efficient and performant way

See http://ahkscript.org/docs/commands/DllCall.htm#load
It does not really matter if you include the dll or not since all standard functions are resolved to address before script starts.
by HotKeyIt
19 Sep 2014, 07:27
Forum: Ask For Help
Topic: where can i download autohotkey dll
Replies: 2
Views: 2068

Re: where can i download autohotkey dll

Release versions can be downloaded here: v1 and v2
by HotKeyIt
18 Sep 2014, 15:58
Forum: Bug Reports
Topic: [Solved V2a0.52]crash if __Call(FormalParameter) when %o%()
Replies: 7
Views: 2494

Re: V2-a0.50+ crush if __Call(FormalParameter) when %o%()

I got it now, for me it only crashed on Win8.1 64-bit when running ahk in 32 bit. As I understand v1 has the same issue. params[0]->marker_length = 0; should solve that as I understand: script_expression.cpp->ExpandExpression() if (!func) { // This is a dynamic function call. if (!stack_count) // SY...

Go to advanced search