| Author |
Message |
Forum: Scripts Topic: [ARCHIVED THREAD] SciTE4AutoHotkey v2 Stable - Released. |
| almex |
|
Posted: May 12th, 2009, 6:36 pm
|
|
Replies: 154 Views: 40737
|
|
 |
Forum: Scripts Topic: Listview colors for individual lines (e.g. highlighting) |
| almex |
|
Posted: February 4th, 2008, 7:44 pm
|
|
Replies: 25 Views: 15963
|
| Right, I created a function that swaps the Red & Blue values in order to compensate. Since I'm using this in conjunction with your ChooseColor() function (Thanks, BTW!), I was confused as to why it wasn't converting the colors correctly. |
|
 |
Forum: Scripts Topic: Listview colors for individual lines (e.g. highlighting) |
| almex |
|
Posted: February 4th, 2008, 4:59 pm
|
|
Replies: 25 Views: 15963
|
| Sorry for bringing up an old thread, but I've been using this code (thanks again, evl!) and noticed that the color hex is reversed. For instance: 0x008000 shows correctly as green. BUT... 0x0000FF should be blue, but shows as red. 0xFF0000 should be red, but shows as blue. I'll admit I don't fully u... |
|
 |
Forum: Scripts Topic: [function]Fade |
| almex |
|
Posted: January 8th, 2008, 7:45 pm
|
|
Replies: 4 Views: 1655
|
|
 |
Forum: Support Topic: Error on compile: Functions cannot contain functions |
| almex |
|
Posted: October 16th, 2007, 8:49 pm
|
|
Replies: 9 Views: 657
|
Well, I guess it all came down to a bad case of sloppy programming. I've re-written that section to utilize one instance of CMDret_Stream & CMDret_Output and it seems to like me again.
Thanks for leading me in the right direction, engunneer & ManaUser! |
|
 |
Forum: Support Topic: Error on compile: Functions cannot contain functions |
| almex |
|
Posted: October 16th, 2007, 8:26 pm
|
|
Replies: 9 Views: 657
|
| What I don't understand is how the first part of the if statement can pass through, but even after creating a duplicate CMDret_Stream function, I get the same "functions cannot contain functions" error? What function is the else statement within, and how is it different than the if stateme... |
|
 |
Forum: Support Topic: Error on compile: Functions cannot contain functions |
| almex |
|
Posted: October 16th, 2007, 7:32 pm
|
|
Replies: 9 Views: 657
|
Duplicating the functions by adding a 2 after all the names (and global variables) still produces the same error on the same line, even when it's referencing CMDret_Steam2 & CMDret_Output2.
Maybe I should try the CMDret DLL... |
|
 |
Forum: Support Topic: Error on compile: Functions cannot contain functions |
| almex |
|
Posted: October 16th, 2007, 6:57 pm
|
|
Replies: 9 Views: 657
|
| From my understanding of CMDret, the CMDret_Output function is part of CMDret_Stream, and it allows for me to analyze each line of output from a command-line command. In the instance that ManaUser mentioned, that block waits for a ping request to complete and yanks out the IP address from the "... |
|
 |
Forum: Support Topic: Error on compile: Functions cannot contain functions |
| almex |
|
Posted: October 16th, 2007, 3:26 am
|
|
Replies: 9 Views: 657
|
| Yes, I am using CMDRet, which is pasted at the end of my script. It's a straight copy from corrupt's posting: CMDret_Stream(CMDin, CMDname="", WorkingDir=0) { Global cmdretPID tcWrk := WorkingDir=0 ? "Int" : "Str" idltm := A_TickCount + 20 LivePos = 1 VarSe... |
|
 |
Forum: Support Topic: Error on compile: Functions cannot contain functions |
| almex |
|
Posted: October 16th, 2007, 3:06 am
|
|
Replies: 9 Views: 657
|
| I can't seem to figure out why I am receiving the "Functions cannot contain functions" error. This isn't the entire script, but it's the portion I've been working on where I first started to get the error. I've highlighted the line that is causing the error. What's going on here? IfNotInSt... |
|
 |
| Sort by: |