Re: [F-Script-talk] problems with SBApplication
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2008-06-25 21:52:29
|
David, Thanks for your example. There is a regression in F-Script 2.0 alpha 3 with regard to cascades (i.e., not specifically related to the use of the scripting bridge). I'm going to look at this further and fix it for alpha 4. Meanwhile, avoid using cascades altogether. Philippe Le 25 juin 08 à 15:37, David J. Goehrig a écrit : > I managed to work around it but the general gist is: > > sba := SBApplication applicaitonWithBundleIdentifier: > 'com.apple.quicktimeplayer'. > mov1 := (sba open: '/Users/dave/Desktop/Sing.alternate.mov') at: 0. > mov1 selectAt: 9000 to: 18000; copy. > > Crashes. But: > > sba := SBApplication applicaitonWithBundleIdentifier: > 'com.apple.quicktimeplayer'. > mov1 := (sba open: '/Users/dave/Desktop/Sing.alternate.mov') at: 0. > mov1 selectAt: 9000 to: 18000. > mov1 copy. > > Works! > > However: > > mov2 := (sba open: '/Users/dave/Desktop/target.mov') at: 0. > mov2 setCurrentTime: mov2 duration; paste. > > Also works! > So it seems to be some sort of weird interaction between message > passing, the scripting bridge, and the specific set of operations. > > I haven't had time to delve into it further. > > Dave > > > > -- > > David J. Goehrig > > > Email: da...@ne... > > |