13 lines
371 B
Bash
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 |