Execute JavaScript from Livecode

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Execute JavaScript from Livecode

Post by FourthWorld »

Does the key need to be run through urlEncode?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Thomas seewald
Posts: 7
Joined: Mon Sep 26, 2016 12:06 pm

Re: Execute JavaScript from Livecode

Post 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
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Execute JavaScript from Livecode

Post by Klaus »

Thomas, you need at least 7 postings before you can post images URLs etc.
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Execute JavaScript from Livecode

Post 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.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
PaulDaMacMan
Posts: 683
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Execute JavaScript from Livecode

Post 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.
Last edited by PaulDaMacMan on Wed Feb 22, 2023 4:16 am, edited 1 time in total.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList
Thomas seewald
Posts: 7
Joined: Mon Sep 26, 2016 12:06 pm

Re: Execute JavaScript from Livecode

Post 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.
PaulDaMacMan
Posts: 683
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Execute JavaScript from Livecode

Post 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 :P .
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Execute JavaScript from Livecode

Post by Klaus »

Well, Paul, never question an admins decision! :-D
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Execute JavaScript from Livecode

Post by richmond62 »

Аlways question everything. 8)
Post Reply