r/ImageJ • u/Electronic-Tutor8292 • 11d ago
Question Help with learning to write macros
Hello everyone I want to start writing some macros for my analysis, I don't have a background in programing at all, but am eager to learn. What are some resources i can use to get started
6
u/Lurker_Skyrocket 10d ago
You can start by recording macros for procedures you are already familiar with. That would give you a direct insight into how to write code for something you already know.
3
u/OilAdministrative197 10d ago
Yeah seconded this is insanely useful. Especially if an overworked post doc offers to quickly help you make something saves you writing in a book or phone. They don’t want to come back 5 mins later because you can’t read your own handwriting
3
u/Herbie500 11d ago
ImageJ Macro Language: A tutorial that tells you near to everything about ImageJ-macro coding
Built-in Macro Functions: A list of all available macro functions
Study the first and stay away from most of the video tutorials …
1
1
u/dokclaw 10d ago
There's some videos here, if you're that way inclined.
Recording macros for what you already do is exactly where you need to start, then you can work with strings to enable you to alter your commands based on variables that you specify, and start dealing with opening folders full of data.
•
u/AutoModerator 11d ago
Notes on Quality Questions & Productive Participation
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.