Search found 586 matches

by AndyP
Tue Dec 13, 2022 9:00 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Livecode and Python?
Replies: 10
Views: 14190

Re: Livecode and Python?

This is easy with LiveCode...as usual! Here is a fully working simple example. put this in a button on mouseUp pMouseButton --place python file in same folder as the LIveCode file getStackPath -- name of the python file to interface with put "add.py" into tPythonFile --data to be sent to the python ...
by AndyP
Sun Nov 27, 2022 10:26 am
Forum: Talking LiveCode
Topic: GitHub Gists Sharing code snippets
Replies: 4
Views: 1796

Re: GitHub Gists Sharing code snippets

Hi Stam, looks good, nice clean interface. as it happens was working on something similar although still just in SQLite -- but been thinking of gist or hosting my own (as I don't think the gist API directly lets you search public gists for terms like 'livecodescript'. Thanks for sharing that Andreas...
by AndyP
Sat Nov 26, 2022 6:52 pm
Forum: Talking LiveCode
Topic: GitHub Gists Sharing code snippets
Replies: 4
Views: 1796

GitHub Gists Sharing code snippets

I have code snippets all over the place and am now trying to better organize all of them. So I'm in the process of building a utility to access my public gists at GitHub "Gists Book". This uses a app token to allow access to GitHubs api, nice and simple. At the moment I can list, add new and edit my...
by AndyP
Sat Nov 26, 2022 1:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: DASH docset updated to LC 10 dp4 what yoy
Replies: 37
Views: 11808

Re: DASH docset updated to LC 10 dp4 what yoy

Confirming the solution from Bernd works the best. Just remember to pass in the number of chars in your field! put the num of chars of fld "myField" of this stack into tEndChar dispatch "revSEColorizeField" to stack "revseutilities" with the long id of field "myField" of this stack, 1, tEndChar Also...
by AndyP
Fri Nov 25, 2022 3:04 pm
Forum: Talking LiveCode
Topic: _internal script colorize [SOLVED]
Replies: 8
Views: 2381

Re: _internal script colorize

Hi Bernd,

I like this variation, one for my scrapbook :)

Code: Select all

dispatch "revSEColorizeField" to stack "revSEUtilities" with the long id of field "fRes" of this stack, tStartChar, tEndChar
by AndyP
Fri Nov 25, 2022 12:33 pm
Forum: Talking LiveCode
Topic: _internal script colorize [SOLVED]
Replies: 8
Views: 2381

Re: _internal script colorize

Nearly right.

Try this with xxxx being the id of the fld x

Code: Select all

 _internal script colorize line 1 to (the number of lines in fld "x") of fld id xxxx of this stack
by AndyP
Wed Nov 23, 2022 10:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need help with this.
Replies: 10
Views: 2575

Re: Need help with this.

This will give you a good start. Go to the sample stacks search for json and download my JSON API Helper stack. Later place this in your plugins folder. In the helper stack put https://api.exchangerate.host/latest into the JSON Source field and hit the Set TreeView to API IData button. This will loa...
by AndyP
Sun Nov 06, 2022 3:04 pm
Forum: Announcements
Topic: [ANN] Release LiveCode 9.6.9 RC-2
Replies: 1
Views: 7999

Re: [ANN] Release LiveCode 9.6.9 RC-2

Wow..The Android app I'm working on at the moment has shrunk from 34.33 MB to 24.08 MB building with this release.

Well done to the team at HQ :D
by AndyP
Sun Oct 02, 2022 9:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Why is LiveCode not recognized more as an app developer language?
Replies: 141
Views: 533117

Re: Why is LiveCode not recognized more as an app developer language?

appli looks very slick, but its more competition for LiveCode. So the elephant in the room . appli is built with LiveCode, the LiveCode licence states c) You are prohibited from creating or distributing Created Software to be used and marketed as a generic rapid application development tool. Any Cre...
by AndyP
Sat Apr 30, 2022 2:30 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Slow Script Editor
Replies: 28
Views: 10052

Re: Slow Script Editor

Trevor Devore made a plugin for Sublime Text which works well.


https://github.com/trevordevore/livecode-sublimetext

and a linter which works in conjunction with the server edition of LC.

https://github.com/trevordevore/sublime ... vecodelint
by AndyP
Sat Apr 30, 2022 2:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Slow Script Editor
Replies: 28
Views: 10052

Re: Slow Script Editor

Have you tried v 9-6-7

This version spacifically fixes the slow down due to the message box. For me on win 10 it has solved a lot of the slow downs and stutters.

See the blog post below.

https://livecode.com/9-6-7-stable-maintenance-release/
by AndyP
Fri Mar 25, 2022 11:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to use an array?
Replies: 24
Views: 7282

Re: How to use an array?

No need to use arrays, try this in a button on mouseUp put "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26" into tNumbers put "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z" into tLetters set the itemDel to comma repeat with c = 1 to the number of items in tNumbers put it...
by AndyP
Fri Mar 18, 2022 10:07 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: answer url does not work in Android liveCode
Replies: 19
Views: 6697

Re: answer url does not work in Android liveCode

You probably need to include the HTTP Library as well :)
by AndyP
Sat Jan 01, 2022 10:27 am
Forum: Off-Topic
Topic: The Script Editor
Replies: 34
Views: 16392

Re: The Script Editor

I made a plugin for colour theming of the editor a while back, it's free and allows saving new colour themes so that you can switch easily between different ones. http://2108.co.uk/script-editor-themer/ https://camo.githubusercontent.com/d1a0ff3ed5a772f71876a00b80923a3d67de65a88db91d1be151c4fe72c655...
by AndyP
Wed Dec 15, 2021 7:42 am
Forum: Mac OS
Topic: Slow response in script editor
Replies: 13
Views: 11145

Re: Slow response in script editor

Win 10, LC 9.6.2 I've noticed that the problem of sluggish script editor tends to start after having the message box open and use. It feels like a hang in message passing. The script editor becomes sluggish, there is a wait time before buttons in the whole of the ide are functional, button presses s...

Go to advanced search