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: Cameron Knowlton <email@hidden>
- Date: Sat, 02 Apr 2011 01:33:42 -0700
Title: Re: Find all PowerPC Applications in Applications
folder
cooooooool! so, effectively, these are my Rosetta doomed
applications?
Cameron Knowlton
At 3:04 AM -0500 11/04/02, Christopher Stone wrote:
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