The whole point of using scripts is to avoid repetitive tasks. The following Lua script will perform the same operation for a given number of Flows.
local app=DoApp.DoApp()
app:doCommand([[Edit.GoToFlow?FlowID=0]])
-- Set the number of Flows in the line below:
numberOfFlows=3
for i=1,numberOfFlows do
app:doCommand([[Edit.SelectAll]])
-- Add your operations here
app:doCommand([[Edit.TransposeSelection]])
app:doCommand([[Edit.GoToNextFlow]])
end
Note that this script just brings up the Transpose dialog, so you’ll have to press Return every time (it should remember the settings). I dare say there’s a way to describe the dialog’s options in the script.