On Apr 21, 2010, at 2:33 PM, Herbert Schulz wrote:
>> On Apr 21, 2010, at 11:14 AM, Michael Sharpe wrote:
>>>>> On Apr 21, 2010, at 5:41 AM, Herbert Schulz wrote:
>>>>> Howdy,
>>>>>> Enclosed a Macro for TeXShop called `Open Selection' and bound to Opt-Cmd-O. It allows you to select the name of a file (package, class, included, bibliography, etc.) in a command (e.g., \usepackage) and will search along the standard path for that type of file.
>>>>>> It has worked on my system for many years, including under my present OS X 10.6.3. Someone has reported that it throws and error message on their system.
>>>>>> I'd appreciate it if some folks would test the macro in TeXshop on their systems and let me know the results there. It has been a very useful macro for me.
>>>>>> <OpenSelection.plist.zip>
>>>>>>> Herb,
>>>> The version in your attachment has HTML entities in place of items like & < etc, and if not replaced with characters expected by the Applescript interpreter, you get error messages. I believe it's enough to replace each occurrence of & with & and of < with <.
>>>> Michael
>>>> Howdy,
>> How did you enter the Macro into TeXShop? Did you use Macros->Open Macro Editor... and then Macros->Add macros from file... OR did you copy from the script part of the plist file? If you use the former method the conversion back should take place automatically.
>
I had copied and pasted from the plist file. That menu item "Add macros from file" is one I had never noticed before.
Michael