| Author |
Message |
Forum: Support Topic: Need help w/ getting dropdownbox from var in 2nd GUI |
| xxmarkxx |
|
Posted: February 15th, 2012, 1:40 pm
|
|
Replies: 6 Views: 150
|
| Thank you guys so much. I finally got one problem fixed. I added/changed somes lines (marked in red) and the dropdownlist in the main window is now displaying the contents of %KWList% . Now I only have two issues left. First, when the contents of the variable KWList is sent to the dropdownlist, the ... |
|
 |
Forum: Support Topic: trying to send a variable |
| xxmarkxx |
|
Posted: February 15th, 2012, 11:33 am
|
|
Replies: 3 Views: 80
|
|
 |
Forum: Support Topic: Need help w/ getting dropdownbox from var in 2nd GUI |
| xxmarkxx |
|
Posted: February 15th, 2012, 10:29 am
|
|
Replies: 6 Views: 150
|
| So I made changes (highlighted in red) and still the dropdownlist is blank. I just can't figure out what is going wrong. 3ButtonApplyKeywordListAndExit: GuiControlGet, Kwl_MainEdit [color=red]Gui, Submit, NoHide[/color] KWList = %Kwl_MainEdit% [color=red]GuiControl, , CurrKw, |%KWList%[/color] Kwl_F... |
|
 |
Forum: Support Topic: Need help w/ getting dropdownbox from var in 2nd GUI |
| xxmarkxx |
|
Posted: February 14th, 2012, 8:00 pm
|
|
Replies: 6 Views: 150
|
| I did try that but without the "|". And it didn't work. I originally tried puting that line under the line " KWList = %Kwl_MainEdit% ". Should that have worked? I'll give it another try with the "|" in a few minutes. Ok, I tried that line again and the dropdownlist is s... |
|
 |
Forum: Support Topic: Need help w/ getting dropdownbox from var in 2nd GUI |
| xxmarkxx |
|
Posted: February 14th, 2012, 7:38 pm
|
|
Replies: 6 Views: 150
|
| So basically I wrote two sets of code, each a GUI. The first GUI has an edit box and a dropdownlist. The second is an editbox and a button. I then combined the two GUI into one code. When run, there is a button on the first GUI that opens the second GUI. Here is what I want the code to do. When run,... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 16th, 2011, 3:32 am
|
|
Replies: 20 Views: 397
|
| LOL Thanks Leef me. :) Yea I know * means multiply in math. lol I for some reason was dead set on getting StringReplace to return a search that resulted in it finding everything and not excluding anything if that makes sense. After scratching my head I thought "I'll try a wildcard". LOL To... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 16th, 2011, 3:14 am
|
|
Replies: 20 Views: 397
|
| Ok, If in an expression a % is used to enclose a variable, that means that within an expression a % has a special use. Correct? So, if you need a literal % it would need an escape character ie the `. I'm pretty sure all literal % an commas need an escape character with the exception of a message box... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 16th, 2011, 2:35 am
|
|
Replies: 20 Views: 397
|
| Errm... Ok..., Don't see the need for the sarcasm as I was simply trying to answer your question. Actually I DID read your post and I did see your comment on the concat operator. Looking at the section I quoted from you there didn't seem to be much left to question other than maybe the concat. :roll... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 16th, 2011, 12:51 am
|
|
Replies: 20 Views: 397
|
| , (literal comma). Note: Commas that appear within the last parameter of a command do not need to be escaped because the program knows to treat them literally. The same is true for all parameters of MsgBox because it has smart comma handling. So get this... I tried not escaping the , with the ` and ... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 16th, 2011, 12:42 am
|
|
Replies: 20 Views: 397
|
Are you looking for "Concatenate" listed under "Variables and Expressions" in the Docs?
nimda wrote: Code: string := "abc" MsgBox % string . `% ; abc%  Where is this documented??? |
|
 |
Forum: Support Topic: Showing a GUI over a fullscreen game? |
| xxmarkxx |
|
Posted: November 15th, 2011, 11:44 pm
|
|
Replies: 3 Views: 202
|
| I COULD be wrong, but that last I knew you could not do this with AHK. As for the D3D method, I'd personally stay away from anything that messed with D3D, OpenGL, ect. seems like you could run the risk of getting detected as cheating and get banned. Again, I could be wrong but something to consider. |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 15th, 2011, 6:45 pm
|
|
Replies: 20 Views: 397
|
| I have seriously GOT to stop trying to use AHK with no sleep. lol Was beating my head against the wall for an hour trying to do something the hard way when the obvious was right in front of me. Thank you so much for helping out with this. I feel silly now. On a side note, even though I didn't need t... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 15th, 2011, 6:25 am
|
|
Replies: 20 Views: 397
|
| Wow, fast reply! Thank you. I did add the msgbox as suggested. I entered an input that would give me a result of 100.00%. The result was that the value of KwDnsty is 100.00 as expected. To answer your other question, I used the * as my SearchText parameter because I want it to return all possible va... |
|
 |
Forum: Support Topic: Help with literal % using StringReplace Please help,,,, |
| xxmarkxx |
|
Posted: November 15th, 2011, 5:22 am
|
|
Replies: 20 Views: 397
|
| Here is a small snipet of the code I'm working on. Basically I'm doing a few math functions on some variables to reach a final total that is a percentage. This percentage reads out correctly in the GUI text control. The percentage is in and must remain in a two decimal place format. example 5.25 or ... |
|
 |
Forum: Support Topic: Need help editing .txt file |
| xxmarkxx |
|
Posted: February 4th, 2011, 8:44 pm
|
|
Replies: 8 Views: 215
|
| Ah Leef_me! It worked! Thank you so much, you just saved my mind from certain destruction. lol |
|
 |
| Sort by: |