Odd, shouldn we get a permissions request if this is needed? So youŕe saying you went in to security permissions and granted permissions manually... interesting. OK I will give this a go tomorrow!
Rod
Search found 128 matches
- Wed Oct 26, 2022 12:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: applescript returning execution error
- Replies: 30
- Views: 9291
- Wed Oct 26, 2022 6:03 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: applescript returning execution error
- Replies: 30
- Views: 9291
Re: applescript returning execution error
Now that we've got Applescript returning the selected event in the Calendar, I'm trying to get details of the event, like this: set defaultsReply to (do shell script "defaults read com.apple.ical SelectedEvents") set localUIDs to {} set {TID, text item delimiters} to {text item delimiters, quote} se...
- Wed Oct 26, 2022 5:36 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: applescript returning execution error
- Replies: 30
- Views: 9291
Re: applescript returning execution error
Awesome Bernd, that was what I was going to try next. I will give this a go now.
It is very odd that calling this subroutine throws exception but "in-lining" it is fine. I wonder if we should try to reduce it to minimum viable bug producing recipe and file as a bug report....
Rod
It is very odd that calling this subroutine throws exception but "in-lining" it is fine. I wonder if we should try to reduce it to minimum viable bug producing recipe and file as a bug report....
Rod
- Mon Oct 24, 2022 11:22 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: applescript returning execution error
- Replies: 30
- Views: 9291
Re: applescript returning execution error
Thanks Bn, yes does run in script editor, but not in Livecode, and it's not obvious why...
Will let you know if I discover anything more, otherwise will file as a bug report.
Rod
Will let you know if I discover anything more, otherwise will file as a bug report.
Rod
- Sat Oct 22, 2022 11:17 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: applescript returning execution error
- Replies: 30
- Views: 9291
Re: applescript returning execution error
Itś the next line in the sample code that throws the exception....
Rod
Rod
- Sat Oct 22, 2022 2:03 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: applescript returning execution error
- Replies: 30
- Views: 9291
applescript returning execution error
Hi everyone, I'm using Applescript to get selected events from Apple Calendar, building on https://macscripter.net/viewtopic.php?id=45861 When I try to parseDefaults I get execution error back when executed inside Livecode. Does anyone have any idea why? FYI I have given Livecode full disk access in...
- Sat Oct 22, 2022 1:42 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: 9.6.4 check for updates - why doesn't it prompt to grab 9.6.8?
- Replies: 7
- Views: 1848
Re: 9.6.4 check for updates - why doesn't it prompt to grab 9.6.8?
Still not clear to me why 9.6.4 is not prompting upgrade to .8...
- Thu Oct 20, 2022 3:38 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: 9.6.4 check for updates - why doesn't it prompt to grab 9.6.8?
- Replies: 7
- Views: 1848
9.6.4 check for updates - why doesn't it prompt to grab 9.6.8?
Hi everyone,
I'm running LC 9.6.4, when I run check for updates it reports no updates available but in the announcements I see "Release LiveCode 9.6.8" is stable - so why doesn't the updater prompt to grab it?
Rod
I'm running LC 9.6.4, when I run check for updates it reports no updates available but in the announcements I see "Release LiveCode 9.6.8" is stable - so why doesn't the updater prompt to grab it?
Rod
- Wed Oct 19, 2022 5:00 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Flash is dead - but rust never sleeps (ruffle.rs emulator) + LC10 idea
- Replies: 0
- Views: 6418
Flash is dead - but rust never sleeps (ruffle.rs emulator) + LC10 idea
Hi all, For anyone with existing Flash-based apps or simulations - for example educational content - it may be of interest that you can now get these running on the web again by swapping out the Flash player for the Ruffle player - a Flash emulator implemented in Rust. This is available both in Desk...
- Mon Sep 19, 2022 2:00 pm
- Forum: Marketing Your Products
- Topic: No In-App purchase for desktop Apps. How to deal with the Apple Store?
- Replies: 4
- Views: 32089
Re: No In-App purchase for desktop Apps. How to deal with the Apple Store?
I am interested in this topic, if anyone has discovered anything further on this please post. I will do my own research...
Rod
Rod
- Sun Sep 18, 2022 10:58 pm
- Forum: Talking LiveCode
- Topic: Editing code in external editors (VSCode, Atom, BBEdit etc)?
- Replies: 16
- Views: 5561
Re: Editing code in external editors (VSCode, Atom, BBEdit etc)?
Stam,
Interesting, I wasnt aware of this option, should check that out. I have just been following Trevor, you seldom go wrong following Trevor
rod
Interesting, I wasnt aware of this option, should check that out. I have just been following Trevor, you seldom go wrong following Trevor
rod
- Sun Sep 18, 2022 11:13 am
- Forum: Talking LiveCode
- Topic: Editing code in external editors (VSCode, Atom, BBEdit etc)?
- Replies: 16
- Views: 5561
Re: Editing code in external editors (VSCode, Atom, BBEdit etc)?
I do nearly all my Livecode coding in Sublime text using the Sublime to LC integration provided as part of the Levure framework. I also use Levure framework on nearly all my projects unless they are super-basic. Commit all code to Github repositories and uses Typora to write documentation in Markdow...
- Sat Sep 10, 2022 1:59 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: try catch with jsCallback
- Replies: 1
- Views: 944
Re: try catch with jsCallback
The solution is to wrap in a function like this function getActiveOB3EntityName () { let tDocName try { tDocName = io.openbook.viewport.Application.getActiveTab().record.data.properties.title } catch (error) { tDocName ='error'; } return tDocName } getActiveOB3EntityName();
- Wed Sep 07, 2022 11:25 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: try catch with jsCallback
- Replies: 1
- Views: 944
try catch with jsCallback
You can do something like this at Chrome console
.. but it seems JSCallback doesn't like try/catch. Has anyone observed this before, perhaps I am doing something wrong?
Rod
Code: Select all
try { ...your javascript here... } catch (error) {'0'}
Rod
- Tue Sep 06, 2022 9:36 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: styledtext, mixed content and clipboarddata
- Replies: 35
- Views: 6744
Re: styledtext, mixed content and clipboarddata
These are excellent points Bob. For my own purposes I have found rtftext works best. I think the Livecode dictionary should be updated to make it clear that for clipboard compatability when moving styled content between apps rtftext should be used by preference (along with summary of key points you ...