Dear Tasker Forum,
I cannot find the error in my task. I'm trying to preset a spinner for month selection to the current month. This is the error code I get:
#SEHI: warning: select: bad index: 8, only 0 items
This happens even though the array is populated and the scene is created prior to setting the element value of spinner "Month". It works fine with presetting the number picker "Day" in the same scene. Somehow, the array is not recognized.
Creating the Array %Monat:
A1: Variable Set [ Name:%Monat To:Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember Do Maths:Off Append:Off ]
A2: Variable Split [ Name:%Monat Splitter:, Delete Base:Off ]
A3: Variable Set [ Name:%Heute To:2014,09,05,10,01 Do Maths:Off Append:Off ]
Scene creation and presetting:
A4: Create Scene [ Name: Kalender ]
A5: [X] Element Value [ Scene Name: Kalender Element:Month Value:%Heute2 ]
A6: Element Value [ Scene Name: Kalender Element:Day Value:%Heute3 ]
A7: Show Scene [ Name:Bier Kalender Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button:Off Continue Task Immediately:On ]
Any comments are higly appreciated 8-)
cheers,
Chris
PS: my topic came up in an earlier post, unfortunately without any solution:
https://groups.google.com/forum/#!topic/tasker/HuX8zjPX0RQTasker Version: 4.4u3m
Android: 4.2 Samsung Stock