I am curious about the script that sequentially loads multiple shp files in the folder, selects the upper layer as shown in picture 1, selects "selet objects", accesses the top menu "Shapes" as shown in picture 2, and executes "union shapes"
( picture 1)

( picture 2)
