Hi Pavel, no - there is no reason, and this should be corrected. Do you want me to submit a new patch?
Thanks, Benjamin On Aug 13, 2012, at 17:28 , Pavel Sanda <sa...@lyx.org> wrote: > Benjamin Piwowarski wrote: >> Hi, >> >> I would like to propose a patch for LyX that allows using AppleScript >> instead of the LyX server (for better OSX integration). The patch is quite >> simple and can be found there: >> >> http://lyx.lyx.org/trac/ticket/8185 >> >> it basically handles only one AppleScript command >> >> run [COMMAND] with argument [ARGUMENT] >> >> that returns a composite object (string message + integer code). > > Looks innocent on the first sight, if Stephan agrees it can go in. > Is there reason why > #include "support/AppleScript.h" > is not inside > #ifdef Q_WS_MACX ? > > Pavel -- Benjamin Piwowarski LIP6/CNRS, University Pierre et Marie Curie (UPMC) case 169 – 4, Place de Jussieu – 75252 Paris cedex 05 – France benja...@bpiwowar.net http://www.bpiwowar.net/