Re: Find all PowerPC Applications in Applications folder
Re: Find all PowerPC Applications in Applications folder
- Subject: Re: Find all PowerPC Applications in Applications folder
- From: Christopher Stone <email@hidden>
- Date: Sat, 02 Apr 2011 03:04:30 -0500
On Apr 02, 2011, at 01:42, Ronald Hofmann wrote: I wonder how I can get all applications inside my Applications folder which are PowerPC only.
______________________________________________________________________
Hey Ronald,
Try this:
try set ppcReport to alias ("" & (path to desktop) & "PPC_Applications_Report.txt") set cmd to "system_profiler SPApplicationsDataType | grep -B4 -A3 PowerPC > ~/Desktop/PPC_Applications_Report.txt" do shell script cmd tell application "TextEdit" activate open ppcReport end tell on error errMsg number errNum set sep to "==============================" set e to sep & return & "Error: " & errMsg & return & sep & return ¬ & "Error Number: " & errNum & return & sep beep display dialog e end try
-- Best Regards, Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden