Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21580 > unrolled thread

Re: Windows Contextmenu

Started byTerry Reedy <tjreedy@udel.edu>
First post2012-03-13 16:07 -0400
Last post2012-03-13 16:07 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Windows Contextmenu Terry Reedy <tjreedy@udel.edu> - 2012-03-13 16:07 -0400

#21580 — Re: Windows Contextmenu

FromTerry Reedy <tjreedy@udel.edu>
Date2012-03-13 16:07 -0400
SubjectRe: Windows Contextmenu
Message-ID<mailman.625.1331669268.3037.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web