Enable dropping a file onto a Ruby script

后端 未结 4 1061
轮回少年
轮回少年 2020-12-18 11:34

I\'m creating a small ruby script to resize images and save them in a specified directory. I\'d like the application to be as transparent as possible.

Is it possible

4条回答
  •  眼角桃花
    2020-12-18 11:49

    Such behavior would surely be platform specific, as drag-and-drop is implemented by the OS in this case, not by ruby.

    So answering your question: no, it is not possible.

提交回复
热议问题