Hmm. In my tests on Snow Leopard, the original version works just fine in both Carbon and Cocoa apps. I'm going to post the original for now, pending more information.
Rob, can you please give me step by step instructions on how to reproduce the bug he encountered? On Sep 17, 10:32 pm, Chris Cairns <[email protected]> wrote: > On Sep 18, 12:47 am, "Jon Stovell (a.k.a. Sesquipedalian)" > > <[email protected]> wrote: > > Can someone running Leopard confirm whether Rob's updated version > > still works for them? > > No, it won't work. If you want one script, you may have to use > > -- (Leopard) > if (system attribute "sysv") = 4183 then > delay 0.1 > if ((count target's sheets) > 0) then set target to front > sheet of > target -- Open panels use a sheet > tell target > tell sheet 1 > try > .... > end if > > --- (Snow Leopard, not tested) > if (system attribute "sysv") > 4183 then > .....
