I've worked with Javascript and other website based scripts, but never anything OS related.
So, my question is how do I create a program that will run when I drag another file onto it?
I have Gifsicle (a command line application that makes gifs) and I want to be able to just drag and drop the images I want to edit (all the images will be edited with the program the same way, so yeah)
This is what I have to type in to the command line to make it work:
And obviously I need to be in the directory with all the files.
So, is there anyway I can make this happen?
So, my question is how do I create a program that will run when I drag another file onto it?
I have Gifsicle (a command line application that makes gifs) and I want to be able to just drag and drop the images I want to edit (all the images will be edited with the program the same way, so yeah)
This is what I have to type in to the command line to make it work:
Code:
./configure --disable-gifview --disable-gifdiff
make
cd src
./gifsicle -bl /path/to/image.gif
And obviously I need to be in the directory with all the files.
So, is there anyway I can make this happen?