![]() |
|
#131
|
|||
|
|||
|
is this version working? i'm having ton's of trouble getting it to work. i had this program working before i whiped my hard drive, but i have no idea what build it was.
the problem i'm having with this version is that i can only navigate up and down, even though the keys are bound correctly, seemingly. also, what does it mean when the key-bindings are in bold? that whole screen/interface seems really buggy. i'm pasting straight from wiki into a notepad file, and then saving as .ahk. any ideas on what i'm doing wrong? |
|
#132
|
|||
|
|||
|
to clarify, keys that don't work are:
w = wait to post left arrow = left right arrow = right anybody else have these problems? |
|
#133
|
|||
|
|||
|
[ QUOTE ]
left arrow = left right arrow = right [/ QUOTE ] Oops. My fault. I'll fix it as soon as possible. I don't know about the "wait to post" one though. Err.. no, not my fault. Working fine here. I dunno. |
|
#134
|
|||
|
|||
|
thanks for looking into it, i'll keep trying
|
|
#135
|
|||
|
|||
|
Could you try using different keys, just to see if it works?
Also, a reboot might help. |
|
#136
|
|||
|
|||
|
rebooted, reinstalled ahk, redid the ahk instructions and had the same issues. i'll try differen't keys. could it be because i don't bind a key to every command in the group?
also another difference between this version and the working version i had before is that there is no 'table navigator' popup thing when you start it, and it seems to start 'on' when i open party. the blue bar is over the first table i open immediately |
|
#137
|
|||
|
|||
|
changed 'wait to post' from 'w' to 't' and still didn't work. also left and right still not working. this seems really weird - i wish i knew anything about this stuff [img]/images/graemlins/smile.gif[/img]
|
|
#138
|
|||
|
|||
|
[ QUOTE ]
could it be because i don't bind a key to every command in the group? [/ QUOTE ] Nope. [ QUOTE ] also another difference between this version and the working version i had before is that there is no 'table navigator' popup thing when you start it, and it seems to start 'on' when i open party. the blue bar is over the first table i open immediately [/ QUOTE ] Yeah... I got rid of that. It was fun to write but basically annoying. [ QUOTE ] changed 'wait to post' from 'w' to 't' and still didn't work. also left and right still not working. this seems really weird - i wish i knew anything about this stuff [/ QUOTE ] Just so you know, you can use modifiers (like Ctrl or Alt). That way you'll be able to type while playing. [img]/images/graemlins/wink.gif[/img] I really don't know what this could be right now and it's getting late - maybe Sam knows. If you're desperate, you could try one of the other navigation modes I guess. [img]/images/graemlins/smile.gif[/img] |
|
#139
|
|||
|
|||
|
im sure i'll get it worked out at some point =) thanks for your help
|
|
#140
|
|||
|
|||
|
Heya!
(I can't login to OC forums for some reason, so I'll post this here. Sorry for crappy tabs/spaces formatting.) I would love a navigation function that moves to next table in clockwise order, so I wrote one. Any chance this could be given a hotkey command, and/or added to the present navigation styles? Adde ; *** ADDE *** ; Move tables clockwise. Should work for combinations of table arrangements where tables are ; (reasonably) aligned by height, with max height of 2 tables. MoveClockwise() { global tables_ID_list, tables_x_list, tables_y_list, tn_tableID, wrapping GoSub, UpdateTables StringSplit, tables_ID_list, tables_ID_list, `, StringSplit, tables_x_list, tables_x_list, `, StringSplit, tables_y_list, tables_y_list, `, ;Go through the table-list and find our table. thisNum = Loop, %tables_ID_list0% { If tables_ID_list%a_index% = %tn_tableID% { thisNum := a_index thisX := tables_x_list%thisNum% thisY := tables_y_list%thisNum% break } } ;If we weren't found, uh, just return. If thisNum = return ; Find out if table is positioned on up or down part of screen. WinGetPos, thisX, thisY, thisW, thisH, ahk_id %tn_tableID% screenH = %A_ScreenHeight% freeY := screenH - (2 * thisH) + 5 ; free vertical space left with 2 tables on height middleY := screenH - thisH - freeY ; middle point for tables being on up or down part of screen minVal := -999999 maxVal := 999999 upLeftMost := maxVal upRightMost := minVal downLeftMost := maxVal downRightMost := minVal upLeftClose := minVal upRightClose := maxVal downLeftClose := minVal downRightClose := maxVal ; Go through all tables and find those close to current table, and those close to screen edges. Loop, %tables_ID_list0% { thatNum := a_index thatID := tables_ID_list%thatNum% ;Not this table If thatNum = %thisNum% continue thatX := tables_x_list%a_index% thatY := tables_y_list%a_index% ; Find tables closest to screen edges (leftmost and rightmost) if (thatY <= middleY) { ; UP SCREEN if (thatX <= upLeftMost) { upLeftMost := thatX upLeftMostID := thatID } if (thatX > upRightMost) { upRightMost := thatX upRightMostID := thatID } } else { ; DOWN SCREEN if (thatX <= downLeftMost) { downLeftMost := thatX downLeftMostID := thatID } if (thatX > downRightMost) { downRightMost := thatX downRightMostID := thatID } } ; Find tables closest to current table (left and right) if (thisY <= middleY) { if (thatY <= middleY) { ; UP SCREEN if (thatX <= thisX and thatX > upLeftClose) { upLeftClose := thatX upLeftCloseID := thatID } if (thatX > thisX and thatX < upRightClose) { upRightClose := thatX upRightCloseID := thatID } } } else { if (thatY > middleY) { ; DOWN SCREEN if (thatX <= thisX and thatX > downLeftClose) { downLeftClose := thatX downLeftCloseID := thatID } if (thatX > thisX and thatX < downRightClose) { downRightClose := thatX downRightCloseID := thatID } } } } ; If a clockwise table exist on same part of screen (up/down), move to that table. ; Otherwise, move to most clockwise table on opposite part of screen. ; Otherwise, move to clockwise table on same part of screen. if (thisY <= middleY) { ; UP SCREEN if (upRightClose <> maxVal) navigatorIDSelect(upRightCloseID, 0) else if (downRightMost <> minVal) navigatorIDSelect(downRightMostID, 0) else if (upLeftMost <> maxVal) navigatorIDSelect(upLeftMostID, 0) } else { ; DOWN SCREEN if (downLeftClose <> minVal) navigatorIDSelect(downLeftCloseID, 0) else if (upLeftMost <> maxVal) navigatorIDSelect(upLeftMostID, 0) else if (downRightMost <> minVal) navigatorIDSelect(downRightMostID, 0) } return } |
![]() |
|
|