This is a macro for the outgrowth farm in the garden (length 5 slots, width 1 slot and each bed in 5 blocks). For full use on the block where the farm starts, set the cursor to 90 degrees (it is more convenient to use with the F3 combination) and use the /sethome command, then turn on the macro and at the end of the farm it falls into the abyss and returns to the starting point.
Download the program (Download) and go to the macro editor
press the button «Open file»
and select the downloaded file
assign a macro to a key and run the program