Search found 469 matches

by gwarble
12 Aug 2020, 09:18
Forum: Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 344
Views: 142008

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

Sorry all, these false positive virus problems are driving me away from even wanting to bother!! its a good thing I don't make a living off this

Please report issues to Google/Microsoft/Antivirus Vendor as well because I don't think they listen to me
by gwarble
09 Aug 2020, 13:48
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

my advice would be to learn to use AutoHotkey, all of that should be possible but its very niche/unique end user base so you’re never going to get the customizability you would if you understand a few basic things the code is doing it and tweak away from there as for your ideas, all seem useful for ...
by gwarble
07 Aug 2020, 17:03
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

yeah I agree its probably managing startup and shutdown of GDI+ a little more carefully, I havent had a chance to dig into it yet.

I will keep adding to this functionality and share what I like, its already proved useful on two machined parts today!
by gwarble
06 Aug 2020, 18:24
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

I was also playing around with the crosshair before you click once ctrl+alt is held: add to script: ^Alt:: Compass.Crosshair() Return add to class: Crosshair() { if (this.Lines.MaxIndex() < 1) { ; If there are no existing lines, start GDIP this.GetWinArea() this.GDIP_Start() this.GDIP_Setup() } Coor...
by gwarble
06 Aug 2020, 18:19
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

Replace the static variables with this (mainly add a Cross variable, I set some defaults how I'd want): static Color1 := 0x55000000, Color2 := 0x990066ff, Lineweight1 := 1 , ScaleFactor := 1., Units := "pixels", Snap := true, Cross := 20 and replace this function: GDIP_DrawLine(StartX, CurrentX, Sta...
by gwarble
06 Aug 2020, 15:51
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

Thanks. Oh yeah true, well the screen seemed too cluttered after 10 anyway... I might mess around with drawing the dimension inline with the actual line via gdip and ditch the tooltip altogether. Also I added crosshairs and separate X and Y dimensions, just because its useful for machined part drawi...
by gwarble
05 Aug 2020, 19:04
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

use win+p or another method to toggle to single monitor mode and then launch it, that should tell you if its a multi monitor issue or something else pretty quickly

also set your dpi scaling to 100%, another possible culprit
by gwarble
05 Aug 2020, 17:16
Forum: Scripts and Functions
Topic: Compass - Measure angles and scale distances with your mouse
Replies: 37
Views: 17354

Re: Compass - Measure angles and scale distances with your mouse

nice update, small bug: when snap is on, the second line created moves the endpoint of the previous line to its unsnapped position for me some trivial changes, i removed the msgbox and let it add up to 10 lines to the screen before deleting, or deleting on Esc::, this is very cool and useful, thanks...
by gwarble
16 Jul 2020, 10:52
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 28749

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

SyncToy and many other folder syncing utilities appear to use it in the background if I'm not mistaken
by gwarble
15 Jul 2020, 18:36
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 28749

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

beautiful i’m not an expert on robocopy but the google machine is while i always prefer native ahk vs using an external program or library, sometimes results are more important and robocopy delivers its been around since the NT days to so i like to think its as robust (failsafe?) as the name suggest...
by gwarble
14 Jul 2020, 22:03
Forum: Scripts and Functions
Topic: RandomPW() : Random password and simple string hash.
Replies: 14
Views: 5185

Re: RandomPW() : Random password and simple string hash.

it sounds like hex-editing the compiled exe to make it only run with a password as the 1st command line parameter, but the password isn’t stored, only the hash?
by gwarble
14 Jul 2020, 21:45
Forum: Scripts and Functions
Topic: RandomPW() : Random password and simple string hash.
Replies: 14
Views: 5185

Re: RandomPW() : Random password and simple string hash.

i’m still confused, but intrigued... whats @offset-50?
by gwarble
14 Jul 2020, 20:08
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 28749

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

yes (and there are a ton of useful options for copying as well, just be careful if you remove the /L it will actually do stuff not just report info) MsgBox, % FolderSize(A_Desktop " *.ahk") notice the space before the wildcard *, the "file" parameter to robocopy is seperate from the source folder Ed...
by gwarble
14 Jul 2020, 19:23
Forum: Ask For Help
Topic: get center of an area
Replies: 18
Views: 5136

Re: get center of a area

sounds complicated and interesting hard to think through without a real world application as there will be intricacies that determine success, but what if you iterate through each point, calculate the average distance away each other point is, and take the point with the smallest average, then 5 clo...
by gwarble
14 Jul 2020, 18:18
Forum: Scripts and Functions
Topic: FolderSize() - get folder size quickly
Replies: 6
Views: 2980

Re: FolderSize() - get folder size quickly

Interesting results in one scenario here, COM wins locally, robocopy wins on network share via VPN over internet: Local Folder: Robocopy: 127 GB 5304ms COM: 127 GB 4555ms Network Share via VPN over internet: Robocopy: 16.8 GB 31294ms COM: 16.8 GB 37097ms overall very comparable results in both cases
by gwarble
14 Jul 2020, 17:54
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 28749

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

you're welcome, I would like to duplicate this speed with some native method, Xtra posted a COM method that is faster when permissions don't halt it... for me c:\ is 211gb only takes robocopy 13.2 seconds [on old core2 duo 2.4ghz 4gb win7 64] also in that time you also get more data for free, like t...
by gwarble
13 Jul 2020, 23:39
Forum: Scripts and Functions
Topic: FolderSize() - get folder size quickly
Replies: 6
Views: 2980

Re: FolderSize() - get folder size quickly

thanks, exactly what i wanted (faster and not dependent on another exe)

Works on A_Desktop, any idea about overcoming error 0x800A0046 when running on A_WinDir?
by gwarble
13 Jul 2020, 19:13
Forum: Scripts and Functions
Topic: FolderSize() - get folder size quickly
Replies: 6
Views: 2980

FolderSize() - get folder size quickly

This is the fastest method I could find to get the size of a folder, any way to do this faster or similarly fast with the WinAPI? File Loop , PowerShell , COM, winmgmts? FolderSize(folder) { ;gwarble 2020 - any faster method to get folder size? Loop, Parse, % RunCMD("robocopy /l /nfl /ndl " folder "...
by gwarble
13 Jul 2020, 19:10
Forum: Scripts and Functions
Topic: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
Replies: 121
Views: 28749

Re: RunCMD() v0.94 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.

awesome thanks for sharing powershell sure adds a lot of bloat, even an empty folder is 10 times slower than robocopy... anyone know how robocopy does this so fast? FolderSize(folder) { ;gwarble 2020 - any faster method to get folder size? Loop, Parse, % RunCMD("robocopy /l /nfl /ndl " folder " . /r...

Go to advanced search