Search found 1646 matches

by HotKeyIt
Today, 07:12
Forum: AutoHotkey_H
Topic: Error using _Struct
Replies: 3
Views: 218

Re: Error using _Struct

Yes, this is supported and you don't even need a dll since it is included in exe.
Let me know if you have any problems ;)
by HotKeyIt
Yesterday, 16:14
Forum: AutoHotkey_H
Topic: Error using _Struct
Replies: 3
Views: 218

Re: Error using _Struct

I have not been using _MemoryLoadLibrary and _Struct for long now since it was build-in in _H long ago. The error is for sure because of 0 pointer or error in _Struct, if you have a simple example I can take a look. Btw. why are you not using AhkThread since you are using _H? Also there is Struct .
by HotKeyIt
Yesterday, 16:08
Forum: Ask For Help
Topic: How to create a thread inside another thread?
Replies: 2
Views: 53

Re: How to create a thread inside another thread?

You are using continuation section within continuation section! For AutoHotkey your first continuation section ends at ending for second (included) continuation section. You can add " " to make clear that it does not end here, also use `% inside continuation section! Loop, 2 { MainThreads[...
by HotKeyIt
17 Aug 2018, 17:23
Forum: Помощь
Topic: Помогите со скриптом Topic is solved
Replies: 2
Views: 29

Re: Помогите со скриптом Topic is solved

Code: [Select all] [Expand]GeSHi © Codebox Plus

by HotKeyIt
16 Aug 2018, 15:41
Forum: Ask For Help
Topic: How to determine if there are Label inside the function?
Replies: 4
Views: 91

Re: How to determine if there are Label inside the function?

;) ; AHK Structures global _AHKDerefType := "LPTSTR marker,{_AHKVar *var,_AHKFunc *func,_AHKDerefType *next,UInt symbol},BYTE type,param_count,WORD length" global _AHKExprTokenType := "{__int64 value_int64,double value_double,struct{{PTR *object,_AHKDerefType *deref,_AHKVar *var,LPTST...
by HotKeyIt
16 Aug 2018, 10:49
Forum: Ask For Help
Topic: How to determine if there are Label inside the function?
Replies: 4
Views: 91

Re: How to determine if there are Label inside the function?

; AHK Structures global _AHKDerefType := "LPTSTR marker,{_AHKVar *var,_AHKFunc *func,_AHKDerefType *next,UInt symbol},BYTE type,param_count,WORD length" global _AHKExprTokenType := "{__int64 value_int64,double value_double,struct{{PTR *object,_AHKDerefType *deref,_AHKVar *var,LPTSTR ...
by HotKeyIt
15 Aug 2018, 09:42
Forum: AutoHotkey_H
Topic: [BUG] must be a variable.
Replies: 1
Views: 45

Re: [BUG] must be a variable.

This has been fixed ;)
by HotKeyIt
15 Aug 2018, 09:41
Forum: AutoHotkey_H
Topic: #DllImport Support for "A_PtrSize" variable
Replies: 1
Views: 36

Re: #DllImport Support for "A_PtrSize" variable

This has been added now ;)
by HotKeyIt
08 Aug 2018, 16:15
Forum: Ask For Help
Topic: [SOLVED] How to compile ahk_H V2? Topic is solved
Replies: 5
Views: 186

Re: [SOLVED] How to compile ahk_H V2? Topic is solved

Thanks, that should be fixed now.
by HotKeyIt
03 Aug 2018, 08:42
Forum: Ask For Help
Topic: [SOLVED] How to compile ahk_H V2? Topic is solved
Replies: 5
Views: 186

Re: How to compile ahk_H V2? Topic is solved

Yes, it is up to date
by HotKeyIt
28 Jul 2018, 15:35
Forum: AutoHotkey_H
Topic: Please help how to use Autohotkey Functions in VBA
Replies: 8
Views: 329

Re: Please help how to use Autohotkey Functions in VBA

Try using win32w, I will test on monday at work as I don't have office at home.
Are you trying to do that in excel?
by HotKeyIt
28 Jul 2018, 15:33
Forum: Ask For Help
Topic: How to install AutoHotkey_H v2-alpha ? Topic is solved
Replies: 7
Views: 235

Re: How to install AutoHotkey_H v2-alpha ? Topic is solved

Compiling works fine, did you copy v2 AutoHotkey_H.exe to compile folder and renamed it to Ahk2Exe.exe?
Probably this will help: https://autohotkey.com/boards/viewtopic.php?t=50347
by HotKeyIt
28 Jul 2018, 09:23
Forum: Ask For Help
Topic: How to install AutoHotkey_H v2-alpha ? Topic is solved
Replies: 7
Views: 235

Re: How to install AutoHotkey_H v2-alpha ? Topic is solved

Correct, ahk_h v2 docs are not up to date, use them for ahk_h functions only for the moment as swagfag suggested.
by HotKeyIt
28 Jul 2018, 09:20
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 66
Views: 10357

Re: [Lib] ObjDump / ObjLoad - Object Backup

Should be fixed now:

Code: [Select all]GeSHi © Codebox Plus

SendObject :=	{
x: 2
}

size := objdump(sendObject, variable)

msgbox("The size of dumped memory is " size " bytes")
obj:=ObjLoad(&variable)
MsgBox obj.x
ExitApp
by HotKeyIt
28 Jul 2018, 04:25
Forum: AutoHotkey_H
Topic: Please help how to use Autohotkey Functions in VBA
Replies: 8
Views: 329

Re: Please help how to use Autohotkey Functions in VBA

Which dll have you used v1 or v2?
by HotKeyIt
25 Jul 2018, 15:58
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 66
Views: 10357

Re: [Lib] ObjDump / ObjLoad - Object Backup

Should be size:=ObjDump(sendObject,variable)
Data will be saved in variable!
Are you using v1 or v2?
by HotKeyIt
25 Jul 2018, 15:35
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 66
Views: 10357

Re: [Lib] ObjDump / ObjLoad - Object Backup

I downloaded the v2 versions. Getting error: Error in #include file "J:\StandaloneApps\AutoHotkeyV2\Lib\ObjDump.ahk": Type mismatch. Line# 046: objects[obj]:=1 047: For k,v in obj 048: { 049: if IsObject(k) 050: sz+=objects.HasKey(k)?9:RawObjectSize(k,buf,objects)+9 051: Else 051: if Type...
by HotKeyIt
25 Jul 2018, 15:35
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 66
Views: 10357

Re: [Lib] ObjDump / ObjLoad - Object Backup

There is a bug in ObjDump(). f:=FileOpen(obj,"rw-rwd"),VarSetCapacity(v,sz:=RawObjectSize(var,mode)+8,0) Since file encoding could be UTF-8 or UTF-16, obviously the code must be: f:=FileOpen(obj,"rw-rwd"),f.Pos := 0 Thanks that has been updated to f:=FileOpen(obj,"rw-rw...
by HotKeyIt
25 Jul 2018, 15:23
Forum: AutoHotkey_H
Topic: Please help how to use Autohotkey Functions in VBA
Replies: 8
Views: 329

Re: Please help how to use Autohotkey Functions in VBA

You have to add a reference to autohotkey.dll in vba, are you using office? See https://msdn.microsoft.com/en-us/vba/la ... -reference
by HotKeyIt
23 Jul 2018, 14:59
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 66
Views: 10357

Re: [Lib] ObjDump / ObjLoad - Object Backup

Yes, you can write the variable to file after compression.

Go to advanced search