[LyX/master] Put the LyX window frontmost automatically on Mac on successful reverse search

Jean-Marc Lasgouttes lasgouttes at lyx.org
Thu Feb 13 17:24:48 UTC 2020


Le 13/02/2020 à 16:21, Stephan Witt a écrit :
> commit 983da7d6dea0af6658debac3cf338c4c6a3c810e
> Author: Stephan Witt <switt at lyx.org>
> Date:   Thu Feb 13 16:38:37 2020 +0100
> 
>      Put the LyX window frontmost automatically on Mac on successful reverse search

>   	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'

I guess the name will not be right if the user decided to rename it. 
Isn't there an internal name like org.lyx.xxx that would be more robust 
to any LyX instance?

JMarc


More information about the lyx-cvs mailing list