Outline cropping 1:1
The task is to crop a lot of pictures into a square (1:1) format in Adobe Photoshop 2023 on Mac OS.
The original aspect ratio of the picture is 4:3 (horizontally). By default, the crop tool is inside the image and completely fills it vertically so that the left and right parts of the image are cut off. I need to create an automation that will crop images in such a way that the crop field is outside the image vertically and includes the entire original image, creating empty areas at the top and bottom. I can't figure out how to make such an action. Please help. I understand how to do it manually with a separate picture in a 1:1 ratio or with the same proportions. When creating an action with this cropping, each new picture is cropped differently. How can this be automated to make it work?
Please help! Thank you! 
