Search found 248 matches

by gwarble
19 Jan 2017, 00:33
Forum: Ask For Help
Topic: Include an Executable Resource in Compiled Script and Call without extracting
Replies: 1
Views: 231

Re: Include an Executable Resource in Compiled Script and Call without extracting

BinRun() from HotKeyIt, or i think i read ahk_h can do it natively
by gwarble
17 Jan 2017, 23:23
Forum: Ask For Help
Topic: Screenshotting DLL Call failing on one computer
Replies: 3
Views: 200

Re: Screenshotting DLL Call failing on one computer

It looks like gdi+ called directly, not with gdip ahk library, but the problem may be the same, check your bit-ness/unicodeness on each machine (or test by dragging directly to the 32bit and 64bit ahk version exes... ) to make the code universal enough to work on each, you probably have to adjust th...
by gwarble
17 Jan 2017, 19:54
Forum: Ask For Help
Topic: The Curse of the Changing Controls Topic is solved
Replies: 19
Views: 698

Re: The Curse of the Changing Controls Topic is solved

Its possible that the controls aren't changing classNN but rather the original Tedit15 may have been hidden or deleted and Tedit17 made visible or created (technically a different control that looks the same and has the same position, but is coded differently in the background) Maybe try to gather t...
by gwarble
17 Jan 2017, 19:42
Forum: Scripts and Functions
Topic: Rubbish - System Tray Recycle Bin
Replies: 13
Views: 2004

Re: Rubbish - System Tray Recycle Bin

Cool idea... in case you want to remove the recycle bin from the desktop when using this instead it can be done from gpedit.msc > administrative... > control panel > desktop > "remove recycle bin from desktop" > enabled How to do that programmatically i don't know but it would be a cool feature of R...
by gwarble
12 Jan 2017, 12:33
Forum: Ask For Help
Topic: Random "Can't load icon" error using HICON:
Replies: 2
Views: 279

Re: Random "Can't load icon" error using HICON:

Thanks, that helps a little I guess knowing it can happen even without HICON:*

Glad its useful for you, in many cases you'd be better off doing the CreateBitmapFromFile(A_ScriptFullPath... only once, then creating bitmaps from that bitmap to edit, so you only read from disk once.
by gwarble
10 Jan 2017, 15:29
Forum: Ask For Help
Topic: Random "Can't load icon" error using HICON:
Replies: 2
Views: 279

Random "Can't load icon" error using HICON:

Anyone know what would cause a random "Can't load icon" error when using the HICON:* method of assigning a tray icon? Error message (.png attachments don't seem to be working): EitherMouse.exe --------------------------- Error: Can't load icon. Specifically: HICON:*603392579 Line# ---> 1203: Menu,Tr...
by gwarble
27 Dec 2016, 13:13
Forum: Scripts and Functions
Topic: EitherMouse 0.75 - Multiple mice, individual settings...
Replies: 249
Views: 64617

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

Sorry all the site is down... I'll try to get it back up this evening.
- Joel
by gwarble
16 Dec 2016, 17:54
Forum: Ask For Help
Topic: Change AHK Menu window style (MNS_...)
Replies: 4
Views: 245

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: 245

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: 245

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(MenuNameOrHandle, 0x8...
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: 1547

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.75 - Multiple mice, individual settings...
Replies: 249
Views: 64617

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.75 - Multiple mice, individual settings...
Replies: 249
Views: 64617

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.75 - Multiple mice, individual settings...
Replies: 249
Views: 64617

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: 305

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: 305

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: 264

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.75 - Multiple mice, individual settings...
Replies: 249
Views: 64617

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: 2910

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...

Go to advanced search