Cheers,
Jamie
On Wed, May 20, 2009 at 7:10 PM, Matt Handler ([email protected]) wrote:
>
does anyone know if there's a way to invoke another textmate command from within a textmate command?
for example, i have a formatted output command that writes info to a clean html window... i want to have a compile command that gathers information, compiles, and then passes that resulting messages to the to the formatted output–the goal being to avoid copying my formatted output to every command that needs to output to an html window.
i assume i can invoke the formatted output command using osascript and passing the gathered information via 'defaults write com...', but this seems like a sloppy fix
ideally i could just do something like: `echo "$gatheredInfoArray" | $TM_BUNDLE_DIRECTORY/MyBundle.tmBundle/formattedOutput.sh`
any ideas??
thanks a bunch,
-matt
for example, i have a formatted output command that writes info to a clean html window... i want to have a compile command that gathers information, compiles, and then passes that resulting messages to the to the formatted output–the goal being to avoid copying my formatted output to every command that needs to output to an html window.
i assume i can invoke the formatted output command using osascript and passing the gathered information via 'defaults write com...', but this seems like a sloppy fix
ideally i could just do something like: `echo "$gatheredInfoArray" | $TM_BUNDLE_DIRECTORY/MyBundle.tmBundle/formattedOutput.sh`
any ideas??
thanks a bunch,
-matt
> _______________________________________________
> textmate-dev mailing list
> [email protected]
> http://lists.macromates.com/listinfo/textmate-dev
>
>
>
_______________________________________________ textmate-dev mailing list [email protected] http://lists.macromates.com/listinfo/textmate-dev
