set report to ""
tell application "Finder"
set theApps to (every application file in every folder of folder "Applications" of startup disk as alias list) & (every application file in folder "Applications" of startup disk as alias list)
repeat with thisApp in theApps
set thisApp to contents of thisApp
if package folder of (info for thisApp) and ¬
name of every folder of thisApp contains "Contents" and ¬
name of every folder of folder "Contents" of thisApp contains "Frameworks" and ¬
name of every item of folder "Frameworks" of folder "Contents" of thisApp contains "Sparkle.framework" then
-- add statements to process Info.plist file of thisApp here
set report to (report & thisApp as text) & return
end if
end repeat
end tell
report
It's awfully long.
I was able to get the list of every apps available in Applications folder in the Terminal with :
I'm trying to convert it in a do shell script instruction but at this time I failed.
Yvan KOENIG running El Capitan 10.11.3 in French (VALLAURIS, France) mercredi 10 février 2016 21:50:05