Re: Windows Contextmenu

2012-03-13 Thread Terry Reedy
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 arg

RE: Windows Contextmenu

2012-03-13 Thread Prasad, Ramit
> > 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. > > You're missing out vital information: > > * How have you attached this code to the context menu? What was > the exact registry e

Re: Windows Contextmenu

2012-03-13 Thread Tim Golden
On 13/03/2012 09:41, Szabo, Patrick (LNG-VIE) wrote: I wrote the following Script which I want to run from the open with contextmenu in Windows. For that purpose I used py2exe to make an exe out of it. [... snip ...] Now the script runs fine but I don’t get all arguments from sys.argv. No

Windows Contextmenu

2012-03-13 Thread Szabo, Patrick (LNG-VIE)
Hi, I wrote the following Script which I want to run from the open with contextmenu in Windows. For that purpose I used py2exe to make an exe out of it. import sys, time, webbrowser def main(): for para in sys.argv[1:]: print sys.argv print "##