Autofocus in specific positions

Hello,

I’m new to Micromanager and I was wondering if it is possible to call for autofocus at specific positions from your position list? For example, if have a multi-well plate that has some fiducial markers and you want to call autofocus on those markers. If I use mm.acquisitions().attachRunnable (frame, position, channel, slide), is it possible to have the position be a variable which is link to a for-loop, so it can be changed for after 10 positions?
Let me know if you have other suggestions.
Thanks