On 11 Mar 2008, at 15:13, Tobias Jung wrote:
Is a shell script:
res=$(CocoaDialog filesave --title "Save As Copy" --with-file "$TM_FILENAME") cat > "$res"
input: entire doc output: discard
Thank you, but this doesn't work for me (TextMate 1.5.7 under MacOS X 10.4.10).
e.g. I'm editing in the file "test.txt", select your "Save as Copy" bundle, enter "test01.txt" as file name... and a zero byte file called "test01.txt cat" is saved to my hard disk.
For me it's working for months. Did you try my tmcommand I attached?
Or did you retype it. If so, try to set output to "Show Tool Tip" or send me the tmcommand.
--Hans