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
  #1  
Old 09-02-2006, 08:02 PM
runstop runstop is offline
Senior Member
 
Join Date: Jan 2005
Location: Ottawa
Posts: 255
Default 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
Reply With Quote
  #2  
Old 09-03-2006, 06:45 AM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default 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.
Reply With Quote
  #3  
Old 09-03-2006, 10:49 AM
runstop runstop is offline
Senior Member
 
Join Date: Jan 2005
Location: Ottawa
Posts: 255
Default 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
Reply With Quote
  #4  
Old 09-03-2006, 11:13 AM
Roland Roland is offline
Senior Member
 
Join Date: Mar 2005
Location: Norwich, UK
Posts: 2,703
Default 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.
Reply With Quote
  #5  
Old 09-03-2006, 01:54 PM
runstop runstop is offline
Senior Member
 
Join Date: Jan 2005
Location: Ottawa
Posts: 255
Default 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
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 11:36 AM.


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