[v1/2] broken PostMessage pause script example
Re: [v1/2] broken PostMessage pause script example
The doc is correct. Both ID_FILE_PAUSE and ID_TRAY_PAUSE can be used to pause another script. See source code in script2.cpp, line 5918:
Code: Select all
case ID_TRAY_PAUSE:
case ID_FILE_PAUSE:
if (g->IsPaused)
--g_nPausedThreads;
else
++g_nPausedThreads; // For this purpose the idle thread is counted as a paused thread.
g->IsPaused = !g->IsPaused;
g_script.UpdateTrayIcon();
return true;
Re: [v1/2] broken PostMessage pause script example
i was actually posting 65406(which turns out is listlines) instead of 65403
Spoiler