Search found 69 matches

by jmk_phd
Wed Nov 13, 2019 8:52 pm
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 10
Views: 326

Re: Finding folder/files in the application folder

Thierry -- Thank you for your incredibly kind offer. Although I'm skeptical of recent changes to the macOS file system, I agree that it seems implausible that so basic a routine as the one discussed would fail with a macOS update. I'm just handicapped by not being able to run a macOS beyond Sierra, ...
by jmk_phd
Wed Nov 13, 2019 8:16 pm
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 10
Views: 326

Re: Finding folder/files in the application folder

Hi bogs -- Although what you say is true when working with the IDE, my issue is instead with the standalone distributed to users. The standalone is distributed in a .zipped folder. When the folder is unzipped and copied to the Applications folder, it's like this: HD ..Applications ....EAS folder ......
by jmk_phd
Wed Nov 13, 2019 9:50 am
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 10
Views: 326

Re: Finding folder/files in the application folder

In response to bogs' worthy suggestion to try employing the specialFolderPath function, as far as I can tell there is no advantage over the code snippet in the original LC lesson about finding the path to the folder containing a standalone. Similar to working with the effective filename of the stand...
by jmk_phd
Tue Nov 12, 2019 11:11 pm
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 10
Views: 326

Re: Finding folder/files in the application folder

Hi Richard -- You're right, of course, that an app should write nothing to the Applications folder. (Some time back I had a tussle with my Windows-centric client, who'd been used to having his VisualBasic app write files to the Applications directory. I won that argument.) The documents generated by...
by jmk_phd
Tue Nov 12, 2019 5:59 pm
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 10
Views: 326

Re: Finding folder/files in the application folder

bogs -- Thanks for reply. I did indeed employ the code you quoted, which was borrowed from a LiveCode lesson: http://lessons.livecode.com/m/4071/l/7869-how-can-i-get-the-path-to-the-folder-a-stack-file-resides-in This has worked fine across several of my LC standalones (at least through macOS Sierra...
by jmk_phd
Tue Nov 12, 2019 1:25 am
Forum: Mac OS
Topic: Finding folder/files in the application folder
Replies: 10
Views: 326

Finding folder/files in the application folder

My program is located in a folder (dubbed EAS-SABE) in the Mac Applications folder. In turn, this includes a subfolder containing numerous audiofiles, along with several text files needed to lookup the results. The routine to identify the path to that program folder -- and, consequently, to the item...
by jmk_phd
Wed Oct 23, 2019 9:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 21
Views: 1187

Re: Naming array keys for WordReport!!

Richard -- You may very well be right that -- as speculated also by several contributors to this thread -- there are anomalies in how different versions of LC handle case in array keys. I can't test this myself with recent versions of LC, inasmuch as LC 9.x won't run under my macOS 10.6.8 Snow Leopa...
by jmk_phd
Wed Oct 23, 2019 8:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 21
Views: 1187

Re: Naming array keys for WordReport!!

Sorry to weigh in so late, but my experience with WordReport a couple of years ago was very similar. Like the author of the original post, I had to resort to WordReport templates rather than PDF because the client insisted that the reports (which included a couple hundred items) be editable. What I ...
by jmk_phd
Tue Oct 22, 2019 6:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

Jean-Marc -- I truly appreciate your wise programming advice as regards simplifying the code and will indeed follow best practices when designing an application from scratch. The problems in this case were many: What began as the simple administration of a series of test questions (illustrated in th...
by jmk_phd
Tue Oct 22, 2019 1:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

Thanks so much to everyone who has contributed to addressing this problem for me. As it turns out, Bernd's solution to insert flushEvents() just prior to a "go to next cd" -- which actually (in my own ignorance) both he and forum member -hh had suggested earlier in this thread -- seems to work just ...
by jmk_phd
Mon Oct 21, 2019 7:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

To all -- I've stripped out from the app all but the custom props and code that relate directly to the duplicate input issue -- eliminating the routines that handle other test item formats, timing, scoring, and the option to redisplay and edit a previous item. This new mainstack includes only the fi...
by jmk_phd
Sun Oct 20, 2019 12:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

Craig and Bogs and all -- Sorry to cause so much anxiety. (In my day job as a psychologist, my role is to help reduce anxiety.) Apologies especially to contributor richmond62 for losing a few hours of sleep. As an initial experiment, I changed all mouseDown and keyDown handlers/commands for the firs...
by jmk_phd
Sat Oct 19, 2019 4:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

Berndt (and -hh) --

Thanks for suggesting flushEvents(), with which I was not familiar. I will explore this alternative.

jeff k
by jmk_phd
Sat Oct 19, 2019 4:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

-- hh Thanks much for your reply. I've indeed debated using keyUp or mouseUp vs. keyDown and mouseDown, but found not sufficient guidance in the online LC Dictionary to decide how best to handle this problem. As mentioned previously -- although I agree with you and originally had a "Next" button -- ...
by jmk_phd
Sat Oct 19, 2019 4:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Preventing duplicate input
Replies: 27
Views: 1122

Re: Preventing duplicate input

Craig and Jean-Marc -- Thanks for your replies. Only because the app already must record the response time for each item -- i.e., the time between presentation of a new card and the response -- I'm reluctant to introduce possible confusion (at my end) by introducing an additional variable that track...

Go to advanced search