Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Tournament Poker > STT Strategy
FAQ Community Calendar Today's Posts Search

View Poll Results: Choose wisely
Pozzed 8 25.00%
Pwned 24 75.00%
Voters: 32. You may not vote on this poll

Closed Thread
 
Thread Tools Display Modes
  #621  
Old 02-13-2007, 06:08 PM
suzzer99 suzzer99 is offline
Senior Member
 
Join Date: Nov 2005
Location: guuhhhn inner nets
Posts: 13,634
Default Re: OT: STTF [censored] thread, February

[ QUOTE ]
[ QUOTE ]
I'm trying out handsome's script, and I'm trying to create a batch file to launch both scripts, PS and PO. PS and PO seem to launch, but it hangs on the ahk scripts. IE - they run but the cmd prompt is still waiting some kind of feedback to move on to the next line of the script.

"C:\poker\handsome\Stars autoreg, msgbox, lobby.ahk"
"C:\poker\handsome\functions.ahk"
"C:\Program Files\PokerOffice\PokerOffice.exe"
"C:\Program Files\PokerStars\PokerStarsUpdate.exe"

I know in Unix there's some command to get the process to run in the background. Anything like that in DOS?

[/ QUOTE ]
If you use "start /low <command>" then it starts apps in low priority (similar to "nice -n 19 <command>" in Unix).

Juk [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]

I tried start earlier. All this seems to do is open 4 DOS windows with empty prompts and nothing starts.

start /low "C:\poker\handsome\Stars autoreg, msgbox, lobby.ahk"
start /low "C:\poker\handsome\functions.ahk"
start /low "C:\Program Files\PokerOffice\PokerOffice.exe"
start /low "C:\Program Files\PokerStars\PokerStarsUpdate.exe"
  #622  
Old 02-13-2007, 06:15 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: OT: STTF [censored] thread, February

[ QUOTE ]
[ QUOTE ]
[ QUOTE ]
I'm trying out handsome's script, and I'm trying to create a batch file to launch both scripts, PS and PO. PS and PO seem to launch, but it hangs on the ahk scripts. IE - they run but the cmd prompt is still waiting some kind of feedback to move on to the next line of the script.

"C:\poker\handsome\Stars autoreg, msgbox, lobby.ahk"
"C:\poker\handsome\functions.ahk"
"C:\Program Files\PokerOffice\PokerOffice.exe"
"C:\Program Files\PokerStars\PokerStarsUpdate.exe"

I know in Unix there's some command to get the process to run in the background. Anything like that in DOS?

[/ QUOTE ]
If you use "start /low <command>" then it starts apps in low priority (similar to "nice -n 19 <command>" in Unix).

Juk [img]/images/graemlins/smile.gif[/img]

[/ QUOTE ]

start /low "C:\poker\handsome\Stars autoreg, msgbox, lobby.ahk"
start /low "C:\poker\handsome\functions.ahk"
start /low "C:\Program Files\PokerOffice\PokerOffice.exe"
start /low "C:\Program Files\PokerStars\PokerStarsUpdate.exe"

I tried start earlier All this seems to do is open 4 DOS windows with empty prompts and nothing starts.

[/ QUOTE ]
I think the problem might be that you are trying to execute AHK scripts directly. I think you need to either compile them into exe form or use autohotkey.exe to fire them off. Try something like:

"C:\Program Files\AutoHotkey\AutoHotkey.exe" <script>

or

start /low "C:\Program Files\AutoHotkey\AutoHotkey.exe" <script>

and see if that works.

Another alternative is just to use the Run command for AHK and write an AHK script instead of the batch file which fires off the other scripts/apps.

Juk [img]/images/graemlins/smile.gif[/img]
  #623  
Old 02-13-2007, 06:18 PM
suzzer99 suzzer99 is offline
Senior Member
 
Join Date: Nov 2005
Location: guuhhhn inner nets
Posts: 13,634
Default Re: OT: STTF [censored] thread, February

Yeah the scripts actually start. They just don't return nicely that they started or whatever, so the batch file hangs. If I kill the AHK script from the taskbar, the script moves on to the next line.

That is if I don't use start. Start for whatever reason, won't work on anything, even the PS and PO .exes. Weird. It just launches more DOS prompts.

Can anyone give me the AHK syntax to run another AHK script and a windows app from an AHK script? I'll try plugging them in.
  #624  
Old 02-13-2007, 06:23 PM
jukofyork jukofyork is offline
Senior Member
 
Join Date: Sep 2004
Location: Leeds, UK.
Posts: 2,551
Default Re: OT: STTF [censored] thread, February

[ QUOTE ]
Yeah the scripts actually start. They just don't return nicely that they started or whatever, so the batch filed hangs. That is if I don't use start. Start for whatever reason, won't on anything, even the PS and PO .exes. Weird.

Can anyone give me the AHK syntax to run another AHK script and a windows app from an AHK script? I'll try plugging them in.

[/ QUOTE ]
Run, <command>, <start folder> [, min]

For example I used to use this to fire of FPHG at the start of the SafeMine script and have it minimize on start-up:

Run, C:\FPHG\FreePHG.exe -o -d 1000 -p 1, C:\FPHG\Hands\, Min

Juk [img]/images/graemlins/smile.gif[/img]
  #625  
Old 02-13-2007, 06:31 PM
suzzer99 suzzer99 is offline
Senior Member
 
Join Date: Nov 2005
Location: guuhhhn inner nets
Posts: 13,634
Default Re: OT: STTF [censored] thread, February

Sweet, I put this at the top of the Stars autoreg... ahk scipt and it seems to work fine.

Run, C:\Progra~1\PokerStars\PokerStarsUpdate.exe, C:\Progra~1\PokerStars\
Run, C:\Progra~1\PokerOffice\PokerOffice.exe, C:\Progra~1\PokerOffice\
Run, C:\poker\handsome\functions.ahk, C:\poker\handsome\


Just FYI it seems like ""s around my exe names was frying out the start command. Another problem with the DOS window was that apparently it runs both apps in the same process. So when PO or PS started in javaw, it was killing the other one trying to start. Stupid.
  #626  
Old 02-13-2007, 06:46 PM
suzzer99 suzzer99 is offline
Senior Member
 
Join Date: Nov 2005
Location: guuhhhn inner nets
Posts: 13,634
Default Re: OT: STTF [censored] thread, February

Hmmmm. Closing the lobbies and the Ok buttons seems to work. But when I push * to go all in, it just enters 99999 in the chat window.
  #627  
Old 02-13-2007, 06:59 PM
DevinLake DevinLake is offline
Senior Member
 
Join Date: Jul 2005
Location: Calgary, Alberta, Canada
Posts: 6,022
Default Re: OT: STTF [censored] thread, February

DDBeats...see this post.

http://forumserver.twoplustwo.com/showth...page=0&vc=1
  #628  
Old 02-13-2007, 07:19 PM
Finnisher Finnisher is offline
Senior Member
 
Join Date: Oct 2006
Location: Åbo
Posts: 1,117
Default Re: OT: STTF [censored] thread, February

[ QUOTE ]
Hmmmm. Closing the lobbies and the Ok buttons seems to work. But when I push * to go all in, it just enters 99999 in the chat window.

[/ QUOTE ]
Try putting your cursor closer to the bet amount box. I don't know if you're using mouse middle-click to enter the 99999, I am and it sometimes enters it to the chat box. Usually I have 99999999999999 in every tourneys' chat box a while after push/fold has started. But it enters it to the bet box after a couple of tries/having the cursor closer to the box.
  #629  
Old 02-13-2007, 07:23 PM
suzzer99 suzzer99 is offline
Senior Member
 
Join Date: Nov 2005
Location: guuhhhn inner nets
Posts: 13,634
Default Re: OT: STTF [censored] thread, February

Ok, I think I know the issue is that my tables are resized. Anyone know an easy way to figure out the coordinates for what I resize my tables to?
  #630  
Old 02-13-2007, 07:32 PM
Finnisher Finnisher is offline
Senior Member
 
Join Date: Oct 2006
Location: Åbo
Posts: 1,117
Default Re: OT: STTF [censored] thread, February

Take a screenshot and paste to paint. Then cut/paste one table to a new one, paint shows coordinates in the bottom right corner.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:49 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.