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
Reference:
Read values of properties from plist through AppleScript !
http://iphonenativeapp.blogspot.com/2013/09/read-values-of-properties-from-plist_30.html
No comments:
Post a Comment