How to change filepath structure using automator (windows to mac)? I use a mac at work and people send me windows file paths all day. Does anyone know how to convert the filepath using applescript in an automator so I can right click in an email and then open it?

Windows path: \\Sfa66\devmrkdt$\Donor Relations\FY14\Events\Invitation\Email

Mac path: smb://Sfa66\devmrkdt$/Donor Relations/FY14/Events/Invitation/Email

This answer was so close How to translate between Windows and Mac -style file locations? but it won't work when there are blank spaces in the file path.
Blank spaces have to be escaped. To escape a special character, like a blank space, you use a forward slash, so " " will become "\ ".

You can modify the script, https://gist.github.com/2211017, link to from the post you linked to by adding the following line set mytext to searchReplace(mytext, " ", "\ ") after line 16.

...
15. set mytext to searchReplace(mytext, "&gt;.", "")
16. set mytext to searchReplace(mytext, "&gt;", "")

17. set mytext to searchReplace(mytext, " ", "\ ")

18. set findIt to "\\"
19. set replaceIt to "/"
...