Re: Coding around a known bug - SOLVED (acceptably)

2008-08-02 Thread Steve Cronin
Andrew & Aaron Yes I have read the discussion in the docs related to TransformProcessType(). My bad - here's a more complete snippet: if (...some condition..) { ProcessSerialNumber psn = { 0, kCurrentProcess }; OSStatus returnCode = TransformProcessType(&psn, kPro

Re: Coding around a known bug

2008-08-02 Thread Andrew Merenbach
On Aug 2, 2008, at 9:40 AM, Steve Cronin wrote: Folks: I'm looking for some advice on how to code around a Leopard bug (radar 5905139 & 5599887). Leopard broke the following: OSStatus returnCode = TransformProcessType(&psn, kProcessTransformToForegroundApplication); TransformProcessType

Re: Coding around a known bug

2008-08-02 Thread Charles Srstka
On Aug 2, 2008, at 1:58 PM, Steve Cronin wrote: Charles; Because I need to convert the app from a background (LSUIElement=1) application. I am not aware of an AppleScript way to do that. If there is one, can you share a pointer? Ah, sorry, I misunderstood what you were trying to do. Charl

Re: Coding around a known bug

2008-08-02 Thread Steve Cronin
Charles; Because I need to convert the app from a background (LSUIElement=1) application. I am not aware of an AppleScript way to do that. If there is one, can you share a pointer? Thanks for your time! Steve On Aug 2, 2008, at 1:40 PM, Charles Srstka wrote: On Aug 2, 2008, at 11:40 AM, St

Re: Coding around a known bug

2008-08-02 Thread Charles Srstka
On Aug 2, 2008, at 11:40 AM, Steve Cronin wrote: Folks: I'm looking for some advice on how to code around a Leopard bug (radar 5905139 & 5599887). Leopard broke the following: OSStatus returnCode = TransformProcessType(&psn, kProcessTransformToForegroundApplication); TransformProcessTyp