#11
|
|||
|
|||
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. |
#12
|
|||
|
|||
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 :] |
#13
|
|||
|
|||
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. |
|
|