Navig8or

Window managers, icon programs, widgets, etc.
Post Reply
Message
Author
User avatar
WarMocK
Posts: 169
Joined: Thu 05 Jul 2007, 11:53

#16 Post by WarMocK »

FINALLY! The Drag&Drop widget is finished! :D

<droptarget>Image="/path/to/file" x=$VALUE y=$VALUE color=$COLOR command="$COMMAND"</droptarget>

What it does:
It generates a 128x128 pixel area with a background made of the image you added in it's config string, at the position x-value y-value.
Whenever you drop a file onto it, the widget will get that file's absolute path and launch the given command in association with the dropped file.
You can use it for generating small helpers like:

- a quick archiver that packs the dropped file into an archive
- a d&d mediaplayer (using madplay or whatever)
- an email wizard for sending attachments
- etc.

That pretty much concludes my work on this project for now. Time for the other stuff I still need to work on. Enjoy! ^^

Post Reply