| View previous topic :: View next topic |
| Author |
Message |
Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Fri May 14, 2004 12:20 pm Post subject: Loop, parse ... |
|
|
I've tried to get/parse for UpperCase characters in an AHK command.
Shrinked sample code:
| Code: | AHKCommand = WinWaitActive
ExcludeChar = abcdefghijklmnopqrstuvwxyz
FileAppend, %AHKCommand% =%A_Space%, C:\AHKAbbreviations.txt
Loop, parse, AHKCommand, , %ExcludeChar%
FileAppend, %A_LoopField%, C:\AHKAbbreviations.txt
Exit |
Result should have been: WinWaitActive = WWA
That's what I've got: WinWaitActive = WWA8D
AHK: 1.0.10
W2K
With a prevoius code I've had this output:
WinWaitActive = WWA">&;</>
< ="">< ="#6666CC" ="V" ="-: 18">
%% </></>
< ="">< ="#6666CC" ="V" ="-: 18">
S L %%:%% </></>
< ="">< ="#6666CC" ="V" ="-: 18">
P %% </></>
</>
</>

Last edited by Beastmaster on Fri May 14, 2004 2:30 pm; edited 1 time in total |
|
| Back to top |
|
 |
Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Fri May 14, 2004 1:14 pm Post subject: |
|
|
| There's always that trailing ... 8D regardles if the variables content will be changed. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Fri May 14, 2004 1:26 pm Post subject: |
|
|
Thanks for reporting this. Hopefully, it's fixed now:
A bugfix has been applied to the 1.0.10 Installer, thanks to Beastmaster:
Fixed a bug in parsing loops that occurred only when the delimiter list was empty but the omit-list was not. |
|
| Back to top |
|
 |
Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Fri May 14, 2004 2:36 pm Post subject: |
|
|
Thx Chris. (your average support rating: 5/5)  |
|
| Back to top |
|
 |
|