Search found 32 matches

by jmk_phd
Thu Jul 19, 2018 12:32 am
Forum: Mac OS
Topic: Old standalones work, IDE versions don't
Replies: 16
Views: 455

Re: Old standalones work, IDE versions don't

Jacque -- Thanks so much! The two lines of code that you recommended be added immediately after the answer command did indeed resolve the problem. Upon clicking the "OK" button in the answer dialog, the test items again responded to keyboard presses without first needing to click on the frontmost wi...
by jmk_phd
Tue Jul 17, 2018 2:01 am
Forum: Mac OS
Topic: Old standalones work, IDE versions don't
Replies: 16
Views: 455

Re: Old standalones work, IDE versions don't

Jacque and Craig -- Thanks so much for your replies. I've tried inserting a "set the defaultStack..." at various points in the script, none of which has enabled the app to perform properly as it had done a year or so ago. (It's currently still necessary to click once on the frontStack with the displ...
by jmk_phd
Wed Jul 11, 2018 9:55 pm
Forum: Mac OS
Topic: Old standalones work, IDE versions don't
Replies: 16
Views: 455

Re: Old standalones work, IDE versions don't

Craig and Jacque -- Thanks so much for your feedback. I'm sure you're both right that the problem involves the message path (ignoring for now why this was never a problem in the IDE or standalones from a year ago). In brief, here's the situation: The test displays an answer dialog to ask whether to ...
by jmk_phd
Wed Jul 11, 2018 2:49 am
Forum: Mac OS
Topic: Old standalones work, IDE versions don't
Replies: 16
Views: 455

Re: Old standalones work, IDE versions don't

Jacque -- As Craig noted, your explanation -- that an old standalone might still work because the contemporaneous engine had been embedded, whereas the same source stack file might fail when run in a newer (incompatible) version of the IDE engine -- makes perfect sense. I was hoping that this would ...
by jmk_phd
Tue Jul 10, 2018 12:03 am
Forum: Mac OS
Topic: Old standalones work, IDE versions don't
Replies: 16
Views: 455

Old standalones work, IDE versions don't

After a year spent developing a LC app for a colleague, I've returned to completing my own LC app. The problem is that a crucial routine -- identifying and processing a keypress -- no longer works in the IDE. Here's the thing: Whereas each earlier standalone still runs just fine, the LC code file up...
by jmk_phd
Sun Feb 18, 2018 3:32 am
Forum: Feature Requests
Topic: a roundDown function
Replies: 6
Views: 569

a roundDown function

It would be nice to have a roundDown function in LC, similar to the the ROUNDDOWN in Excel and other spreadsheets. For now I was able to work around this by using the LC trunc() function, inasmuch as the result needed was a whole number (i.e., sans decimals). But I can at least imagine a case in whi...
by jmk_phd
Mon Jan 15, 2018 10:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simple splash screen issue
Replies: 3
Views: 469

Re: Simple splash screen issue

Craig and Jacque -- Thanks much for your sound advice, which I will implement in v. 1.01 of the app. I know that it's poor form in LC (or any language) to rely upon kludges, but in the meantime I've resorted to employing a custom prop to work around the problem: on preOpenStack -- show splash screen...
by jmk_phd
Mon Jan 15, 2018 8:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Simple splash screen issue
Replies: 3
Views: 469

Simple splash screen issue

I'm surely missing something ridiculously simple, but I'm freaking out because the app is supposed to go public in a few days. I've just added a simple splash screen (substack) as a modal dialog that includes the usual credits and copyright info, to be displayed when the app first opens and when the...
by jmk_phd
Sat Dec 30, 2017 5:34 am
Forum: Mac OS
Topic: Using stack files as templates
Replies: 4
Views: 461

Re: Using stack files as templates

Thanks again, Richard! Your suggestion to treat the template as a substack and to employ the clone command is an incredibly simple alternative to the code I employed previously. So far this has passed the first crucial test: Unlike my previous approach, the Mac standalone using this strategy does in...
by jmk_phd
Fri Dec 29, 2017 12:38 am
Forum: Feature Requests
Topic: Project Browser Updating
Replies: 1
Views: 310

Project Browser Updating

My LC app opens a free-standing stack file, writes and saves data to that file, then closes the stack file. In the IDE, the Project Browser window displays the newly-opened stack file. However, the window does not update when that stack is saved/destroyed/closed -- which is to say that the stack fil...
by jmk_phd
Fri Dec 29, 2017 12:05 am
Forum: Mac OS
Topic: Using stack files as templates
Replies: 4
Views: 461

Re: Using stack files as templates

Richard – Thank you for the tips and code snippets. I definitely will give a try including the datafile template as a substack, then using the cloning strategy you’ve described. I can see that this might be much simpler and less error prone than trying to copy a free-standing stack file from the app...
by jmk_phd
Thu Dec 28, 2017 5:34 am
Forum: Mac OS
Topic: Using stack files as templates
Replies: 4
Views: 461

Using stack files as templates

I’m so sorry to bother everyone again, but I’m stymied by a problem involving the use of a free-standing stack file (located in the app folder) intended as a template for the datafiles created by the app. Upon first launch the app creates a subfolder in the user’s Documents folder. When the user cho...
by jmk_phd
Wed Dec 06, 2017 12:24 am
Forum: Windows
Topic: LC Answer File across Win versions
Replies: 7
Views: 882

Re: LC Answer File across Win versions

Thanks to all for posting a reply. I suspect that Tom is probably right that the problem is specific to the client's one Win7 PC, and probably had something to do with security settings. The clincher was that he subsequently disclosed that he'd had trouble before running psychological testing softwa...
by jmk_phd
Mon Dec 04, 2017 3:52 am
Forum: Windows
Topic: LC Answer File across Win versions
Replies: 7
Views: 882

LC Answer File across Win versions

I've just experienced a programmer's worst nightmare: A client encounters an error when running a prototype standalone that had tested out fine at my end. Admittedly, I'm a Mac user who can barely make his way in Windows, but my standalone Windows app works just fine on an old Windows Vista laptop. ...
by jmk_phd
Tue Oct 31, 2017 12:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport
Replies: 0
Views: 301

Naming array keys for WordReport

Although for my own apps I generate reports as PDF files, I'm helping a colleague who insists that these be editable files. Thanks to mentions elsewhere in this forum, I found Curry Kenworthy's clever WordReport extension. It necessitates passing an array that is used to fill in the items of a preco...

Go to advanced search