avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday May 20, 2022, 5:15 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - kunkel321 [ switch to compact view ]

Pages: prev1 2 [3] 4 5 6 7 8 ... 24next
Just a reminder to folks to consider sending some donationcredits to people on the forum (click the gold coin under their name) who work on these coding snacks -- show them you appreciate what they are doing!
Cool!  I never even noticed that those icons are all links! 

PublicDomainVic / Re: AppFolderIcon thread
« on: February 15, 2021, 06:48 PM »
I admire your dedication to the project!  But don't hard-code specific app names in there for me...  It would be bloat.   

Here is a screenshot of some of the misfires...  Actually I guess you could hard-code it to find "AutoHotkey." That is a fairly common app and lots of people probably have it.  The two Insofta apps are probably less common--don't bother with worrying about those.  As I was making the screenshot, I realized that "Insofta" is similar to "uninstall." No doubt that is what caused the error. 

Also, these are on a thumb drive, so I took the four bottom ones (which were skipped) and put them in a folder on my desktop just to see if it would make a difference.  AppFolderIcon can only see two of the folders(?) So that was weird.  I'll attempt to zip the folder and send if via PM. 

Other thoughts:  Maybe have it ignore any "Uninstall.exe?"  I notice (with my own setup at least) that the folder often has a version number, but the program exe often does not.  So maybe have it ignore numbers and the word "beta" or "version" in the folder name(???)  Not sure on that though...  EDIT: Maybe also ignore the word "portable." /

appfoldericon shot 2-15-2021.png

PublicDomainVic / Re: AppFolderIcon thread
« on: February 15, 2021, 05:36 PM »
Man this is awesome!  I have a back-up of my Portable Apps folder.  31 first level subfolders, but if you dig to the bottom of each directory, there are 333 of them.  It takes the AppFolderIcon between 2-3 seconds to process them.  Pretty good.  The algorithm does guess the names pretty good, but there are a couple of surprising misfires of the Levenshtein_distance math.  Do you want me to post them for fine-tuning purposes, or is this that can't really be adjusted anyway?

Also, what does the Delete inis command do?  I'm guessing that windows would just rebuild them...  So that command probably puts them all back to their defaults? 

Wow!  Very cool!  Thanks so much Vic!  I'll comment on the AppFolderIcon tread.  FYI to others:  Vic has made this app so that it intelligently determines which exe file is the most likely to contain the desired icon image -- Good stuff! 

Is it possible that this is related to having multiple monitors, and one is set at 125% resolution?

N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: RaptureReplica by KodeZwerg
« on: February 12, 2021, 10:27 AM »
Argh!  Chrome is blocking Rapture Replica...  Thinks it is a vitus...   >:(

Hey thanks folks! 

The AHK one works like a carm.  I don't think the PowerShell one is working though(?)  I went with the "Send to" option.  It does open the PowerShell window, but nothing appears in the window, and it doesn't appear to do anything.  It's all good though.  I've got a bunch of different AHK scripts that I use, so there's no point in breaking with tradition.   :- }

Thanks again.

EDIT:  Also, extra points for 4wd, for writing code from his car...  Username checks out too!  LOL

... it may be worth checking out a macro record/playback utility. ...
Actually I only figured I'd do one folder at a time, so yea a macro makes sense. 

I did some googling, and it appears that Win 10 can capture a file's path via Shift+RightClick.  I'm trying to simulate that in AutoHotkey.  Windows doesn't seem to be seeing the "Shift" part though...  :- /

Code: Autohotkey [Select]
  1. !^g::
  2. sleep, 1000
  3. Send, {LButton Down}
  4. sleep, 100
  5. Send, {LButton Up}
  6. sleep, 100
  7. Send, {Shift Down}
  8. Send, {RButton Down}
  9. sleep, 100
  10. Send, {Shift Up}
  11. Send, {RButton Up}
  12. return

EIDT:  This works!

Code: Autohotkey [Select]
  1. !^g::
  2. sleep, 1000
  3. sleep, 100
  4. Send, {Shift Down}
  5. sleep, 100
  6. Click, Right
  7. sleep, 100
  8. Send, {Shift Up}
  9. return

This is the most kludgy thing I've seen in a while...  And its unreliability attests to this!  LOL
I got tiried of working on it.  I might try to finish it later.

Code: Autohotkey [Select]
  1. #NoEnv ; For security
  3. ;Navigate to file in Win Explorer.  Hover mouse over file.
  4. !^g::
  5. sleep, 1000
  6. Click ;Selects file
  7. sleep, 100
  8. Send, {Shift Down}
  9. sleep, 100
  10. Click, Right ;Pops up special context menu with "Copy as path."
  11. sleep, 100
  12. Send, {Shift Up}
  13. Send aaa{Enter} ;Need correct number of a's to select Copy as path.
  14. sleep, 100
  16. Send, {Alt Down}
  17. sleep, 100
  18. send, {Up} ;Tells Wind Explorer to browse up one level.
  19. sleep, 100
  20. Send, {Alt Up}
  21. sleep, 100
  23. Send, {AppsKey} ;Parent folder will be selected.  Shows context menu.
  25. sleep, 100
  26. Send, {Up} ;Goes to bottom memu item (which is Properties.)
  27. sleep, 100
  28. Send, {Enter}
  29. Send, {Shift Down}
  30. sleep, 100
  31. send, {Tab} ;ShiftTabTab highlights General tab in Properties dialog.
  32. sleep, 100
  33. send, {Tab}
  34. sleep, 100
  35. Send, {Shift Up}
  36. ;Still needs to ArrowLeft 5x to highlight Customize tab.
  37. ;Then Alt+i to change icon. Icon resource path box will be highlighted.
  38. ;Paste path into box and {Enter}.
  40. return

Interesting.  So what you'd need to do I guess is just identify the path of the exe, then edit the 'desktop.ini.' 

Edit to idea/request:
As I look through my subfolders, I see that some of the applications have secondary exe files in with the main application.  Often those have different icons.  As such, the "first" exe found is not always the correct one.  Perhaps the solution to this, would be to find the exe that has the same name as the folder.  Unfortunately, the exe's name is often slightly different. 

Maybe it would make sense to navagate to the correct exe, then select it and activate the tool (via hotkey I guess).  The tool would then get the path to that exe, then edit the parent folder's desktop.ini folder... 

EDIT:  On a related, but different topic:  About 10 years ago, a fellow named Kilmatead, made a tool in AutoIt for customizing folder icons.  It is here
I just checked and the download still works.  And the app works on my current Win 10 laptop. 

Lots of options.  Sadly Kilmatead disappeared from the forums years ago and is assumed, either dead, or abducted by aliens. 

I have a Portable setup on my work computer (not sure if that's relevant to the request).  As seen in the back window, I have a PortableApps folder.  For the most part, there is a subfolder for each portable app.  And--mostly--each folder has an exe in it of the application, for example Calibre Portable in the front window.  I was simply going through and manually customizing the folder by navigating to the exe file and choosing the first image that is compiled in it.  That way, the folder has the same image as the application in it.  I figured that could be automated with AHK, or some other language...

I guess the rules would be:
-look inside of folder for the first exe file found.
-look for first icon resource in that found exe file.
-set the folder's icon to be that icon resouce.

snack idea 2-9-2021.png

Any takers?   :P

Apparently I "collect" file managers, because over the years I've purchased, xplorer2, Total Commander, XYplorer, and DirectoryOpus.  As others have said, DO is probably the most feature-rich.  Personally, my go-to usually falls back to XYplorer.  Do note that, XY is natively portable.   With DO, you can buy a portable version, but it will be tied to a particular usb stick. 

I don't know Mouser... But I saw a remote controlled bidet on Amazon.   So you don't have to be there when you rinse yourself--apparently.

Hey, what's your Youtube channel abour?

N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: RaptureReplica by KodeZwerg
« on: January 11, 2021, 01:21 PM »
Cool.  It's a good app.  I've been using it regularly. 

Living Room / Re: Saying goodbye to the old year with a cheer!
« on: December 31, 2020, 10:13 AM »
Personally I plan on using a loofa in the shower today to I can scrub away the year. 

On a related note:  I found a movie on Netflix, "Death to 2020."  Pretty hilarious lampoon-style documentary of the year. 

my tools of choice are Serif's DrawPlus for vector graphics
That's their pre-Affinity one, yes?  Are you still happy with it on Win10?
Yes, but only the 32-bit version seems okay. The 64-bit version has a nasty habit of hanging during the loading process.

Not that it's relevant, but I never went with Affinity because, having been a Serif user since about 1993, when they ditched their old codebase for a completely new start, making a conscious decision to abandon support for the previous product line, I felt a little aggrieved. So I'm wringing all the value I can get from the Serif products I have licences for -- DrawPlus, PagePlus, PhotoPlus -- and I don't much care how good Affinity is, I'm not going there.

I was also pretty annoyed when Serif abandoned the DrawPlus line.  I do have Afinity now.   I still haven't desided if I like it or not.  I think the idea of pixel-level editing has promise for drawing icons.  The user interface is really different from other programs though, and I haven't had a lot of time to relearn something from scratch. 

The small AutoHotkey script SaveAsPathHelper.ahk I threw together to mimic this functionality still works ok on my PC. Link to source again

I might spruce it up as a NANY release.

Listary won't run without admin privaledges.
I suspect any tool with this kind of feature would have to run as admin if the goal is to have it work with save / open windows from most applications, including those running as admin.


Good point about the possible 'admin' limitation.   I actually did just try your script, and it seemed to work -- so that was very cool!  I only tried the ^g bit, with a Windows Explorer window sitting open.   Thanks for sharing it!  If you do work on this more, it would be awesome if you see if you can get it to work with some of the popular explorer replacements.  Especially xyplorer and/or Direcory Opus. 

+1 for adding this unctionality to FARR.

I'm not currently running Listary because my new employer doesn't let staff be admnistrators of their laptops   >:(   Listary won't run without admin privaledges.  When I do use listery though, it always bugs me that FARR and Listary have so much overlapping functionality.  I'd rather just use one or the other. 

N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: RaptureReplica by KodeZwerg
« on: September 15, 2020, 06:55 PM »
Good day kunkel321, may I ask if you could check if ScreenShotCapture has the same "bug"?
If not, I will dig deeper. For now I did not find any good fix yet.
Unfortunately it still has the bug.  Notice the new gif.  First half of gif is with the top of my screens aligned and all is well.  Last half is with bottoms aligned and the bug happens.   This time I also tried dragging the rectangle from top-to-bottom, and the bug is even weirder!  Check it out. 

Would it be possible to put a version number in the INI file?  Like:

Code: Text [Select]
  1. [Options]
  2. ;RaptureReplica version 9-15-2020
  3. AutoSave=1
  4. OpacityGrab=100
  5. OpacityImage=255
  6. InvertColors=0

By the way, I believe that if you open your downloads window/tab with Ctrl-J you can restore the "disappeared" files. I ran into that problem a few years ago and eventually figured out how to get the files back.
Cool tip.  Thanks.

I emailed one of the authors, Jan Ringos to make sure his site didn't get hijacked or anything.  He said it should be safe to use.   So then I actually tried downloading it with Microsoft's Edge browser and it worked fine. This is the first time a Microsoft browser out-performed Google Chrome.  Just another example of how the world is upside-down in 2020.  LOL.  :P

I have an older version that I've been using for years with no problem.  The latest version from their website is apparently blacklisted by Chrome and be Norton.  Won't even download it.  If I try to download it, it just disappears.  Has anyone else had success getting the latest version? 

Screenshot Captor / Re: Screenshot Captor has OCR?
« on: September 11, 2020, 08:40 AM » is a pretty cool freeware tool.
That is an awesome tool indeed! :Thmbsup:

And the CLI version makes is extremely easy to plugin to screenshot captor - I have it setup using the "Post capture options" & "external tools" options in SC- and I can pretty much create a "one click" workflow to extract text from screenshots !! (new ones and old..)

Hi Ceebu, I saw your reply here and I'm wondering if you'd share your setup for sending screenshots from SSC to C2T...  I'm running both apps... I might as well have them setup like yours. 

EDIT:  It took a few tries but I think I got it working.  Setting it up as in the screenshot OCRs the text from the screenshot and sends it to the windows clipboard.


Not sure if I'm even using the sctools feature as Mouse had intended...  But my tools all seem to work as expected.

Hmm... Attached image doesn't seem to be working, so here

EDIT AGAIN..  The screenshot doesn't show it, but this is the normal exe file
Code: Text [Select]
  1. C:\PortableApps\Capture2Text642\Capture2Text.exe
not the Capture2Text_CLI.exe one. 
Here's the param box:
Code: Text [Select]
  1. --image "%file%" --clipboard

Also note, I'm using the portable version of Cap2Text as well as the portable version of ScreenshotCapture.

N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: RaptureReplica by KodeZwerg
« on: September 10, 2020, 08:41 AM »
Is your Windows configured for "One-Click" actions?

No, it's normal  double-click.  On Windows taskbar or Start Menu, then yes, one click.   For items on Desktop, or items in File Manager though, it is double click. 

N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: RaptureReplica by KodeZwerg
« on: September 09, 2020, 05:42 PM »
Regarding the ghost rectangle, I think I figured out what causes it...  My laptop has an external monitor that is larger than the monitor of the laptop.  Win 10 lets you define how they line up with each other (screenshot)

I had it so that the bottom edges were lined up.  Now it's changed so the tops are lined up as in the screenshot.   Like this, RR seemed to work as expected (see new gif). 

I think what happened is that some applications reference the location of the screen by comparing it with the top/left corner.  The top/left corner is x0,y0.  But if the other monitor is above this "y0" position, I think that certain apps get confused.  One of my favorite little apps is CrossHair by Mike Lin https://download.cne...r/mike-lin/i-6285142   It sometimes has the same problem if I'm in dual monitor mode.   

I'm not a programmer so I don't know if this is possible, but I think the solution might be to ensure that all of the graphics objects reference the x.y coordinates of monitor 1.  Make sure that none of them reference the coordinates of the "work space" or the "desktop area."  I don't know.... Like I said I'm not a programmer!   :D

N.A.N.Y. 2021 / Re: N.A.N.Y. 2021: RaptureReplica by KodeZwerg
« on: September 08, 2020, 09:47 PM »
An odd bug just showed up...  I think it might have to do with my dual-monitor setup(?)  I managed to capture a quick screencast and save it as a .gif (attached below).  Anyway, if I select a small rectangle, then an additional "ghost" rectangle is drawn below it.  When I release the mouse button, the selection is extended so that it includes the ghost rectangle...  Hard to explain, but check out the gif.  Make sure to view at zoom = 100%.

Pages: prev1 2 [3] 4 5 6 7 8 ... 24next