Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 01-06-2007, 08:06 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: AHK Problem/Opening Tables

Try this instead of the SendRaw line:
<font class="small">Code:</font><hr /><pre>
ControlSend, SysListView321, % table_name%array_count%, ahk_id%lobby_id%
</pre><hr />
That's the way I've done it in the past. It may not work with the array reference in the call, sometimes AHK is like this. If so, try:
<font class="small">Code:</font><hr /><pre>
tn := table_name%array_count%
ControlSend, SysListView321, %tn%, ahk_id%lobby_id%
</pre><hr />
instead.

Good luck,

dave.
Reply With Quote
  #12  
Old 01-06-2007, 08:09 PM
Sciolist Sciolist is offline
Senior Member
 
Join Date: Jun 2005
Location: London
Posts: 4,135
Default Re: AHK Problem/Opening Tables

[ QUOTE ]
ControlSend, SysListView321, % table_name%array_count%, ahk_id%lobby_id%

[/ QUOTE ]
Aha, that works, thanks. Though I have no idea why, it doesn't exactly stand out as the only part of AHK I don't understand properly :]
Reply With Quote
  #13  
Old 01-06-2007, 08:24 PM
_dave_ _dave_ is offline
Senior Member
 
Join Date: Feb 2005
Location: UK
Posts: 2,628
Default Re: AHK Problem/Opening Tables

Oh, and to your original question [img]/images/graemlins/smile.gif[/img]

[ QUOTE ]

How do I get AHK to not go to the next step in the loop until the table is open?


[/ QUOTE ]

You can use:
<font class="small">Code:</font><hr /><pre>
WinWait, % table_name%array_count%, , 5
</pre><hr />

Which will wait a maximum of five seconds to the table to appear before moving on.

http://www.autohotkey.com/docs/commands/WinWait.htm

dave.
Reply With Quote
Reply


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 02:06 AM.


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