Monday, September 30, 2013

Read values of properties from plist through AppleScript !

#Read Bundle Version from info.plist through AppleScript !



set the plistfile_path to "/Users/................/AppName-Info.plist"

tell application "System Events"
set p_list to property list file (plistfile_path)
set releaseVersion to value of property list item "CFBundleVersion" of p_list
end tell

1 comment: