Re: askopenfilename()

2015-11-28 Thread Ulli Horlacher
Christian Gollwitzer wrote: > Am 28.11.15 um 13:48 schrieb Ulli Horlacher: > > Christian Gollwitzer wrote: > >> Many problems would simply go away if you wrote the whole thing as a GUI > >> program. > > > > Too much hassle. > > The predecessor was a Perl/Tk program and I have had to invest 90% o

Re: askopenfilename()

2015-11-28 Thread Ulli Horlacher
Ulli Horlacher wrote: > One of my Windows test users reports, that the file dialog window of > askopenfilename() starts behind the console window and has no focus. I have got a followup: this happens only with Windows XP, not with Windows 7. Therefore I will ignore this problem :-) -- Ullrich

Re: askopenfilename()

2015-11-28 Thread Laura Creighton
Maybe Wei Li Jiang's hack will work for you? http://stackoverflow.com/questions/3375227/how-to-give-tkinter-file-dialog-focus But then see if it works under MacOS. I fear it will not. Laura -- https://mail.python.org/mailman/listinfo/python-list

Re: askopenfilename()

2015-11-28 Thread Christian Gollwitzer
Am 28.11.15 um 13:48 schrieb Ulli Horlacher: Christian Gollwitzer wrote: Many problems would simply go away if you wrote the whole thing as a GUI program. Too much hassle. The predecessor was a Perl/Tk program and I have had to invest 90% of the programming work into the GUI handling. No fun

Re: askopenfilename()

2015-11-28 Thread Ulli Horlacher
Christian Gollwitzer wrote: > Am 28.11.15 um 11:29 schrieb Ulli Horlacher: > > One of my Windows test users reports, that the file dialog window of > > askopenfilename() starts behind the console window and has no focus. > > On Linux (XFCE) I do not have this problem. > > > > I start it with: > >

Re: askopenfilename()

2015-11-28 Thread Christian Gollwitzer
Am 28.11.15 um 11:29 schrieb Ulli Horlacher: One of my Windows test users reports, that the file dialog window of askopenfilename() starts behind the console window and has no focus. On Linux (XFCE) I do not have this problem. I start it with: Tk().withdraw() file = askopenfilename(title=

Re: askopenfilename() as root window

2007-12-18 Thread Sean DiZazzo
On Dec 18, 6:06 pm, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > On 18 dic, 22:43, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > > > Is there any way to open a Tkinter.askopenfilename() without opening a > > root window alongside the file chooser? > > > I simply want a script to open a dialog and ret

Re: askopenfilename() as root window

2007-12-18 Thread Gabriel Genellina
On 18 dic, 22:43, Sean DiZazzo <[EMAIL PROTECTED]> wrote: > Is there any way to open a Tkinter.askopenfilename() without opening a > root window alongside the file chooser? > > I simply want a script to open a dialog and return the chosen file's > path to stdout. Yes, create the root yourself so