Re: Simple interactive scripts

2015-07-16 Thread 'Terry Brown' via leo-editor
On Thu, 16 Jul 2015 11:28:03 -0700 (PDT) "Edward K. Ream" wrote: > On Thursday, July 16, 2015 at 2:44:32 AM UTC-5, Israel Hands wrote: > > Hi, I'm writing a very simple script and need to get interactive > input from > > the user. I have read the information in the docs and it seems a > > comp

Re: Simple interactive scripts

2015-07-16 Thread gatesphere
Or, much simpler, leverage the power of the GUI: s = g.app.gui.runAskOkCancelStringDialog(c,'Input','Please input a value:') if s is not None: g.es('user supplied', s) else: g.es('user cancelled dialog') Simple! :) There's also a runAskOkCancelNumberDialog, if you need a float. Ot

Re: Simple interactive scripts

2015-07-16 Thread Edward K. Ream
On Thursday, July 16, 2015 at 2:44:32 AM UTC-5, Israel Hands wrote: Hi, I'm writing a very simple script and need to get interactive input from > the user. I have read the information in the docs and it seems a > complicated, can anyone point me to the simplest working example of a > script tha

Re: @clean cr/lf problem

2015-07-16 Thread Edward K. Ream
On Thu, Jul 16, 2015 at 12:38 PM, _spt_ wrote: > > thank you for the fix. > ​You're welcome. Glad everything is working. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: @clean cr/lf problem

2015-07-16 Thread _spt_
thank you for the fix. Leo version 5.1-final, build 20150715093248, Wed Jul 15 09:32:48 CDT 2015 creates the @clean files with crlf when @lineending crlf is used. many thanks for everyone's help. -- You received this message because you are subscribed to the Google Groups "leo-editor" gro

Simple interactive scripts

2015-07-16 Thread Israel Hands
Hi, I'm writing a very simple script and need to get interactive input from the user. I have read the information in the docs and it seems a complicated, can anyone point me to the simplest working example of a script that uses interactivity? Thanks Al -- You received this message because yo