[OS X TeX] Alpha, DoScript and non unix like paths

Claus Gerhardt gerhardt at math.uni-heidelberg.de
Wed Jan 5 11:53:11 EST 2005


Thanks to Joachim, the Applescript

tell application "AlphaX"
	set theAnswer to DoScript "win::getInfo " & fileName & " " & "dirty"
end tell

will retrieve the information, if a document has been modified, where 
fileName has to be the full unix path to the file which may not contain 
spaces. If the path contains spaces, then it would be natural to use 
the quoted form of fileName, e.g., a shell script would immediately 
accept this, but DoScript will report an error or run forever in this 
case.

Is there a possiblity to handle non unix like paths?

Claus

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list