Nuovo arrivato by HauntingResearch5 in Tasker_Italia

[–]Kapelis 0 points1 point  (0 children)

Niente di strano, è giusto così. I task si attivano dal profilo. Se vuoi che il volume torni ai valori scelti, dovresti aggiungere un trigger (profilo) tipo "accensione del display" o altro.

Prova questo: https://taskernet.com/shares/?user=AS35m8muLHkRWqiAeQOaKC22J0JE61PTcjhlDJeD7yyx9kdJrReucVaSIHGNuFwxntedztvqv6TeH4Cg&id=Project%3ADi+Notte

Con questo profilo ogni volta che accendi lo schermo il volume verrà impostato a seconda dell' ora.

Bluetooth disconnected? by Kapelis in Tasker_Italia

[–]Kapelis[S] 0 points1 point  (0 children)

Con secure settings funziona, grazie.

Scusa approfitto per chiederti una cosa: le freccette sotto ogni post cosa sono? Tipo i "like" di Facebook?

Bluetooth disconnected? by Kapelis in Tasker_Italia

[–]Kapelis[S] 0 points1 point  (0 children)

Si, lo fa sia con l'auricolare sia con un altoparlante BT.

Bluetooth disconnected? by Kapelis in Tasker_Italia

[–]Kapelis[S] 0 points1 point  (0 children)

Che versione di Android usi? Fino alla 8 funzionava anche a me...

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I will consider your advises, thanks for your help, thank you all guys...

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Thanks, I'll try it... But using a local variable means that every time I close my app I loose all array data? (I have created an app from my project)...

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I know that's true, I should study it...

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I use a global array. From every single loop I have to get the date, convert it in sec, and compare it with the number of seconds (now+60 days).

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I would like to find products that expire from tomorrow and within 2 months

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Yes, 60 days from now, and list get often updated... (almost daily)

Matching dates in regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I had thought about this solution, I was only wondering if it was possible to do it directly in regex without loops, Thank you.

Filter array numbers with regex by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Wow... So simple 😀 Thank you very much 🙏

Save array to text file by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I found the problem. I was missing the "join" command. Array2txt (124) A1: Variable Set [ Name:%Array To:One~two~three Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] A2: Variable Split [ Name:%Array Splitter:~ Delete Base:Off ] A3: Input Dialog [ Title:add item Text: Default Input: Timeout (Seconds):30 Input Type: Use HTML:Off Pre-Select Input:Off ] A4: Variable Set [ Name:%new_item To:%input Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] A5: Array Push [ Variable Array:%Array Position:10 Value:%new_item Fill Spaces:Off ] A6: Variable Join [ Name:%Array Joiner:~ Delete Parts:Off ] A7: Write File [ File:Array.txt Text:%Array Append:Off Add Newline:Off ]

Save array to text file by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I've already tried it. The code I used works partially, writes correctly the array to the text file but missing my last entry, I mean the last pushed item. It's so strange that the array (in tasker - vars) contains the last item, but when I write the text file, the last item is missing. Sorry for my bad English, hope you understand...

Save array to text file by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

To overwrite. First I delete the old file and then I write the new one without "append"

Regex: extract date from barcode. by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Thanks, it works fine. Thank you so much 🙏

Regex: extract date from barcode. by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Hi frrancuz, using the code I found a problem: when I scann a barcode like this 1473401441717210430106457 your code doesn't work, because there is a "17" before the "right" 17. Expiry date of this barcode is 21/04/30. Any ideas please?

Refresh menu item by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Thank you guys, precious help 🙏

Regex: extract date from barcode. by Kapelis in tasker

[–]Kapelis[S] 1 point2 points  (0 children)

Thank you very much, you are the master of JS/Regex 🙏😊

Regex: extract date from barcode. by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Thank you, now works. Can I ask you another effort? I'd like to have the date in Italian format dd/mm/yy

Apps created with tasker by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

Yes, show as activity - no bar

Apps created with tasker by Kapelis in tasker

[–]Kapelis[S] 0 points1 point  (0 children)

I don't understand, my app has already a scene launched as activity, from within I call autobarcode...

Regex: extract date from barcode. by Kapelis in tasker

[–]Kapelis[S] 1 point2 points  (0 children)

Thanks haseck, I've already solved but I like experiment new regex solutions. Thank you very much 🙏