[TxMt] <img> & <css> drag commands
Allan Odgaard
allan at macromates.com
Wed Mar 30 13:48:12 UTC 2005
On Mar 30, 2005, at 12:34, Michael wrote:
> Interestingly this morning after re-launching Textmate when I drag and
> drop an image I get:
>
> Error 4: no file was specified
I just noticed that the $TM_DROPPED_FILE variable (and $img) should
have been quoted in the drag command (in case the file path contains a
space), though I'd think this would give another error code.
Could you try to change the drag command simply to:
echo $TM_DROPPED_FILE
That should then output the path dropped (relative to the directory of
the file).
More information about the textmate
mailing list