Page 2 of 2
Re: Execute JavaScript from Livecode
Posted: Sun May 09, 2021 6:12 pm
by FourthWorld
Does the key need to be run through urlEncode?
Re: Execute JavaScript from Livecode
Posted: Wed Feb 01, 2023 6:53 pm
by Thomas seewald
I know how to do it, but i do not know how to send it here because
"You can’t post image, email or url links that are external to this domain. Please remove 0."
In the text is no URL, No eMail, neither a 0
If i try to attach a screen copy - the file is to large.
Sorry
Re: Execute JavaScript from Livecode
Posted: Wed Feb 01, 2023 6:58 pm
by Klaus
Thomas, you need at least 7 postings before you can post images URLs etc.
Re: Execute JavaScript from Livecode
Posted: Wed Feb 01, 2023 8:41 pm
by FourthWorld
Thomas seewald wrote: Wed Feb 01, 2023 6:53 pm
I know how to do it, but i do not know how to send it here ...
This thread was abandoned more than a year and a half ago. May not be worth posting a new solution here.
Re: Execute JavaScript from Livecode
Posted: Tue Feb 21, 2023 7:00 pm
by PaulDaMacMan
Klaus wrote: Wed Feb 01, 2023 6:58 pm
Thomas, you need at least 7 postings before you can post images URLs etc.
I don't think he was talking about not being able to post on this forums, he was talking about posting using the POST command with this REST API through this web-to-sms texting services, which apparently has certain restrictions? Maybe they have a paid-for / tiered service without those restrictions?
It could be that the parameters just aren't encoded in the format this API expects ('O' ? some JS function returning a nothing somewhere on the servers end?) or maybe the problem is DataURI size limitation (I doubt it) or something like that? (
https://stackoverflow.com/questions/695 ... imitations) The commenter above did say that their file was too big,
Anyway I'm not personally very interested in finding a solution, not looking to do mass texting-of-data scripting.
Re: Execute JavaScript from Livecode
Posted: Tue Feb 21, 2023 10:09 pm
by Thomas seewald
It was actually the problem that I could not post "here". Anyone - Klaus? - explained to me that some possibilities are only given when you have made several posts.
So if this works and a few more posts, then I can certainly help many to the browser widget.
Re: Execute JavaScript from Livecode
Posted: Wed Feb 22, 2023 4:15 am
by PaulDaMacMan
Thomas seewald wrote: Tue Feb 21, 2023 10:09 pm
It was actually the problem that I could not post "here". Anyone - Klaus? - explained to me that some possibilities are only given when you have made several posts.
So if this works and a few more posts, then I can certainly help many to the browser widget.
Ah OK I got confused about wether you meant posting or POST-ing

.
Re: Execute JavaScript from Livecode
Posted: Wed Feb 22, 2023 9:30 am
by Klaus
Well, Paul, never question an admins decision!

Re: Execute JavaScript from Livecode
Posted: Wed Feb 22, 2023 10:55 am
by richmond62
Аlways question everything.
