Since it is based on pushing Fwd and Back buttons on the screen, I don't want to keep showing progress in a message and then switching back to the application to push the next button.
I am trying to use the Tray icon as a crude progress indicator.
If Iteration=1/10 of run, show 10.ico
If Iteration=2/10 of run, clear 10.ico and show 20.ico
etc.
After showing 2 or 3 icons, I am getting an Access Violation in MS. (Running or stepping through manually)
Any suggestions on what/how I should fix?
Code: Select all
Let>ICONFldr=%DESKTOP_DIR%\TESTFOLDER
Let>CurTenth=10
While>CurTenth<100>SetTrayIcon
Let>CurTenth=CurTenth+10
EndWhile
SRT>SetTrayIcon
DelTrayIcon>CurIcon
Let>IconFile=%CurTenth%.ico
AddTrayIcon>%ICONFldr%\%IconFile%,CurIcon,
END>SetTrayIcon
Code: Select all
Let>ICONFldr=%DESKTOP_DIR%\TESTFOLDER
Let>CurTenth=10
While>CurTenth<100>SetTrayIcon
Let>CurTenth=CurTenth+10
EndWhile
SRT>SetTrayIcon
// DelTrayIcon>CurIcon
Let>IconFile=%CurTenth%.ico
AddTrayIcon>%ICONFldr%\%IconFile%,CurIcon%CurTenth%,
END>SetTrayIcon