On Nov 17, 2004, at 9:11 PM, Toby Sterrett wrote:
'tell application "FTPeel" open $TM_FILEPATH'
except FTPeel has a bug with converting the unix filepath to a "mac" filepath (users:toby:home:sites:file) because it leaves the initial / in the mac path...i guess what the VIM command above does is remove the first / (i think)...how would I go about doing this as a Textmate command?
Try this: osascript -e "tell application "FTPeel" open `echo ${TM_FILEPATH:1}|tr / :`"