Messages - kunkel321 [ switch to compact view ]

Pages: prev1 ... 9 10 11 12 13 [14] 15 16 17 18 19 ... 118next
66
Is it possible that this is related to having multiple monitors, and one is set at 125% resolution?

67
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...   >:(

68
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

69
... 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

EDIT2:
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
  2.  
  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
  15.  
  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
  22.  
  23. Send, {AppsKey} ;Parent folder will be selected.  Shows context menu.
  24.  
  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}.
  39.  
  40. return

70
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
https://forum.zabkat.com/viewtopic.php?f=22&t=8816
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. 

Pages: prev1 ... 9 10 11 12 13 [14] 15 16 17 18 19 ... 118next
Go to full version