Search found 188 matches
- Tue Mar 02, 2021 8:12 pm
- Forum: Talking LiveCode
- Topic: Not a number is a number, problem
- Replies: 34
- Views: 1516
Re: Not a number is a number, problem
Even weirder IMO is this. put NAN is a number gives true Assuming this mysterious NAN means "not a number" then surely when asked what type it is it should not be numeric? Equally, this is weird. put NaN/0 gives nan Meanwhile put "xero" is NaN gives false Surely some nonsense word delimited by quota...
- Tue Mar 02, 2021 7:44 pm
- Forum: Android Deployment
- Topic: Android Studio - Additional JDK not needed (Solution to Java is none error)
- Replies: 5
- Views: 1129
Re: Android Studio - Additional JDK not needed (Solution to Java is none error)
I assume you're on OS X. Are you logged in as Admin (just a wild guess)? It's possible there's some difference between your version of OS X and mine (my Apple box is about 5 years old, just pondering a M1 Mac). I have set the visible of the button to find the JDK, using the command in the MessageBox...
- Fri Jan 22, 2021 2:29 am
- Forum: Android Deployment
- Topic: JDK Path: None
- Replies: 1
- Views: 251
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
http://forums.livecode.com/viewtopic.ph ... 16#p197643
- Thu Dec 31, 2020 3:03 am
- Forum: Talking LiveCode
- Topic: tree view widget - array key doesn not exist error
- Replies: 6
- Views: 1149
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...
- Sat Dec 26, 2020 2:25 pm
- Forum: Mac OS
- Topic: File rename command and issue with privileges
- Replies: 2
- Views: 605
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...
- Thu Dec 24, 2020 1:53 pm
- Forum: Announcements
- Topic: GLX2 script editor released for Revolution
- Replies: 57
- Views: 27932
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.
Immediate colorisation is not working, but if the script is compiled, GLX2 closed & reopened, then the script is colorized.
- Thu Dec 24, 2020 12:38 pm
- Forum: Announcements
- Topic: GLX2 script editor released for Revolution
- Replies: 57
- Views: 27932
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...
- Thu Dec 24, 2020 3:39 am
- Forum: Databases
- Topic: revQueryDatabase returns different result sets compared to revDataFromQuery
- Replies: 1
- Views: 617
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...
- Thu Dec 24, 2020 3:16 am
- Forum: Announcements
- Topic: GLX2 script editor released for Revolution
- Replies: 57
- Views: 27932
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...
- Thu Dec 24, 2020 3:01 am
- Forum: Documentation and Tutorials
- Topic: playloudness property of player object missing
- Replies: 4
- Views: 2357
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...
- Thu Dec 24, 2020 2:55 am
- Forum: iOS Deployment
- Topic: Mobile Native Essentials Widget Pack
- Replies: 3
- Views: 569
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...
- Tue Dec 22, 2020 2:23 am
- Forum: Talking LiveCode
- Topic: Mobile Browser Widget Crashes
- Replies: 2
- Views: 457
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 ...
- Thu Dec 10, 2020 6:18 pm
- Forum: Announcements
- Topic: GLX2 script editor released for Revolution
- Replies: 57
- Views: 27932
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...
- Thu Dec 03, 2020 12:50 pm
- Forum: Talking LiveCode
- Topic: Standalone not working with script only stack
- Replies: 17
- Views: 4829
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...
- Tue Oct 27, 2020 12:41 am
- Forum: Android Deployment
- Topic: Android Studio - Additional JDK not needed (Solution to Java is none error)
- Replies: 5
- Views: 1129
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...