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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -