Processing drag & drop on the desktop

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Sep 21 02:58:26 EDT 2007


En Wed, 19 Sep 2007 03:02:29 -0300, Pierre Quentel  
<quentel.pierre at wanadoo.fr> escribi�:

> then put a shortcut to this script on the desktop
>
> When I drop a file on the shortcut, nothing happens (when I double-
> click on the shorcut, a console window opens and sys.argv is actually
> stored in the file)
>
> Am I missing something ?

The shortcut must point to a *program*, not a *document*.
Change the "shortcut destination" to point to:
c:\path\to\python c:\path\to\your\script.py

-- 
Gabriel Genellina




More information about the Python-list mailing list