Search found 220 matches

by gwarble
16 Dec 2016, 17:54
Forum: Ask For Help
Topic: Change AHK Menu window style (MNS_...)
Replies: 4
Views: 175

Re: Change AHK Menu window style (MNS_...)

I didn't realize it but apparently i must have edited in (erroneously apparently, at the time i might have even thought that i really wanted that string to be passed and not an integer) a default parameter sometime in the past nine years, actually most likely between 1.0.48 when i started using ahk ...
by gwarble
16 Dec 2016, 08:58
Forum: Ask For Help
Topic: Change AHK Menu window style (MNS_...)
Replies: 4
Views: 175

Re: Change AHK Menu window style (MNS_...)

Ah thanks for the info... I think i'll try to overlay a check onto the icon with gdip instead, don't want to fight dependencies on themes


I think that at the time you wrote MI() function definitions were still required to use quotes and "=" for default parameter values
by gwarble
15 Dec 2016, 18:30
Forum: Ask For Help
Topic: Change AHK Menu window style (MNS_...)
Replies: 4
Views: 175

Change AHK Menu window style (MNS_...)

Hey all, Anyone have any tricks to set the AHK menu's window style? My goal is to remove MNS_CHECKORBMP to display both an icon and a checkbox. This does not work: MI_SetMenuStyle(MenuNameOrHandle, 0x0) but this does to remove the space for icon/check altogether MI_SetMenuStyle(MenuNameO...
by gwarble
14 Dec 2016, 14:03
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 1159

Re: Programmatically add cursor resource to Exe/Dll with UpdateResource api?

typedef struct { WORD wReserved; // Currently zero WORD wType; // 2 for cursors WORD cwCount; // Number of components //Fout in docs, geen padding // WORD padding; // filler for DWORD alignment } CursorHeader; typedef struct { WORD wWidth; WORD wHeight; WORD wPlanes; WORD wBitCount; DWORD lBytesInR...
by gwarble
13 Dec 2016, 12:20
Forum: Scripts and Functions
Topic: EitherMouse 0.71 - Multiple mice, individual settings...
Replies: 208
Views: 39405

Re: EitherMouse 0.64 - Multiple mice, individual settings...

Yeah i used to do something similar, but i hate to say it, its not worth the time (and not all the companies respond/react)

Personally, if virustotal shows like 2 out of 65 or whatever, its fair to assume the two are wrong and not the 63
by gwarble
13 Dec 2016, 10:19
Forum: Scripts and Functions
Topic: EitherMouse 0.71 - Multiple mice, individual settings...
Replies: 208
Views: 39405

Re: EitherMouse 0.64 - Multiple mice, individual settings...

Avast or other Antivirus detects malware on site or virus in exe Hey, Thanks for the report, unfortunately false positives from antivirus software has been the biggest issue over the years of having released EitherMouse, Avast and Sonic being the two worst offenders, and i've not been able to find ...
by gwarble
28 Nov 2016, 23:03
Forum: Scripts and Functions
Topic: EitherMouse 0.71 - Multiple mice, individual settings...
Replies: 208
Views: 39405

Re: EitherMouse 0.64 - Multiple mice, individual settings...

Thanks, Unfortunately that ability doesn't really fall into the feature set of EitherMouse, nor do i know how to do that so it would take some research. If that feature was created as an independant script, and you only wanted it to apply to a particular mouse/touch pad EitherMouse could help, but i...
by gwarble
20 Oct 2016, 19:05
Forum: Ask For Help
Topic: Use a command prompt for information output?
Replies: 4
Views: 284

Re: Use a command prompt for information output?

I agree and use the second option whenever possible. But, the downside is if you use the app both from the command prompt and not, then you get the ugly command prompt pop up when you don't want it... So there is no all-case perfect solution as far as i know
by gwarble
17 Oct 2016, 23:16
Forum: Ask For Help
Topic: Use a command prompt for information output?
Replies: 4
Views: 284

Re: Use a command prompt for information output?

Yes its possible and pretty easy... there are two methods: 1) use AttachConsole to, well, attach to the console window that launched it 2) compile the script (or at least make a dedicated copy of ahk.exe) and set the exe subsystem to be a console application you would then do a fileappend to stdout ...
by gwarble
10 Oct 2016, 23:39
Forum: Ask For Help
Topic: Video game controller Topic is solved
Replies: 1
Views: 188

Re: Video game controller Topic is solved

yeah just check the help file under Joystick, there are hotkeys for the first 32 buttons like Joy1:: etc as well as ways to read the axis input
by gwarble
07 Oct 2016, 10:44
Forum: Scripts and Functions
Topic: EitherMouse 0.71 - Multiple mice, individual settings...
Replies: 208
Views: 39405

Re: EitherMouse 0.64 - Multiple mice, individual settings...

what are you trying to do?
it works independent of AutoHotkey (besides the plugin system but most people have no use for that)
by gwarble
28 Sep 2016, 21:06
Forum: Scripts and Functions
Topic: Rename Process Name of uncompiled scripts
Replies: 17
Views: 2126

Re: Rename Process Name of uncompiled scripts

There is no hardcoded paths in the script, and the error is not related to non existing paths, it is an error due to having spaces in paramaters passed in the Run command. As described in post #3 above. It doesn't really have anything to do with hard-coded paths, its the difference between Run, %AH...
by gwarble
27 Sep 2016, 22:22
Forum: Wish List
Topic: Stdlib functionality in compiled scripts
Replies: 1
Views: 613

Stdlib functionality in compiled scripts

I wish that stdlib functionality was included in compiled scripts with a new stdlib location being RCData\<Lib> or even RCData\<stdlibFunc1.ahk> and RCData\stdlibFunc2.ahk (as well as possibly the existing stdlib file locations) just a thought - gwarble Edit: the new resource location might as well ...
by gwarble
27 Sep 2016, 22:03
Forum: Scripts and Functions
Topic: Rename Process Name of uncompiled scripts
Replies: 17
Views: 2126

Re: Rename Process Name of uncompiled scripts

Tip: whenever you see "c:\Program" you can be pretty sure your error is related to quotes, because "c:\Program" rarely exists but "c:\Program Files" often does Suggestion: instead of FileMove'ing (renaming) autohotkey.exe i'd recommend filecopy'ing it, running it, then ...
by gwarble
26 Sep 2016, 12:14
Forum: Ask For Help
Topic: AutoComplete() (using iAutoComplete2) crashes script/ahk sometimes
Replies: 60
Views: 4208

Re: AutoComplete() (using iAutoComplete2) crashes script/ahk sometimes

Not that I've seen... unfortunately while its a nice end result, its kind of a black box as far as fine-tuning what you want (unfortunately i don't think there is any way to do custom ignored-prefixes, nor a way to return results mid-string (ie have "234" bring up item "12345") etc
by gwarble
22 Sep 2016, 19:51
Forum: Forum Issues
Topic: [solved] Sent messages still in Outbox
Replies: 3
Views: 1097

Re: [solved] Sent messages still in Outbox

Bumping an old thread to second this suggestion, i also had to google why my sent messages were stuck in the outbox All in "Sent" (except drafts) with a flag for received or not (icon, color, text, ?) would be more self explanatory "Outbox" already has a real world counterpart, a...
by gwarble
16 Sep 2016, 20:04
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4400

Re: AutoHotkey.dll StdLib Compiled Topic is solved

if you want to know the reason why its not working i believe its because the script will look in these three locations for a function not defined, but you dont have your stdlib in any of them: %A_ScriptDir%\Lib\ ; Local library - requires v1.0.90+. %A_MyDocuments%\AutoHotkey\Lib\ ; User library. pat...
by gwarble
16 Sep 2016, 19:03
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4400

Re: AutoHotkey.dll StdLib Compiled Topic is solved

Note: the links to _MemoryLibrary lead to autohotkey.net (Unwanted software/Malware reported site). Link works fine for me, sounds like a false positive from your antivirus software, anti-malware software, internet browser, firewall, or ISP Using my example from above, literally any script that con...
by gwarble
15 Sep 2016, 19:23
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4400

Re: AutoHotkey.dll StdLib Compiled Topic is solved

yup you can load the same dll for multiple threads... I also use _L with the dll in this way sometimes use: 0?FileInstall,AutoHotkey.dll,- Resource_Read(dlldata,"AutoHotkey.dll") MemLib1:=new _MemoryLibrary(&dlldata) MemLib2:=new _MemoryLibrary(&dlldata) with: Resource_Read(ByRef V...
by gwarble
14 Sep 2016, 20:44
Forum: Ask For Help
Topic: AutoHotkey.dll StdLib Compiled Topic is solved
Replies: 18
Views: 4400

Re: AutoHotkey.dll StdLib Compiled Topic is solved

Unrelated to your actual question, but it might drive your solution... are you planning to distribute it to other workstations? I'd highly recommend using _MemoryLibrary() from HotKeyIt instead of LoadLibrary to use the dll from resource, then you never have to extract to a_temp to begin with (thoug...

Go to advanced search