AppleScript : get all the values of a specified key in a plist file -


i'm looking way values specified key in plist file. indeed, want go through plist file , every time read specified key, put value in array example.

thanks lot :)

you can try access values sed. assuming:

enter image description here

set keyvalues paragraphs of (do shell script "sed -en '/cfbundleiconfile/ { n s/.*>([^<]+).*/\\1/ p }' < " & quoted form of "/users/john/desktop/info.plist") 

Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -