Progressbar with text

Perc(pos, all)
{
  perc := Floor(pos*100//all)
  str = %perc%
  str .= "% ["
  lc := perc//10
  Loop %lc%
  {
    str .= "|"
  }
  Loop % (109-perc)//10
  {
    str .= "."
  }
  str .= "]"
  return str
}

 
snippets/autohotkey/textprogbar.txt · Last modified: 2009-02-03 21:59.34 by mbirth
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki Contents powered by Club-Mate Contents powered by BassDrive.com Labelled with ICRA