Disabling Quickedit may not be an option unless there is a way to set that when I create the shortcut (see other post on shortcuts.)
OK, after writing that I removed the two calls. And now I am sure that it is intermittent. What happens is that label is called 2 or 3 times in a row. Sometimes it will make it through all of them and continue as it should, while other times it freezes up on the first or second time. Is there any way to tell exact what is causing cmdwiz to freeze?
btw, I'm experimenting with cmdwiz to see if it can be used in place of this section of code for getting the xy coords.
Code: Select all
for /f "tokens=*" %%A in ('MacroCMD-x64.exe /r /m /d:63 /s ^|findstr "x"')do set xystring=%%A
for /F "tokens=2,3 delims= " %%A IN ("!xystring!") DO (
for /F "tokens=1,2 delims==" %%D IN ("%%A") DO set /a x=%%E
for /F "tokens=1,2 delims==" %%D IN ("%%B") DO set /a y=%%E)
exit /b