[TxMt] Please help with Project title $TM_ variable

Web Revolution (gMail account) webrevol at gmail.com
Thu Jan 25 17:10:43 UTC 2007


Hi all. I'm trying to set a $TM_ variable in new template to get the
project name (without filepath and extension) but I cannot find a way
to do so. I searched through many messages in this list but I cannot
find any answer to my question.

Setting ${TM_PROJECT_FILEPATH} in the template file configurator,
creating the new template it will output:
/Users/webrevol/Desktop/test.tmproj

Instead of:
/Users/webrevol/Desktop/test.tmproj

how can I get only the filename without extension?
test

Anybody? Many thanks in advance.



More information about the textmate mailing list