Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21580
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Windows Contextmenu |
| Date | 2012-03-13 16:07 -0400 |
| References | <E566C160C7EBF84D83DEA407CCBC386702310125@lngvieexcp001.legal.regn.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.625.1331669268.3037.python-list@python.org> (permalink) |
On 3/13/2012 5:41 AM, Szabo, Patrick (LNG-VIE) wrote: > Hi, > > I wrote the following Script which I want to run from the open with > contextmenu in Windows. > Now the script runs fine but I don’t get all arguments from sys.argv. > > No mather how many files I mark in the explorer I only get one as an > argument. The right-click contextmenu is not a command line. It is more like a list of no-arg* methods to call on the selected file. * or rather, one input arg, with others having default values set when the menu entry is created. Sometimes a second input arg is handled, at least in effect, with a second submenu, but I am not familiar with how those are done in Windows. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Windows Contextmenu Terry Reedy <tjreedy@udel.edu> - 2012-03-13 16:07 -0400
csiph-web