PDA

View Full Version : Launching HEM from Script = no HUD



brianwi
06-24-2009, 02:00 PM
Hi,

This is a strange one. When I use an Autohotkey script I've written to launch Holdem Manager, the HUD will not start when I click the AutoImport button. However, when I launch HEM from the start menu, and click the AutoImport, the HUD / Table Mgr starts right away. This is 100% repeatable.

Here is the line from the script - very straightforward.

Run C:\Program Files\Holdem Manager\HoldemManager.exe

It also works when I paste this into the Start...Run dialog.

I'm posting here because I believe it might be a HEM issue, since the application actually launches - the HUD just won't start. Even if I stop the autoimport and start it again, the HUD doesn't start. re-launch HUD from the menu also does NOT work if HEM was launched from the script.

TIA,
Brian

fozzy71
06-24-2009, 03:13 PM
I use TheOpener.AHK to do the same thing, and I haven't had any similar issues. I used to set TheOpener to open Holdemmanager.exe and the HMHUD.exe file, but it would occasionally not launch the table manager. I set HEM back to launch hud w/ auto-import, and disabled the checkbox for HMHUD on my script.


http://forumserver.twoplustwo.com/45/software/opener-anything-launcher-265003/?highlight=theopener


http://i207.photobucket.com/albums/bb176/fozzy71/ScreenShots%20Misc/theopener-stars-june09a.png

brianwi
06-25-2009, 04:52 PM
I solved the problem. I needed to add the working directory argument when using Run to launch HEM. Now the HUD starts just fine. Thanks for the pointer to TheOpener - looking at this code helped solve the issue!

fozzy71
06-25-2009, 04:56 PM
You are welcome.