There was a bug where it was dropping the first char from the define. With 1.22, you should quote only the full path, like this:
%basedir=G:\Software\
There's a couple reasons this may not work:
- Foreground app doesn't change it's internal current directory, so you'll always see it's starting directory or something else.
- Display of the current directory cannot be read as it can from Windows Explorer.
- Foreground app is 64 bit. HoeKey cannot currently read a 64-bit app's internal current directory.
If this is Multicommander that you are trying to open another Multicommander window from, I do see that it uses custom draw controls and doesn't set their window text, so hoekey can't treat it like explorer. I did add "%z" to get just the directory from the current selection, maybe that can help?