Search found 37 matches

by jmk_phd
Tue Oct 16, 2018 5:18 pm
Forum: Off-Topic
Topic: Future of LC?
Replies: 44
Views: 2121

Future of LC?

Today I received yet another email offer to add two more years to my Indy subscription for the price of one. I've already extended my subscription past 2020, which -- given my age -- may already outlast me. Back in the early 1990s I adopted the Prograph IDE -- from a company out of Nova Scotia -- to...
by jmk_phd
Tue Oct 16, 2018 2:08 am
Forum: Windows
Topic: Valid locations saving pref files
Replies: 6
Views: 282

Re: Valid locations saving pref files

Hi AxWald -- Thanks much for your feedback. If the problem using specialFolderPath(35) persists, I definitely will give your approach a try. Your code snippet is yet another important reminder to include scrupulous error-checking in my code. All too easy simply to assume that a routine will work as ...
by jmk_phd
Mon Oct 15, 2018 8:57 am
Forum: Windows
Topic: Valid locations saving pref files
Replies: 6
Views: 282

Re: Valid locations saving pref files

You wrote: I don't think it should be a user-set security problem, possibly the user account you have signed in as only has guest access rights, but I'd have thought you would have noticed other restrictions already. You give me too much credit. Although I've been programming for the Mac since the i...
by jmk_phd
Mon Oct 15, 2018 1:40 am
Forum: Windows
Topic: Valid locations saving pref files
Replies: 6
Views: 282

Re: Valid locations saving pref files

Hi, SparkOut -- Thanks much for confirming that Windows already restricts write access to the "Program Files" directory. I had in fact already employed your recommended specialFolderPath(35) in my original code in the case that the platform function returned "Win32". This failed. However, when I rew...
by jmk_phd
Fri Oct 12, 2018 4:32 am
Forum: Windows
Topic: Valid locations saving pref files
Replies: 6
Views: 282

Valid locations saving pref files

It's my understanding that recent versions of macOS do not permit writing files to the Applications folder, so (a) I create a subfolder in the Documents folder to store generated documents as PDF files, and (b) write a blowfish-encrypted text file to the user's Preferences folder -- specialFoldersPa...
by jmk_phd
Thu Jul 19, 2018 12:32 am
Forum: Mac OS
Topic: Old standalones work, IDE versions don't
Replies: 16
Views: 1473

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: 1473

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: 1473

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: 1473

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: 1473

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: 940

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: 590

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: 590

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: 652

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: 463

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...

Go to advanced search