Hi all-
I'm writing a command where it would be really great to preserve a string for later use by other commands.
I'm assuming there no way to define a environment variable (like LAST_STAMP or something) that could be set from a command, would persist, and could be read from a later invocation of another command?
Any other kind of scratchpad memory that I could take advantage of? (I realize I could write a small file somewhere.)
Many thanks in advance!
Charles
On 14 sep 2010, at 02.50, Charles Turner wrote:
I'm writing a command where it would be really great to preserve a string for later use by other commands.
[...]
Any other kind of scratchpad memory that I could take advantage of? (I realize I could write a small file somewhere.)
Maybe you can have a look at two available TM bundles which do something similar, they are called Scratch respectively Scratch Snippets.
Regards,
Carsten
On Sep 14, 2010, at 2:24 AM, Carsten Hoever wrote:
Maybe you can have a look at two available TM bundles which do something similar, they are called Scratch respectively Scratch Snippets.
Hi Carsten-
Thanks for your tip: Hans-Jörg Bibiko's Scratch Snippets is especially lovely.
They are, however overkill for my little 16 character string I want to preserve. So I write to a scratch file in my bundle Support folder.
Many thanks!
Charles