[OS X TeX] 1) Search source file when preview is active (`front'). 2) Incremental search
Herbert Schulz
herbs at wideopenwest.com
Sat May 24 02:24:38 CEST 2014
On May 23, 2014, at 7:20 PM, Michael Sharpe <msharpe at ucsd.edu> wrote:
>
> On May 23, 2014, at 4:25 PM, Nicolae Garleanu <garleanu at haas.berkeley.edu> wrote:
>
>> Thanks, Herb, I didn¹t know about Cmd-1, which is an improvement over my
>> circling through TexShop windows using the HyperSwitch shortcut. Very nice.
>>
>> I would still quite like to know, though, how to assign a shortcut to a
>> series of simple TexShop commands (e.g., Cmd-1 Cmd-F, easy though it is to
>> type it directly).
>
> The following applescript shows how:
>
> --applescript
> tell application "TeXShop"
> activate
> tell application "System Events"
> keystroke "1" using command down
> keystroke "f" using command down --important to use lowercase
> end tell
> end tell
>
> This can be entered as a new macro in the Macro Editor (Macros Menu) and given a trigger of your choice.
>
> Michael
Howdy,
You come to the rescue again! :-)
I completely forgot that there was a way to get directly to the menu commands.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the macostex-archives
mailing list