Speech in standalone - FIXED!
Chris Carroll-Davis
chris at carroll-davis.co.uk
Fri Apr 1 08:03:44 EST 2005
Phew!
At last got it working. Something very very odd going on with file
paths somewhere. It turned out to be part Revs fault - not copying
revSpeech.bundle into externals folder in app bundle, and part my fault
doing something odd with file path.
Right, now for Windows...
Thanks for your help on this!
Chris
On 1 Apr 2005, at 11:57, Chris Carroll-Davis wrote:
> Still doesn't work! Arghh. You were correct, the externals folder in
> the bundle was empty, but copying the revSpeech bundle there didn't
> solve it. Neither did altering "enableLibraries" path to point to it.
>
> I've just noticed this in Rev docs:
> >>> Important! When you install a new external by setting a stack's
> externals property, Revolution cannot use it until you either quit
> Revolution and then reopen the stack, or close the stack (after
> setting its destroyWindow property to true) and then reopen it. <<<
>
> I might be being really dense here, but how does this apply to
> standalone? If the standalone has only one stack, how can I close
> then reopen it? (Sorry, I'm new to this stuff!) Is there some kind
> of regime for installing/initializing externals that isn't obvious in
> the docs?
>
> Starting to get very frustrated with this!
>
>
> Chris
>
> p.s. I think I *am* on latest version of Rev. It says 2.5B1 in
> "About" box, but 2.6.2.77 with "Get info"...
>
>
>
>
> On 1 Apr 2005, at 09:18, Chris Carroll-Davis wrote:
>
>> Sarah -
>>
>> thanks for this tip. I'll try this and let you know!
>>
>> Chris
>>
>>
>> On 1 Apr 2005, at 04:58, Sarah Reichelt wrote:
>>
>>>> I need some advice on how to get speech working in a standalone
>>>> app. I'm working on a (for me) big video script-writing utility
>>>> that I want to feature a preview facility using text-to-speech.
>>>> (OS X only)
>>>>
>>>> Now... speech works easily in development version running with Rev,
>>>> but when I build a standalone, it fails.
>>>>
>>>> Here is a simple rev stack with one button and one field:
>>>> www.chriscd.dsl.pipex.com/Speech_test.zip
>>>>
>>>> The development stack works fine.
>>>>
>>>> The OS X app doesn't work. I *did* select speech as an option in
>>>> standalone maker, but no external resources seem to be copied over.
>>>> I note that on the Windows side, "revspeech.dll" gets copied to
>>>> destination. Should there not be some kind of OS X equivalent
>>>> (presumably, "revspeech.bundle" ?) I tried manually copying this
>>>> file to the application root, but still nothing. What am I doing
>>>> wrong?
>>>>
>>> Some versions of Rev had a problem copying OS X externals to the
>>> applications and then sometimes wouldn't even use them if you copied
>>> them manually.
>>>
>>> You need to open the OS X application bundle after it is built -
>>> right-click or control-click on the application and choose "Show
>>> Package Contents". Burrow down through the folders: Contents ->
>>> MacOS -> externals
>>> I would guess that the externals folder is empty - copy the
>>> revspeech.bundle manually to this folder and try it again. If this
>>> still doesn't work, alter your "enableLibraries" handler to point to
>>> the right place and see if that helps.
>>>
>>> Upgrading to the latest version of Rev will also solve this :-)
>>>
>>> Cheers,
>>> Sarah
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list