Guardar la siguiente secuencia de comandos de la aplicación. Copiar y pegar en el Editor de secuencias de Comandos (no automator):
on open myItems
set ds to {"file1", "file2", "file3"} # Enter identifiyers
set scriptlocation to {"dothis.app", "imeanthis.app", "PleaseUpvoteMy.app} # Enter scripts location as POSIX path, respectivly
repeat with myItem in myItems
tell application "Finder"
set theName to the name of (myItems as alias)
end tell
set rptvly to getIndex of theName of ds
do shell script "open " & the quoted form of rptvly
end repeat
end open
to getIndex of i from l
repeat with n from 1 to count l
if (i as string) contains ((l's item n) as string) then return n
end repeat
0
end getIndex
Comentario errores como estoy en Mojave beta y tener problema por el cual no puedo ejecutar sccripts