Jump to content

Harry

Member
  • Posts

    4
  • Joined

  • Last visited

Harry's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. I just want the old behavior back since it worked great for me. I ended up with this script: on alfred_script(q) tell application ":Applications:MacPorts:iTerm2.app" activate tell the first terminal set mysession to (launch session "Default Session") tell mysession to write text q end tell end tell end alfred_script
  2. Thanks Andrew. Unfortunately I won't be able to share my snippets. My date/time setting is the standard US one.
  3. I have the same problem and it's extremely annoying. Here's the exception I caught in Console.app - 7/20/14 1:43:49.265 PM Alfred 2[16861]: An uncaught exception was raised 7/20/14 1:43:49.265 PM Alfred 2[16861]: *** -[__NSCFString stringByReplacingOccurrencesOfString:withString:options:range:]: nil argument 7/20/14 1:43:49.268 PM Alfred 2[16861]: ( 0 CoreFoundation 0x00007fff8d4f525c __exceptionPreprocess + 172 1 libobjc.A.dylib 0x00007fff931ebe75 objc_exception_throw + 43 2 CoreFoundation 0x00007fff8d4f510c +[NSException raise:format:] + 204 3 Foundation 0x00007fff967799cf -[NSString stringByReplacingOccurrencesOfString:withString:options:range:] + 88 4 Foundation 0x00007fff96779960 -[NSString stringByReplacingOccurrencesOfString:withString:] + 89 5 Alfred Framework 0x00000001000d4be1 +[AlfredClipboardManager processSnippet:] + 130 6 Alfred Framework 0x00000001000faa91 -[AlfredWorkflowInputSnippetFilter filterWithQuery:] + 822 7 Alfred Framework 0x00000001000d884e -[AlfredWorkflowAbstractFilter setSearchQuery:] + 240 8 Alfred Framework 0x00000001000be9b4 -[AlfredWorkflow setSearchQuery:] + 265 9 Alfred Framework 0x00000001000bd565 -[AlfredWorkflowManager setSearchQuery:] + 1011 10 CoreFoundation 0x00007fff8d4c3e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 11 CoreFoundation 0x00007fff8d3b782d _CFXNotificationPost + 2893 12 Foundation 0x00007fff9670d7ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 13 CoreFoundation 0x00007fff8d4c3e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 14 CoreFoundation 0x00007fff8d3b782d _CFXNotificationPost + 2893 15 Foundation 0x00007fff9670d7ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68 16 AppKit 0x00007fff91ed31b4 -[NSTextView(NSSharing) didChangeText] + 345 17 AppKit 0x00007fff91ed02c2 -[NSTextView insertText:replacementRange:] + 2325 18 AppKit 0x00007fff91ece978 -[NSTextInputContext handleTSMEvent:] + 8271 19 AppKit 0x00007fff91ecc905 _NSTSMEventHandler + 205 20 HIToolbox 0x00007fff909791d4 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 892 21 HIToolbox 0x00007fff90978787 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 385 22 HIToolbox 0x00007fff9098c880 SendEventToEventTarget + 40 23 HIToolbox 0x00007fff909cdd0d SendTSMEvent + 33 24 HIToolbox 0x00007fff909cd89b SendUnicodeTextAEToUnicodeDoc + 473 25 HIToolbox 0x00007fff909cd595 TSMKeyEvent + 546 26 HIToolbox 0x00007fff909ba2b7 TSMProcessRawKeyEvent + 3807 27 AppKit 0x00007fff91ecc150 -[NSTextInputContext handleEvent:] + 731 28 AppKit 0x00007fff91eab9dd -[NSView interpretKeyEvents:] + 180 29 AppKit 0x00007fff91ecbd6d -[NSTextView keyDown:] + 658 30 AppKit 0x00007fff91e7856b -[NSWindow sendEvent:] + 1843 31 AppKit 0x00007fff91e19b32 -[NSApplication sendEvent:] + 3395 32 Alfred 2 0x0000000100003f08 Alfred 2 + 16136 33 AppKit 0x00007fff91c699f9 -[NSApplication run] + 646 34 AppKit 0x00007fff91c54783 NSApplicationMain + 940 35 Alfred 2 0x00000001000018f4 Alfred 2 + 6388 36 ??? 0x0000000000000001 0x0 + 1 ) Note that I chose to type "s" to activate snippet instead of "snip" since I used it a lot.
×
×
  • Create New...