| Author |
Message |
Topic: Check multi-dimensional object with a dynamic string |
HotKeyIt
Replies: 5
Views: 115
|
Forum: Ask for Help Posted: Sat Feb 11, 2012 10:02 am Subject: Check multi-dimensional object with a dynamic string |
Will their reference counts safely be put back to the previous state once the function returns?Yes, local parameters are feed when function exits/returns.
Would you mind giving an example or where ca ... |
Topic: three key hotkey sequence |
HotKeyIt
Replies: 2
Views: 50
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 11:50 pm Subject: three key hotkey sequence |
*+>!a::SendInput Ä |
Topic: Just a simple Hotkey |
HotKeyIt
Replies: 4
Views: 71
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 3:53 pm Subject: Just a simple Hotkey |
| Yes, 1 remains normal key and is a hotkey at the same time. |
Topic: Just a simple Hotkey |
HotKeyIt
Replies: 4
Views: 71
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 3:45 pm Subject: Just a simple Hotkey |
~1::8 |
Topic: AHK working with Excel |
HotKeyIt
Replies: 1
Views: 55
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 3:44 pm Subject: AHK working with Excel |
Try this:F12::
If !oExcel
oExcel:=ComObjCreate("Excel.Application")
oExcel.Workbooks.Open("Path of excel file.xls",0,1)
Send % oExcel.Range(&qu ... |
Topic: Check multi-dimensional object with a dynamic string |
HotKeyIt
Replies: 5
Views: 115
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 1:18 pm Subject: Check multi-dimensional object with a dynamic string |
I wasn't sure if dynamic resolution to object is required.
Damn copy paste
Updated above post, thanks for your comments Lexikos
EDIT:
Added [url=http://www.autohotkey.com/forum/viewtopic.p ... |
Topic: Check multi-dimensional object with a dynamic string |
HotKeyIt
Replies: 5
Views: 115
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 11:59 am Subject: Check multi-dimensional object with a dynamic string |
Try this.obj:={a:{b:[1,2,3]}}
; Delimiter can be any non-word character
MsgBox % KeyInObj(obj,"a,b") ; 1
MsgBox % KeyInObj(obj," ... |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Fri Feb 10, 2012 11:27 am Subject: [AHK.dll] Multi-Threading Basic Examples |
| 1. It seems sizeof.ahk, _Struc.ahk, and TT.ahk have to be in C:\Program Files\AutoHotkey\lib. If they are placed in the lib forlder of the script directory, the thread script does not recognize them.T ... |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 3:15 pm Subject: [AHK.dll] Multi-Threading Basic Examples |
You would have to use dll:=AhkDllThread(".\AutoHotkey.dll")
dll.ahktextdll("
(LTrim
#NoTrayIcon
TT:=TT(""Balloon"")
... |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 3:02 pm Subject: [AHK.dll] Multi-Threading Basic Examples |
Awesome, I have updated AhkDllThread thread and downloads  |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 1:24 pm Subject: [AHK.dll] Multi-Threading Basic Examples |
I am we'll get it in the end #include <FileGetVersionInfo>
AhkDllThread(dll="AutoHotkey.dll",obj=0){
static init,ahkfunction,hLib,ahkexec,DynaCall:="DynaCall ... |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 12:09 pm Subject: [AHK.dll] Multi-Threading Basic Examples |
Thank you for your patience
I think I got it finally
Please test #include <FileGetVersionInfo>
AhkDllThread(dll="AutoHotkey.dll",obj=0){
static init,ahkf ... |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 7:26 am Subject: [AHK.dll] Multi-Threading Basic Examples |
I see, that way it happens to me as well.
I have been working on new version for AhkDllThread, can you give it a try
Example, tested on AHK_L and _H:
dll:=AhkDllThread("x:\Aut ... |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 7:11 am Subject: [AHK.dll] Multi-Threading Basic Examples |
Nope, it does not seems to happen to me
Probably someone else can test and confirm  |
Topic: [AHK.dll] Multi-Threading Basic Examples |
HotKeyIt
Replies: 69
Views: 1337
|
Forum: Ask for Help Posted: Thu Feb 09, 2012 5:54 am Subject: [AHK.dll] Multi-Threading Basic Examples |
Can you please try this:#Noenv
#singleinstance, Force
#persistent
SetWorkingDir %A_ScriptDir%
#include <AhkDllThread>
;make it super global for testing to see the number of thread objec ... |
| |