Search found 592 matches
- Wed Mar 08, 2023 5:29 pm
- Forum: LiveCode Builder
- Topic: 10,000 Line Limit for Extensions
- Replies: 4
- Views: 2886
10,000 Line Limit for Extensions
FYI: Apparently there is a 10,000 lines of code limit (which in my current case is about 2.4mb of data in 12,285 lines) for Extension Builder compilation. I'm using v.9.x, I gather there have been some changes in 10.x so perhaps this limit doesn't apply to v.10.x LCB? Since this current project did...
- Sat Feb 25, 2023 3:25 am
- Forum: Talking LiveCode
- Topic: GiF playing very slow Help!
- Replies: 14
- Views: 25536
Re: GiF playing very slow Help!
Duh... K.I.S.S.! For extraction of frames from script you can simply 'export snapshot of <control>' to <bitmapFormat>' ( GIF or PBM which is basically a plain RGBA bitmap) in conjunction with a repeat loop that's iterating frames in an image control with the GIF (with a 'G' as in Garaphics ;) ) in i...
- Sat Feb 25, 2023 1:59 am
- Forum: Talking LiveCode
- Topic: GiF playing very slow Help!
- Replies: 14
- Views: 25536
Re: GiF playing very slow Help!
I know there's a few JavaScript libraries (or web ports of common offline libraries) that can do those sort of thing, but we may have our GIF's image data embedded into our stacks inside 'the text of image..." (that always bothered me, it is NOT text ,it's bin data from one of several supported file...
- Wed Feb 22, 2023 4:15 am
- Forum: Internet
- Topic: Execute JavaScript from Livecode
- Replies: 23
- Views: 18641
Re: Execute JavaScript from Livecode
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 mea...
- Wed Feb 22, 2023 4:06 am
- Forum: Talking LiveCode
- Topic: GiF playing very slow Help!
- Replies: 14
- Views: 25536
Re: GiF playing very slow Help!
There are two ways to create a gif file. One way saves the entire content of every frame, the other way is to save only the differences between frames. It's been too long since I created any gifs so I don't recall what they call those formats, but the second method can reduce the size dramatically....
- Tue Feb 21, 2023 7:00 pm
- Forum: Internet
- Topic: Execute JavaScript from Livecode
- Replies: 23
- Views: 18641
Re: Execute JavaScript from Livecode
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 restricti...
- Tue Feb 21, 2023 6:28 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Back to my ancestry
- Replies: 12
- Views: 2448
Re: Back to my ancestry
Hell I'd consider wrapping platform specific but maybe just the relevant bits too if you con find some simple source examples of what you need on Stack Exchange or wherever. Translating some Python/PyObjC code I found lead me to wrap a bunch of Core Image (Filters) stuff this past weekend!
- Tue Feb 21, 2023 5:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Back to my ancestry
- Replies: 12
- Views: 2448
Re: Back to my ancestry
AND, of course answers that mention mergBLE are not really of interest to me as I do not have: 1. A licence for current LiveCode [nor likely to with my income from LiveCode programming averaging $200 a year]. THIS looks promising, but . . . https://forums.livecode.com/viewtopic.php?t=35637&p=203869...
- Tue Feb 21, 2023 5:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Back to my ancestry
- Replies: 12
- Views: 2448
Re: Back to my ancestry
Some years ago LC ran a survey asking what feature we'd most like to see. I said USB. If they ever ask again I'd say Bluetooth. Not sure what your desired use is, but I did make a Builder Extension wrapper for the HID API library (same as used by PyGame) which can receive (but no send data to, it's...
- Tue Jan 17, 2023 4:37 am
- Forum: Linux
- Topic: playing media on linux
- Replies: 7
- Views: 8798
Re: playing media on linux
Have been there. Remember that the LC browser widget doesn't work on linux. And for the record, there's only one window id. Here's the result of a new blank stack with a player control: xwininfo: Window id: 0x640016f "Untitled 1 *" I looked into that, but it seems that there's no separate windowID ...
- Fri Dec 09, 2022 5:05 am
- Forum: Linux
- Topic: playing media on linux
- Replies: 7
- Views: 8798
Re: playing media on linux
I looked into that, but it seems that there's no separate windowID for the player object, so there's nothing to grab onto. The stack itself is the only object that gets a real windowID. Hmm, I've actually seen double windows on certain window managers for the Browser Widget, which definitely draws ...
- Wed Dec 07, 2022 12:05 am
- Forum: Linux
- Topic: playing media on linux
- Replies: 7
- Views: 8798
Re: playing media on linux
Just getting back into running Linux a lot, and remembered how broken multimedia playback is on that version engine, so this is great! Thanks Mark! I was just reading over the old thread about the MPlayer-based Player object on Linux, but now I'm pretty sure this could be done with Extension Builder...
- Fri Oct 21, 2022 4:04 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Extra 'title bar' in new stack
- Replies: 11
- Views: 5576
Re: Extra 'title bar' in new stack
I actually WANT that tabs menu item to be there and be functional, I'm looking into it.
- Wed Sep 21, 2022 10:10 pm
- Forum: HTML5
- Topic: Is there anyway to determine the OS of the device running a web deployment ?
- Replies: 17
- Views: 28900
Re: Is there anyway to determine the OS of the device running a web deployment ?
https://stackoverflow.com/questions/649 ... os-big-sur which basically says it's a bug in the reporting agent. Yes that's an Apple bug, there is a shell command I was able to use to get the correct system version (macOS 11.x. or 12.x instead of 10.16): put shell("sw_vers -productVersion") I believe...
- Mon Aug 22, 2022 2:38 am
- Forum: LiveCode Builder
- Topic: What is the mode of the "Code Editor" stack?
- Replies: 28
- Views: 13523
Re: What is the mode of the "Code Editor" stack?
-- How could one test it: if the mode of stack "path/to/stackfile" is empty then -- do stuff to closed file such as... -- Under what circumstances would it matter? doStuffThatInvolvesEnsuringStackFileIsNotOpenInIDESuchAsExternalEditingThenReload end if I don't think there's any restriction in editi...