calling an api from a stack?

2018-06-15 Thread Eric A. Engle via use-livecode
I am trying to make a call to the yandex translate api for a stack i am working on. i could do this pretty handily in HTML but I want to do it in livecode. I tried working with this but using yandex api instead of google

Re: calling an api from a stack?

2018-06-15 Thread Eric A. Engle via use-livecode
This works, sort of: put URL "https://translate.yandex.net/api/v1.5/tr.json/translate?key=trnsl.1.1.20180527T091305Z.7f33f9fb3f66f0bb.d573f1d9a6336a981504916600c45f49255938b3=hello%20world=en-de; into tResult put tResult into card field 1 --put JsonImport(tResult) into tResults --put

unicode & umlauts

2018-06-20 Thread Eric A. Engle via use-livecode
I am working on a stack using Chinese characters and German umlauts. On windows, pasting the clipboard into Metacard (yes) works fine; Pasting into Livecode 9 on Linux fails (it may be my own machine's fonts' fault?) Pasting unicode into livecode 9 on windows also works. So I guess this is my

Re: unicode & umlauts

2018-06-21 Thread Eric A. Engle via use-livecode
Yes, I think my problem with Chinese was I had only simplified and not traditional fonts installed. Anyway I installed some libraries now my paste clipboard ctrl v works. What doesn't work is calling the Yandex api to translate and then send the translation to a livecode field. Even though I

livecode in terminal ; path in linux as alternative to bash?

2019-09-08 Thread Eric A. Engle via use-livecode
I am learning bash (bourne again shell) on linux; i would like to know if it is possible to 1) invoke livecode from the command line 2) how to install livcode into my path 3) whether livecode can be used as an alternative to bash? I http://lexflex.com free full text online law reviews, cases &

text manipulation with Chinese characters (unicode): guide?

2020-09-08 Thread Eric A. Engle via use-livecode
Hi! I would like to be able to copy and paste into fields and scripts Chinese characters, which are of course unicode and then manipulate the resulting strings. Is this possible in livecode? How? Are there any good Recent guides to working with unicode in livecode?

sudo apt-get install livecode

2020-09-13 Thread Eric A. Engle via use-livecode
Chinese characters, which are of course unicode and then manipulate the resulting strings. Is this possible in livecode? How? Are there any good Recent guides to working with unicode in livecode? -- Message: 2 Date: Wed, 9 Sep 2020 10:57:44 +0300 From: Richmond To: "

livecode in terminal? (linux)

2020-08-10 Thread Eric A. Engle via use-livecode
is there any way to invoke the livecode engine from the terminal in linux? suppose e.g. i wanted to run "put 7" or "put 3 + 2" from xterm or such. Is that  possible? If so, how? Or e.g. running a stack or script from the terminal? If so, how? ___