Search found 2686 matches

by jmburnod
Sun Sep 05, 2010 8:59 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: opening a diferent card based on day of the week
Replies: 5
Views: 2764

Re: opening a diferent card based on day of the week

Hi Magice,

if i understand what you want this script should work

Code: Select all

on openstack
   GoCdTheDay
end openstack

on GoCdTheDay
   put the long date into TheDate
   put item 1 of TheDate into TheDay
   put TheDay
   open cd TheDay
end GoCdTheDay

Best

Jean-Marc
by jmburnod
Tue Aug 24, 2010 10:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: calling a commad in card and stack with the same name
Replies: 5
Views: 3598

Re: calling a commad in card and stack with the same name

Look at "insert script" on the dictionary and on the stack "message hierarchy"
by jmburnod
Tue Aug 24, 2010 8:56 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: calling a commad in card and stack with the same name
Replies: 5
Views: 3598

Re: calling a commad in card and stack with the same name

You can also download the stack "messages hierarchy" of Richard Gaskin here

http://support.runrev.com/scriptingconf ... rarchy.zip

It explane difference between call, send etc...

Jean-Marc
by jmburnod
Tue Aug 24, 2010 8:14 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: calling a commad in card and stack with the same name
Replies: 5
Views: 3598

Re: calling a commad in card and stack with the same name

Hi gwbasic

You can use the pass command

Code: Select all

on mouseUp --button script
   test
end mouseUp

on test --card script
   put "myTestCard" && the ticks
   wait 500 milliseconds
   pass test
end test

on test --stack script
   put "myTestStack" && the ticks
end test
Best

Jean-Marc
by jmburnod
Tue Aug 24, 2010 7:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How difficult to learn?
Replies: 6
Views: 4034

Re: How difficult to learn?

Hi rpitcairn, And welcome. I come also from supercard and i'am a frenchy user and I have difficulties of understanding in English I'm very happy with Revolution You can lean on the generosity and the availability of the participants of this forum Still thanks to them for what they taught me Jean-Marc
by jmburnod
Thu Aug 19, 2010 10:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Standalones and imported images
Replies: 3
Views: 2361

Re: Standalones and imported images

Hi Echo, I'm so happy when i'm faster the anglophon users :D The paths are not the same for a stack or a standalone I use this script to create the paths of a subfolder "LeNecessaire" in the same folder of the standalone or the stack on FaitPathNec global gPathNec put the filename of this stack into...
by jmburnod
Mon Aug 09, 2010 9:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: get the current SpeechSpeed
Replies: 16
Views: 8052

Re: get the current SpeechSpeed

Bernd,
Donnerwetter !
You're right i tested getSpeechRateASII
I have same results with powerbook g4 10.4.3 et intel duo core 10.5.6 with getSpeechRateASIII

Jean-Marc
by jmburnod
Mon Aug 09, 2010 7:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: get the current SpeechSpeed
Replies: 16
Views: 8052

Re: get the current SpeechSpeed

Hi,

I tested the new version of getSpeechRateASII.rev

1. powerbook g4 10.4.2 minimum 1, middle 200, max 400
I readed on the revdictionary :
"The wordsPerMinute is an integer between 1 and 300"

2. Intel duo Core 10.5.6 always 1.0

If rev can "set" then it must can "get". Isn't it ?

best

Jean-Marc
by jmburnod
Sun Aug 08, 2010 6:17 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: get the current SpeechSpeed
Replies: 16
Views: 8052

Re: get the current SpeechSpeed

Hi Bernd,

And thank one more

I tested getSpeechRateASII.rev on two macs

1. powerbook G4 10.4.2 : return (512, 192)

2. Intel Core duo 10.5.6 : return 1.0

If i set the speedspeech with the slider of the system preferences, i have always the same result

Best

Jean-Marc
by jmburnod
Sat Aug 07, 2010 10:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: get the current SpeechSpeed
Replies: 16
Views: 8052

Re: get the current SpeechSpeed

Hi, And thank for your help I found something about GetSpeechRate in the link http://qurl.tk/ei but i don'n know how i can use it in rev. Best Jean-Marc --••GetSpeechRate Gets a speech channel’s current speech rate. OSErr GetSpeechRate ( SpeechChannel chan, Fixed *rate ); Parameters chan The speech ...
by jmburnod
Wed Aug 04, 2010 4:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: get the current SpeechSpeed
Replies: 16
Views: 8052

Re: get the current SpeechSpeed

Perhaps you can set the speechSpeed and store that value in a custom property?
Yes, but the user can set the speechSpeed in the system preferences and
i need to know it to set the value of a slider on openstack
by jmburnod
Wed Aug 04, 2010 10:52 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: get the current SpeechSpeed
Replies: 16
Views: 8052

get the current SpeechSpeed

Hi All, Is there a way to get the current SpeechSpeed ? I have seen a revSetSpeechSpeed command but not a revGetSpeechSpeed These are the correct values. Internaly the system preferences "speech" the slider has values from 1 to 401, 200 being the middle value. revSpeechSpeed 150 = 200 in the system ...
by jmburnod
Mon Jul 12, 2010 10:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Smaller than/bigger than
Replies: 8
Views: 5319

Re: Smaller than/bigger than

Hi Coder

< and > works only with integer

If you post your script, i see it

Regards

Jean-Marc
by jmburnod
Sun Jul 11, 2010 3:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Button behaviour
Replies: 5
Views: 3299

Re: Button behaviour

Pascal, I dowloaded your stack but i have an error "unable to open stack ; stack is corrupted" (I work with revolutionstudio 4.0 on a Mac PowerPc tiger and Intel with Leopard) Someone can explane me what happend ? All the best Jean-Marc P.S. my french is better than my english. We can discuss on the...
by jmburnod
Sun Jun 27, 2010 10:09 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Counting delimiter characters in a string
Replies: 13
Views: 7889

Re: Counting delimiter characters in a string

Salut Bernd,

Your corrections are really very useful for us
The next time i will look at the doc first :?

Vielen dank wieder

Jean-Marc

Go to advanced search