Created
June 1, 2021 15:01
-
-
Save mutterer/73bf287986b43da82c99f56abb7c1a5f to your computer and use it in GitHub Desktop.
types and evals lines of IJ macro code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
run("Fresh Start"); | |
print ("\\Clear"); | |
eval('script','WindowManager.getWindow("Log").getTextPanel().setFont(new Font("Monospaced",Font.PLAIN,18),true);'); | |
print(""); | |
s=split(File.openAsString("Macrodemo.ijm"),"\n"); | |
for (i=0;i<s.length;i++){ | |
for (c=0;c<s[i].length;c++) { | |
print ("\\Update"+i+2+": "+s[i].substring(0,c+1)); | |
beep(); | |
wait(random()*100); | |
} | |
eval(s[i]); | |
wait(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment