#1
|
|||
|
|||
AHK help please! Selecting a list view item.
Hey guys.. it's funny when I go directly to a poker forum to post questions about AHK. [img]/images/graemlins/smile.gif[/img]
I am trying to do a simple little app for full tilt, and i'm trying to select an item in the main table view list. I don't want to send a bunch of {DOWN} keystrokes as i iterate through the items. Here's my code so far: <font class="small">Code:</font><hr /><pre> ;now find the control ControlGet, List, List,, SysListView323, Full Tilt Poker - Logged In As Loop, Parse, List, `n { //any way to select this item now? } </pre><hr /> Anyone (Roland, Adde) doing this kinda thing in any of their scripts? Cheers, runstop |
#2
|
|||
|
|||
Re: AHK help please! Selecting a list view item.
<font class="small">Code:</font><hr /><pre>
StringTrimLeft, table, a_loopfield, InStr(a_loopfield, a_tab) SendRaw {%table%} </pre><hr /> ... or something like that. |
#3
|
|||
|
|||
Re: AHK help please! Selecting a list view item.
[ QUOTE ]
<font class="small">Code:</font><hr /><pre> StringTrimLeft, table, a_loopfield, InStr(a_loopfield, a_tab) SendRaw {%table%} </pre><hr /> [/ QUOTE ] I thought of this as well, but for some reason FT's list doesn't allow you even click 'F' to get to the first 'F' item in the list. For now, I'm just doing a bunch of Send {DOWN}'s until I get to the right one. takes a while, but it works. [img]/images/graemlins/smile.gif[/img] runstop |
#4
|
|||
|
|||
Re: AHK help please! Selecting a list view item.
Then you're SOL, I'm afraid. AFAIK, sending UP/Down keystrokes is the only alternative (see my last posts in the iWitness thread for the reasons).
It'll probably accept PageUp/Down keys if you need to quickly get to the top, though. |
#5
|
|||
|
|||
Re: AHK help please! Selecting a list view item.
Yeah, that's what I figured. I guess if the list is sorted, I could quickly scan down through. I'll look into that. cheers, runstop |
|
|