Search found 50 matches

by tjm167us
Thu Mar 05, 2020 11:10 pm
Forum: Talking LiveCode
Topic: LiveCode 9.5.1 Community running slowly on Windows 10
Replies: 18
Views: 11573

LiveCode 9.5.1 Community running slowly on Windows 10

Hello, friends. It's been a while since I've gotten to play with LiveCode. I downloaded 9.5.1, and much to my disappointment, it is crawling. It takes forever to type in the IDE, select menus, etc. It seems like it's faster when I first start it (but still not snappy), and progressively slows down. ...
by tjm167us
Wed Jun 28, 2017 8:39 pm
Forum: Talking LiveCode
Topic: Determining Serial Ports available on Windows
Replies: 8
Views: 7722

Re: Determining Serial Ports available on Windows

Richard and Mike, Thanks a lot for taking the time to look into this - The solution works great. Below is the final implementation to extract the data portion of the registry: //This is a workaround for using the queryRegistry command (bug was reported) //Must be VERY careful doing this as different...
by tjm167us
Wed Jun 28, 2017 1:34 am
Forum: Talking LiveCode
Topic: Determining Serial Ports available on Windows
Replies: 8
Views: 7722

Re: Determining Serial Ports available on Windows

Hi Richard, If you remove the "\" from the LiveCode example, it stops working. However, adding a "\" after SERIALCOMM doesn't work. In fact, I methodically changed the path in the following ways: "HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM\" "HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\" "HKEY_LOCAL...
by tjm167us
Tue Jun 27, 2017 11:32 pm
Forum: Talking LiveCode
Topic: Determining Serial Ports available on Windows
Replies: 8
Views: 7722

Re: Determining Serial Ports available on Windows

Hi Richard, Nearest I can tell it is a string (although I'm really unfamiliar with this whole windows registry business. The example in the LiveCode docs for the function queryRegistry is: put queryRegistry("HKEY_CLASSES_ROOT\.rev\") into msg This works as expected putting "RevolutionStack" into msg...
by tjm167us
Tue Jun 27, 2017 6:53 pm
Forum: Talking LiveCode
Topic: Determining Serial Ports available on Windows
Replies: 8
Views: 7722

Determining Serial Ports available on Windows

Greetings, Courtesy of hutchfx (from 6 years ago), I found two methods for determining the available COM ports on a windows machine in livecode: One uses brute force (attempting to open each one and relying on the error you get if it doesn't exist), and the other, queries of the windows registry. pu...
by tjm167us
Thu Mar 24, 2016 9:55 pm
Forum: Talking LiveCode
Topic: Desperately need help - infinite loop!
Replies: 5
Views: 3967

Re: Desperately need help - infinite loop!

Craig, THANK YOU, I was able to recover what I thought I lost - PHEW, lesson learned! To add onto what was probably clear to everyone but myself, you have to include the file path of the file you are interested in since the stack is not currently open. So for me, I typed the following into the messa...
by tjm167us
Thu Mar 24, 2016 8:13 pm
Forum: Talking LiveCode
Topic: Desperately need help - infinite loop!
Replies: 5
Views: 3967

Desperately need help - infinite loop!

Hi guys, I made a very silly mistake and I am afraid I may be stuck. I have a wait x milliseconds inside of an infinite main loop that gets called from my preOpenStack. Of course, in hind sight, I should have done wait x milliseconds with messages, but I had a lapse of judgement. To make matters wor...
by tjm167us
Tue Mar 15, 2016 6:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Property that is an array
Replies: 4
Views: 3986

Re: Custom Property that is an array

Hermann and Craig, Thank you both for your (prompt and thoughtful) replies - I read about the customPropertySet stuff, but didn't realize I inadvertently made one! From a design perspective, am I using custom properties as they were intended? I could have also used a global variable to do the same t...
by tjm167us
Sun Mar 13, 2016 10:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Custom Property that is an array
Replies: 4
Views: 3986

Custom Property that is an array

Hello everyone, It's been a while since I have used LiveCode so I'm a bit rusty. I have made a custom property in my stack that is an array called activePorts. The appropriate element of this property is updated when a particular checkbox is checked in my user interface. Please refer to my stacks in...
by tjm167us
Fri Oct 24, 2014 12:53 pm
Forum: Talking LiveCode
Topic: Integrating Mathematica Computations into LiveCode Program
Replies: 4
Views: 4513

Re: Integrating Mathematica Computations into LiveCode Progr

Thanks -hh. Any input regarding using the RESTful API implementation (if I chose to use Wolfram Cloud as part of my final application)?
Thanks,
Tom
by tjm167us
Fri Oct 24, 2014 12:07 am
Forum: Talking LiveCode
Topic: Integrating Mathematica Computations into LiveCode Program
Replies: 4
Views: 4513

Re: Integrating Mathematica Computations into LiveCode Progr

Hi -hh, I didn't realize that there was another way! Now, it's probably worth mentioning that FactorInteger[] was just an example. I will be performing computations in Mathematica that are more involved than that. Also, I would like to be able to have the standalone application work without Mathemat...
by tjm167us
Thu Oct 23, 2014 9:11 pm
Forum: Talking LiveCode
Topic: Integrating Mathematica Computations into LiveCode Program
Replies: 4
Views: 4513

Integrating Mathematica Computations into LiveCode Program

Hi guys, Recently, Wolfram Research has created the ability to generate RESTful API's that can be called by external applications. I am interested in doing this for an application I'm working on (that will be predominantly written in LiveCode). Please see the post that I made to the Mathematica Stac...
by tjm167us
Fri Aug 01, 2014 7:21 pm
Forum: Talking LiveCode
Topic: Passing a function as a parameter to another function
Replies: 3
Views: 3436

Re: Passing a function as a parameter to another function

Hi Richard, thanks for the prompt response. However, I don't think that's quite what I'm looking for. I understand not using the quotes (because I don't want the parameter in the repeat loop to be a string, I want it to be a function). But I also don't want the "mouseClick" function to be evaluated ...
by tjm167us
Fri Aug 01, 2014 6:34 pm
Forum: Talking LiveCode
Topic: Passing a function as a parameter to another function
Replies: 3
Views: 3436

Passing a function as a parameter to another function

Hi everyone, I am interested in passing a function as a condition to a repeat loop within a function I am writing that I want evaluated every time through the loop. In code: function myRepeat conditions, maxIterations put 1 into loopCounter repeat until (conditions or loopCounter>maxIterations) wait...
by tjm167us
Wed Nov 13, 2013 10:23 pm
Forum: Talking LiveCode
Topic: SQL,DB's, and LiveCode
Replies: 2
Views: 2962

SQL,DB's, and LiveCode

Hello everyone, I know there is a "Database" forum, but I have come to know people in this forum and don't like making new friends ;). I just started using databases with LiveCode have some nagging questions I can't find in the docs. When setting up an ODBC connection to a database, the liveCode les...