Search found 26 matches

by pmgnt
27 Jul 2020 17:44
Forum: User Help / Bug Reports
Topic: regex?
Replies: 10
Views: 24338

Re: regex?

@Desmanto Wow thanks for ur time again! Yes you are right i need it for single name at one time. In this case the names are numbered email addresses. So i had to change the regex pattern a little. Works great so far... But im not the best with regex and its pattern so maybe you can confirm my adjust...
by pmgnt
25 Jul 2020 14:55
Forum: User Help / Bug Reports
Topic: regex?
Replies: 10
Views: 24338

Re: regex?

@Hit

Another issue with your code..

string = "aaaa09aaaa"

makes

string = "aaaa010aaaa"

instead of "aaaa10aaaa"
by pmgnt
24 Jul 2020 02:40
Forum: User Help / Bug Reports
Topic: regex?
Replies: 10
Views: 24338

Re: regex?

Perfect!

Many thanks to Desmanto for such a detailed explanation!
Also big thanks to Hit for this incredebly short code!

Best regards.
by pmgnt
23 Jul 2020 00:48
Forum: User Help / Bug Reports
Topic: regex?
Replies: 10
Views: 24338

regex?

Hii guys, I need to find the number in a string variable and add 1 Like ; xxxxx_1 becomes xxxxx_2 or xxxx1xxxx becomes xxxx2xxxx ... My code below works fine unless the number has leading zero's. Like; xxxx_01 or xxxx001xxxx Could anyone give me an idea? My code so far; value = "xxxx_1"; //value = "...
by pmgnt
16 Jun 2018 12:35
Forum: General
Topic: sqlite3?
Replies: 5
Views: 14780

Re: sqlite3?

Yes, its for an multi choice contact picker that shows wa contacts only. However, it shows groups too. If you need the jid's aswell you can use /system/xbin/sqlite3 /data/data/com.whatsapp/databases/wa.db "SELECT display_name,jid FROM wa_contacts WHERE is_whatsapp_user == '1'" Now you got contact na...
by pmgnt
13 Jun 2018 16:31
Forum: General
Topic: sqlite3?
Replies: 5
Views: 14780

sqlite3?

root command:

/system/xbin/sqlite3 /data/data/com.whatsapp/databases/wa.db "SELECT display_name FROM wa_contacts WHERE is_whatsapp_user='1' ORDER BY _id;"

Call me stupid but how to make result (stdout) a valid list?

Thanks
by pmgnt
11 Feb 2018 14:38
Forum: User Help / Bug Reports
Topic: Trying to get the day of the week (numeric)
Replies: 7
Views: 23185

Re: Trying to get the day of the week (numeric)

clive.pottinger wrote:
pmgnt wrote:dow = "{getDate(1999,12,31), dateformat, EEEE}"
Unfortunately, this returns "Friday", not 5.
Sorry my bad. Didnt read the question correctly.
by pmgnt
11 Feb 2018 03:52
Forum: User Help / Bug Reports
Topic: Trying to get the day of the week (numeric)
Replies: 7
Views: 23185

Re: Trying to get the day of the week (numeric)

dow = "{getDate(1999,12,31), dateformat, EEEE}"
by pmgnt
30 Oct 2017 18:11
Forum: User Help / Bug Reports
Topic: Plugin
Replies: 2
Views: 9739

Re: Plugin

Oh! looks like i completely missed the exception feature... perfect, thanks

Regards
by pmgnt
30 Oct 2017 15:56
Forum: User Help / Bug Reports
Topic: Plugin
Replies: 2
Views: 9739

Plugin

Lets say the used plugin returns a timeout error how can i use this error as condition instead of stopping the whole flow due to error?

Thanks!