| Author |
Message |
Forum: Support Topic: Calling functions efficiently |
| Predatech |
|
Posted: April 23rd, 2010, 3:17 am
|
|
Replies: 1 Views: 208
|
| I need to call a subroutine with an Xpos and Ypos that are variables. There are two variables associated with each (Xpos,Ypos), the window width (Width), and the screen location (location). Assuming I have two widths, 1024 and 800; and two locations 1 and 2, I have the following Global Variables: Xp... |
|
 |
Forum: Offtopic Topic: Documentation of a new script |
| Predatech |
|
Posted: April 21st, 2010, 12:48 am
|
|
Replies: 7 Views: 526
|
| I tried the Natural Docs Custom Installer mentioned a couple of posts above by Tuncay and Murx. It works pretty well. You have to experiment a little to get it working, but I am impressed with how easy it will create documentation. Here is an example of the HTML generated from the the TestDoc.ahk fi... |
|
 |
Forum: Offtopic Topic: Documentation of a new script |
| Predatech |
|
Posted: April 17th, 2010, 10:04 am
|
|
Replies: 7 Views: 526
|
Thanks!
I have an account already, and I now see how to upload scripts.
Is there some kind of base format for writing a help file? I have seen a few already that look like a wiki. How do I do that? |
|
 |
Forum: Offtopic Topic: Documentation of a new script |
| Predatech |
|
Posted: April 17th, 2010, 4:18 am
|
|
Replies: 7 Views: 526
|
| I have a new AHK script that may be useful for other users. I would like to provide documentation for its use. I would like to create the documentation as I am working on the script. How do I create a page where I can detail the use of its functions?t In addition, how can I post the script for other... |
|
 |
Forum: Support Topic: Clearing a DropDownList |
| Predatech |
|
Posted: April 15th, 2010, 2:35 am
|
|
Replies: 3 Views: 295
|
Thanks Ocean Machine!
After re-reading the documentation, I see how this works now. Just redo the list again with a | (pipe) as the first character and it starts all over again. |
|
 |
Forum: Support Topic: Clearing a DropDownList |
| Predatech |
|
Posted: April 15th, 2010, 2:05 am
|
|
Replies: 3 Views: 295
|
| When creating a Gui DropDownList it is originally Blank unless you specify a default value with a || (double Pipe). Once I have selected a value in the list, it remains visible. I would like this value to reset to "Blank", when I change another control. I have tried: GuiControl,, DdlListVa... |
|
 |
Forum: Support Topic: NumGet() and NumPut() Custom types |
| Predatech |
|
Posted: March 17th, 2010, 5:52 am
|
|
Replies: 7 Views: 377
|
| Since this didn't make sense, having the extra Hex values in the dword, I started a fresh test script using the DumpDwords function to see what was going on. I realized that the original script had a space between the varsetcapacity and the (). It was: varsetcapacity () not varsetcapacity() I guess ... |
|
 |
Forum: Support Topic: NumGet() and NumPut() Custom types |
| Predatech |
|
Posted: March 17th, 2010, 5:14 am
|
|
Replies: 7 Views: 377
|
| Thanks for the DumpDwords function. It explains the odd ASCII characters I've seen. The second dword starts with a value after the varsetcapacity() command, even though I initialized all to 0. The initial value in the second dword is not overwritten by the numput() commands. This value changes on di... |
|
 |
Forum: Support Topic: NumGet() and NumPut() Custom types |
| Predatech |
|
Posted: March 17th, 2010, 4:43 am
|
|
Replies: 7 Views: 377
|
| I did try that, but the output of listvars was as below: Global Variables (alphabetical) -------------------------------------------------- 0[3 of 3]: 0x0 A[0 of 0]: EFFD¬$? B[0 of 0]: EFFD¬$? C[0 of 0]: EFFD¬$? D[0 of 0]: EFFD¬$? E[0 of 0]: EFFD¬$? ErrorLevel[1 of 3]: 0 Myvar[0 of 0]: EFFD¬$? val1[... |
|
 |
Forum: Support Topic: NumGet() and NumPut() Custom types |
| Predatech |
|
Posted: March 17th, 2010, 4:07 am
|
|
Replies: 7 Views: 377
|
| I was just using MyVar = FFEEDDCCBBAA to load some data for testing the numget(). I want to use numput() to load the data, but I had limited success with that also. Thanks for your input on the numget() it explains a lot. I guess I have a part 2 question for the numput(). What am I doing wrong here?... |
|
 |
Forum: Support Topic: NumGet() and NumPut() Custom types |
| Predatech |
|
Posted: March 16th, 2010, 10:21 pm
|
|
Replies: 7 Views: 377
|
| I am trying to store a collection of 3-byte values into a variable and then read back certain ones based on the Offset value. For the Type value, I can get "Char" to return 1 byte, and "Short" to return 2 bytes, everything else seems to return 4 bytes. I would like to get 3 bytes... |
|
 |
| Sort by: |