So, I’m updating our inventory list at work and made a short script to have the coworkers run which would send me their computer stats. I tested it by sending it to a couple users via iChat. It works fine. Now when I sent out the mass email via Mail, it returns this:
“You cant open the application, “Inventory” because the Classic environment is no longer supported.”
I’m working on a Dual core G5 intel machine. Not everyone has an Intel machine. I saved the script as an application.
What’s going on?
tell application "System Profiler"
set systemProfile to system profile
end tell
tell application "Mail"
set theSubject to "My Computers Specs"
set theText to systemProfile
set theRecipient to "xxx@abc.com"
set theMessage to make new outgoing message with properties {subject:theSubject, content:theText}
tell theMessage
make new to recipient at end of to recipients with properties {address:theRecipient}
send
end tell
activate
end tell
Browser: Safari 525.20.1
Operating System: Mac OS X (10.5)