Hi Swami,

Panic over... I found it:

FUNCTION stsLongFilePath pPath
  SWITCH (the platform)
  CASE "MacOS"  -- assumes OS X
    put "set tPath to" && quote & pPath & quote & cr & \
        "set tPath to (POSIX file tPath) as string" & cr & \
        "POSIX path of tPath" into tScript
    do tScript as "AppleScript"
    return (char 2 to -2 of the result)  -- strips quotes
    break
  CASE "Win32"
    return the longfilepath of pPath
    break
  END SWITCH
END stsLongFilePath

now stored in my trusty "Scripter's Scrapbook"
 where I found another, more complex
raw function for this same duty.

but there are a lot more bugs concerning long filenames on OS X!

See nr. 3886 and 4147, but yes this REALLY should be fixed in 2.7.5.



Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to