Re: keytest.py, undocumented controls

2013-01-25 Thread Scott Kostyshak
On Sat, Jan 12, 2013 at 4:35 AM, Kornel Benko kor...@lyx.org wrote:
 Hi Tommaso,

 I wanted to check the description of controls in hello-world-in.txt with the
 script keytest.py.

 So far, there exist some non-described controls

 Sleep

 Loop

 RaiseLyx

 .

 OK, 'Sleep' was easy.

 But what should 'Loop' do? At least in keytest.py there you can find:

 ...

 elif c == 'Loop':

 outfile.close()

 ...

 ...

 elif c == 'Loop':

 RaiseWindow()

 ...

 For me it looks like the second check will never be reached. This two
 sequences should somehow merge IMHO.

 Still I don't understand the desired usage.



 Kornel

Do Loop and RaiseLyx still need to be documented?

Scott


Re: keytest.py, undocumented controls

2013-01-25 Thread Scott Kostyshak
On Sat, Jan 12, 2013 at 4:35 AM, Kornel Benko  wrote:
> Hi Tommaso,
>
> I wanted to check the description of controls in hello-world-in.txt with the
> script keytest.py.
>
> So far, there exist some non-described controls
>
> Sleep
>
> Loop
>
> RaiseLyx
>
> .
>
> OK, 'Sleep' was easy.
>
> But what should 'Loop' do? At least in keytest.py there you can find:
>
> ...
>
> elif c == 'Loop':
>
> outfile.close()
>
> ...
>
> ...
>
> elif c == 'Loop':
>
> RaiseWindow()
>
> ...
>
> For me it looks like the second check will never be reached. This two
> sequences should somehow merge IMHO.
>
> Still I don't understand the desired usage.
>
>
>
> Kornel

Do "Loop" and "RaiseLyx" still need to be documented?

Scott


keytest.py, undocumented controls

2013-01-12 Thread Kornel Benko
Hi Tommaso,
I wanted to check the description of controls in hello-world-in.txt with the 
script keytest.py.
So far, there exist some non-described controls
Sleep
Loop
RaiseLyx
.
OK, 'Sleep' was easy.
But what should 'Loop' do? At least in keytest.py there you can find:
...
elif c == 'Loop':
outfile.close()
...
...
elif c == 'Loop':
RaiseWindow()
...
For me it looks like the second check will never be reached. This two sequences 
should somehow merge IMHO.
Still I don't understand the desired usage.

Kornel

signature.asc
Description: This is a digitally signed message part.


keytest.py, undocumented controls

2013-01-12 Thread Kornel Benko
Hi Tommaso,
I wanted to check the description of controls in hello-world-in.txt with the 
script keytest.py.
So far, there exist some non-described controls
Sleep
Loop
RaiseLyx
.
OK, 'Sleep' was easy.
But what should 'Loop' do? At least in keytest.py there you can find:
...
elif c == 'Loop':
outfile.close()
...
...
elif c == 'Loop':
RaiseWindow()
...
For me it looks like the second check will never be reached. This two sequences 
should somehow merge IMHO.
Still I don't understand the desired usage.

Kornel

signature.asc
Description: This is a digitally signed message part.