about this mac->more info->software->applications info required

In Top left apple symbol we see “about this mac”->“more info…”->software->Applications
and I can get which softwares are installed on this mac with version info
make a file on desktop with applescript in .txt file on desktop


try this

do shell script "system_profiler SPApplicationsDataType > ~/Desktop/installedApplications.txt"

Thanks you sir…this really works