http://www.autohotkey.com/board/topic/20790-copyfileex-dllcall-and-registercallback
file1:="movetest.exe" file2:="movetest2.exe"
address :=registercallback("update") dllcall("CopyFileEx",str,file1,str,file2,Uint,address,Uint,0,int,0,int,0)
return
Esc::ExitApp update(var1lo,var1hi,var2lo,var2hi,var3lo,var3hi,var4lo,var4hi,var5,var6,var7,var8,var9){ progress,% (var2lo/var1lo) * 100,,% (var2lo/var1lo) * 100 " %",copying file return 0 }
The link above is exactly what i needed. Someone on the autohotkey forum posted the answer, thought I would also share it with you guys.