[OS X TeX] Open related... macro

Herbert Schulz herbs at wideopenwest.com
Sat Feb 14 17:17:06 CET 2009

On Feb 14, 2009, at 9:37 AM, Martin Costabel wrote:

> I don't know where Finder gets the list of recognized extensions  
> from, but for the "Open" script, you shouldn't rely on Finder's idea  
> of file name extensions. You would need to use some shell script  
> with Unix commands like 'cut' or 'awk', such as for the variable  
> "actualextension" in Peter's example.


Somewhere in that macro I included is the solution that Dick Koch came  
up with. I was having the same problem with looking up files with  
certain extensions (to make a list of files to delete in the case of  
this macro).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the macostex-archives mailing list