| Author |
Message |
Forum: Scripts Topic: Mandelbrot sets |
| TheDanishDragon |
|
Posted: June 8th, 2009, 10:23 am
|
|
Replies: 10 Views: 2086
|
this looks cool, but could you please explain what your intentions are with this "neat" program  |
|
 |
Forum: Suggestions Topic: Control Color Changing |
| TheDanishDragon |
|
Posted: May 29th, 2009, 8:37 pm
|
|
Replies: 3 Views: 1378
|
I support you in this case! I have the same problem.
Offline with red text is good, but when i want it changed to Online it still have red text.. |
|
 |
Forum: Scripts Topic: Simple arrays - the VERY simple way |
| TheDanishDragon |
|
Posted: May 29th, 2009, 8:33 pm
|
|
Replies: 1 Views: 911
|
| Hi all I made a fast way to store variables, array-like. It's using static mode in functions. The variables is then indexed by every dimension with "_" and then the index value. Like: test_dimm1_dimm2_dimm3 It is then easy to load variables since it's indexed.. Here is the Pre-Release: Set... |
|
 |
Forum: Support Topic: Change color of text in GUI? |
| TheDanishDragon |
|
Posted: May 26th, 2009, 11:37 pm
|
|
Replies: 1 Views: 347
|
| hi ahk'ers, atm i am trying to make a on/off text with color. I have no problem changing the text. To make the text i use: Gui, Add, Text, x12 y152 w150 h30 vStatus cRed,Choose A Mode Now comes the problem. The text is red now, then how is the procedure to make it green? BTW - "Online" wit... |
|
 |
Forum: Suggestions Topic: Better array-indexing? |
| TheDanishDragon |
|
Posted: May 22nd, 2009, 4:42 pm
|
|
Replies: 1 Views: 893
|
| Better array-indexing? Normally output from functions like stringsplit, which adds an index number in the end of the variable is a bit messy. How about a filter or something that includes two main parts. Output is changed, so a delimiter is added – like “_”. (var_1,var_2,..) Variables that contains ... |
|
 |
Forum: Support Topic: Local Variables for hotkeys! |
| TheDanishDragon |
|
Posted: May 1st, 2009, 11:55 am
|
|
Replies: 0 Views: 361
|
| HI ALL AHK'ers We all know them, local variables in function and other kinds of procedures. Why not make local variables for hotkey? The decaration procedure might look like: hotkey, a+, A_label, A_Local_Label(group of variables attached to it, as a "Option(s)") /TheDanishD... |
|
 |
Forum: Support Topic: Declare var is possible, but undeclare? |
| TheDanishDragon |
|
Posted: April 25th, 2009, 1:48 pm
|
|
Replies: 4 Views: 435
|
okay then
so a:="" must be the best thing to use then  |
|
 |
Forum: Support Topic: Declare var is possible, but undeclare? |
| TheDanishDragon |
|
Posted: April 25th, 2009, 12:11 am
|
|
Replies: 4 Views: 435
|
| Hi all ahk'ers I was just wondering about an idea. In teams of making a dynamic hotkey-system, I need to unload variables. Either i need to use syntax like: var := "" Or just remove it, and on the other hand, does anyone know about the speed of the unload-var command compared to the method... |
|
 |
Forum: Support Topic: difference between type of hotkey[K-hook vs. reg] |
| TheDanishDragon |
|
Posted: March 29th, 2009, 3:24 pm
|
|
Replies: 5 Views: 412
|
okay.. only one key can be held down at the time, and they are kinda stuck when they are down. it is wasd that has been remaped to trigger up,down.left,right pattern.
/TDD |
|
 |
Forum: Support Topic: difference between type of hotkey[K-hook vs. reg] |
| TheDanishDragon |
|
Posted: March 29th, 2009, 1:57 pm
|
|
Replies: 5 Views: 412
|
i have made 2 different scripts, and they act differently..
They both sends the same and have the same end macanism. for some reason they do not act alike
the difference is that the one that work use type: K-Hook and the one that does not work use: reg
any thought
/TTD |
|
 |
Forum: Support Topic: Varriables does not work as expected. |
| TheDanishDragon |
|
Posted: March 22nd, 2009, 11:28 pm
|
|
Replies: 8 Views: 467
|
as far as i can see there is something wrong with this piece:
Code: loop, %NMethod% { If Key%A_Index%_K = A_Index { Gosub, SendMethod[%A_Index%] } }
any thoughts?
allso this varriable seam to be emty:
Code: Key1_I[0 of 0]:
|
|
 |
Forum: Support Topic: Varriables does not work as expected. |
| TheDanishDragon |
|
Posted: March 22nd, 2009, 10:49 pm
|
|
Replies: 8 Views: 467
|
| i've started on a dynamic hotkey engine for gamming. This is at a very early state, and my problem is that it does not send the left, right and so on the way it's ment to. Any aidead. ;Program Variables | [Hotkey, Method, SendInfo] Key1 = *w,1,Up Key2 = *s,1,Down Key3 = *a,1,Left Key4 = *d,1,Right N... |
|
 |
Forum: Support Topic: A_Index inside two loop's? |
| TheDanishDragon |
|
Posted: March 22nd, 2009, 4:02 am
|
|
Replies: 5 Views: 433
|
i notice that you use % A_Index or A_Index
whats the advantage of that, and whats the difference between:
1. A_Index
2. % A_Index
3. %A_Index% |
|
 |
Forum: Support Topic: A_Index inside two loop's? |
| TheDanishDragon |
|
Posted: March 22nd, 2009, 2:51 am
|
|
Replies: 5 Views: 433
|
well,
1. the point is no to get 9 loops in total
2. i gues i could use msgbox, and ill try that forgot all about that tecnique, because i havent coded ahk for some time now
/TDD |
|
 |
Forum: Support Topic: A_Index inside two loop's? |
| TheDanishDragon |
|
Posted: March 22nd, 2009, 1:19 am
|
|
Replies: 5 Views: 433
|
I am currently about to make a dynamic script, and i need to know something about A_Index's behavior inside two loop's.
An exsample:
Code: loop, 3 { Loop, 3{ test = A_Index ;or %A_Index%, not the most inmportent part.. } }
what would test be? |
|
 |
| Sort by: |