Search found 461 matches

by gwarble
17 Sep 2019, 23:13
Forum: Ask For Help
Topic: Has anyone used HidD_GetProductString to get HID device desrcription?
Replies: 2
Views: 591

Re: Has anyone used HidD_GetProductString to get HID device desrcription?

here’s an example i’m going to try to port to ahk, eeek Private Sub Form_Load() ' Look for HID Devices. ' ' Declare the data structures used Dim HidGuid As Guid Dim DeviceInterfaceData As Device_Interface_Data Dim FunctionClassDeviceData As Device_Interface_Detail Dim ThisHIDdevice As HidD_Attribute...
by gwarble
15 Sep 2019, 15:13
Forum: Ask For Help
Topic: Has anyone used HidD_GetProductString to get HID device desrcription?
Replies: 2
Views: 591

Has anyone used HidD_GetProductString to get HID device desrcription?

Before I make sense of all this which is going to take me a while, I'm hoping someone already has and is willing to share :) I didn't see any use of it in any of the HID functions or examples over the years. Personally I would like to get these attributes for the mouse devices: HidD_GetProductString...
by gwarble
14 Sep 2019, 16:40
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

I hadn't fully developed the two new options (and one more): - Turn on Click Lock - Disable Wheel Click - Snap To Default Button with a per mouse setting, so here it is in the Beta version for testing: https://www.eithermouse.com/Beta/ https://www.eithermouse.com/images/EitherMouse82.png its about t...
by gwarble
14 Sep 2019, 11:49
Forum: Ask For Help
Topic: Bug in Regwrite in HKEY_LOCAL_MACHINE
Replies: 12
Views: 2106

Re: Bug in Regwrite in HKEY_LOCAL_MACHINE

try it from your same shk script with Run, %comspec% reg add hklm/...

Then you will make sure both methods are using the same elevation coming from the same process... My guess is they will act the same, I’ll try on my machine later
by gwarble
14 Sep 2019, 11:35
Forum: Ask For Help
Topic: Use a variable - API for LO Calc Topic is solved
Replies: 9
Views: 953

Re: Use a variable - API for LO Calc Topic is solved

You were very close at the beginning but you only got cryptic answers that are adding to the confusion: Change this: BgColor := "0xFFFF9E" oCells.setPropertyValue("CellBackColor", %BgColor%) into: BgColor := 0xFFFF9E oCells.setPropertyValue("CellBackColor", BgColor) why: while commands might take ei...
by gwarble
09 Sep 2019, 18:52
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

One user so far has reported that the new version is acting up, acting like an un-swapped mouse despite the EitherMouse settings... Windows 10... If anyone has any issues please let me know, I'm unable to duplicate on my end. If anyone is using the new version (0.79 or 0.80) and is having problems o...
by gwarble
09 Sep 2019, 15:34
Forum: Scripts and Functions
Topic: RunLoginScript() - Re-run the current user's login/logon script
Replies: 0
Views: 571

RunLoginScript() - Re-run the current user's login/logon script

Re-run the current user's login script, only tested on a domain. Useful when network stuff happens and mapped drives get lost, keeps users from having to restart their computer or logoff/on. RunLoginScript() ;hide console RunLoginScript(0) ;show console RunLoginScript(Hide="Hide") { EnvGet, LogonSer...
by gwarble
07 Sep 2019, 15:06
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

very cool, thanks for the info i’ll keep that in my back pocket... for now i’m pretty impressed with freehosting.com which, besides a one time fee for https, seems to be working pretty well and allows some good features (.htaccess, webmail, mysql, cpanel) for a no reoccurring cost host
by gwarble
05 Sep 2019, 15:55
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

great thanks, let me do some updates and i’ll send you something final

i didn’t know you could do that on github, i might give it another try if this new one doesn’t work out... and you can have .exe’s for download?
by gwarble
05 Sep 2019, 13:02
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

back when i was hosting at home and had a down server, you posted an archive which i now link to with https://eithermouse.com/Mirror could you change the url to just autohotkey.com/EitherMouse and let me update the files there? or even if you did once and i didn’t have access at least there would be...
by gwarble
05 Sep 2019, 00:46
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

new update, minor fixes and adding some of the above discussed beta options to the main release also a new website host, so far i’m impressed with freehosting.com but please report any issues downloading or using this new email address [email protected].com also many thanks to Tyler for donating w...
by gwarble
01 Sep 2019, 16:19
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

does the .exe exist at program files (x86)\EitherMouse\?

since you don’t appear to be a frequent user of this forum, feel free to email me directly if its easier for you:

[email protected]
by gwarble
31 Aug 2019, 13:53
Forum: Ask For Help
Topic: Can you perform a math function on a RegExReplace backreference before replacing?
Replies: 23
Views: 3030

Re: Can you perform a math function on a RegExReplace backreference before replacing?

initial testing was successful, but no problems is more important to me than speed, I will be using the looped RegExMatch method for now on code that runs on really expensive machines... Thanks for pointing out the risk and I'm intrigued by everyone's input on solutions to this (also intrigued by re...
by gwarble
30 Aug 2019, 08:47
Forum: Ask For Help
Topic: Random "Can't load icon" error using HICON:
Replies: 7
Views: 1310

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

thanks for the explanations guys...

I will use UseErrorLevel so that users don’t get a confusing error message, and I will investigate if i’m making too many copies of the icon and leaking memory/gdi objects (very likely)
by gwarble
30 Aug 2019, 01:55
Forum: Ask For Help
Topic: Random "Can't load icon" error using HICON:
Replies: 7
Views: 1310

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

bumping this to the top in case anyone knows, 2 and a half years later I've had two users of EitherMouse send me screenshots of this error in the past few months. This time #ErrorStdout is on but the error message still comes up (this is probably as designed, but i was hoping this would at least hid...
by gwarble
29 Aug 2019, 18:36
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 322
Views: 138254

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

check the task manager and make sure its actually running... if you don't have a tray icon for EitherMouse then it probably isn't. Antivirus sounds like a likely culprit... you could try installing it to %temp% and see if that changes anything? I haven't heard of this problem so I hope its something...
by gwarble
29 Aug 2019, 09:55
Forum: Ask For Help
Topic: Can you perform a math function on a RegExReplace backreference before replacing?
Replies: 23
Views: 3030

Re: Can you perform a math function on a RegExReplace backreference before replacing?

nice job guys, very succinct and useful

I will post results of speed comparisons for my current use-case, which is always short replacements

Many thanks everyone
by gwarble
28 Aug 2019, 12:46
Forum: Ask For Help
Topic: Can you perform a math function on a RegExReplace backreference before replacing?
Replies: 23
Views: 3030

Re: Can you perform a math function on a RegExReplace backreference before replacing?

so far i like the workaround of using a loop with RegExMatch as it gives the flexibility, but it looks like you found the real answer (of how to perform a function on the match before replacement within RegExReplace) with the callout feature... i will experiment and do some time comparisons, thanks ...
by gwarble
28 Aug 2019, 01:11
Forum: Ask For Help
Topic: Can you perform a math function on a RegExReplace backreference before replacing?
Replies: 23
Views: 3030

Re: Can you perform a math function on a RegExReplace backreference before replacing?

what do you mean to-do? it seems like you already did it! this works exactly like I want: string := "G00G90X1.2Y3.4F14M8(WAS F14.)`nG01G90X2.2Y3.4F19.6005(WAS F19.6005)`nG84G90X2.2Y3.4F14.00(WAS F14.00)`nG0G91G28Z0`n" MsgBox, % RegExReplaceF(string, "O)([^\r\n]*?)F([\-\d.]+(?![^\(]*\)))", Func("Over...
by gwarble
28 Aug 2019, 00:13
Forum: Ask For Help
Topic: Can you perform a math function on a RegExReplace backreference before replacing?
Replies: 23
Views: 3030

Re: Can you perform a math function on a RegExReplace backreference before replacing?

awesome, thank you one more thing if i still have your interest, how would you go about having a parameter passed to the Function Override... RegExReplaceF(string, "O)(.*?)F([\-\d.]+(?![^\(]*\)))", "Override(140)") to prevent needing a global variable like so: string := "G00G90X1.2Y3.4F14.M8`nG01G90...

Go to advanced search