mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Put the LyX window frontmost automatically on Mac on successful reverse search
This commit is contained in:
parent
aca95619b8
commit
983da7d6de
@ -90,6 +90,7 @@ if [ -n "$LYXPIPE" -a -p "$LYXPIPE".in ]; then
|
||||
while read line ; do
|
||||
echo LyX said: $line
|
||||
done < "${LYXPIPE}".out || { echo "Cannot read from lyxpipe." ; exit 2 ; }
|
||||
test -x /usr/bin/osascript && /usr/bin/osascript -e 'tell application "LyX" to activate'
|
||||
else
|
||||
echo "Our best guess sets lyxpipe as ${LYXPIPE}"
|
||||
echo "But the lyxpipe could not be found."
|
||||
|
Loading…
Reference in New Issue
Block a user