PDA

View Full Version : Launch HEM with AHK = No HUD



brianwi
01-13-2011, 01:21 AM
I'm wondering if one of the devs could clue me in on why this is happening.

If I launch HEM in AHK by running the shortcut link in the start menu, the HUD works fine once Auto-Import is started.

However, if I launch it (even providing the correct "Start In" directory), the HUD will not launch until I close and restart HEM.

I have the latest version but this has been an issue for over a year, so I'm finally going to ask.

hemexepathLNK= "C:\Users\<USERNAME>\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\HoldemManager.lnk"

hemexepath = "C:\Program Files (x86)\RVG Software\Holdem Manager\HoldemManager.exe"

hempath = "C:\Program Files (x86)\RVG Software\Holdem Manager"

From the above, the following works:
Run, %hemexepathLNK%

but this doesn't:
Run, %hemexepath%, %hempath%

The hempath is copied from the shortcut.LNK.

Any help would be appreciated. (I don't need help with AHK, just why the HUD isn't working.)

netsrak
01-13-2011, 05:14 AM
I remember someone had this problem some month ago. I think it was solved by adding a
cd C:\Program Files (x86)\RVG Software\Holdem Manager\

before starting HM

brianwi
01-13-2011, 10:41 AM
Thanks. While testing what you suggested I figured out the issue.

It's the quotation marks around the string. Once those were removed, it worked fine by just specifying the Run, hemexepath, hempath command.

But without the suggestion, I wouldn't have found this.

Thanks again!
Brian