topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday December 12, 2024, 4:47 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

Author Topic: HomeFolder2  (Read 3433 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
HomeFolder2
« on: June 10, 2015, 05:12 PM »
Due to a new feature of the AHK WinGet function that returns the path of the program that owns a window I have released a different take on my HomeFolder utility called HomeFolder2.

Note: Because it is HomeFolder2 I set the version info at 2.0.0.0.
I don't expect it to need any updates.  :)


Aside from the about box, donate etc.. the main function amounts to this
$+NumpadSub::
  WinGet,pPath,ProcessPath,A
    If (pPath)
    {
      n := InStr(pPath,"\",,0)
      StringLeft,sl,pPath,n
      Run %sl%
    }
  return

http://milesaheadsoftware.org

Compiled as 32 bit it seems to work well with windows owned by both 32 and 64 bit exes.  Lexicos does some magic inside ahk.  :)

Edit: for those not familiar with the first implementation of HomeFolder, the idea is if you want to go to the install folder of a program, activate its main window by clicking on it if it is not on top already, and hit the Shift Number Pad Minus key.  An Explorer window should open to that folder.  If the folder is already open in Explorer it may seem that nothing has happened.  It may depend if you have Folder settings to open Explorer folders in a separate process.  I use the same process so it only opens if it is not already up.


« Last Edit: June 10, 2015, 06:00 PM by MilesAhead »

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: HomeFolder2
« Reply #1 on: June 11, 2015, 11:28 PM »
Good to see Miles.
Best Regards
 :-*

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: HomeFolder2
« Reply #2 on: June 12, 2015, 05:39 AM »
Good to see Miles.
Best Regards
 :-*

Thank you.  :)