(imported topic written by pdentremont91)
Hi Everyone,
I need to have a retrieve to pull back the versions of Safari and Firefox on a Mac Environment. I have the Safari Version working fine but can’t seem to get the Firefox one working.
I’m pulling the safari as follows with some if statements to confirm it’s a mac and the file exist.
(string “CFBundleShortVersionString” of dictionary of file “version.plist” of folder ("/Applications/Safari.app/Contents")) as string
The problem is seems to be regarding the root of the of plist isn’t root but Information Property List or something regarding the format of the Info.plist
(string “Bundle name” of dictionary “Information Property List” of dictionary of file “Info.plist” of folder ("/Applications/Firefox.app/Contents")) as string
Any help would be greatly appreciated.
Thanks,
Peter d’Entremont