Search found 918 matches

by reinaldocrespo
Wed Feb 24, 2021 12:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 8
Views: 14414

Re: How to Curl for text messaging

Maurizio; I have not used it for whatsApp but the only thing that changes is the url. Same for voice or automated Chat. With my sample all you would have to change is the url to consume any of their other services via Curl. They have samples showing how to use their services using Node Js, PHP, Ruby...
by reinaldocrespo
Tue Feb 23, 2021 8:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 8
Views: 14414

Re: How to Curl for text messaging

Thank you very very very much. I hope to see you all this time around the sun. Below is short sample on how to send text messages with Twilio using curl. #include "hbcurl.ch" #define ACCOUNT_SID  "XxxxxxxxXxXXXX" #define AUTH_TOKEN   "Twilio-Acc-Token #define TEL_FROM     &q...
by reinaldocrespo
Mon Feb 22, 2021 7:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 8
Views: 14414

Re: How to Curl for text messaging

Hello Maurizio;

Thank you for the code. It helps a lot.

How much guitar are you playing lately?

I decided to take the time everyday to practice. I'd love to see you play again and steal some of your songs. :-)

Reinaldo.
by reinaldocrespo
Mon Feb 22, 2021 12:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: How to Curl for text messaging
Replies: 8
Views: 14414

How to Curl for text messaging

Hello everyone; I pretend to use hb_curl() to send SMS messages with Twilio. Here is an example they provide on how to send a message using command line: curl -X POST https://api.twilio.com/2010-04-01/Accounts/$TWILIO_ACCOUNT_SID/Messages.json \ --data-urlencode "From=+15017122661" \ --dat...
by reinaldocrespo
Fri Feb 19, 2021 4:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Transym OCR wrapper functions for Harbour
Replies: 29
Views: 73773

Re: Transym OCR wrapper functions for Harbour

Hello;

I think you can download from here: https://transym.com/download/

I tried emailing the .dll to Enrico but nowadays you can't send a .dll even you alter the extension.

Let me know if download works for you.

Thank you,

Reinaldo.
by reinaldocrespo
Thu Feb 18, 2021 11:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Transym OCR wrapper functions for Harbour
Replies: 29
Views: 73773

Re: Transym OCR wrapper functions for Harbour

Hello Damlanodec; I just realized I had already shared sample code to test Transym on this same thread. It is the first post on this thread. At the very top. Now that I look at it; the beauty of that code is that it is a self-contained minimized sample app-code that produces results. Notice on my sa...
by reinaldocrespo
Wed Feb 17, 2021 2:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Transym OCR wrapper functions for Harbour
Replies: 29
Views: 73773

Re: Transym OCR wrapper functions for Harbour

Hello Mr. Damianoodec; Yes, I'm using Transym. I used the free google OCR libs (Leptonica and Tesseract) for years before moving to Transym. Tresseract works pretty well depending on the document being fed and it can be trained so it gets better with time if documents and fonts are the same type. Th...
by reinaldocrespo
Wed Nov 18, 2020 12:36 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sending and receiving SMS via Amazon webservices
Replies: 2
Views: 1680

Re: Sending and receiving SMS via Amazon webservices

Hello Marc and thank you for the tip. I will take a look today.

I also got a tip pointing me to Twilio. I will let you know how it goes.

Yes, I'm in United States.


Reinaldo.
by reinaldocrespo
Tue Nov 17, 2020 7:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sending and receiving SMS via Amazon webservices
Replies: 2
Views: 1680

Sending and receiving SMS via Amazon webservices

Hello everyone; I'm looking to send and receive text messages (SMS). The idea is to send medical appointment reminders to patient's mobile device and receive back an appointment confirmation or cancelation via key words that the patient would text back. SMS is NOT WhatsApp. Amazon has a service call...
by reinaldocrespo
Thu Jan 30, 2020 11:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Sort a Tree by a column n on oItem:Cargo
Replies: 4
Views: 2325

Re: xBrowse Sort a Tree by a column n on oItem:Cargo

Hello everyone; Here is the method I wrote to sort my xbrowse tree by any column. It has been tested and it works really nice. METHOD Sort( nCol ) CLASS TBatchPayments    LOCAL oItem    := ::oTree:oFirst    LOCAL oPrev    := oItem:oPrev    LOCAL oNext    := ::oTree:oLast:oNext    LOCAL aItems   := {...
by reinaldocrespo
Thu Jan 30, 2020 4:47 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Sort a Tree by a column n on oItem:Cargo
Replies: 4
Views: 2325

Re: xBrowse Sort a Tree by a column n on oItem:Cargo

Hola Marcelo; ¿Así que sigas vivo? Supongo que así dirás de mi. :-) Si esto es algo que no existe como sospecho entonces se me ocurre extender la clase TLinkList para añadir un sort por alguna otra columna que no sea necesariamente la primera (cPrompt) --y creo que esto es lo sugieres. ¿Correcto? Me...
by reinaldocrespo
Wed Jan 29, 2020 11:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Disable xbrowse search
Replies: 5
Views: 1468

Re: Disable xbrowse search

Perhaps you can change oBrw:bSeek to something like this:

Code: Select all

...
oBrw:bSeek := { |c| .F. }
...
 
Reinaldo.
by reinaldocrespo
Wed Jan 29, 2020 10:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Sort a Tree by a column n on oItem:Cargo
Replies: 4
Views: 2325

Re: xBrowse Sort a Tree by a column n on oItem:Cargo

After a while without any suggestions, I'm thinking perhaps I did not explain my question well enough. Suppose I want to order this tree below by the 2nd column of each parent branch (that branch is the state name with folder bmp). This sample code is from xbrwTree.prg on the Samples folder. Notice ...
by reinaldocrespo
Wed Jan 29, 2020 9:34 pm
Forum: FiveWin for Harbour/xHarbour
Topic: STRTRAN case
Replies: 11
Views: 7013

Re: STRTRAN case

Hello everyone; When searching for text, I find that nothing is as good as using regular expressions. hb_RegExAll() --my favorite, will search for a regular expression on any string and return a double dimensioned array with all matches. Once you do know the matches you could potentially use StrTran...
by reinaldocrespo
Tue Jan 28, 2020 9:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Sort a Tree by a column n on oItem:Cargo
Replies: 4
Views: 2325

xBrowse Sort a Tree by a column n on oItem:Cargo

Hello everyone; I'm looking to sort an xbrowse displaying a tree. Sorting should be by cargo contents [n] on Tree item branch. For example: suppose I wish to sort this tree by oItem:Cargo[ 2 ] and then refresh the xbrowse showing the newly ordered tree.    ::oTree := NIL    TREE ::oTree             ...