I've named it Shell.AdiumScripts.
Contents->Info.plist looks like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleGetInfoString</key>
<string>shell v0.1</string>
<key>CFBundleIdentifier</key>
<string>com.adiumx.shell.scripts</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>0.5</string>
<key>CFBundleName</key>
<string>shell</string>
<key>CFBundlePackageType</key>
<string>AdIM</string>
<key>Scripts</key>
<array>
<dict>
<key>File</key>
<string>shell</string>
<key>Keyword</key>
<string>/shell</string>
<key>Title</key>
<string>shell</string>
</dict>
</array>
<key>Set</key>
<string>shell</string>
</dict>
</plist>
Code: Select all
on substitute(theMessage)
set theResult to do shell script theMessage
return theResult
end substitute