Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
readme.md | 2015-01-29 | 2.3 kB | |
dndf.exe | 2015-01-29 | 86.0 kB | |
Totals: 2 Items | 88.3 kB | 0 |
=== Description dndf is a Drag'n'Drop utility. Perform a drag'n'drop of one (or more) file handler given a text corresponding to the full file path. In the standalone mode there is a text-area where you can usually drag'n'drop (or copy-paste) the "full file path" text, from any other program (notepad, browser). In the shell called mode you can execute it by your local web server or similar and pass the path through arguments.
Why dndf.exe? 1. I develop some programs web-based to manage (index/search) my local files, but security policy of browsers denies me to perform drag'n'drop as a 'file handler' object from browser to other desktop applications. 2. I have a list of files in a plain text (.txt, .ini, .log, .pls, .m3u, ...) and I want to perform some operations.
=== System Requirements windows x86 or 64bit .NET Framework 2.0
=== Installation and uninstal No installation is required. Unzip package in a folder named "dndf" and run dndf.exe. It's portable. Delete dndf file or folder for uninstal. dndf.exe doesn't use registry, appdata or temp files.
=== Supported Arguments For normal standalone usage, just double click and run dndf.exe. For called mode (e.g. by local web server), supported arguments are: -f"c:\myfile.txt" -mousepos place Form at current mouse position -x100 place Form at X (left) on the screen (not avaible when -mousepos is used) -y100 place Form at Y (top) on the screen (not avaible when -mousepos is used) -mini Minimal GUI (Form) -new New instance (alpha status) -hide auto-hide in tray bar after drag'n'drop -add add file to currect selection -clear clear current selection
e.g.: dndf.exe -mousepos -min -hide -f"c:\myfile.mp3" start dndf.exe -mini -x100 -y100 -close -f"..."
dndf.exe -clear dndf.exe -add -f"..." dndf.exe -add -x100 -y100 -hide -mini -f"..."
=== ? TopMost
TODO: - just hide instead of close ?
NOTES: - position by browser: in Browser: using event. NO: windows.screenX and screenY // javascript, piece of code: $(this).click(function(event){ // absolute position for dndf var screenX = event.screenX + 4 ; var screenY = event.screenY + 4 ; //... var pos = '-x{0} -y{1}'.format(screenX, screenY) ; // more accuracy than -mousepos // launch command to local web server //... }