Search found 524 matches
- 06 Aug 2020, 15:51
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22124
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...
- 05 Aug 2020, 20:44
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22124
Re: Compass - Measure angles and scale distances with your mouse
try running the script as administrator
- 05 Aug 2020, 19:04
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22124
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
also set your dpi scaling to 100%, another possible culprit
- 05 Aug 2020, 17:16
- Forum: Scripts and Functions (v1)
- Topic: Compass - Measure angles and scale distances with your mouse
- Replies: 38
- Views: 22124
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...
- 16 Jul 2020, 10:52
- Forum: Scripts and Functions (v1)
- Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 249
- Views: 88624
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
- 15 Jul 2020, 18:36
- Forum: Scripts and Functions (v1)
- Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 249
- Views: 88624
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...
- 14 Jul 2020, 22:03
- Forum: Scripts and Functions (v1)
- Topic: RandomPW() : Random password and simple string hash.
- Replies: 18
- Views: 7460
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?
- 14 Jul 2020, 21:45
- Forum: Scripts and Functions (v1)
- Topic: RandomPW() : Random password and simple string hash.
- Replies: 18
- Views: 7460
Re: RandomPW() : Random password and simple string hash.
i’m still confused, but intrigued... whats @offset-50?
- 14 Jul 2020, 20:08
- Forum: Scripts and Functions (v1)
- Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 249
- Views: 88624
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...
- 14 Jul 2020, 19:23
- Forum: Ask for Help (v1)
- Topic: get center of an area
- Replies: 18
- Views: 6066
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...
- 14 Jul 2020, 18:18
- Forum: Scripts and Functions (v1)
- Topic: FolderSize() - get folder size quickly
- Replies: 6
- Views: 4408
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
- 14 Jul 2020, 17:54
- Forum: Scripts and Functions (v1)
- Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 249
- Views: 88624
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...
- 13 Jul 2020, 23:39
- Forum: Scripts and Functions (v1)
- Topic: FolderSize() - get folder size quickly
- Replies: 6
- Views: 4408
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?
Works on A_Desktop, any idea about overcoming error 0x800A0046 when running on A_WinDir?
- 13 Jul 2020, 19:13
- Forum: Scripts and Functions (v1)
- Topic: FolderSize() - get folder size quickly
- Replies: 6
- Views: 4408
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 "...
- 13 Jul 2020, 19:10
- Forum: Scripts and Functions (v1)
- Topic: RunCMD() v0.97 : Capture stdout to variable. Non-blocking version. Pre-process/omit individual lines.
- Replies: 249
- Views: 88624
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...
- 09 Jul 2020, 19:06
- Forum: Ask for Help (v1)
- Topic: Math evaluation is incorrect using calc function. Topic is solved
- Replies: 15
- Views: 5471
Re: Math evaluation is incorrect using calc function. Topic is solved
well there is another interpreter invoked somehow, that I don't fully understand, and for no real benefit I mean sure if the native way took a measurable amount of time in practice that was not required with the javascript approach I might make a different argument, but I don't see that... I also wo...
- 09 Jul 2020, 18:46
- Forum: Ask for Help (v1)
- Topic: Math evaluation is incorrect using calc function. Topic is solved
- Replies: 15
- Views: 5471
Re: Math evaluation is incorrect using calc function. Topic is solved
so everyone's comparing the same thing, this is the Eval() version I referenced above from Pulover i believe... Thanks for sharing the alternatives everyone, but out of principal I don't like the idea of using javascript for this... Eval(x) { ; expression preprocessing Static pi = 3.141592653589793,...
- 09 Jul 2020, 13:11
- Forum: Ask for Help (v1)
- Topic: Math evaluation is incorrect using calc function. Topic is solved
- Replies: 15
- Views: 5471
Re: Math evaluation is incorrect using calc function. Topic is solved
try searching for Eval() as a replacement? Of course test thoroughly but I use it often and haven't noticed any problems
- 02 Jul 2020, 23:29
- Forum: Scripts and Functions (v1)
- Topic: Reduce Flicker dramatically (Double Buffer)
- Replies: 30
- Views: 14466
Re: Reduce Flicker dramatically (Double Buffer)
this works pretty well in my test in windows 7 and windows 10 without WinSet Transparent , many thanks for sharing... I'm looking forward to going back to some old scripts and trying this the same code unfortunately intermittently suffers from major clipping on Windows 10 when using WinSet, Transpar...
- 02 Jul 2020, 18:16
- Forum: Ask for Help (v1)
- Topic: Is there a way to put an icon outside the hidden tray icons by default?
- Replies: 56
- Views: 11387
Re: Is there a way to put an icon outside the hidden tray icons by default?
i think he is only mistaken on the fact that we want a programmatic solution its common terminology to call the entire full width bar the "task bar" including the system tray, so it makes perfect sense when he says from the system stray pop-up and put it on the task bar that he means drag the icon t...