Das ist ganz einfach…

• Öffne Automator.app
• Wähle Schnellaktion aus
• Stelle den Eingang oben so ein (Bild und Farbe kannst du verändern wie du willst)

• Ziehe eine "AppleScript ausführen" Aktion nach rechts in die Aktionenfläche.
• Ersetze den gesamten Code der Aktion durch
Show Plain Text
  1. on run {input, parameters}
  2.   if input is {} then return
  3.  
  4.   set filePath to POSIX path of item 1 of input
  5.   set {TID, text item delimiters} to {text item delimiters, "/"}
  6.   set textItems to text items of filePath
  7.   set text item delimiters to " / "
  8.   set theResult to textItems as text
  9.   set text item delimiters to TID
  10.   set the clipboard to text 2 thru -1 of theResult
  11.   return text 2 thru -1 of theResult
  12. end run

• Speichere die Schnellaktion
• Dann eine Datei oder Ordner auswählen und mit Rechtsklick die Schnellaktion auswählen
----------
Gruss

Stefan