mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Use the application id of lyx to address the running LyX instance
This commit is contained in:
parent
983da7d6de
commit
ab877352e7
@ -90,7 +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'
|
||||
test -x /usr/bin/osascript && /usr/bin/osascript -e 'tell application id "org.lyx.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