Path to Documents shows raw events also, but that command still
works, so I
just use: <sudo code>
Set foo to characters 1 thru -10 of (path to documents folder)
Todd, should the previous suggestions get you no further, then a
working version of the above approach would be:
----------
set foo to text 1 thru -11 of (path to documents folder as Unicode text)
----------
This assumes, of course, that the user's documents folder hasn't been
renamed. An even safer alternative would be something like:
----------
tell application "Finder" to set foo to container of (path to
documents folder) as Unicode text
----------