[TxMt] Open in FTPeel Command
Allan Odgaard
allan at macromates.com
Wed Nov 17 20:35:59 UTC 2004
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 / :`"
More information about the textmate
mailing list