Search found 231 matches

by gwarble
10 Oct 2016, 23:39
Forum: Ask For Help
Topic: Video game controller Topic is solved
Replies: 1
Views: 236

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: 227
Views: 56187

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

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

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

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

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

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

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

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

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

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...
by gwarble
08 Sep 2016, 20:10
Forum: Ask For Help
Topic: Programmatically add cursor resource to Exe/Dll with UpdateResource api?
Replies: 14
Views: 1393

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

I'm just going to add as much info as I can in the hopes someone knows what I'm doing wrong... I'll also edit out a couple bits of misinformation above (re: differing struct sizes between ico and cur) So far, I'm keeping it integer based for simplicity, once working it should be trivial to change to...
by gwarble
04 Sep 2016, 13:34
Forum: Scripts and Functions
Topic: Optical Zoom For The Web Browser Control
Replies: 4
Views: 812

Re: Optical Zoom For The Web Browser Control

works on Win XP SP3
by gwarble
03 Sep 2016, 13:44
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

Re: [Lib] SplitButton()

cool, nice work... hButton_ was in there to save the hWnd from the initialization call into a static variable, so when the OnMessage call comes around the control's hWnd could be compared to the one initialized... since you are saving into a global class object its not really necessary, and my plan ...
by gwarble
02 Sep 2016, 18:08
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

Re: [Lib] SplitButton()

Cool, yeah it might work well for your program, although its really more intended for the primary function acting like a button which might not apply but it wouldn't really hurt anything Just an FYI, this isn't really "my system", its a new button style in windows vista+ (common controls 6...
by gwarble
02 Sep 2016, 16:36
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

Re: [Lib] SplitButton()

tmplinshi wrote:Nice! This is my trying by reading https://autohotkey.com/docs/commands/Gu ... htm#Custom:


Nice, thanks for sharing... Maybe this method can be used to create a "SizeGrip" control, which is really a ScrollBar class i believe, which I've been meaning to get working
by gwarble
01 Sep 2016, 13:00
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

Re: [Lib] SplitButton()

Seemingly, this button can be realized as a Custom control rather simply, though you might need to specify the height in most cases. The most important advantage is, that you don't have to monitor WM_NOTIFY messages. Oh really? I haven't played around with Gui, Add, Custom... controls before. Not h...
by gwarble
31 Aug 2016, 20:36
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

Re: [Lib] SplitButton()

Ahhh I love it. Thanks for sharing :) You're welcome... still needs improvement but might come in handy Hmmm, doesn't show any dropdown for me. I guess, it only supports 32 bit at the moment? Edit: Oh yeah, 32 bit works. Looks very useful. Thanks a lot! Oops, yeah I forgot to test on 64bit... shoul...
by gwarble
31 Aug 2016, 18:23
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

Re: [Lib] SplitButton()

Oops, I left the "GetDlgItem" call hard coded to the 7th control from my example... need to fix that, gimme a minute (i guess i'll save (static var) the hCtrl from the initialization call and compare that way instead, maybe an array of hCtrl and its associated menu name in...
by gwarble
31 Aug 2016, 17:46
Forum: Scripts and Functions
Topic: [Lib] SplitButton()
Replies: 16
Views: 2589

[Lib] SplitButton()

http://www.gwarble.com/ahk/Screenshots/SplitButton.png Here's a proof-of-concept stdlib function for creating split buttons (drop down buttons). Needs more options built in (changing the glyph, styles, etc) but its a start... Enjoy A split button has a default action followed by a divider line and ...

Go to advanced search