On 11/14/07, sander <email address hidden> wrote:
> 2007/11/14, Mats <email address hidden>:
> > There are now so many execution paths I get completely lost :-)
>
> I don't think you need to make different dialogs (like the current
> situation). I guess you can re-use many parts of the UI.
>
> > Anyway, I need constant feedback during this process so I don't implement
> something which is not wanted. From the console, do:
> > ::Subscribe::NewDlg xxxxx@yyyyy -auto accept
> > ::Subscribe::NewDlg xxxxx@yyyyy -auto reject
> > just for testing. Do it offline since it is just a fake.
>
> Problem is I'm currently in my "Mac OS X" days and I was not yet able
> to start Coccinella from the console on Mac OS X. Ask me again in a
> couple of days or let me test other things ;-)
Just do menu Info/Debug and up comes the console.
There you enter tcl code as you did in Terminal.
>
> > Splitting up a line as in:
> > * jamesssubscautoacc: In %s seconds, the computer will answer "Yes" to
> next question:\n<bold>May %s see your presence?</bold>\nYou still can select
> another answer.
> > is technically very difficult, and impossible in the message box I use. I
> can use the text without bold or nowlines, however.
>
> We already did something like this for other strings...so??
???
>
> > configs so far:
> >
> > # Set a timer dialog instead of just straight auto accepting.
> > set ::config(subscribe,auto-accept-timer) 0
>
> Not necessary, you can simulate this using the "Sets the number of
> millisecs the dialog starts its countdown." option by entering 0.
It is good practice to have very explicit settings/code as possible.
>
> > # Sets a timer in the standard "ask" dialogs to auto accept.
> > set ::config(subscribe,auto-accept-std-dlg) 0
>
> Is this useful?
That's what I thought you wanted. See for yourself:
::Subscribe::NewDlg junk -auto accept
>
> > # Set a timer dialog instead of just straight auto rejecting.
> > set ::config(subscribe,auto-reject-timer) 0
>
> Not necessary, you can simulate this using the "Sets the number of
> millisecs the dialog starts its countdown." option by entering 0.
See above
>
> > # Sets a timer in the standard "ask" dialogs to auto accept.
> > set ::config(subscribe,auto-reject-std-dlg) 0
>
> Is this useful? (btw: it should be auto reject instead of accept)
>
On 11/14/07, sander <email address hidden> wrote:
> 2007/11/14, Mats <email address hidden>:
> > There are now so many execution paths I get completely lost :-)
>
> I don't think you need to make different dialogs (like the current
> situation). I guess you can re-use many parts of the UI.
>
> > Anyway, I need constant feedback during this process so I don't implement
> something which is not wanted. From the console, do:
> > ::Subscribe::NewDlg xxxxx@yyyyy -auto accept
> > ::Subscribe::NewDlg xxxxx@yyyyy -auto reject
> > just for testing. Do it offline since it is just a fake.
>
> Problem is I'm currently in my "Mac OS X" days and I was not yet able
> to start Coccinella from the console on Mac OS X. Ask me again in a
> couple of days or let me test other things ;-)
Just do menu Info/Debug and up comes the console.
There you enter tcl code as you did in Terminal.
> \n<bold> May %s see your presence? </bold> \nYou still can select
> > Splitting up a line as in:
> > * jamesssubscautoacc: In %s seconds, the computer will answer "Yes" to
> next question:
> another answer.
> > is technically very difficult, and impossible in the message box I use. I
> can use the text without bold or nowlines, however.
>
> We already did something like this for other strings...so??
???
> subscribe, auto-accept- timer) 0
> > configs so far:
> >
> > # Set a timer dialog instead of just straight auto accepting.
> > set ::config(
>
> Not necessary, you can simulate this using the "Sets the number of
> millisecs the dialog starts its countdown." option by entering 0.
It is good practice to have very explicit settings/code as possible.
> subscribe, auto-accept- std-dlg) 0
> > # Sets a timer in the standard "ask" dialogs to auto accept.
> > set ::config(
>
> Is this useful?
That's what I thought you wanted. See for yourself:
::Subscribe::NewDlg junk -auto accept
> subscribe, auto-reject- timer) 0
> > # Set a timer dialog instead of just straight auto rejecting.
> > set ::config(
>
> Not necessary, you can simulate this using the "Sets the number of
> millisecs the dialog starts its countdown." option by entering 0.
See above
> subscribe, auto-reject- std-dlg) 0
> > # Sets a timer in the standard "ask" dialogs to auto accept.
> > set ::config(
>
> Is this useful? (btw: it should be auto reject instead of accept)
>
Typo. See above.