View Single Post
On my system, activate appears to be broken again in build 96394. It's only broken for OmniFocus and only for my account.

Executing the following in "Script Editor"
Code:
tell application "OmniFocus" to activate
or
Code:
tell application "OmniFocus"
	activate
end tell
generates the error "OmniFocus got an error: Some parameter is missing for activate."

If it helps, heres the AEDebug output:
Code:
~ b% AEDebugReceives=1 /Applications/OmniFocus.app/Contents/MacOS/OmniFocus
OCCCrashCatcher: Not enabling crash catching since we're connected to a tty (and thus presumably in gdb)
AE2000 (6463): Received an event:
------oo start of event oo------
{ 1 } 'aevt':  misc/actv (i386){
          return id: 407830626 (0x184f0062)
     transaction id: 0 (0x0)
  interaction level: 64 (0x40)
     reply required: 1 (0x1)
             remote: 0 (0x0)
      for recording: 0 (0x0)
         reply port: 36875 (0x900b)
  target:
    { 1 } 'psn ':  8 bytes {
      { 0x0, 0x125125 } (Script Editor)
    }
  fEventSourcePSN: { 0x0,0x125125 } (Script Editor)
  optional attributes:
    { 1 } 'reco':  - 2 items {
      key 'subj' - 
        { -1 } 'null':  null descriptor
      key 'csig' - 
        { 1 } 'magn':  4 bytes {
          65536l (0x10000)
        }
    }

  event data:
    { 1 } 'aevt':  - 0 items {
    }
}

------oo  end of event  oo------
AE2000 (6463): Received an event:
------oo start of event oo------
{ 1 } 'aevt':  aevt/rapp (i386){
          return id: 15139455 (0xe7027f)
     transaction id: 0 (0x0)
  interaction level: 112 (0x70)
     reply required: 0 (0x0)
             remote: 0 (0x0)
      for recording: 0 (0x0)
         reply port: 34567 (0x8707)
  target:
    { 1 } 'psn ':  8 bytes {
      { 0x0, 0x15015 } (LiteSwitch X)
    }
  fEventSourcePSN: { 0x0,0x15015 } (LiteSwitch X)
  optional attributes:
    < empty record >
  event data:
    { 1 } 'aevt':  - 0 items {
    }
}

------oo  end of event  oo------