]> git.lyx.org Git - features.git/commit
Patch from Benjamin Piwowar - see ticket #8185:
authorStephan Witt <switt@lyx.org>
Sun, 19 Aug 2012 20:27:20 +0000 (22:27 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 19 Aug 2012 20:27:20 +0000 (22:27 +0200)
commit4674c3e1c55685203a70368b9323ad85a6bbc00f
tree72016ec46ba713c9521455be041705743a1e86a4
parent8bf0652b9c228b63c3a6058180a0e206cf8b793a
Patch from Benjamin Piwowar - see ticket #8185:
In order to interact with native osx applications, AppleScript support is a plus.
Here is a patch that makes LyX respond to a simple command (run) and that allows to communicate with LyX as with the LyX client.
Example of use:
tell application "LyX" to run "server-get-filename" with argument ""'
returns
message:/Users/bpiwowar/newfile1.lyx, code:0
with a message and the error code
development/MacOSX/Info.plist.in
development/MacOSX/LyX.sdef [new file with mode: 0644]
development/MacOSX/Makefile.am
development/qmake/lyx.pro
src/frontends/qt4/GuiApplication.cpp
src/support/AppleScript.h [new file with mode: 0644]
src/support/AppleScript.m [new file with mode: 0644]
src/support/AppleScriptProxy.cpp [new file with mode: 0644]
src/support/CMakeLists.txt
src/support/Makefile.am