I got the followin srcipt from the Apple Developer site yet it gives me an error:
tell application “Finder”
set the installed_memory to (computer memory installed) / 1048 div 1000
end tell
The same applies for variations of the same script such as largest memory block and computer memory available. Am new to Applescript and this is the first thing I’m trying (from O’Reilly Nutshell book).
Any ideas? The error is "Expected “,” but found identifier and the word installed is highlighted.