Bug in A_LoopFileFullPath? Autohotkey -


this autohotkey script produce crazy output:

  • a_loopfilefullpath= e:\fre\private\htmldevelop.stversions
  • a_loopfilefullpath=e:\fre\private\htmldevelop.stversions
  • a_loopfilename=.stversions
  • a_loopfiledir=e:\fre\private\htmldevelop
  • a_scriptdir = e:\fre\private\htmldevelop\autohotkey

but fullpath of .stversions - e:\fre\private\htmldevelop\autohotkey.stversions , not - a_loopfiledir=e:\fre\private\htmldevelop.stversions

sure possible fix that. why happens? bug in autohotkey?

loop, %a_scriptdir%/*.*, 2 , 1 { if(strlen(a_loopfilefullpath) < strlen(a_scriptdir)) { ; thats bullshit continue } ;~ tooltip,a_loopfilefullpath=%a_loopfilefullpath% msgbox,,,a_loopfilefullpath= %a_loopfilefullpath% `n     a_loopfilefullpath=%a_loopfilefullpath% `n a_loopfilename=%a_loopfilename% `n a_loopfiledir=%a_loopfiledir% `n a_scriptdir=%a_scriptdir% } 

it bug, make sure have latest version autohotkey , try a_loopfilelongpath instead of fullpath built-in variable.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -