View Single Post
Yes I do have the quotes in there.

Sorry it was a quick typed post rather than a copy paste from AppleScript.

tell application "System Events"
keystroke "C" using {command down, shift down, option down}
end tell

tell application "OmniFocus"
compact front document
end tell

Console message says: 03/03/2010 13:44:16 Mail[500] rejected messages (rule Digidelivery Posted), count 1

03/03/2010 13:46:17 OmniFocus[280] Presenting modal error: {
code = 2131;
domain = "com.omnigroup.OmniFocus";
userInfo = {
NSLocalizedDescription = "The script handler failed.";
NSLocalizedRecoverySuggestion = "Errors returned from handler <ScriptHandler:0x8b5cf20 com.omnigroup.OmniFocus.ScriptHandler.Mail_with_Ma ilTags NSBundle </Applications/Omnifocus 1.8/OmniFocus.app/Contents/PlugIns/BuiltInClippingHandlers.plugin> (not yet loaded)>: {\n NSAppleScriptErrorAppName = Mail;\n NSAppleScriptErrorBriefMessage = \"AppleEvent timed out.\";\n NSAppleScriptErrorMessage = \"Mail got an error: AppleEvent timed out.\";\n NSAppleScriptErrorNumber = -1712;\n NSAppleScriptErrorRange = NSRange: {2552, 9};\n}";
"com.omnigroup.framework.OmniBase.ErrorDomain.File LineAndNumber" = "/Volumes/Local/Users/Shared/omnibuild/ReleaseProduct/Source/OmniGroup/Applications/OmniFocus/App/AppleScript/ScriptHandler.m:405";
};
}

If that means anything?>?