Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Marian Petrides
You are right again.  My bad. Thanks, Dar.

On Feb 14, 2004, at 7:55 PM, Dar Scott wrote:

On Saturday, February 14, 2004, at 05:03 PM, Marian Petrides wrote:

Wouldn't it see and execute the put whatText into field "debug" 
before it even knew there was an unsupported revSpeak out there???
This is what you wrote earlier:

On mouseUp
  Put field "TextToSpeak" into whatText
  RevSpeak whatText
  put whatText into field "Debug"
end mouseUp
The text of field "Debug" is set after the call to revSpeak.  If there 
is no revSpeak, then the handler will exit right there.  Execution 
will never get to the next line.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Dar Scott
On Saturday, February 14, 2004, at 05:03 PM, Marian Petrides wrote:

Wouldn't it see and execute the put whatText into field "debug" before 
it even knew there was an unsupported revSpeak out there???
This is what you wrote earlier:

On mouseUp
  Put field "TextToSpeak" into whatText
  RevSpeak whatText
  put whatText into field "Debug"
end mouseUp
The text of field "Debug" is set after the call to revSpeak.  If there 
is no revSpeak, then the handler will exit right there.  Execution will 
never get to the next line.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Dar Scott
On Saturday, February 14, 2004, at 04:34 PM, Marian Petrides wrote:

Thanks so much for the tip.  I didn't know I needed to manually move 
it.  Or (rereading your message) is there some checkbox I need to 
select to get it to be placed there in the process of making the 
standalone?
If you allow the Distribution Builder to place it, check "All Others" 
in the "Inclusions" tab.

Though this is under the heading "Script libraries:", this is really an 
external.  This is called a library other places and, though in a 
general sense it is, this can be confusing.

The DB will place the revSpeech.bundle next to the .app file.  It is 
not inside or in some special system folder.

The DB will append the path to the external to the externals property 
of the main stack, so it should not mess up what you have.

A path to an external is relative to defaultFolder at the time the 
folder is loaded, which in this case is the folder containing the .app. 
 So if you move the external down inside the .app, then you need to 
include that path.  I don't think having redundant paths will hurt.  
So, if you will be moving this, include that in the external paths 
before you build.

It is a little scary not knowing what the DB will do to your stack, so 
to feel comfortable, you might want to add some debug into in some of 
your first apps.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Marian Petrides
Dar,

That (checking all libraries) did the trick. Thanks!

And you were right about why my "clever" little debugging statement 
didn't work--presumably because the mouseUp handler quit prematurely, 
although you would think it would not see the RevSpeak command until 
AFTER it had put the value of whatText into the second field.

Wouldn't it see and execute the put whatText into field "debug" before 
it even knew there was an unsupported revSpeak out there???

I have SO much to learn!
M
On Feb 14, 2004, at 5:30 PM, Dar Scott wrote:

On Saturday, February 14, 2004, at 02:39 PM, Marian Petrides wrote:

In the IDE:   the text entered into the first field gets spoken and 
appears properly in the second field ("debug")
In the standalone: No speech, no text placed into field "debug"
Your example has no 'try' structure.  Perhaps your standalone does not 
have an errorDialog handler.  Under those conditions, maybe the error 
of not finding revSpeak or its not executing completely for some 
reason, simply causes your mouseUp handler to quit.  Under these 
conditions you might not get any indication of what is happening, 
except that things stop at a particular point.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Thomas McGrath III
You should not have to move anything manually. Unless you are moving 
your app + .bundle's to CD or another folder!!!

IN the DB there is an option for "All other Libraries" and It must be 
selected for the standalone to work right. The same goes for the 
videograb library too.

Tom
On Feb 14, 2004, at 6:34 PM, Marian Petrides wrote:
Doug

Thanks so much for the tip.  I didn't know I needed to manually move 
it.  Or (rereading your message) is there some checkbox I need to 
select to get it to be placed there in the process of making the 
standalone?

In any event, that may well be PART of the problem but manually moving 
revspeech.bundle into the data file for the app didn't fix things.  
And, it wouldn't explain why whatText doesn't seem to get the text 
from the first field and then put it into the second so there 
appears to be an additional problem with data not making it either 
into whatText or out of whatText into both the second field and the 
RevSpeak command.

Odd.

M

On Feb 14, 2004, at 6:19 PM, Doug Lerner wrote:

It could be the same reason why my video grabber worked in the IDE 
and did
not work at first in the standalone.

The speech feature requires that a separate file called 
"revspeech.bundle"
be in the data folder in the same location as the standalone. Make 
sure that
is also generated when building the application. And when you move the
application, make sure to take that data folder and bundle file with 
you.

doug

On 2/15/04 6:21 AM, "Marian Petrides" <[EMAIL PROTECTED]> wrote:

I just put together a very simple demonstration of the RevSpeak 
command
which consists of a card with 2 items on it:

A field named "TextToSpeak" into which one enters text  and a button
containing the following simple script.
On mouseUp
 Put field "TextToSpeak" into whatText
 RevSpeak whatText
end mouseUp
This works just fine (speaks the text entered into the field whenever
button is pressed) in the IDE running in Mac OS X 10.3.  However, 
when
I make the stack into a standalone for OS X, pressing the button 
yields
nothing but silence.

Anybody have any thoughts on why this works in IDE but not in
standalone???
Thanks

Marian

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Marian Petrides
Doug

Thanks so much for the tip.  I didn't know I needed to manually move 
it.  Or (rereading your message) is there some checkbox I need to 
select to get it to be placed there in the process of making the 
standalone?

In any event, that may well be PART of the problem but manually moving 
revspeech.bundle into the data file for the app didn't fix things.  
And, it wouldn't explain why whatText doesn't seem to get the text from 
the first field and then put it into the second so there appears to 
be an additional problem with data not making it either into whatText 
or out of whatText into both the second field and the RevSpeak command.

Odd.

M

On Feb 14, 2004, at 6:19 PM, Doug Lerner wrote:

It could be the same reason why my video grabber worked in the IDE and 
did
not work at first in the standalone.

The speech feature requires that a separate file called 
"revspeech.bundle"
be in the data folder in the same location as the standalone. Make 
sure that
is also generated when building the application. And when you move the
application, make sure to take that data folder and bundle file with 
you.

doug

On 2/15/04 6:21 AM, "Marian Petrides" <[EMAIL PROTECTED]> wrote:

I just put together a very simple demonstration of the RevSpeak 
command
which consists of a card with 2 items on it:

A field named "TextToSpeak" into which one enters text  and a button
containing the following simple script.
On mouseUp
 Put field "TextToSpeak" into whatText
 RevSpeak whatText
end mouseUp
This works just fine (speaks the text entered into the field whenever
button is pressed) in the IDE running in Mac OS X 10.3.  However, when
I make the stack into a standalone for OS X, pressing the button 
yields
nothing but silence.

Anybody have any thoughts on why this works in IDE but not in
standalone???
Thanks

Marian

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Doug Lerner
It could be the same reason why my video grabber worked in the IDE and did
not work at first in the standalone.

The speech feature requires that a separate file called "revspeech.bundle"
be in the data folder in the same location as the standalone. Make sure that
is also generated when building the application. And when you move the
application, make sure to take that data folder and bundle file with you.

doug

On 2/15/04 6:21 AM, "Marian Petrides" <[EMAIL PROTECTED]> wrote:

> I just put together a very simple demonstration of the RevSpeak command
> which consists of a card with 2 items on it:
> 
> A field named "TextToSpeak" into which one enters text  and a button
> containing the following simple script.
> 
> On mouseUp
>  Put field "TextToSpeak" into whatText
>  RevSpeak whatText
> end mouseUp
> 
> This works just fine (speaks the text entered into the field whenever
> button is pressed) in the IDE running in Mac OS X 10.3.  However, when
> I make the stack into a standalone for OS X, pressing the button yields
> nothing but silence.
> 
> Anybody have any thoughts on why this works in IDE but not in
> standalone???
> 
> Thanks
> 
> Marian
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Dar Scott
On Saturday, February 14, 2004, at 02:39 PM, Marian Petrides wrote:

In the IDE:   the text entered into the first field gets spoken and 
appears properly in the second field ("debug")
In the standalone: No speech, no text placed into field "debug"
Your example has no 'try' structure.  Perhaps your standalone does not 
have an errorDialog handler.  Under those conditions, maybe the error 
of not finding revSpeak or its not executing completely for some 
reason, simply causes your mouseUp handler to quit.  Under these 
conditions you might not get any indication of what is happening, 
except that things stop at a particular point.

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Dar Scott
On Saturday, February 14, 2004, at 02:39 PM, Marian Petrides wrote:

What gives?  Evidently there is some difference between the IDE and 
the standalone that prevents the contents of the first field from 
being properly captured and presented to the speech routine but also 
prevents it from being passed to the second field.  But I can't figure 
out why??
From the documentation for revSpeak:

  Important!  The revSpeak command is part of the Speech library. To 
ensure that the command works in a standalone application, you must 
include this custom library when you create your standalone. In Step 3 
of the Distribution Builder window, make sure the “All Other Libraries” 
option on the Inclusions tab is checked.

Could this apply?

Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Text to speech nonfunctional in standalone

2004-02-14 Thread Marian Petrides
Addendum to previous

If I add a second field to accept text from the following command 
(placed in the button's mouseUp handler in addition to the revSpeak 
command):   put whatText into field "debug"

Entire button script follows:

On mouseUp
  Put field "TextToSpeak" into whatText
  RevSpeak whatText
  put whatText into field "Debug"
end mouseUp
In the IDE:   the text entered into the first field gets spoken and 
appears properly in the second field ("debug")
In the standalone: No speech, no text placed into field "debug"

What gives?  Evidently there is some difference between the IDE and the 
standalone that prevents the contents of the first field from being 
properly captured and presented to the speech routine but also prevents 
it from being passed to the second field.  But I can't figure out 
why??



Marian


On Feb 14, 2004, at 4:21 PM, Marian Petrides wrote:
I just put together a very simple demonstration of the RevSpeak 
command which consists of a card with 2 items on it:

A field named "TextToSpeak" into which one enters text  and a button 
containing the following simple script.

On mouseUp
  Put field "TextToSpeak" into whatText
  RevSpeak whatText
end mouseUp
This works just fine (speaks the text entered into the field whenever 
button is pressed) in the IDE running in Mac OS X 10.3.  However, when 
I make the stack into a standalone for OS X, pressing the button 
yields nothing but silence.

Anybody have any thoughts on why this works in IDE but not in 
standalone???

Thanks

Marian

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Text to speech nonfunctional in standalone

2004-02-14 Thread Marian Petrides
I just put together a very simple demonstration of the RevSpeak command 
which consists of a card with 2 items on it:

A field named "TextToSpeak" into which one enters text  and a button 
containing the following simple script.

On mouseUp
  Put field "TextToSpeak" into whatText
  RevSpeak whatText
end mouseUp
This works just fine (speaks the text entered into the field whenever 
button is pressed) in the IDE running in Mac OS X 10.3.  However, when 
I make the stack into a standalone for OS X, pressing the button yields 
nothing but silence.

Anybody have any thoughts on why this works in IDE but not in 
standalone???

Thanks

Marian

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution