Split Image Equally
VARIABLES
Set variable
inpImage
to
Input
SCRIPTING

Count
SCRIPTING
SCRIPTING
SCRIPTING
Exit shortcut with
Result

If Result
VARIABLES
SCRIPTING
PHOTOS

Photos
VARIABLES
Set variable
inpImage
to
Input

If Result
VARIABLES
Get

inpImage
MEDIA

Height
VARIABLES
Set variable
inpHeight
to
Input
VARIABLES
Get

inpImage
MEDIA

Width
VARIABLES
Set variable
inpWidth
to
Input
SCRIPTING
Ask
How many horizontal segments?

Provided Input
VARIABLES
Set variable
#HorizontalSegs
to
Input
VARIABLES
Get

inpWidth
MATHS
Number
÷

#HorizontalSegs
Options Under Construction

Calculation Result
MATHS
Round
Input
to
Ones Place

Rounded Number
VARIABLES
Set variable
outWidth
to
Input
SCRIPTING
Ask
How many vertical segments?

Provided Input
VARIABLES
Set variable
#VerticalSegs
to
Input
VARIABLES
Get

inpHeight
MATHS
Number
÷

#VerticalSegs
Options Under Construction

Calculation Result
MATHS
Round
Input
to
Ones Place

Rounded Number
VARIABLES
Set variable
outHeight
to
Input
TEXT

Text
VARIABLES
Set variable
x_coord
to
Input
VARIABLES
Set variable
y_coord
to
Input
SCRIPTING
Repeat

#VerticalSegs

Repeat Results
VARIABLES
Get

inpImage
MEDIA
Y Coordinate

y_coord
Width

inpWidth
Height

outHeight

Cropped Image
VARIABLES
Set variable
verticalSeg
to
Input
VARIABLES
Get

#HorizontalSegs
SCRIPTING
SCRIPTING
Repeat

#HorizontalSegs

Repeat Results
VARIABLES
Get

verticalSeg
MEDIA
X Coordinate

x_coord
Width

outWidth
Height

outHeight

Cropped Image
PHOTOS

Saved Photo Media
VARIABLES
Get

x_coord
MATHS
Number
+

outWidth
Options Under Construction

Calculation Result
VARIABLES
Set variable
x_coord
to
Input

Repeat Results
TEXT

Text
VARIABLES
Set variable
x_coord
to
Input
VARIABLES
Get

verticalSeg
PHOTOS

Saved Photo Media

If Result
VARIABLES
Get

y_coord
MATHS
Number
+

outHeight
Options Under Construction

Calculation Result
VARIABLES
Set variable
y_coord
to
Input

Repeat Results
SCRIPTING
SCRIPTING
Exit shortcut with
Result
Showcuts