Sasquatch Posted May 26, 2010 Share 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. Link to comment Share on other sites More sharing options...
JohnOne Posted May 26, 2010 Share 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. Link to comment Share on other sites More sharing options...
Sasquatch Posted May 26, 2010 Author Share Posted May 26, 2010 Afraid not, gets the same error. Link to comment Share on other sites More sharing options...
JohnOne Posted May 26, 2010 Share 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. Link to comment Share on other sites More sharing options...
Sasquatch Posted May 26, 2010 Author Share Posted May 26, 2010 Worked like a charm. Thanks John! Much appreciated. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now