Sasquatch 0 Posted May 26, 2010 Hey folks, bit of a noobie, hoping somebody can help me out. I'm trying to write a pretty simple script that will just open all my basic poker stuff for me with one button (starts hem and autoimport, ps, and ultimate bet) So it's nothing but simple Run scripts based on what I've got selected in the gui. It works fine for everything but Ultimate Bet for some reason. When I try Run("C:\Poker Application\UB\mainclient.exe") it opens the window with the ub logo, and Absolute poker (instead of ub as it should) in the title window. An error pops up saying "liveupdate file not found. Reinstall please". Everything works fine if I run it from a cmdline or shortcuts and what not, only happens when I try to run it from autoit. I thought maybe it was an issue with win7 x64 so I tried building it as an x86 and running as admin in xpcompatible mode to no avail. I'm guessing there's something silly I'm missing but I have no clue what it is. Any help would be appreciated. Share this post Link to post Share on other sites
JohnOne 1,603 Posted May 26, 2010 Does ShellExecute work instead of run? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
Sasquatch 0 Posted May 26, 2010 Afraid not, gets the same error. Share this post Link to post Share on other sites
JohnOne 1,603 Posted May 26, 2010 Perhaps you have to set the working directory to wherever this "liveupdate file" is. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
Sasquatch 0 Posted May 26, 2010 Worked like a charm. Thanks John! Much appreciated. Share this post Link to post Share on other sites