Search found 78 matches

by Timothy
Wed Feb 08, 2017 7:39 am
Forum: Bug Triage
Topic: Bad filename in Player Objects causes crashes
Replies: 3
Views: 2160

Re: Bad filename in Player Objects causes crashes

That will prevent bad file paths, assuming a script sets the file path for the player. As far as I know, the crashes in question can be avoided by valid file paths. On the other hand, a bad fileName in a player object should cause a script error, not a crash. Alternately, if this problem can't be fi...
by Timothy
Wed Feb 08, 2017 1:54 am
Forum: Bug Triage
Topic: Bad filename in Player Objects causes crashes
Replies: 3
Views: 2160

Bad filename in Player Objects causes crashes

I'm on Mac OS 10.12.3, LiveCode Community Edition 8.1.2, and had similar problems with 8.1.1 I've been building a stack intended for personal use, for "ear-training," a musical skill. It uses a number of player objects, with external references for sounds, in .wav format. I've had dozens of crashes,...
by Timothy
Sun Jan 08, 2017 9:09 pm
Forum: Talking LiveCode
Topic: Random Sudden Quits in 8.1.2, Mac OS
Replies: 2
Views: 1531

Random Sudden Quits in 8.1.2, Mac OS

I'm getting too many random quits in LC 8.1.2, Community Edition, with Mac OS version 10.12.2. Not doing anything special, the context seems different every time. The machine is question is in use every day, for all kinds of purposes, seems absolutely stable. I did run the Disk First Aid utility. No...
by Timothy
Wed Jan 04, 2017 4:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Looking up a file pathname
Replies: 4
Views: 1353

Re: Looking up a file pathname

Okay, I understand now. I'll explore those LC features. Thanks again.

T'im
by Timothy
Tue Jan 03, 2017 10:50 pm
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Re: Old stack freezes -- something about "player"

That's an excellent suggestion, Richmond62. I haven't scripted at all in a couple of years, so I kind of forgot that's a possibility. That's probably a change I will make in a future version.

Glad to know I'm not the only one who falls afoul of file paths.

Tim
by Timothy
Tue Jan 03, 2017 10:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Looking up a file pathname
Replies: 4
Views: 1353

Re: Looking up a file pathname

Thanks so much Dave. Your suggestion will work just fine, of course, and I appreciate your detailed script. If I understand your script correctly, I am looking for something slightly different. Let's say I have already manually copied the folder containing the sound files to the new machine's hard d...
by Timothy
Tue Jan 03, 2017 9:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Looking up a file pathname
Replies: 4
Views: 1353

Looking up a file pathname

I have a folder full of sound files that are necessary for a stack I'm working on. It's working now on my machine, but I'd like to be able to give the stack and sound files to others, and that means I want them to work on other machines. To do that, I want to use a script to establish the pathName (...
by Timothy
Tue Jan 03, 2017 1:46 am
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Re: Old stack freezes -- something about "player"

Hi Jacque, Your name looks like a friendly face. :) I did try to "answer the result" after the "start player" command. LC froze before "the result" was generated. Repeatedly. I'm getting some funny and inconsistent behavior with invalid filenames in players, causing deadly freezes. I have to force-q...
by Timothy
Sun Jan 01, 2017 9:46 pm
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Problem diagnosed and solved!

I'm the OP. Figured it out! Thanks to Klaus for trying to help. The thing that has changed is that I have a new computer with a new username. Duh! Derrr! So the filename for the sound I want to play has changed. The script has been setting the filename of the players to an audio file in a non-existe...
by Timothy
Sun Jan 01, 2017 9:00 pm
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Re: Old stack freezes -- something about "player"

Any idea why this line would cause a freeze? set the currentTime of player "player.1" to 1 I tried adding these lines before the problem line: answer the duration of player "player.1" answer the currentTime of player "player.1" They work normally. Both values are zero I'm wondering about the nature ...
by Timothy
Sun Jan 01, 2017 7:20 pm
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Re: Old stack freezes -- something about "player"

Thanks, you've been very helpful. I now know what the problem isn't. Back to basic troubleshooting...

Tim
by Timothy
Sun Jan 01, 2017 7:02 pm
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Re: Old stack freezes -- something about "player"

Hi Klaus, Thanks for the help so far. AVFoundation does not not support as many codecs as QuickTIme! What format are your movies in? I'm trying to play short audio clips in .wav format. Could .wav be the problem? If not, has the player object changed? I.e, do I need to use a newer player object, ins...
by Timothy
Sun Jan 01, 2017 8:07 am
Forum: Talking LiveCode
Topic: Old stack freezes -- something about "player"
Replies: 11
Views: 3564

Old stack freezes -- something about "player"

Hello, I've come and gone on previous iterations of this forum since the early days of HyperCard. I don't do much "authoring" these days. (In the early days of hyperCard, I think it was called "authoring.") Nevertheless, I'm a self-taught dabbler and I'll be a newbie 'til I die. If you do the arithm...
by Timothy
Wed Jul 06, 2016 3:01 am
Forum: Talking LiveCode
Topic: Something about the message box has changed in version 8?
Replies: 10
Views: 2231

Re: Something about the message box has changed in version 8

FourthWorld wrote:If you get really adventurous and want to explore beyond the practical into the realm of "Ooh, this is fun!", you can even replace the Message Box with anything you like by setting the revMessageBoxRedirect global property to the long ID of any field.
I appreciate you, Richard.

Tim
by Timothy
Wed Jul 06, 2016 12:01 am
Forum: Talking LiveCode
Topic: Something about the message box has changed in version 8?
Replies: 10
Views: 2231

Re: Something about the message box has changed in version 8

Oh, I get it now! Good idea, I'll probably try that.

Go to advanced search