Search found 102 matches: JavaScript API

Searched query: javascript api

by PaulDaMacMan
Sat Jan 18, 2025 2:38 am
Forum: HTML5
Topic: [Ann] macOS-Style ColorPicker designed for the Web
Replies: 4
Views: 13789

Re: [Ann] macOS-Style ColorPicker designed for the Web

... that if you're deploying to the Web you could call HTML5 color picker API via 'do myJSscript as JavaScript", and that should invoke the systems's native color picker.
by PaulDaMacMan
Tue Mar 14, 2023 10:15 pm
Forum: Developer Services Marketplace
Topic: Programmer sought to make stack run on webpage
Replies: 16
Views: 29855

Re: Programmer sought to make stack run on webpage

There is Web Speech API that is a part of HTML5 standards, which a voice-synth might be a lot easier/smoother ... That uses the web speech API (via JavaScript) from the button's script I believe most browsers support the API (certainly ...
by PaulDaMacMan
Tue Feb 21, 2023 7:00 pm
Forum: Internet
Topic: Execute JavaScript from Livecode
Replies: 23
Views: 41940

Re: Execute JavaScript from Livecode

... 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? ...
by FourthWorld
Thu Feb 02, 2023 4:00 am
Forum: Internet
Topic: Browser widget : data mining on new sites ?
Replies: 9
Views: 22159

Re: Browser widget : data mining on new sites ?

Bangkok, unless you are expert with JavaScript you will not want to go this route. And even if you were, you would probably ... problem by emulating user actions in a browser GUI rather than calling an API directly, the outcome ranges from disappointing to frustrating. Here's some background: ...
by FourthWorld
Tue Oct 25, 2022 4:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using "send to program" to open & download. webpage
Replies: 14
Views: 14026

Re: Using "send to program" to open & download. webpage

How did triggering JavaScript functions enter the conversation? Daniel's been working at trying to get dynamically-rendered ... may be that they have a copy of the data available for download, or will add a REST API as they finish the site. Either would greatly simplify his task. The way to find out ...
by FourthWorld
Thu Oct 13, 2022 3:11 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Downloading dynamic web pages
Replies: 6
Views: 5903

Re: Downloading dynamic web pages

... server sends, what I get seems identical to what a web browser gets if JavaScript is turned off. With some pages using JS to dynamically load content ... team using smart tooling to deliver such smart work to also provide an API so folks like you could easily grab the portion you're looking for. ...
by wl5
Sat Jul 16, 2022 6:50 pm
Forum: Internet
Topic: Post Form Data to Browser Widget
Replies: 15
Views: 28177

Re: Post Form Data to Browser Widget

... be a choice; most companies find it more cost-effective to provide an API. Sounds like management has their mind made up on this, but if a lighter ... either as long as we don't actively try to go outside the guardrails. JavaScript is explicitly required on all pages because there are a lot of ...
by jameshale
Mon May 16, 2022 12:48 am
Forum: Talking LiveCode
Topic: Disappearing Tools Palette
Replies: 30
Views: 13723

Re: Disappearing Tools Palette

Jusr a further note on Dash. I looked at Dash at a time when the APi page on LC’s website was not tablet friendly. The javascript behind the interface couldn’t handle touch events properly. Given I use my iPad for ...
by Bill
Sun Sep 26, 2021 1:01 am
Forum: Educational Outreach
Topic: Is this what we need?
Replies: 31
Views: 57462

Re: Is this what we need?

... organizations using the block programming paradigm via Google's Blockly API including Microsoft. In August 2020, GreatFire announced that the Chinese ... China were using it. - Wikipedia With Blockly's ability at outputting Javascript, Python, and Lua it jumps miles ahead of Livecode in being functionally ...
by jameshale
Sun Aug 29, 2021 12:54 am
Forum: Talking LiveCode
Topic: DataGrid2 - What do you like, what don't you like
Replies: 83
Views: 68817

Re: DataGrid2 - What do you like, what don't you like

... parts of LC’s repository and are in a custom format. The dictation API’s are a mixture of markdown and a custom format. The parts of the Guide ... did not have a tablet friendly version of their dictionary API. (The javascript behind it didn’t like touch interfaces.) it does now (well done!) ...
by JereMiami
Sat May 08, 2021 11:27 pm
Forum: Internet
Topic: Execute JavaScript from Livecode
Replies: 23
Views: 41940

Re: Execute JavaScript from Livecode

... post command, how would you convert a SHELL command that contains a "-u" as opposed to a "-d" to a POST command? For instance: shell("curl https://api.stripe.com/v1/charges -u <api_key>") I tried: put <api_key> into tKey put "key=" & (urlencode(tKey)) into tUser post tUser to url ("https://api.stripe.com/v1/charges") ...
by Thierry
Fri Mar 19, 2021 4:21 pm
Forum: Internet
Topic: Execute JavaScript from Livecode
Replies: 23
Views: 41940

Re: Execute JavaScript from Livecode

I have an API from textbelt.com that allows you to send a text message
from your computer to a mobile phone.
they also have other languages but not LiveCode
Here is a working solution in pure LIVECODE, using the POST command.

LC POST to Textbelt.jpg
Post to TextBelt.com

Regards,

Thierry
by PaulDaMacMan
Fri Mar 19, 2021 2:24 am
Forum: Internet
Topic: Execute JavaScript from Livecode
Replies: 23
Views: 41940

Re: Execute JavaScript from Livecode

... web servers. Details in the Dictionary, and in the Lessons: https://lessons.livecode.com/m/4071/l/1325310-how-to-request-a-resource-from-a-rest-api What Richard suggested is better because it purely uses LiveCode and so isn't dependent on anything external (such as curl), you might have to URLEncode ...
by FourthWorld
Fri Mar 19, 2021 2:04 am
Forum: Internet
Topic: Execute JavaScript from Livecode
Replies: 23
Views: 41940

Re: Execute JavaScript from Livecode

LC has built in POST and GET commands for exchanging data with web servers. Details in the Dictionary, and in the Lessons:

https://lessons.livecode.com/m/4071/l/1 ... a-rest-api
by PaulDaMacMan
Fri Mar 19, 2021 12:43 am
Forum: Internet
Topic: Execute JavaScript from Livecode
Replies: 23
Views: 41940

Re: Execute JavaScript from Livecode

... put field "Handler" into tCommands -- this field contains the api replace "5555555555" with "6192013186" in tCommands replace "Hello World" ... looked at the https://textbelt.com ... I'm not sure that you even need JavaScript at all! This is a POST method, it's like a webpage form that POST's ...