Files
Alte_Skripte/TicketScript/Ausgabe aus der Suche 2.sh
Andreas Vogel 306149a726 test
2026-02-16 15:28:29 +01:00

13 lines
371 B
Bash

#!/bin/bash
# a1=$(mdfind -onlyin /Applications iname *.app)
# osascript -e 'tell app "System Events" to display dialog "$a1"'
#a1=$(mdfind -onlyin /Applications "kMDItemKind == Application" | sort)
a1=$(find /Applications -type d -name '*.app' -prune -print)
title='Wähle deine App aus'
osascript <<-EndOfScript
display dialog "$a1" with title "$title"
EndOfScript