Search found 186 matches

by Bernard
Fri Jan 22, 2021 2:29 am
Forum: Android Deployment
Topic: JDK Path: None
Replies: 1
Views: 122

Re: JDK Path: None

I went through this recently. This may be more complex than you would hope to use as a solution. I used this solution on both Windows and OSX

http://forums.livecode.com/viewtopic.ph ... 16#p197643
by Bernard
Thu Dec 31, 2020 3:03 am
Forum: Talking LiveCode
Topic: tree view widget - array key doesn not exist error
Replies: 6
Views: 848

Re: tree view widget - array key doesn not exist error

Does the array that's in the tree get repopulated? Or are the array values fixed? Could it be an encoding issue (those subkeys look like they are in Finnish - not that I can really recognise Finnish :roll: ). I've been using tree view on LC 9.6.1 on Mac OSX with no problems. And my array is larger/m...
by Bernard
Sat Dec 26, 2020 2:25 pm
Forum: Mac OS
Topic: File rename command and issue with privileges
Replies: 2
Views: 475

Re: File rename command and issue with privileges

if there is anyway of granting a Livecode Application the SUDO privilege sudo (generally) requires a password. The standard way round this is to edit the sudoers file to stipulate that a particular account name should not require a password. If this is for a convenience utility for yourself you cou...
by Bernard
Thu Dec 24, 2020 1:53 pm
Forum: Announcements
Topic: GLX2 script editor released for Revolution
Replies: 55
Views: 26706

Re: GLX2 script editor released for Revolution

I can't reproduce what I thought I saw with the script not having changes saved following compilation & re-opening.

Immediate colorisation is not working, but if the script is compiled, GLX2 closed & reopened, then the script is colorized.
by Bernard
Thu Dec 24, 2020 12:38 pm
Forum: Announcements
Topic: GLX2 script editor released for Revolution
Replies: 55
Views: 26706

Re: GLX2 script editor released for Revolution

I'll try and replicate what appeared to happen re: saving. BTW latest version of GLX2 also stripped all colorization (I'd forgotten that until you mentioned it). I'm pretty sure the earlier version (with html entity problem) had colorization working. Is it possible that the fix for html entities has...
by Bernard
Thu Dec 24, 2020 3:39 am
Forum: Databases
Topic: revQueryDatabase returns different result sets compared to revDataFromQuery
Replies: 1
Views: 521

Re: revQueryDatabase returns different result sets compared to revDataFromQuery

I can't see what's wrong with that Lesson that would result in these differences. As the revData... operations have been in use for 20 years or so, I think if your results were common this would have been picked up and resolved long ago. How are you determining this discrepancy in result set size. A...
by Bernard
Thu Dec 24, 2020 3:16 am
Forum: Announcements
Topic: GLX2 script editor released for Revolution
Replies: 55
Views: 26706

Re: GLX2 script editor released for Revolution

Bernard - I've just posted the latest version to github. It's now escaping all five html entities. Richard- I spent a few days experimenting with switching this over to styledText and found that it's just not up to the task. Was a nice idea, but unfortunately I'm still stuck with htmlText. Mark, th...
by Bernard
Thu Dec 24, 2020 3:01 am
Forum: Documentation and Tutorials
Topic: playloudness property of player object missing
Replies: 4
Views: 1263

Re: playloudness property of player object missing

I believe the OP is correct. This is missing from the Dictionary if you look at the entry for the Player control. This lists a whole series of properties (and a summary for each). PlayLoudness is not in that list. So if you know that property should exist you can find it, but if you were learning wh...
by Bernard
Thu Dec 24, 2020 2:55 am
Forum: iOS Deployment
Topic: Mobile Native Essentials Widget Pack
Replies: 3
Views: 429

Re: Mobile Native Essentials Widget Pack

I don't have the control to which you refer. However, seeing as you are new here, can I ask: do you have a handler like this in the script of that widget: on hiliteChanged answer the long time end hiliteChanged In the IDE, does this show you a different time every time you change the state of the co...
by Bernard
Tue Dec 22, 2020 2:23 am
Forum: Talking LiveCode
Topic: Mobile Browser Widget Crashes
Replies: 2
Views: 272

Re: Mobile Browser Widget Crashes

a) Does your PDF display in the browser widget if you run the code in the IDE? b) try launch url "file:" & specialFolderPath("documents") & "/sample.pdf" In the IDE this will at least test that there's nothing wrong with your path/filename or the PDF itself in relation to the widget. You could then ...
by Bernard
Thu Dec 10, 2020 6:18 pm
Forum: Announcements
Topic: GLX2 script editor released for Revolution
Replies: 55
Views: 26706

Re: GLX2 script editor released for Revolution

I was just looking at GLX2 after a decade away from it. I wanted to look at using the folders feature to organise a script only stack that's over a thousand lines long. But after adding a return to the script it wouldn't compile (in the chalkboard interface, I could see no error message). At first i...
by Bernard
Thu Dec 03, 2020 12:50 pm
Forum: Talking LiveCode
Topic: Standalone not working with script only stack
Replies: 17
Views: 4264

Re: Standalone not working with script only stack

When I step through the savingStandalone handler, the script does not perform the first line, i.e. set the scriptonly of stack "ScriptOnlyStack.livecodescript" to false and jumps to the end statement. I cannot work out why. Any ideas please? Kaveh Isn't the problem here that the file extension shou...
by Bernard
Tue Oct 27, 2020 12:41 am
Forum: Android Deployment
Topic: Android Studio - Additional JDK not needed (Solution to Java is none error)
Replies: 3
Views: 843

Re: Android Studio - Additional JDK not needed (Solution to Java is none error)

Once I'd got it all installed and working, I started to strip out as much of the Android IDE as I could (in fact, I'm testing on physical devices). However, when searching for what to do with Android (I've not done anything with it for some years, and didn't any longer have a machine with Android to...
by Bernard
Mon Oct 26, 2020 11:11 am
Forum: Feature Proposals
Topic: Replace LiveCode Script with JavaScript, forever
Replies: 98
Views: 26438

Re: Replace LiveCode Script with JavaScript, forever

Elsewhere I have been in discussions with someone who has spent the past two years learning (full-time) to be a web developer. After all that time he still stumbles over basic problems in Javascript and CSS (I see him report on the HOURS he has spent trying to find out where he's going wrong). In 2...
by Bernard
Sat Oct 24, 2020 2:51 pm
Forum: Android Deployment
Topic: Android Studio - Additional JDK not needed (Solution to Java is none error)
Replies: 3
Views: 843

Android Studio - Additional JDK not needed (Solution to Java is none error)

Like many people on this forum in recent years, I got the "Java: none" error after installing Java 1.8 and then installing Android Studio (as per instructions from Livecode here: http://lessons.livecode.com/m/2571/l/625198-livecode-and-android-studio). Many people have been confused by these instruc...

Go to advanced search