| Author |
Message |
Topic: [BUMP]OnClipboardChange stops working |
Sean
Replies: 16
Views: 1075
|
Forum: Bug Reports Posted: Tue Apr 05, 2011 2:42 am Subject: [BUMP]OnClipboardChange stops working |
| Apart from that, it would still be nice if the new function could be used in newer windows versions.Not only nice, this is the only reliable solution. Any method to workaround via altering the chain i ... |
Topic: [BUMP]OnClipboardChange stops working |
Sean
Replies: 16
Views: 1075
|
Forum: Bug Reports Posted: Mon Apr 04, 2011 6:49 am Subject: [BUMP]OnClipboardChange stops working |
| The old clipboard APIs AHK uses were written in the ancient age when programmers could be trusted. Nowadays, if in Vista or higher, better use the modern APIs Add(Remove)ClipboardFormatListener. |
Topic: Screen Capture with Transparent Windows and Mouse Cursor |
Sean
Replies: 173
Views: 86230
|
Forum: Scripts & Functions Posted: Wed Mar 16, 2011 11:13 am Subject: Screen Capture with Transparent Windows and Mouse Cursor |
The function was designed that way. The simplest way to achieve what you want is using PrintWindow API, but, you will loose the transparency of the window.
Replace the following in the code
DllCal ... |
Topic: COM Standard Library |
Sean
Replies: 645
Views: 172171
|
Forum: Scripts & Functions Posted: Wed Mar 02, 2011 12:57 am Subject: COM Standard Library |
I suggest to read this thread and the linked thread thoroughly as the start.
Allowing Function Pointer in DllCall: ComCall via DllCall |
Topic: [SOLVED] GoTView RC |
Sean
Replies: 9
Views: 557
|
Forum: Ask for Help Posted: Sun Feb 27, 2011 12:59 pm Subject: [SOLVED] GoTView RC |
I have checked the Remote variable after calling DllCall, it contains only zeros.I think that's a good sign. BTW, what I meant was more like:
VarSetCapacity(Remote, 40) ; 8 bytes appear to be ... |
Topic: [SOLVED] GoTView RC |
Sean
Replies: 9
Views: 557
|
Forum: Ask for Help Posted: Sat Feb 26, 2011 4:17 pm Subject: [SOLVED] GoTView RC |
| I have no problem with the gtvremote64.dll.Actually that was my immediate suggestion, using 64bit dll instead as there is only one calling convention with x64. But, I removed that shortly after I noti ... |
Topic: [SOLVED] GoTView RC |
Sean
Replies: 9
Views: 557
|
Forum: Ask for Help Posted: Fri Feb 25, 2011 4:30 pm Subject: [SOLVED] GoTView RC |
| But why the GetDeviceName and GetCode are working in this case?..__thiscall is almost identical to __stdcall except for the this pointer (in the register). So, as long as a function doesn't have to ac ... |
Topic: Invoke other app's Menu Bar from AHK |
Sean
Replies: 5
Views: 4602
|
Forum: Scripts & Functions Posted: Thu Feb 24, 2011 12:17 am Subject: Invoke other app's Menu Bar from AHK |
If you want to modify other process's context menu you have to create a contextmenu handler dll file. But, you can simulate some of them inside AHK:
http://www.autohotkey.com/forum/topic22120.html |
Topic: COM Standard Library fail to work together w/ Autohotkey.dll |
Sean
Replies: 16
Views: 1365
|
Forum: Bug Reports Posted: Wed Feb 23, 2011 4:59 am Subject: COM Standard Library fail to work together w/ Autohotkey.dll |
| So, Python supports multi-threading? I didn't know that. Anyway, the page you linked uses IGlobalInterfaceTable for inter-thread marshaling. Although I didn't implement it into AHK code as AHK is sing ... |
Topic: [SOLVED] RegisterCallback help! |
Sean
Replies: 9
Views: 486
|
Forum: Ask for Help Posted: Wed Feb 23, 2011 4:40 am Subject: [SOLVED] RegisterCallback help! |
| ..to get the FTP_AsyncCallback() to at least be called.Yes, FTPCallbackAddress played the role of lpdwContext in your case. Then, you get NumGet(0, FTPCallbackAddress, "UInt") as dwContext i ... |
Topic: [SOLVED] RegisterCallback help! |
Sean
Replies: 9
Views: 486
|
Forum: Ask for Help Posted: Wed Feb 23, 2011 3:33 am Subject: [SOLVED] RegisterCallback help! |
Your usage of dwContext, which is actually lpdwContext, in InternetConnect was incorrect. The correct form is:
dwContext := 8 ; can be any user-defined value
hInternet := DllCall("w ... |
Topic: COM Standard Library fail to work together w/ Autohotkey.dll |
Sean
Replies: 16
Views: 1365
|
Forum: Bug Reports Posted: Tue Feb 22, 2011 3:48 am Subject: COM Standard Library fail to work together w/ Autohotkey.dll |
AutoHotkey.dll needs a careful redesign. To see what part is the problem, run the following code and read the error message.
COM_Init()
pshl := COM_CreateObject("Shell.Applicati ... |
Topic: COM Standard Library fail to work together w/ Autohotkey.dll |
Sean
Replies: 16
Views: 1365
|
Forum: Bug Reports Posted: Tue Feb 22, 2011 2:26 am Subject: COM Standard Library fail to work together w/ Autohotkey.dll |
I did a quick test and found out that AutoHotkey.dll had an issue with out-of-process COM objects, like InternetExplorer, Word, Excel etc. It was the root of your problem. Test code:
COM_Init( ... |
Topic: COM Standard Library fail to work together w/ Autohotkey.dll |
Sean
Replies: 16
Views: 1365
|
Forum: Bug Reports Posted: Tue Feb 22, 2011 1:12 am Subject: COM Standard Library fail to work together w/ Autohotkey.dll |
| OK, I'll test the code today. BTW, as COM.ahk is merely a script, I presume it's more an issue of AutoHotkey.dll side. |
Topic: COM Standard Library fail to work together w/ Autohotkey.dll |
Sean
Replies: 16
Views: 1365
|
Forum: Bug Reports Posted: Tue Feb 22, 2011 12:22 am Subject: COM Standard Library fail to work together w/ Autohotkey.dll |
| I don't have AhtoHotkey.dll in my system, however, I suppose it's of various flavors/builds as it's based on AHK_L, 32/64-bit and/or ANSI/UNICODE. And, COM.ahk also has various versions, for 32-bit AH ... |
| |