Re: Is there any interest in a table rotation AHK script?
Not bad, but we take two complete different approaches. I like to have my generic functions completely ignorant of any site specific information. That way when I have to change something for a site, I just go to the Site's initialization function and change the necessary things there.
So my tiling function contains this to resize tables:
<font class="small">Code:</font><hr /><pre>
WinGetClass, class, ahk_id %id%
[some code in between to determine the size and position (x, y, wh, ht)]
WinMove, ahk_id %id%, , x, y, wh, ht
if Tile_Drag%class% {
WinActivate, ahk_id %id%
MouseClickDrag, Left, wh-3, ht-3, wh-2, ht-2
}</pre><hr />
where Tile_DragPokerStarsTableFrameClass would be a variable set to true in the Poker Stars initialization function.
|