![]() |
|
#81
|
|||
|
|||
|
[ QUOTE ]
When I open it my capture, configure, and delete buttons are all grayed out. I have the newest version of AHK. [/ QUOTE ] Any ideas why? I would like to use this but I can't. I know it's something stupid. |
|
#82
|
|||
|
|||
|
Hi Schuckmer,
<font class="small">Code:</font><hr /><pre> IniRead, gx, %inifile%, Defaults, gx IniRead, gy, %inifile%, Defaults, gy If (gx <= 0) Or (gx >= A_ScreenWidth ) LastGuiX = Center If (gy <= 0) Or (gy >= A_ScreenWidth ) LastGuiY = Center </pre><hr /> [ QUOTE ] What this does is ensures that the Gui will be visible. I had problems previously with your script if I switched from using dual monitors to a single monitor, or if I changed the screen resolution. The script would load but the Gui would be "off-screen". [/ QUOTE ] Great suggestion, I will add this in [img]/images/graemlins/smile.gif[/img] [ QUOTE ] BTW, if you'd rather I PM you with this stuff or do something like this over at overcards.com, let me know. [/ QUOTE ] Posting as you did here in the appropriate thread is probably best - this way anyone confident in their editing can add it in themselves if they like before I get around to adding / testing and updating a new version. Many thanks, dave. |
|
#83
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] When I open it my capture, configure, and delete buttons are all grayed out. I have the newest version of AHK. [/ QUOTE ] Any ideas why? I would like to use this but I can't. I know it's something stupid. [/ QUOTE ] Is "Enable Re-Size and Arrange Tables" ticked? All controls are greyed out if the planner-subroutine is running, since altering saved layouts while planner-subroutine is running can cause instability. dave. |
|
#84
|
|||
|
|||
|
[ QUOTE ]
[ QUOTE ] [ QUOTE ] When I open it my capture, configure, and delete buttons are all grayed out. I have the newest version of AHK. [/ QUOTE ] Any ideas why? I would like to use this but I can't. I know it's something stupid. [/ QUOTE ] Is "Enable Re-Size and Arrange Tables" ticked? All controls are greyed out if the planner-subroutine is running, since altering saved layouts while planner-subroutine is running can cause instability. dave. [/ QUOTE ] Yes I had that box checked. The buttons are grayed out if it is checked? |
|
#85
|
|||
|
|||
|
[ QUOTE ]
Hi Schuckmer, <font class="small">Code:</font><hr /><pre> IniRead, gx, %inifile%, Defaults, gx IniRead, gy, %inifile%, Defaults, gy If (gx <= 0) Or (gx >= A_ScreenWidth ) LastGuiX = Center If (gy <= 0) Or (gy >= A_ScreenWidth ) LastGuiY = Center </pre><hr /> [ QUOTE ] What this does is ensures that the Gui will be visible. I had problems previously with your script if I switched from using dual monitors to a single monitor, or if I changed the screen resolution. The script would load but the Gui would be "off-screen". [/ QUOTE ] Great suggestion, I will add this in [img]/images/graemlins/smile.gif[/img] [ QUOTE ] BTW, if you'd rather I PM you with this stuff or do something like this over at overcards.com, let me know. [/ QUOTE ] Posting as you did here in the appropriate thread is probably best - this way anyone confident in their editing can add it in themselves if they like before I get around to adding / testing and updating a new version. Many thanks, dave. [/ QUOTE ] I knew when I first posted this that I had typed it in wrong and thought I had updated it in the posting. But after your reply, I realize I never did the update. The code should actually be: <font class="small">Code:</font><hr /><pre> IniRead, gx, %inifile%, Defaults, gx IniRead, gy, %inifile%, Defaults, gy If (gx <= 0) Or (gx >= A_ScreenWidth ) gx = Center If (gy <= 0) Or (gy >= A_ScreenWidth ) gy = Center </pre><hr /> |
|
#86
|
|||
|
|||
|
I was having the same issue with the GUI going off screen. For some reason my co-ords were -32000/-32000, I have no idea why though.
Now I have a small issue with how I start it. If I just Double Click the script, it works fine and the GUI pops up in the 0, 0 hole (new co-ords I set for it in the default) but if I start the script using another .ahk.... it is off screen again. bit of a brain twister, cannot see why it would be any diff. anyways, just thought I would mention it. Thanks as always dave, your a monsta! |
|
#87
|
|||
|
|||
|
[ QUOTE ]
I was having the same issue with the GUI going off screen. For some reason my co-ords were -32000/-32000, I have no idea why though. Now I have a small issue with how I start it. If I just Double Click the script, it works fine and the GUI pops up in the 0, 0 hole (new co-ords I set for it in the default) but if I start the script using another .ahk.... it is off screen again. bit of a brain twister, cannot see why it would be any diff. anyways, just thought I would mention it. Thanks as always dave, your a monsta! [/ QUOTE ] I've had similar problems with other scripts. What is most likely happening is that the working directory is different when you launch it from another script. So you actually have two ini files, one in the folder that contains the script itself (when u run the script directly). And most likely another one in the script that you have launching Stars Planner. The way to fix this is to explicitly state what the working directory is. In the Run command, do something like: <font class="small">Code:</font><hr /><pre> Run, F:\My Documents\AHK\Poker\StarsPlanner\StarsPlanner-v0.03b.ahk, F:\My Documents\AHK\Poker\StarsPlanner\ </pre><hr /> The path after the second comma is the working directory. Then your ini file will stay in the correct directory. |
|
#88
|
|||
|
|||
|
[ QUOTE ]
<font class="small">Code:</font><hr /><pre> IniRead, gx, %inifile%, Defaults, gx IniRead, gy, %inifile%, Defaults, gy If (gx <= 0) Or (gx >= A_ScreenWidth ) gx = Center If (gy <= 0) Or (gy >= A_ScreenWidth ) gy = Center </pre><hr /> [/ QUOTE ] I must have been seriously tired or drunk or both when I posted that code, because now I see I made a second error when posting. I'm sure others have figured it out by now, but it should actually read: <font class="small">Code:</font><hr /><pre>IniRead, gx, %inifile%, Defaults, gx IniRead, gy, %inifile%, Defaults, gy If (gx <= 0) Or (gx >= A_ScreenWidth ) gx = Center If (gy <= 0) Or (gy >= A_ScreenHeight ) gy = Center </pre><hr /> |
|
#89
|
|||
|
|||
|
I am trying to use the Full Tilt table re-sizer, but I have no action buttons when it is my turn to act. I have the "enable" button unchecked. Do you know what the problem is?
Thanks. |
|
#90
|
|||
|
|||
|
bump the new update caused [censored] to not work anymore.
|
![]() |
|
|