trying to get step in --field=num to work

39 views
Skip to first unread message

dave

unread,
Dec 20, 2021, 4:09:57 PM12/20/21
to yad-common
I tried adding a step value of 5 in here

----
yad --title='SNGL-cflext SNGL-clat SNGL-crot SNGL-ck' --center --on-top \
--form --separator="," --item-separator="," --columns=7 \
--field="cflext:BTN" "yad --text='this is a hint' --center --on-top --timeout=1" \
--field="clat:BTN" "yad --text='this is a hint' --center --on-top --timeout=1" \
--field="crot:BTN" "yad --text='this is a hint' --center --on-top --timeout=1" \
--field="CK:BTN" "yad --text='this is a hint' --center --on-top --timeout=1" \
--field="notes"  "" \
--field="notes"  "" \
--field="notes"  "" \
--field="notes"  "" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="flx:num"  "90!0..90!5" \                                              <-- right here
--field="left:num"  "50!0..50" \
--field="left:num"  "90!0..90" \
--field="left:LBL"  "na" \
--field="ext:num"  "90!0..90" \
--field="right:num"  "50!0..50" \
--field="right:num"  "90!0..90" \
--field="right:LBL"  "na" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="subj:CB"  ".,0,(1),(2),(3),(1)o,(2)o,(3)o" \
--field="notes"  "" \
--field="notes"  "" \
--field="notes"  "" \
--field="notes"  "" \
 --button=neuro.c:'bash -c "echo neuro.c >> \/tmp\/related"'  --button=yad-close:1 --button=yad-ok:0
----

but it still steps by 1.  Is there something else I should be doing here, or is this just broken?


thanks, 
- Dave

Misko

unread,
Dec 22, 2021, 2:59:16 PM12/22/21
to yad-common
Shouldn't it be "90,0..90,5" since you defined the item separator to be ","

dave

unread,
Feb 9, 2022, 8:32:13 PM2/9/22
to yad-common
Oh man I never noticed that - thank you!  I was probably taking snippets out from one script to another.

Also, I had my notification settings wrong :(  just saw this now

Reply all
Reply to author
Forward
0 new messages