Hey there, I've got my Textmate Flex compiling working great with the AS3 bundle, I'm just wondering if there's a way I can clear flashlog.txt everytime I compile so I don't have to keep doing this manually? Cheers :) Ali
-------------------------------------------------------------------------- Alistair Colling Interactive Developer
FPP Brand Communications (Newcastle upon Tyne) The Courtyard Dinsdale Place Sandyford Newcastle upon Tyne NE2 1BD Telephone: +44 (0)191 261 6662 Fax: +44 (0)191 233 2511
This transmission is confidential and intended solely for the person or organisation to whom it is addressed. It may contain privileged and confidential information. If you are not the intended recipient, you should not copy, distribute or take any action in reliance on it. If you have received this transmission in error, please notify the sender at the e-mail address above. FPP Design Limited. Reg. Office: The Courtyard, Dinsdale Place, Sandyford, Newcastle upon Tyne NE2 1BD. Registered Number 3775564. Registered in England and Wales. Visit our website at http://www.fpp.net/
If you mean "clear" as in "absolutely erase", you can modify the tmcommand to overwrite flashlog.txt with a blank text file before opening it. I had this set up once, but that was a while ago.
Simon, could we have a line of code that'll rewrite the flash log, commented out by default? Then we could un-comment it if we prefer that functionality.
-RM
On Jun 5, 2008, at 6:45 AM, Alistair Colling wrote:
Hey there, I've got my Textmate Flex compiling working great with the AS3 bundle, I'm just wondering if there's a way I can clear flashlog.txt everytime I compile so I don't have to keep doing this manually? Cheers :) Ali
I'm just wondering if there's a way I can clear flashlog.txt everytime I compile so I don't have to keep doing this manually?
I'd imagine this would completely empty the log (untested) :
echo "" > "$TM_FLASH_LOG"
see the command 'Open Flash Log in Console' for an example of how to set TM_FLASH_LOG.
Simon, could we have a line of code that'll rewrite the flash log, commented out by default? Then we could un-comment it if we prefer that functionality.
Would adding it to 'Run' would be preferable to 'Build' ?
Cheers, Simon
Simon Gregory wrote:
I'm just wondering if there's a way I can clear flashlog.txt everytime I compile so I don't have to keep doing this manually?
I'd imagine this would completely empty the log (untested) :
echo "" > "$TM_FLASH_LOG"
see the command 'Open Flash Log in Console' for an example of how to set TM_FLASH_LOG.
Simon, could we have a line of code that'll rewrite the flash log, commented out by default? Then we could un-comment it if we prefer that functionality.
Would adding it to 'Run' would be preferable to 'Build' ?
Cheers, Simon
Could someone please tell me where I have to put echo "" > "$TM_FLASH_LOG" to clear the flashlog each time I 'Run' my code? I tried to put it in the Run-and Build-commands without success.
Cheers -Marek
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate