Search found 1513 matches

by HotKeyIt
19 Nov 2017, 15:18
Forum: Ask For Help
Topic: Unknown Object Properties called with Brackets do not invoke __GET() Topic is solved
Replies: 4
Views: 56

Re: Unknown Object Properties called with Brackets do not invoke __GET() Topic is solved

I think the right way here would be : _oTestMetaFunctions := new TestMetaFunctions msgbox % _oTestMetaFunctions.aArray[ "foo" ] msgbox % _oTestMetaFunctions.aArray.foo return class TestMetaFunctions { __GET( sName, p* ) { if ( "aArray" = sName ) { this.aArray := this.getArray() r...
by HotKeyIt
19 Nov 2017, 14:17
Forum: Ask For Help
Topic: Unknown Object Properties called with Brackets do not invoke __GET() Topic is solved
Replies: 4
Views: 56

Re: Unknown Object Properties called with Brackets do not invoke __GET() Topic is solved

Because in that case "foo" is a parameter: _oTestMetaFunctions := new TestMetaFunctions msgbox % _oTestMetaFunctions.aArray[ "foo" ] return class TestMetaFunctions { __GET( sName, param ) { if ( "aArray" = sName ) { this.aArray := this.getArray() return this.aArray[para...
by HotKeyIt
17 Nov 2017, 18:55
Forum: Scripts and Functions
Topic: [AHK v2] ObjTree - Explore and Edit objects easily
Replies: 9
Views: 347

Re: [AHK v2] ObjTree - Explore and Edit objects easily

Update wrote:
  • Fixed Font option.
  • Added option KeyNoEdit=1, this will disable editing keys, so only values can be edited.
  • Added InputBox for new item name when inserting new Items.
by HotKeyIt
16 Nov 2017, 16:52
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 51
Views: 7250

Re: [Lib] ObjDump / ObjLoad - Object Backup

Both should work fine now.
by HotKeyIt
15 Nov 2017, 19:14
Forum: Scripts and Functions
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 51
Views: 7250

Re: [Lib] ObjDump / ObjLoad - Object Backup

Thanks, that should be fixed now.
Note, your version converts everything to strings which is not appropriate and will increase memory and affect speed!
by HotKeyIt
14 Nov 2017, 20:01
Forum: Ask For Help
Topic: __New(...) and base constructor Topic is solved
Replies: 2
Views: 80

Re: __New(...) and base constructor Topic is solved

The base object in your case is mySubclass and __New is called here. The docs also describe this situation: myObj := new myClass() myObj.var:="Another value" test:=new myObj MsgBox % test.var class myClass { var := "" __New() { this.var := "Some default value" } } In yo...
by HotKeyIt
14 Nov 2017, 19:33
Forum: Ask For Help
Topic: SQLite and AHK
Replies: 9
Views: 105

Re: SQLite and AHK

AFAIK it does when you install SQLite ODBC drivers: http://www.ch-werner.de/sqliteodbc/
by HotKeyIt
14 Nov 2017, 18:34
Forum: Scripts and Functions
Topic: [AHK v2] ObjTree - Explore and Edit objects easily
Replies: 9
Views: 347

Re: [AHK v2] ObjTree - Explore and Edit objects easily

Thanks, I like the Idea and have implemented Edit control for keys as well.
I have also added Edit options, mainly to enable/disable Wrap ;)
by HotKeyIt
13 Nov 2017, 18:16
Forum: Gaming
Topic: Key Spammer?
Replies: 5
Views: 63

Re: Key Spammer?

Code: [Select all]GeSHi © Codebox Plus

#MaxThreadsPerHotkey 2
F5::
toggle:=!toggle
While toggle
Send {Space}
Return
by HotKeyIt
13 Nov 2017, 15:22
Forum: Ask For Help
Topic: dict.txt file sorting
Replies: 7
Views: 121

Re: dict.txt file sorting

Try this, you can use FileRead ,dict,dict.txt or Loop,Read , dict.txt to read file contents: dict:=" ( two key AutoHotkey length what about me get find search long alphabet )" max:=0 Loop,Parse,dict,`n,`r If (StrLen(A_LoopField)>max) max:=StrLen(A_LoopField) obj:=[] Loop % max obj.Push([])...
by HotKeyIt
13 Nov 2017, 00:47
Forum: Scripts and Functions
Topic: [AHK v2] ObjTree - Explore and Edit objects easily
Replies: 9
Views: 347

Re: [AHK v2] ObjTree - Explore and Edit objects easily

Did you download the function and included in your script or saved in a library?
by HotKeyIt
13 Nov 2017, 00:41
Forum: Ask For Help
Topic: Wrong Order?
Replies: 2
Views: 44

Re: Wrong Order?

Simply remove the first Return
by HotKeyIt
12 Nov 2017, 17:15
Forum: Ask For Help
Topic: AutoHotkey commands/functions as dll functions
Replies: 1
Views: 73

Re: AutoHotkey commands/functions as dll functions

You can call ahkFunction: dll:=AhkThread(" ( #Persistent InputBox(Title:="""",Prompt:="""", HIDE:="""", Width:="""", Height:="""", X:="""", Y:="""", Font:=...
by HotKeyIt
12 Nov 2017, 10:50
Forum: Scripts and Functions
Topic: [AHK v2] ObjTree - Explore and Edit objects easily
Replies: 9
Views: 347

Re: [AHK v2] ObjTree - Explore and Edit objects easily

Update wrote:
  • Fixed bugs for Menu Insert and InsertChild
  • Fixed bug for IsFunc to check for IsObject too
  • Delete OnMessage when Gui is closed
by HotKeyIt
11 Nov 2017, 13:59
Forum: Scripts and Functions
Topic: [AHK v2] ObjTree - Explore and Edit objects easily
Replies: 9
Views: 347

[AHK v2] ObjTree - Explore and Edit objects easily

This is an continuation and update to old ObjTree thread . AutoHotkey v1 version is not maintained anymore so this will require AutoHotkey v2 or AutoHotkey_H v2 . ObjTree will display a GUI containing your objects and its items, you can also edit and save the content. ⋅ Multiple window sup...
by HotKeyIt
05 Nov 2017, 16:41
Forum: Gaming
Topic: Help with editing of the code Topic is solved
Replies: 1
Views: 25

Re: Help with editing of the code Topic is solved

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

by HotKeyIt
05 Nov 2017, 07:47
Forum: Ask For Help
Topic: unreliable text replace
Replies: 3
Views: 70

Re: unreliable text replace

Are you using the latest version? What are the specs of your computer?
Try also changing SendMode: https://autohotkey.com/docs/Hotstrings.htm#Options
by HotKeyIt
05 Nov 2017, 05:22
Forum: Ask For Help
Topic: #If directives and functions outputting to variables?
Replies: 2
Views: 43

Re: #If directives and functions outputting to variables?

Try this:

Code: [Select all]GeSHi © Codebox Plus

CoordMode, Pixel, Window
#If MyPixelGetColor(100,100)=0x000000
a::b
b::a
#If
MyPixelGetColor(x,y,options:=""){
PixelGetColor, color,% x,% y,% options
return color
}
by HotKeyIt
04 Nov 2017, 20:05
Forum: Other Programming Languages
Topic: C++: DllCall: get parameter types/sizes
Replies: 3
Views: 95

Re: C++: DllCall: get parameter types/sizes

Many thanks for checking the parameters, much appreciated ;)
I have fixed 66 definitions and 710 functions in WinApi.

Go to advanced search