Search found 992 matches
- Thu Sep 10, 2020 6:29 pm
- Forum: LiveCode Builder
- Topic: What's the best way to force-trigger OnGeometryChanged() in Widget from LCB?
- Replies: 3
- Views: 4326
Re: What's the best way to force-trigger OnGeometryChanged() in Widget from LCB?
You're welcome Paul.
- Thu Sep 10, 2020 6:00 pm
- Forum: LiveCode Builder
- Topic: What's the best way to force-trigger OnGeometryChanged() in Widget from LCB?
- Replies: 3
- Views: 4326
Re: What's the best way to force-trigger OnGeometryChanged() in Widget from LCB?
@PaulDaMacmac - Is there a reason that OnGeometryChanged() has to fire? Can't you just perform the scaling internally by calling your own function? It sounds like you just need to have an internal handler which is called in OnGeometryChanged() or your property setter handler. I guess you could just ...
- Sat Jul 25, 2020 6:48 am
- Forum: Community Projects
- Topic: App Updater helper for Levure
- Replies: 40
- Views: 43242
Re: App Updater helper for Levure
I just created a new Levure app and added the app_updater helper to it. I successfully packaged the app using `levurePackageApplication "release"` and then checked that it was properly code signed using this command: spctl --assess --verbose --ignore-cache --type execute -v /path/to/Test\ Signing.ap...
- Fri Jul 24, 2020 4:16 pm
- Forum: Community Projects
- Topic: App Updater helper for Levure
- Replies: 40
- Views: 43242
Re: App Updater helper for Levure
@martyknapp - It sounds like you downloaded the latest from master from the levurehelper-app_updater helper rather than the latest release which was 0.6.6. For some reason I had pushed some updates to master which weren't released yet and should have been on a develop branch. I've pushed a version 0...
- Wed May 13, 2020 11:52 pm
- Forum: LiveCode Builder
- Topic: Script Objects and Calling Back the Stack/Engine
- Replies: 6
- Views: 7346
Re: Script Objects and Calling Back the Stack/Engine
What happens if you capture ‘the caller’ rather than evaluating “this stack”? Do your callbacks work as expected?
- Mon May 04, 2020 6:08 pm
- Forum: Community Projects
- Topic: DataView and DataView Tree Updates
- Replies: 1
- Views: 5723
Re: DataView and DataView Tree Updates
FYI - After some further testing around building standalones for a non-Levure app and using it on mobile, I made some changes to the installation instructions. You will find new instructions on the GitHub pages and new version available for download. DataView Repo: https://github.com/trevordevore/le...
- Sat May 02, 2020 6:40 pm
- Forum: Community Projects
- Topic: DataView and DataView Tree Updates
- Replies: 1
- Views: 5723
DataView and DataView Tree Updates
Hi, I've updated the DataView and DataView Tree code in my GitHub repos with a script that will load all of the necessary files for developers who are not using the Levure framework. You will find updated instructions in the README, a link to the latest release, and a link to a demo project showing ...
- Mon Apr 27, 2020 9:25 pm
- Forum: Community Projects
- Topic: Spell Checker library
- Replies: 0
- Views: 5798
Spell Checker library
Hi all, I've uploaded a Spell Checker library to Github. It works on macOS and Windows*. Features: - Uses system spell checker on macOS (NSSpellChecker). - Uses Hunspell for Windows. - Command for flagging misspelled words in a field which uses the LiveCode `flagged` property. - API for implementing...
- Thu Apr 23, 2020 3:25 pm
- Forum: LiveCode Builder
- Topic: Help testing LCB wrapper around Hunspell
- Replies: 13
- Views: 12303
Re: Help testing LCB wrapper around Hunspell
Thanks for testing @AnydP!
Which version of Windows and LC did you test with?
Which version of Windows and LC did you test with?
- Wed Apr 22, 2020 2:30 pm
- Forum: LiveCode Builder
- Topic: Help testing LCB wrapper around Hunspell
- Replies: 13
- Views: 12303
Help testing LCB wrapper around Hunspell
Hi everyone, I've been working on wrapping hunspell in LCB and could use help verifying that it works on Windows systems other than my own. So far I've tested using LiveCode 9.6 dp-4 on Windows 10 and Windows 8. The project currently uses version 1.6.2 for Windows. The last version released is 1.7.0...
- Mon Apr 13, 2020 2:51 pm
- Forum: Version Control
- Topic: How to migrate an application to Levure framework
- Replies: 3
- Views: 8461
Re: How to migrate an application to Levure framework
Hi @mrcoollion, Currently there isn't a guide for migrating an existing project over. But we can use this thread to guide you through the process and then put what we learn up on the wiki. Below is an overview of where you can start with links to relevant wiki pages. Ask for clarification where need...
- Mon Feb 17, 2020 10:06 pm
- Forum: LiveCode Builder
- Topic: LCB FFI "StringToNSString" not declared
- Replies: 10
- Views: 9563
Re: LCB FFI "StringToNSString" not declared
Your code only returns a boolean value if the FFI call succeeds (at least the code you posted). It doesn't return `false` if the FFI call fails. So it may be working in your tests but it needs to be modified to be work correctly in call cases. Are you calling `SetSpeechSynthesizerDelegate` anywhere ...
- Mon Feb 17, 2020 2:28 pm
- Forum: LiveCode Builder
- Topic: LCB FFI "StringToNSString" not declared
- Replies: 10
- Views: 9563
Re: LCB FFI "StringToNSString" not declared
1) `post` in LCB is the equivalent of `dispatch` in LCS. You just need to define a `finishedSpeaking ` command in your test stack to process the message. 2) In LCB you need to return the type defined in the handler definition. So `SynthesizeSpeech` just return a Boolean value. Since `Objc_NSSpeechSy...
- Thu Feb 13, 2020 7:24 pm
- Forum: LiveCode Builder
- Topic: Why does this code crash Livecode ?
- Replies: 4
- Views: 5569
Re: Why does this code crash Livecode ?
Yes, it would be nice to have a lot of examples showing when to use ObjcId vs ObjcRetainedId.
In this case I *think* the reason is that you are taking ownership because you are allocating and initializing the object.
In this case I *think* the reason is that you are taking ownership because you are allocating and initializing the object.
- Thu Feb 13, 2020 6:34 pm
- Forum: LiveCode Builder
- Topic: Why does this code crash Livecode ?
- Replies: 4
- Views: 5569
Re: Why does this code crash Livecode ?
That is most likely the cause. A LiveCode String is not an Objective-C String. You need to pass an ObjcId. So this: ObjC_NSStringInitWithString(in pObj as ObjcID, in pString as String) Should be this: ObjC_NSStringInitWithString(in pObj as ObjcID, in pString as ObjcId) And you would pass the result ...