Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread stomfi

If the only software worth developing etc
Then
  You had better tell all those open source donkeys at Linux, 
FreeBSD, Mozilla, the GIMP, KDE, GNOME, Audacity, Apache, Xorg et 
al, to stop what they are doing and donate their free time to your 
projects.

End if

Regards Stomfi

Richard Gaskin wrote:

Judy Perry wrote:
 > On Sun, 19 Feb 2006, Geoff Canyon wrote:
 >
 >> Just to beat on the horse some more, given the above problem
 >> statement, I would likely store the names of the fifty handlers in a
 >> custom property, and do the following:
 >>
 >> do (line myParameter of the uHandlerList of this cd)
 >
 > And, a non/novice-programmer would simply close Rev and launch
 > PowerPoint...

If PowerPoint will do what they need with less work, they'd be a fool 
not to.


Rev is a software development tool. The only software worth developing 
is the stuff that doesn't exist yet.  If what you need already exists 
it's almost always cheaper to just buy it than make it yourself.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: crashes while using script editor in 2.7

2006-02-19 Thread MisterX
Hi Dave

I have experienced crashes when selected text with a double click in 
a plain field. im trying to isolate the bug too...

As I've said lots of times before: Rev should be confined to use windows
instead of just giving is a test ride in a pc emulator to see the reason we
windows users complain so much and why so many windows users don't go beyond
testing the demo... 

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Dave Beck
> Sent: Sunday, 19 February, 2006 23:59
> To: use-revolution@lists.runrev.com
> Subject: crashes while using script editor in 2.7
> 
> 
> Hi,
> 
> I downloaded 2.7 last week and have been having an awful 
> problem with consistent crashes while using the script 
> editor. It happens sometimes when I try to copy a portion of 
> text, sometimes when I am selecting, sometime when I am just 
> changing the positions of the cursor. I don't think I've 
> closed Rev normally one time in the last week - it has always 
> crashed before I get the chance. This never happened until I 
> upgraded to 2.7.
> 
> Is anybody else experiencing this issue? I am on Windows XP Pro.
> 
> Thanks,
> 
> David Beck
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: DC 2.7 and Windows command-line launch

2006-02-19 Thread MisterX
Hi Jacqueline

Yes, I filled bugzilla 3324 for this...

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> J. Landman Gay
> Sent: Monday, 20 February, 2006 04:45
> To: Revolution Mailing List
> Subject: DC 2.7 and Windows command-line launch
> 
> A client says he used to launch a stack via a DOS command by 
> specifying a file (stack) name after the program name, a 
> standard MS-DOS method for passing an argument to a program 
> being launched. He says it no longer works in Dreamcard 2.7.
> 
> Can anyone else verify this? Or is there something else he 
> should be doing?
> 
> -- 
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Height/Width of Text?

2006-02-19 Thread Scott Rossi
Recently, Brian K. Maher wrote:

> Can anyone give me some insights on how I can determine the exact
> height and width in pixels of a text string when it is rendered on
> the screen in a given font and point size?

Another good function besides the formattedWith/Height is the formattedRect.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Richard Gaskin

Judy Perry wrote:
> On Sun, 19 Feb 2006, Geoff Canyon wrote:
>
>> Just to beat on the horse some more, given the above problem
>> statement, I would likely store the names of the fifty handlers in a
>> custom property, and do the following:
>>
>> do (line myParameter of the uHandlerList of this cd)
>
> And, a non/novice-programmer would simply close Rev and launch
> PowerPoint...

If PowerPoint will do what they need with less work, they'd be a fool 
not to.


Rev is a software development tool. The only software worth developing 
is the stuff that doesn't exist yet.  If what you need already exists 
it's almost always cheaper to just buy it than make it yourself.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Geoff Canyon
I wasn't suggesting this as a recommendation for beginners -- just as  
a clearer more efficient way to solve the problem as stated. Neither  
a case statement nor an if/then can clearly represent 50 choices.


On Feb 19, 2006, at 6:03 PM, Judy Perry wrote:


And, a non/novice-programmer would simply close Rev and launch
PowerPoint...

Judy

On Sun, 19 Feb 2006, Geoff Canyon wrote:


Just to beat on the horse some more, given the above problem
statement, I would likely store the names of the fifty handlers in a
custom property, and do the following:

do (line myParameter of the uHandlerList of this cd)



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rendering Text

2006-02-19 Thread Wally Rodriguez

Seems like a good approach.

I'll let you all know how it goes...

W.

On Feb 15, 2006, at 3:13 PM, Scott Rossi wrote:


Maybe one of these is what you want...

Import image into the stack:
  import snapshot from rect (rect of your stuff)

Export image to file:
  export snapshot from rect (rect of your stuff) to file  \
  as 


Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


DC 2.7 and Windows command-line launch

2006-02-19 Thread J. Landman Gay
A client says he used to launch a stack via a DOS command by specifying 
a file (stack) name after the program name, a standard MS-DOS method for 
passing an argument to a program being launched. He says it no longer 
works in Dreamcard 2.7.


Can anyone else verify this? Or is there something else he should be doing?

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: REVCON 2006

2006-02-19 Thread Mark Wieder
Andre-

Sunday, February 19, 2006, 11:17:02 AM, you wrote:

> I also have lots of surprises in my bag of holdings... I am looking
> forward for more information too!

Oo - surprises from Andre are always something to look forward to.
You still on dialup in tropical storms?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Mark Wieder
Judy-

Sunday, February 19, 2006, 5:34:10 PM, you wrote:

> If-Thens are readily comprehensible by non/novice-programmers.

> Case-Switch statements are preferred by "real" programmers.

Not so. I've put forth the situations in which I would normally use
switch statements, but I do use if/then statements (and even elses) a
whole lot. I even nest them.

It's kind of like getting past the hurdle of writing your first
function. And why you would want to do that in the first place.

But, yes, I'm in agreement that first you teach the if/thens - they're
the basis of programming. And why HTML isn't a programming language.
Once someone's mastered basic conditionals then you can start working
other things in (elses and elseifs and switches and such).

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Dock icon - data update

2006-02-19 Thread Mark Wieder
Jacque-

> Yes, you should be able to do it. Revolution has a global property
> called the "icon" which, if set, specifies the icon that is displayed in
> the OS X dock. You could write a script that takes a snapshot of a small
> image containing the text you want to show, and then set the icon to the
> id of that image. If you do this repeatedly using a "send in "
> structure, the icon would update dynamically.

!!!

-- 
 -Mark Wieder
  [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parameters [WAS: Main menu puzzle]

2006-02-19 Thread Mark Swindell


On Feb 18, 2006, at 9:43 AM, J. Landman Gay wrote:


Mark Swindell wrote:
Parameters are, to me, the least well-explained and  least  
intuitive aspect of Rev (and programming in general).


You can have any number of parameters declared in a handler:

on myHandler pOne,pTwo,pThree 
 ...

If the engine (or one of your own handlers) passes three parameters  
to this handler, each parameter "basket" will hold one of the items  
that is passed to it.


If more parameter items are passed than you have declared parameter  
"baskets" to hold, the extra ones are not available to your script.  
(There is a way around this using "the params" but that is more  
advanced than we want to talk about here.)


If fewer parameter items are passed to your handler than you have  
"baskets" declared, the extra baskets are empty.


Feel free to ask for clarification, I wrote this very quickly.


This explanation was quite good, as is usual for the source...  
thanks :)  The tone of this short tutorial is exactly what the doctor  
ordered for making Rev comprehensible to new users.  The latter part   
regarding multiple parameters after declaring the handler is key, as  
naming multiple "baskets" and filling them- or not- is the part that  
is not at all intuitive. Fleshing this out with a few examples would  
be a godsend to the documentation.  "Assume nothing" about the new  
user is the best route to comprehensible explanations for everyone at  
that level... and on up.


Thanks,

Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Linux File/Picture Chooser Widgets Preview

2006-02-19 Thread Bob Warren
If anyone is interested in a preview of the Linux File/Picture Chooser 
widgets soon to be made available by yours truly, take a butcher's** at 
http://www.howsoft.com/runrev/stacks.htm and scroll down to the bottom 
of the page.


Bob

** If English is not your mother tongue, or you are not a cockney, like 
what I am:


butcher's = butcher's hook = look

Try this one:

"Me plates are hurtin'"
plates = plates of meat = feet

Got it? Decidedly OT!!! (i.e. Old and Tired)

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Judy Perry
And, a non/novice-programmer would simply close Rev and launch
PowerPoint...

Judy

On Sun, 19 Feb 2006, Geoff Canyon wrote:

> Just to beat on the horse some more, given the above problem
> statement, I would likely store the names of the fifty handlers in a
> custom property, and do the following:
>
> do (line myParameter of the uHandlerList of this cd)

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Wow! It's starting to click now!

2006-02-19 Thread Jeanne A. E. DeVoto

At 7:04 PM -0800 2/18/2006, Scott Rossi wrote:

Why is it not possible to substitute 1 and 0 for true and false?  Is this
possible and I've just never seen it?  Has no one ever needed this option?


It goes back to the way xTalks handle values. True and false are 
strings, not numbers (the constant true has value "true", and 
likewise for false). This is how boolean values are reported 
throughout the language, as the strings "true" or "false".


I suppose xTalks could special-case equalities by making the string 
"true" equal the string "1", and "false" equal "0", but it would be 
kind of opaque to scripters, I think. (Handy, but hard to understand.)

--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Judy Perry
Richard,

Exactly!

This is precisely the sort of issue that has been comprehensively examined
in studies on the psychology of the non/novice-programmer.  It's a
quandary of the academic discipline:  do we teach programming as an art or
science, or do we "teach" it as a  job skill? And, at what level is either
appropriate or inappropriate?

For instance, we used to use Pascal as our intro to programming course
language because it was developed as a teaching language.  Now we use C++
-- why?  Because we think it's a better teaching tool of basic programming
concepts?  No.  Because we've somehow been convinced that in a 100-level,
intro to programming course, it is more important to teach the students a
"real" programming language rather than choose a language that is best
suited to teaching programming concepts _in general_.

I believe that the few studies on this which examined students using an
X-talk found a lower attrition rate and an increased and even
voluntary rate of usage/programming among CS0 (non-CS majors) students
even _beyond_ the termination of the CS0 course.

Why is this my 'crusade'?  Because there are a zillion complicated,
geeks-only development languages and environments out there. X-talks,
however, are a different breed: they are higher-level languages -- for a
reason!  They are type-less, verbose, visually-oriented -- again, for a
reason!  What was the genius of Hypercard?  That it was for idiots-only?
Or rather that it accomodated every possible learning level of those using
it, from confirmed end-users (using the templates/app stacks) to those
wishing to modify the same just a little bit, to those wanting to either
change them substantially OR roll their own... to those hardy souls using
it to front-end unix system processes and/or writing their own x-thingies.
And, at any given level, the higher levels were invisible... until you
needed them not to be.

As critical as I can sound, I have the highest confidence that RunRev has
the ability to carry forward this ingenuous paradigm of programming into
the new century/millenium.

But, as a community commited to this paradigm, we cannot afford to forget
what it feels like to be a non-programmer.  If we forget, Transcript might
as well be C++ or Java or...

anything that is NOT the very thing for which Revolution
is one of only a very few surviving examples.

Judy

 On Sun, 19 Feb 2006, Richard
Gaskin wrote:

> Teaching the whole of the art of programming in a single session or even
> a single semester would likely overwhelm the student and the teacher.
> If a given construct seems a bit daunting for the first semester or the
> first year, there's plenty of time to introduce it later.
>
> Learnability and usability are different goals.  If switch/case blocks
> seem a bit much for the learner, that takes nothing away from the
> graceful utility which has made them a cornerstone of so many languages.
>
> Switch/case blocks may be best learned in the second semester anyway:
> if the first semesters goes well, by the end of it the learner may have
> already begun to find the limitations of if/then and is hungry for
> something else
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Judy Perry
Graham,

Well, in the original context of this thread, I wouldn't.  I suspect that
there aren't many Inventive Users who would need that level of
functionality/programming expertise.  Certainly, the original poster for
this thread didn't (remember: it was a very short list of menu options).

And, again, in the spirit of the original postings of the thread, I'd say
this:

If-Thens are readily comprehensible by non/novice-programmers.

Case-Switch statements are preferred by "real" programmers.

Real Programmers can take a look at any given set of if-thens and
internally posit the corresponding, perhaps superior, case-switch
statement(s).

But it doesn't work the other way around.

Regards,

Judy


On Sun, 19 Feb 2006, Graham Samuel wrote:

> Just to add a tiny footnote to this: Judy, how would you tackle a
> situation where a user (or a handler) can put in say a number from 1
> to 50, and each of those numbers requires the program to carry out a
> different action? It wouldn't really be feasible to have a depth of
> 50 if-then-elses, so if you want to stick to a simple sequential
> model, either you'd have to use a switch (case) statement, or
> alternatively a structure like a handler 'myHandler' containing 50
> statements like:
>
> if my parameter = 33 then
>   doMyThirtyThirdThing
>   exit myHandler
> end if
>
> which - to me - looks pretty much the same in terms of transparency.
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Judy Perry
Malte,

Obviously, I agree.  It's downright critical for game dev...

Judy

On Sun, 19 Feb 2006, Malte Brill wrote:

> Count me in for the wanters and here is the reason why: If you use
> multiple player objects this will work o.k. for audiofiles that are
> longer than just a few seconds. If you try to play more than 4 or 5
> (very) short audioclips (think sound effects) at the same time it is
> not quite practical. This is nothing Rev is to blame for. It is simply
> that these files need to be played back from the HD, which might start
> spinning like mad trying  to locate all the short clips at once,
> especially on older machines. I used to do HD recording with Pro Toos,
> so I know the sound and I know the reason why it is happening, as I
> coded the stack. But if it is a normal user who hears hectic activity
> from the HD and maybe audio starting to stutter while the app doesn?t
> do anything more but playing a few sound effects, I would think "What
> the hell is wrong with that Program? Do they scan/erase my HD?".
> Knowing that multichannel audio might not have highest priority I pray
> for someone writing an external  that works cross plattform.
>
> I would be willing to pay a few $$ for it and I guess some others would
> too, wouldn?t they? If so let the list know, someone might pick up the
> challenge...
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where is the list of all the Revolution messages etc?

2006-02-19 Thread Chipp Walters

Hi Mark,

Regarding RevCon West, Dan and I will be making an announcement no later 
than Wednesday of the coming week.


best,

Chipp

Mark Wieder wrote:


Speaking of the next conference, have you and Dan decided about this
year's event?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parameters [WAS: Main menu puzzle]

2006-02-19 Thread Thomas McGrath III
I just ate a hugh meal for my daughters birthday party and really  
can't deal with more food functions right now.


Thanks anyway.

Tom ;-)

On Feb 19, 2006, at 2:11 PM, Jim Ault wrote:


Mark Swindell wrote:


Parameters are, to me, the least well-explained and  least
intuitive aspect of Rev (and programming in general).



You order a meal at a restaurant.
The waitress writes down your order, but does so in a rather cryptic
fashion.. coffee with cream, a prune danish, scrambled eggs and  
bacon, and a

glass of water.  The parameters you give to her.

The waitress goes back to the short order cook and 'hangs a tag'.   
This slip
of paper has the parameters the cook needs to process food items  
into the
meal that matches the order.  The cook stops smoking his cigarette  
long

enough to slide the hot meal onto the shelf for the waitress.

The waitress picks up the luke-warm plate and brings it to your table,
adding to this, the danish, cold cup of coffee and the water.
Just what

you had in mind when you sat down.

Thus, you give the waitress a long list of parameters, she  
processes some of

them, and passes a few to the short order cook, who does likewise.

Oh, and one other thing.. although you did not specifically request  
this,
the bill is added to the items you receive because it is implied by  
your

placing an order.

At home, you have to provide all of the services.  At a restaurant,  
there is
the WaitressFunction, CookFunction, CashierFunction.  Depending on  
how the
owner programmed his restaurant, you get variations in menu,  
service, and

satisfaction.

Jim Ault
Las Vegas


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is duration (not delay) of the toolTip adjustable

2006-02-19 Thread Thomas McGrath III

André,

You might also want to check out my other stacks "Tool Tip Reveal"  
and "Multi Tool Tip" user space mcgrath3


They do a little different approach with mouseUp instead but for  
showing tool tips for multiple objects.


on mouseUp
set the toolTipDelay to 150
set the moveSpeed to 250
put "One" & cr & "Two" & cr & "Three" into lMyList
repeat with g = 1 to the number of lines in lMyList
set the screenMouseLoc to globalLoc(the loc of button g)
set the cursor to hand
wait 4000 milliseconds with messages
end repeat
set the screenMouseLoc to globalLoc(the loc of button "Run")
end mouseUp

Tom

On Feb 19, 2006, at 1:01 PM, André.Bisseret wrote:


Hi Tom,
Thank you for your "Longer toolTip" stack. I would very much get  
durations like those of button 2 or even button 3, that work very  
nicely


But, in my case I can't, I am afraid ! I must manage lines of text  
in a field ; I can't use "on mouseEnter" ; I must use "mouseDown"  
because I need to get the text of the line on which the cursor is  
located, and this, ONLY starting from an intended action  from the  
user.


I tried diverse solutions inspired by your button 3 script, but  
without any success (Could be I miss some way)


As Éric told me, the best I obtained was flickering tooltips :-((

Anyway thanks a lot Tom ; I keep your solution in memory

Bests regards from Grenoble
André


Le Saturday, 18 Feb 2006, à 20:11 Europe/Paris, Thomas McGrath III  
a écrit :



Hello,

I have uploaded a sample stack to my user space that will display  
a tooltip for a longer period of time than the standard tooltips  
using standard tooltips. It also shows how to display a multiple  
tooltip but that part does not always work for some reason.


User space: mcgrath3
Stack: Longer Tooltips in Revolution


HTH

Tom

Any ides why the second button only shows the second tooltip  
occasionally



On Feb 18, 2006, at 12:13 PM, Eric Chatonet wrote:


Re Bonjour André,

Afraid there is no way to master the duration for which a tooltip  
is displayed.

The only thing you can do is to re-display the tooltip repeatedly...
But flickering would probably appear...
Not a very good answer :-(

Le 18 févr. 06 à 18:05, André.Bisseret a écrit :


Hello,
The app. I am developing is a set of texts, one on each card.
On a special card, accessible from the homeCard, there is a  
field that displays the list of all the titles of the texts.
Of course, this field has a vertical scrollBar but also an  
horizontal one, because some titles are  longer than the width  
of the field.
I am not very happy about this horizontal scrollBar, from an  
ergonomical point of view.
So I will keep it, but I would like to add a redundant way to  
reading the ends of the longs titles.
Thanks to Tutorials Picker 2.0, that I « picked » on the site So  
Smart Software of Éric Chatonet,  I discovered «  How to create  
contextual toolTips on-the-fly ».

Reading this tutorial, I got the idea of using « toolTips ».

Below is the handlers I wrote in the script of the TitlesField :

local tLine

on mouseDown
  put word 2 of the mouseLine into tLine
  set the tooltip of me to empty
  set the toolTip of me to line tLine of me
end mouseDown

on mouseUp
  set the toolTip of me to empty
end mouseUp
 ---
I put this « mouseUp handler » because the toolTip stays there  
for a certain time that is constant before disappearing.

I want to avoid constraining the user to wait for all this time.
That works well but, on the other hand, this constant duration  
is sometimes a bit too short to read comfortably the longs  
titles in the toolTip.
There is my problem : Is there a possibility to set the duration  
of toolTip display ? In fact I would need to get it longer.
I searched diverse ressources (with « Ressources Picker », of  
course) but I did not find any answer to this question.


Thanks in advance for any idea,

Best regards from Grenoble
André


Best Regards from Paris,
Eric Chatonet
 
--
http://www.sosmartsoftware.com/ 
[EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscr

Re: Dock icon - data update

2006-02-19 Thread J. Landman Gay

Karen wrote:

Hi,

I was wondering whether there is any way in Revolution to show text  on 
the dock icon in Mac OS X?  I'm updating my Stock Portfolio  program and 
one of the neat features that has been suggested is the  ability to see 
(say) the current value of your portfolio on the dock  icon.  Since it 
is very platform specific, I wasn't sure whether  Revolution could do it...


Yes, you should be able to do it. Revolution has a global property 
called the "icon" which, if set, specifies the icon that is displayed in 
the OS X dock. You could write a script that takes a snapshot of a small 
image containing the text you want to show, and then set the icon to the 
id of that image. If you do this repeatedly using a "send in " 
structure, the icon would update dynamically.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Klaus Major

Hi Scott,


Recently, Klaus Major wrote:


there was once a commercial external for MetaCard named
"EXT.dll" (sic!) which had been
created and sold by a small scottish company named "Cross Worlds
Computing" about 5 or 6
years ago.

I bought one because it had some very nifty features for windows, for
example (besides other
nice things) un-/loading of a font on the fly and support for up to 4
soundchannels, so we
could play up to 4 (FOUR, maybe more, i don't remember...) sounds at
the same time without
the use of QuickTime.


I remember this and could never get it work.  Tuviah Snyder (who I  
believe

authored most if not all of the external) told me at the time that the
feature was created based on some experimentation on various  
computers but
was never developed/tested as a real-world solution for all  
situations.


Aha, very interesting, but it worked on my pc at that time! Lucky me :-)

(At that time I was using SndChannel that provided similar  
functionality for

pre-OSX systems.)

But times have changed, computers have moved forward, and Rev's audio
capabilities desperately need to move forward as well. So whether  
its the
Rev guys themselves or a third party company, *any* development  
effort that

brings more advanced audio features to Rev would be very welcome.


That's true!


Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


crashes while using script editor in 2.7

2006-02-19 Thread Dave Beck

Hi,

I downloaded 2.7 last week and have been having an awful problem with
consistent crashes while using the script editor. It happens sometimes when
I try to copy a portion of text, sometimes when I am selecting, sometime
when I am just changing the positions of the cursor. I don't think I've
closed Rev normally one time in the last week - it has always crashed before
I get the chance. This never happened until I upgraded to 2.7.

Is anybody else experiencing this issue? I am on Windows XP Pro.

Thanks,

David Beck

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Geoff Canyon

On Feb 19, 2006, at 11:41 AM, Graham Samuel wrote:

Just to add a tiny footnote to this: Judy, how would you tackle a  
situation where a user (or a handler) can put in say a number from  
1 to 50, and each of those numbers requires the program to carry  
out a different action? It wouldn't really be feasible to have a  
depth of 50 if-then-elses, so if you want to stick to a simple  
sequential model, either you'd have to use a switch (case)  
statement, or alternatively a structure like a handler 'myHandler'  
containing 50 statements like:


if my parameter = 33 then
 doMyThirtyThirdThing
 exit myHandler
end if


Just to beat on the horse some more, given the above problem  
statement, I would likely store the names of the fifty handlers in a  
custom property, and do the following:


do (line myParameter of the uHandlerList of this cd)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quick Linux Question

2006-02-19 Thread stomfi

Re your Linux stuff

The Linux syntax to  mount any media whether  in fstab or  not is

mount devicename mountpoint

see the  man page for option  flags

to mount a floppy at /media/floppy one could write
in Linux shell code

#Make sure mount point exists
mkdir /media /media/floppy
#may have to give it read/write permission
chmod +rw /media/floppy
#mount the media
mount /dev/fd0 /media/floppy

and to check it got mounted

mount | grep floppy

Of course the mount point doesn't have to be where fstab says it is,
it could be any where you can set read/write permissions
like $HOME/media/floppy.

Better to check it is mounted first because many of the newer 
versions of Linux automount the floppy and other removable media 
like windows does. A bit of a security hole, but like all things 
Windoze,  "Ease of Use" is more important than system security.
This also means that you don't have to "umount /media/floppy" to 
unmount it as this happens automagically as well.


Re your keys problem, your Linux window manager may have set this 
key to something else. RunRev does work better in GNOME which is GTK 
based, but KDE is also popular as many Windows indoctrinated users 
like it.


Then like all things Linux there is the choice of all the rest of 
the window managers. Its a bit like a deaf blind person having lots 
of wives or husbands. You are never quite sure what to say until 
they bite your ear. But I like it.


Kind regards
Stomfi

Bob Warren wrote:

Dear Mark,

I have asked the following simple Linux question on-List, but I have not 
received any kind of answer. It suddenly occurs to me that you might be 
the most qualified person to give me the answer I am seeking.


As you may have seen recently, I have produced a pair of standalone 
file/picture chooser widgets for Windows (see 
http://www.howsoft.com/runrev/stacks.htm). I am now working on the Linux 
version. The trouble is that I do not have extra computers available to 
install versions of Linux other than the one I am using (Ubuntu Hoary 
Hedgehog: the floppy doesn't work at all in Breezy Badger!), so I am not 
in a position where I can easily discover things for myself.


In Ubuntu (Debian based, Gnome), I am using routines such as the 
following to mount/read CDs and diskettes:


on mouseUp
  get shell("mount /media/floppy0") --or "/media/floppy"
  set the defaultFolder to "/media/floppy0" --or "/media/floppy"
  put the files into field "List1"
end mouseUp

on mouseUp
  get shell("mount /media/cdrom0") --or "/media/cdrom"
  set the defaultFolder to "/media/cdrom0" --or "/media/cdrom"
  put the files into field "List1"
end mouseUp

In Ubuntu, I am checking the existence of the CD and diskette drives 
using fstab in the folder "/etc", which of course also specifies the 
mount points:


# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/hda1   /   ext3defaults,errors=remount-ro 
0   1

/dev/hda5   noneswapsw  0   0
/dev/hdc/media/cdrom0   udf,iso9660 ro,user,noauto  0   0
/dev/fd0/media/floppy0  autorw,user,noauto  0   0


Can you give me some general advice as to how I should check/mount/read 
the diskette and CD in other versions of Linux? Are main differences 
between Gnome and KDE interfaces, or is it more profound than that? Will 
/etc/fstab always give me the info I need, or might I need to look 
elsewhere? (Sorry, part of the problem is my lack of experience with 
Linux anyway.) A nice feature for the future in RR would be the ability 
to quickly identify more specifically the exact Linux platform in use 
insofar as it significantly affects programming options such as the ones 
outlined here.


As for producing a Mac version of the widgets, that's where I am really 
stuck. I don't know anything about the Mac file system at all. Here in 
Brazil, Macs are impossibly expensive (even the Mac Mini which is almost 
3 times the price in the US). However, I imagine that when the Linux 
version is ready (hopefully within a week or so), it would be easier to 
convert this version to Mac than to convert it from the Windows version. 
How would you go about getting the widgets converted to Mac? Or would 
you just forget it?


This was meant to be a quick e-mail, but I cannot fail to mention an RR 
Linux bug that is bugging me, in the hope that it also does not appear 
in 2.7. If I am editing a script with the toolbar showing, and I use 
CTRL+S to save rather than closing the editing window and then saving, 
the IDE goes nuts. It seems to get stuck in a loop where first the 
toolbar is brought to the front, and then the editor is brought to the 
front. Fortunately, the problem can usually be solved by closing the 
editing window either before or after saving, but the constant use of 
CTRL+S without closing the editing window is so useful that I would 
indeed like to see this fixed in 2.7.

Re: Buttons within or on top of a Quicktime movie?

2006-02-19 Thread J. Landman Gay

Jonathan Kotthoff wrote:

Hello all:

Does anyone know if it is possible to put invisible buttons on top of or 
have clickable items within a QuickTime movie in Rev? I want to 
accomplish interactive videos in Rev without having to resort to sprites 
using QT or Livestage..


If you set a player's "alwaysBuffer" property to true, you can put other 
objects, like buttons, on top of it. However, the built-in conroller 
will no longer work (you'll need to script all the playback options) and 
playback may not be as smooth. See the alwaysbuffer entry in the docs.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Scott Rossi
Recently, Klaus Major wrote:

> there was once a commercial external for MetaCard named
> "EXT.dll" (sic!) which had been
> created and sold by a small scottish company named "Cross Worlds
> Computing" about 5 or 6
> years ago.
> 
> I bought one because it had some very nifty features for windows, for
> example (besides other
> nice things) un-/loading of a font on the fly and support for up to 4
> soundchannels, so we
> could play up to 4 (FOUR, maybe more, i don't remember...) sounds at
> the same time without
> the use of QuickTime.

I remember this and could never get it work.  Tuviah Snyder (who I believe
authored most if not all of the external) told me at the time that the
feature was created based on some experimentation on various computers but
was never developed/tested as a real-world solution for all situations.

(At that time I was using SndChannel that provided similar functionality for
pre-OSX systems.)

But times have changed, computers have moved forward, and Rev's audio
capabilities desperately need to move forward as well. So whether its the
Rev guys themselves or a third party company, *any* development effort that
brings more advanced audio features to Rev would be very welcome.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rép : Palette mystery -solved for me

2006-02-19 Thread Jean-Paul Poccard


Le 19 févr. 06, à 19:00, Scott Rossi a écrit :


Recently, Jean-Paul Poccard wrote:


My stack worked as expected with RR 2.6,
the substacks which had to be displayed as palettes were never hidden
by the topstack.  Now, even if I remind via the message the stacks of
displaying as toplevel  (the mainstack) or as palettes (the 
substacks),

a click in the mainstack moves it in front of the palettes.


Does this mean you seeing this only with version 2.7?  Either way, try 
to
reproduce it in a simple text stack -- if you can, you should notify 
Runtime

Revolution.

Regards,


The palettes behave like palettes have to since Constellation is 
uninstalled.

(this operation did not heal the sickness of my magnifying-glass)
Thank you for your answer.

Cordialement
Jean-Paul Poccard
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette mystery

2006-02-19 Thread Graham Samuel
On  Sun, 19 Feb 2006 00:25:07 -0800, Scott Rossi  
<[EMAIL PROTECTED]> wrote:


...
You say that it's not impossible for a toplevel stack to appear above
a palette stack - can you give any more detail on this? I see nothing
in the RR docs.



There is nothing in the RR docs that I know of.  My intent was to  
imply that

it's *extremely* unlikely that a palette can ever be rendered above a
topLevel stack in the same app (there may be some bug going on but  
I've yet
to see anything like this in years of working with Rev/MC).  I  
would suggest

that whenever you experience what you perceive to be a topLevel stack
displaying above a palette, immediate query the stack modes in the  
message

box and see what the result is.  Something like:

  put short name of stack 'A' && mode of stack 'A' && \
short name of stack 'B' && mode of stack 'B' && \
short name of stack 'C' && mode of stack 'C'

My guess is you'll find the modes to be the same (1 or 2 =  
topLevel, 4 =

palette).  If not, you may have discovered a bug.


Well, it looks like a bug to me: when actually looking at the screen  
and seeing my main stack obscuring the two palettes, via the message  
box I get:


main stack: mode = 1
palettes (both): mode = 4

Furthermore you can see the style of the decorations (top bar of the  
window) is appropriate to the kind of stack it says it is - small for  
the palettes, with no decorations and somewhat larger for the main  
stack with the usual three mini-buttons. Also, I made a standalone  
from the file and it behaved in exactly the same way.


So it is a bug. The problem is devising a simple recipe, since as I  
said, my first attempt to reduce this to its essentials didn't  
exhibit the problem.


No more time now, but if it's still around in a few days I will BZ it.

Thanks for replying

Graham


 
---

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Buttons within or on top of a Quicktime movie?

2006-02-19 Thread Bob Hartley
You wrote:

> Hello all:
> 
> Does anyone know if it is possible to put invisible buttons on top of or
> have clickable items within a QuickTime movie in Rev? 
What about an invisible palette stack.

Is trhat possible?
Cheers
Bob
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Richard Gaskin

Graham Samuel wrote:
On  Sun, 19 Feb 2006 10:37:36 -0800 (PST), Judy Perry 
<[EMAIL PROTECTED]> wrote:

Mark,

Right, again, my argument was less "IF-THENs rule and CASE-SWITCHes suck"
than IF-THENs are easier to read/learn/are more transparent for
non/novice-programmers.


Just to add a tiny footnote to this: Judy, how would you tackle a 
situation where a user (or a handler) can put in say a number from 1 to 
50, and each of those numbers requires the program to carry out a 
different action? It wouldn't really be feasible to have a depth of 50 
if-then-elses

...

Teaching the whole of the art of programming in a single session or even 
a single semester would likely overwhelm the student and the teacher. 
If a given construct seems a bit daunting for the first semester or the 
first year, there's plenty of time to introduce it later.


Learnability and usability are different goals.  If switch/case blocks 
seem a bit much for the learner, that takes nothing away from the 
graceful utility which has made them a cornerstone of so many languages.


Switch/case blocks may be best learned in the second semester anyway: 
if the first semesters goes well, by the end of it the learner may have 
already begun to find the limitations of if/then and is hungry for 
something else


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Buttons within or on top of a Quicktime movie?

2006-02-19 Thread Klaus Major

Hi Jonathan,


Hello all:

Does anyone know if it is possible to put invisible buttons on top of


this is something that you might find out by yourself...
Please tell US afterwards! :-)


or have clickable items within a QuickTime movie in Rev?


Unfortunately not unless you create a movie with LiveStage or a  
similar application


I want to accomplish interactive videos in Rev without having to  
resort to sprites using QT or Livestage..


Thanks,


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


P.S.
Just in case you are afraid your computer might explode if you try,
I just did and it works ;-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Klaus Major

Hi Malte, hi all,


Judy wrote;


Maybe if enough people want it, Rev will find a way to implement it.
Gotta let them know...
Count me in for the wanters and here is the reason why: If you use  
multiple player objects this will work o.k. for audiofiles that are  
longer than just a few seconds. If you try to play more than 4 or 5  
(very) short audioclips (think sound effects) at the same time it  
is not quite practical. This is nothing Rev is to blame for. It is  
simply that these files need to be played back from the HD, which  
might start spinning like mad trying  to locate all the short clips  
at once, especially on older machines. I used to do HD recording  
with Pro Toos, so I know the sound and I know the reason why it is  
happening, as I coded the stack. But if it is a normal user who  
hears hectic activity from the HD and maybe audio starting to  
stutter while the app doesn´t do anything more but playing a few  
sound effects, I would think "What the hell is wrong with that  
Program? Do they scan/erase my HD?". Knowing that multichannel  
audio might not have highest priority I pray for someone writing an  
external  that works cross plattform.


I would be willing to pay a few $$ for it and I guess some others  
would too, wouldn´t they? If so let the list know, someone might  
pick up the challenge...


there was once a commercial external for MetaCard named  
"EXT.dll" (sic!) which had been
created and sold by a small scottish company named "Cross Worlds  
Computing" about 5 or 6

years ago.

I bought one because it had some very nifty features for windows, for  
example (besides other
nice things) un-/loading of a font on the fly and support for up to 4  
soundchannels, so we
could play up to 4 (FOUR, maybe more, i don't remember...) sounds at  
the same time without

the use of QuickTime.

Until today it is still unknown unfortunately IF that is the same  
external that we found in the

"components/global environment" folder of Rev until version 2.6.1.

The good thing is, the company formerly known as "Cross Worlds  
Computing" is now
named "Runtime Revolution", so the code obviously belongs to them.  
(Does it?)


The bad thing is, until today nobody made an "official" comment about  
this one IF it is
the same external as the one they used to sell. Why is this kept a  
secret?


So in the meantime a third party wrote and sells a crossplatform  
external for un-/loading fonts

on the fly, a fact which MIGHT have not been necessary.

(Nevertheless very good work Chipp and Chris :-)

Food for thoughts and (unnecessary?) speculations...


All the best,

Malte

--
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum


Regards from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Buttons within or on top of a Quicktime movie?

2006-02-19 Thread Jonathan Kotthoff

Hello all:

Does anyone know if it is possible to put invisible buttons on top of 
or have clickable items within a QuickTime movie in Rev? I want to 
accomplish interactive videos in Rev without having to resort to 
sprites using QT or Livestage..


Thanks,

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Graham Samuel
On  Sun, 19 Feb 2006 10:37:36 -0800 (PST), Judy Perry  
<[EMAIL PROTECTED]> wrote:

Mark,

Right, again, my argument was less "IF-THENs rule and CASE-SWITCHes  
suck"

than IF-THENs are easier to read/learn/are more transparent for
non/novice-programmers.


Just to add a tiny footnote to this: Judy, how would you tackle a  
situation where a user (or a handler) can put in say a number from 1  
to 50, and each of those numbers requires the program to carry out a  
different action? It wouldn't really be feasible to have a depth of  
50 if-then-elses, so if you want to stick to a simple sequential  
model, either you'd have to use a switch (case) statement, or  
alternatively a structure like a handler 'myHandler' containing 50  
statements like:


if my parameter = 33 then
 doMyThirtyThirdThing
 exit myHandler
end if

which - to me - looks pretty much the same in terms of transparency.

I guess this horse is pretty well dead by now.

Graham


 
---

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.7 Consensus

2006-02-19 Thread Mark Wieder
James-

Sunday, February 19, 2006, 9:22:28 AM, you wrote:

> Just for a slightly dissenting opinion, I LIKE the new documentation
> and consider it a VAST improvement, both in terms of searching the  
> dictionary for explicit terms (what I mostly need it for so I can see
> the syntax) and for the User Manual.

I like the new documentation, too. I just wish it weren't so quirky to
use: click on one of the See Also items, for example, and the
dictionary entry becomes full window, hiding the dictionary entries
list. The only way to bring the list back is to click the back button
(or the dictionary entry at the top), which loses your bookmark in the
list. And just try to find all the messages or properties that are
natively supported by a specific object. These will come in time as
the documentation interface improves with the point releases and I'm
looking forward to it.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Mark Wieder
Judy-

Sunday, February 19, 2006, 10:37:36 AM, you wrote:

> Right, again, my argument was less "IF-THENs rule and CASE-SWITCHes suck"
> than IF-THENs are easier to read/learn/are more transparent for
> non/novice-programmers.

I agree that one should learn if/then conditionals before switch/case
structures. But I think one should learn if/thens before elses as
well. You can certainly do any conditional processing without else
statements, but I think it would be unwise to say that it's easier to
code and read code written without else statements.

Switch statements are the equivalent of multiple-choice questions on
an exam. You could code them as many if/then statements, but they lend
themselves naturally (IMO) to switch/case statements.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: REVCON 2006

2006-02-19 Thread Andre Garzia


On Feb 19, 2006, at 4:11 PM, Mark Wieder wrote:


Stephen-

Sunday, February 19, 2006, 9:58:12 AM, you wrote:


Yes, I have some vague summer plans that are formingDan? Chipp?


Well, I *had* thought I was sending that to Chipp instead of to the
list (dang address book templates...) but it *is* mid-February already
and it's time to start scheduling for things...




I also have lots of surprises in my bag of holdings... I am looking  
forward for more information too!


Cheers
andre


--
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: REVCON 2006

2006-02-19 Thread Mark Wieder
Stephen-

Sunday, February 19, 2006, 9:58:12 AM, you wrote:

> Yes, I have some vague summer plans that are formingDan? Chipp?

Well, I *had* thought I was sending that to Chipp instead of to the
list (dang address book templates...) but it *is* mid-February already
and it's time to start scheduling for things...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Parameters [WAS: Main menu puzzle]

2006-02-19 Thread Jim Ault
> Mark Swindell wrote:
>> 
>> Parameters are, to me, the least well-explained and  least
>> intuitive aspect of Rev (and programming in general).
> 
You order a meal at a restaurant.
The waitress writes down your order, but does so in a rather cryptic
fashion.. coffee with cream, a prune danish, scrambled eggs and bacon, and a
glass of water.  The parameters you give to her.

The waitress goes back to the short order cook and 'hangs a tag'.  This slip
of paper has the parameters the cook needs to process food items into the
meal that matches the order.  The cook stops smoking his cigarette long
enough to slide the hot meal onto the shelf for the waitress.

The waitress picks up the luke-warm plate and brings it to your table,
adding to this, the danish, cold cup of coffee and the water.   Just what
you had in mind when you sat down.

Thus, you give the waitress a long list of parameters, she processes some of
them, and passes a few to the short order cook, who does likewise.

Oh, and one other thing.. although you did not specifically request this,
the bill is added to the items you receive because it is implied by your
placing an order.

At home, you have to provide all of the services.  At a restaurant, there is
the WaitressFunction, CookFunction, CashierFunction.  Depending on how the
owner programmed his restaurant, you get variations in menu, service, and
satisfaction.

Jim Ault
Las Vegas


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Malte Brill

Judy wrote;


Maybe if enough people want it, Rev will find a way to implement it.

Gotta let them know...


Count me in for the wanters and here is the reason why: If you use 
multiple player objects this will work o.k. for audiofiles that are 
longer than just a few seconds. If you try to play more than 4 or 5 
(very) short audioclips (think sound effects) at the same time it is 
not quite practical. This is nothing Rev is to blame for. It is simply 
that these files need to be played back from the HD, which might start 
spinning like mad trying  to locate all the short clips at once, 
especially on older machines. I used to do HD recording with Pro Toos, 
so I know the sound and I know the reason why it is happening, as I 
coded the stack. But if it is a normal user who hears hectic activity 
from the HD and maybe audio starting to stutter while the app doesn´t 
do anything more but playing a few sound effects, I would think "What 
the hell is wrong with that Program? Do they scan/erase my HD?". 
Knowing that multichannel audio might not have highest priority I pray 
for someone writing an external  that works cross plattform.


I would be willing to pay a few $$ for it and I guess some others would 
too, wouldn´t they? If so let the list know, someone might pick up the 
challenge...


All the best,

Malte

--
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum 
___

use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: switch/case vs if/then/else

2006-02-19 Thread Mark Wieder
Klaus-

Sunday, February 19, 2006, 8:55:11 AM, you wrote:

> to use the engines syntax: bad case :-)

Thanks for the correction. Should have waited until I was fully awake
before starting to type...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.7 Consensus

2006-02-19 Thread Stephen Barncard

My take on 2.7 - Awesome.
In spite of the heavily discussed issues, I find 2.7 much more stable 
and robust than ever. It seems to load more quickly, and all the IDE 
problems I had before went away... (YMMV). The antialiasing and 
blending features are very cool too..I am going stay with 2.7 now...


sqb



Scott-

Saturday, February 18, 2006, 9:05:32 PM, you wrote:

As one of the folks who has gone back to 2.6.1, I'd say there's no
problem with using 2.7. The things that bother me about the new
release revolve around the inability to use the documentation in any
reasonable fashion, the fact that IDE preferences don't get saved
properly, and the disconnect between the stack file formats. If these
don't get in your way then I don't see any reason not to move ahead.
The 2.7 release seems stable, produces solid code, has a lot of nifty
new features, and I really really really like the way the structure of
the IDE is heading with the separation of components to allow for
smooth upgrading.

--
-Mark Wieder


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Judy Perry
Mark,

Right, again, my argument was less "IF-THENs rule and CASE-SWITCHes suck"
than IF-THENs are easier to read/learn/are more transparent for
non/novice-programmers.

Judy

On Sun, 19 Feb 2006, Mark Wieder wrote:

> Judy-
>
> Your example isn't a reasonable candidate for a switch/case construct
> because the conditionals aren't at the same level. Instead your ifs
> are nested within each other, and that's an example of where and
> if/then/else construct is much more readable. There's no reason to
> convert that.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Object Library woes

2006-02-19 Thread J. Landman Gay

Cal Horner wrote:


What is the matter with the developers of Revolution. Don't they realize
that we don't need to relearn the development environment every time they
release a new maintenance version?


To be fair, they haven't really changed the IDE setup very often. The 
current change is a response to the many, many complaints they got about 
how users had to re-enter their preferences after every release, move 
their custom plugins, and basically set up the working environment from 
scratch after every update.


This should be the last time you have to re-establish your working 
environment. The new structure separates your personal work-flow stacks 
from the IDE, and every update from now on will automatically see your 
custom setup. Your prefs are saved in the usual place for your OS, so 
they also will transfer transparently after every update -- you won't 
have to ever reset them again (as soon as the saving glitch gets fixed, 
anyway.)


This was a long-requested change that people have been requesting -- and 
for some, demanding -- for years, so I think RR can be considered 
responsive to its customers rather than whimsically changing the IDE.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More fun with tooltips

2006-02-19 Thread Graham Samuel
On Sun, 19 Feb 2006, Thomas McGrath III <[EMAIL PROTECTED]>  
shared some ideas about displaying tooltips.


This could work for me, the only complication being that the  
tooltipped objects' positions will have to be constantly recalculated  
as in the app I'm working on, they tend to move around the screen.  
Anyway thanks a lot - I will try these techniques, although not for a  
couple of weeks, as I'm leaving my computer behind while I go on a  
trip. It's a long time since I've done that.


Graham


 
---

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette mystery

2006-02-19 Thread Scott Rossi
Recently, Jean-Paul Poccard wrote:

> My stack worked as expected with RR 2.6,
> the substacks which had to be displayed as palettes were never hidden
> by the topstack.  Now, even if I remind via the message the stacks of
> displaying as toplevel  (the mainstack) or as palettes (the substacks),
> a click in the mainstack moves it in front of the palettes.

Does this mean you seeing this only with version 2.7?  Either way, try to
reproduce it in a simple text stack -- if you can, you should notify Runtime
Revolution.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Want a free copy of Valentina 1.x Mac for Revolution?

2006-02-19 Thread Judy Perry
Lynn,

Thanks for the heads-up on this.  While I'm not a db user now, who knows?
Can't hurt to have it...

Judy

On Sun, 19 Feb 2006, Lynn Fredricks wrote:

> If you are on the Mac and in North America, be aware that the issue of
> MacFormat magazine featuring Revolution 2.2 and Valentina 1.x Mac XCMD free
> is now available in bookstores such as Barnes and Nobel and Borders.
>
> The issue also features a tutorial for Rev on how to make a recipe book with
> the two products, written by a familiar Rev-related name.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Graham Samuel
On  Sun, 19 Feb 2006 12:48:43 +, Jim Hamlyn <[EMAIL PROTECTED]>  
wrote:

Hi Folks,

I¹m just in the process of trying out Revolution and it seems to be  
a very
powerful tool. However I¹m concerned by the statement in the  
documentation
that ³You cannot play two sounds at the same time². Why? And is  
there a

workaround for this?

Eric has already given a comprehensive answer, but just in case it's  
**too** comprehensive - sorry, Eric :(  - the answer is that  
Quicktime (in Rev, a player) can play two sounds at the same time,  
and in fact more than this AFAIK. The trouble is that if you're going  
to release an app on a PC, it's a pain to insist that the user  
installs Quicktime. In that case, I've had to go to the lengths of re- 
recording certain sounds so that a single file contains the two  
sounds added together: most sound editors will do this. For example,  
I found that I wanted a noise of machinery sometimes accompanied by  
an alarm going off, so I just recorded a sound file  
'machineryAndAlarm' and played that when the program logic demanded  
it. A hack, I guess, but it worked.


HTH

Graham


 
---

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can changes in text fields be saved by users of DreamCard Player?

2006-02-19 Thread J. Landman Gay

Andrew Nelson wrote:

How do I make player save so the paths are in the fields the next time 
they open the stack with DreamCard Player?


Since you are working with a stack rather than a standalone, you can 
save the stack directly, often done in a closeCard or closeStack handler:


on closeStack
 save this stack
end closeStack

If many people share the same stack and you don't want to save the field 
contents within the stack itself, then yes, you'd need to write the info 
to either a preferences stack or a text file on their hard drive 
somewhere. If you need help with that, let us know.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Judy Perry
My understanding is that the person who wrote the original engine for what
is now Revolution simply didn't want to be bothered with  writing support
for multiple sound channels (which Hypercard, of course, had, to the tune
of 8  simultaneous sound channels) and so told everybody it was impossible
to do on Windows.

Maybe if enough people want it, Rev will find a way to implement it.

Gotta let them know...

Judy

On Sun, 19 Feb 2006, Jim Hamlyn wrote:

> Hi Folks,
>
> I?m just in the process of trying out Revolution and it seems to be a very
> powerful tool. However I?m concerned by the statement in the documentation
> that ?You cannot play two sounds at the same time?. Why? And is there a
> workaround for this?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette mystery

2006-02-19 Thread Jean-Paul Poccard


Le 18 févr. 06, à 23:21, Scott Rossi a écrit :


Recently, Graham Samuel wrote:


I've got three stacks, let's say stack 'A' whose style is topLevel,
and stacks 'B' and 'C' whose style is palette. The global property
raisepalettes is true, but despite this, if I click on 'A', it moves
in front of 'B' and 'C'.


Something else is probably going on here.  It's unlikely (if not 
impossible)
for a toplevel stack to appear above a palette stack (thus the reason 
for
the existence of palette stacks).  Either you're somehow setting stack 
'A'
to palette mode, or you're changing the mode of 'B' and 'C' to 
topLevel.


Are you changing the modes/styles of your stacks via script?

Regards


I have got the same problem. My stack worked as expected with RR 2.6, 
the substacks which had to be displayed as palettes were never hidden 
by the topstack.  Now, even if I remind via the message the stacks of 
displaying as toplevel  (the mainstack) or as palettes (the substacks), 
a click in the mainstack moves it in front of the palettes.


I don't know if the windows management problem has the same origin, but 
I notice that the magnifying glass does not work any more (strange 
things are displayed outside the magnify window.


Help will be appreciated.
Cordialement
Jean-Paul Poccard.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Main menu puzzle, Klaus

2006-02-19 Thread Judy Perry
Show it to a non-programmer/novice programmer and ask him/her the same
question.  I suspect the answer will be very different.

Again, my argument is not that if-thens are superior from a
programming/logic standpoint but rather that they are more comprehensible
to normal humans who are not programmers.

And, hence, when used, they make Rev more approachable to that particular
audience (which, after all, is less likely to be biased against Rev
because it doesn't have its provenance in Redmond, isn't what "everybody"
uses, etc.).

Judy

On Sun, 19 Feb 2006, Stephen Barncard wrote:

> and this isn't cleaner? LOOK - a whole bunch of if's and thens don't
> have to be repeated over and over.
>
> on menupick varMenuItemSelected
>   SWITCH varMenuItemSelected
>   CASE "Cut"
> SubCut
>   break
>   CASE "Copy"
> SubCopy
>   break
>   CASE "Paste"
> SubPaste
>   break
>   CASE "Undo"
> SubUndo
>   break
>   CASE "Word Wrap"
> SubWordWrap
>   break
>   DEFAULT
> --
>   END SWITCH
> end menupick

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Is duration (not delay) of the toolTip adjustable

2006-02-19 Thread André . Bisseret

Hi Tom,
Thank you for your "Longer toolTip" stack. I would very much get  
durations like those of button 2 or even button 3, that work very nicely


But, in my case I can't, I am afraid ! I must manage lines of text in a  
field ; I can't use "on mouseEnter" ; I must use "mouseDown" because I  
need to get the text of the line on which the cursor is located, and  
this, ONLY starting from an intended action  from the user.


I tried diverse solutions inspired by your button 3 script, but without  
any success (Could be I miss some way)


As Éric told me, the best I obtained was flickering tooltips :-((

Anyway thanks a lot Tom ; I keep your solution in memory

Bests regards from Grenoble
André


Le Saturday, 18 Feb 2006, à 20:11 Europe/Paris, Thomas McGrath III a  
écrit :



Hello,

I have uploaded a sample stack to my user space that will display a  
tooltip for a longer period of time than the standard tooltips using  
standard tooltips. It also shows how to display a multiple tooltip but  
that part does not always work for some reason.


User space: mcgrath3
Stack: Longer Tooltips in Revolution


HTH

Tom

Any ides why the second button only shows the second tooltip  
occasionally



On Feb 18, 2006, at 12:13 PM, Eric Chatonet wrote:


Re Bonjour André,

Afraid there is no way to master the duration for which a tooltip is  
displayed.

The only thing you can do is to re-display the tooltip repeatedly...
But flickering would probably appear...
Not a very good answer :-(

Le 18 févr. 06 à 18:05, André.Bisseret a écrit :


Hello,
The app. I am developing is a set of texts, one on each card.
On a special card, accessible from the homeCard, there is a field  
that displays the list of all the titles of the texts.
Of course, this field has a vertical scrollBar but also an  
horizontal one, because some titles are  longer than the width of  
the field.
I am not very happy about this horizontal scrollBar, from an  
ergonomical point of view.
So I will keep it, but I would like to add a redundant way to  
reading the ends of the longs titles.
Thanks to Tutorials Picker 2.0, that I « picked » on the site So  
Smart Software of Éric Chatonet,  I discovered «  How to create  
contextual toolTips on-the-fly ».

Reading this tutorial, I got the idea of using « toolTips ».

Below is the handlers I wrote in the script of the TitlesField :

local tLine

on mouseDown
  put word 2 of the mouseLine into tLine
  set the tooltip of me to empty
  set the toolTip of me to line tLine of me
end mouseDown

on mouseUp
  set the toolTip of me to empty
end mouseUp
 ---
I put this « mouseUp handler » because the toolTip stays there for a  
certain time that is constant before disappearing.

I want to avoid constraining the user to wait for all this time.
That works well but, on the other hand, this constant duration is  
sometimes a bit too short to read comfortably the longs titles in  
the toolTip.
There is my problem : Is there a possibility to set the duration of  
toolTip display ? In fact I would need to get it longer.
I searched diverse ressources (with « Ressources Picker », of  
course) but I did not find any answer to this question.


Thanks in advance for any idea,

Best regards from Grenoble
André


Best Regards from Paris,
Eric Chatonet
-- 


http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


REVCON 2006

2006-02-19 Thread Stephen Barncard

Yes, I have some vague summer plans that are formingDan? Chipp?

sqb


Chipp-

Saturday, February 18, 2006, 9:30:35 PM, you wrote:


 And of course, soon, Dan will be telling Ken how to get to the next
 conference.


Speaking of the next conference, have you and Dan decided about this
year's event? I'm asking for a couple of reasons: first of all, I've
got a gig on the 10th of June and I'm expecting a conference the
following weekend, so I've tentatively committed to it with the
proviso that I'm not sure of the June timing yet. Secondly, Dave
Bovill and I have been working on what I think is a pretty exciting
object brokering paradigm for reusable complex components and we're
getting close to releasing it. We'd like to do a session at Monterey
but will put it off until the Malta conference if RevConWest isn't
going to happen this year.

--
-Mark Wieder


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sort of OT, CD names to iTunes

2006-02-19 Thread Stephen Barncard
I guess you've found you get better results when you manually split 
the files from your LP session than depend on auto-splitting.  Needle 
noise usually messes that up.


And Gracenote can only recognize digital signatures that are created 
from the exact digital image of a CD that has been ripped before by 
someone. Party mixes and your project of course won't be recognized.


The best plan is to transfer with, then name the regions as song 
titles in Sound Studio, use the split regions to aiff files feature 
and then import the AIFFs into iTUnes. The named AIF files will 
appear in the lists and the onboard label printing or external 
printing pgms can use the info.




Charles Hartman wrote:

I'm doing a lot of LP -> CD transfers, a process with many steps 
some  of which are silly & tedious. One of them is that, after I've 
split  the digitized audio file into tracks, and named them (a 
little  tedious in itself since I'm using an ancient Toast Lite to 
burn the  CD), and go to import the tracks into iTunes, unless it's 
a recording  known to GraceNote I have to type all the track names 
(and composers)  *again* in the iTunes info panel. I was thinking a 
little Rev stack  to do this would be handy (and worth the time if 
I do *another*  couple of hundred), but I'm not sure where to look.


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.7 Consensus

2006-02-19 Thread James Spencer


On Feb 19, 2006, at 11:13 AM, Mark Wieder wrote:


Scott-

Saturday, February 18, 2006, 9:05:32 PM, you wrote:

As one of the folks who has gone back to 2.6.1, I'd say there's no
problem with using 2.7. The things that bother me about the new
release revolve around the inability to use the documentation in any
reasonable fashion, the fact that IDE preferences don't get saved
properly, and the disconnect between the stack file formats. If these
don't get in your way then I don't see any reason not to move ahead.
The 2.7 release seems stable, produces solid code, has a lot of nifty
new features, and I really really really like the way the structure of
the IDE is heading with the separation of components to allow for
smooth upgrading.


Just for a slightly dissenting opinion, I LIKE the new documentation  
and consider it a VAST improvement, both in terms of searching the  
dictionary for explicit terms (what I mostly need it for so I can see  
the syntax) and for the User Manual.


I agree with your comments about the general stability of the IDE as  
well as the comments on saving the IDE perferences and the file  
formats.  These latter two are serious enough problems however that I  
hope there is a 2.7.1 just to fix these two bugs sometime in the next  
week.


James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

"Badges??  We don't need no stinkin badges!"

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread James Spencer


On Feb 19, 2006, at 10:10 AM, Glenn E. Fisher wrote:

As a historical note, (I'm a very old programmer since 1962) back  
when I was writing compilers and emulators in B and C in the line  
editing mode ;-), the switch case statements were really needed.   
In these kinds of programs many many cases was the norm and the  
nested if..then..else just didn't cut it.  So it depends on the  
scope of the problem which is the best.


I can only claim to go back to '71 with Basic on a PDP-8 but let me  
say amen.  It can be shown that switch statements are not "necessary"  
in the sense that you can always simulate a switch with an if/else  
construct but if the options are based on a single value which has  
more than two possible values, a switch is MUCH less subject to error  
than is if/else if/else if.  It's not a strong argument against its  
use that beginners have trouble understanding the concept (although  
I'm not understanding what is so difficult about the concept).   
Beginners have terrible time getting the concepts of object oriented  
programming or exception handling too but these concepts have  
certainly resulted in much clearer, more maintainable code.


BTW, IMHO the conversation about whether this is how we think in  
everyday life is not very helpful: we don't think with the binary  
logic of computer programs at all.  E.g. we generally do not have a  
rigid list of who it might be at the door with a predetermined  
intention to take particular action depending on who it is.  This  
kind of rigidity, however, is part and parcel of computer programming  
whether it be xTalk or C or Basic.


James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

"Badges??  We don't need no stinkin badges!"

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.7 Consensus

2006-02-19 Thread Mark Wieder
Scott-

Saturday, February 18, 2006, 9:05:32 PM, you wrote:

As one of the folks who has gone back to 2.6.1, I'd say there's no
problem with using 2.7. The things that bother me about the new
release revolve around the inability to use the documentation in any
reasonable fashion, the fact that IDE preferences don't get saved
properly, and the disconnect between the stack file formats. If these
don't get in your way then I don't see any reason not to move ahead.
The 2.7 release seems stable, produces solid code, has a lot of nifty
new features, and I really really really like the way the structure of
the IDE is heading with the separation of components to allow for
smooth upgrading.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where is the list of all the Revolution messages etc?

2006-02-19 Thread Mark Wieder
Chipp-

Saturday, February 18, 2006, 9:30:35 PM, you wrote:

> And of course, soon, Dan will be telling Ken how to get to the next 
> conference.

Speaking of the next conference, have you and Dan decided about this
year's event? I'm asking for a couple of reasons: first of all, I've
got a gig on the 10th of June and I'm expecting a conference the
following weekend, so I've tentatively committed to it with the
proviso that I'm not sure of the June timing yet. Secondly, Dave
Bovill and I have been working on what I think is a pretty exciting
object brokering paradigm for reusable complex components and we're
getting close to releasing it. We'd like to do a session at Monterey
but will put it off until the Malta conference if RevConWest isn't
going to happen this year.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Wow! It's starting to click now!

2006-02-19 Thread Mark Wieder
Garrett-

Saturday, February 18, 2006, 5:05:40 PM, you wrote:

> Thanks to everyone here helping me out.  Had it not been for all of
> you, Rev would not be clickin' and a stickn' in my skull.

It's payback time. Now that you've crossed the threshold you'll be
expected to help out answering questions on the list, helping new
users get a leg up, etc.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: switch/case vs if/then/else

2006-02-19 Thread Klaus Major

Hi Mark,


Stephen-

...
3. If I have a list of targets that I will probably want to expand
then that's a candidate for a switch statement.

switch itemToTest
  case
"sloth"
"envy"
"gluttony"
put "sin" into whatIsIt
break
  default
put "virtue" into whatIsIt
end switch


to use the engines syntax: bad case :-)

We have to write:

...
switch itemToTest
  case "sloth"
  case "envy"
  case "gluttony"
put "sin" into whatIsIt
...


-Mark Wieder
 [EMAIL PROTECTED]


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Mark Wieder
Judy-

Saturday, February 18, 2006, 9:27:39 PM, you wrote:

> Yes, but do you think in these terms in day-to-day life?

Your example isn't a reasonable candidate for a switch/case construct
because the conditionals aren't at the same level. Instead your ifs
are nested within each other, and that's an example of where and
if/then/else construct is much more readable. There's no reason to
convert that.

Where the switch statement comes into its own is where you have
multiple choices at the same level:

IF the paycheck arrives tomorrow THEN
  switch tomorrow
case Saturday
case Sunday
  Write the rent check two days later
  break
default
  Write the rent check the day after
  end switch
END IF

> And, even if you do, it's still not how normal humans describe
> cause-and-effect phenomena in non-programming situations.

Actually, it is. When you come across "if tomorrow is a weekend day
THEN" you don't process it literally - your brain converts "weekend
day" into "let's see - is this a Saturday or a Sunday or something
else" and then returns to inline processing. So your brain is really
doing the switch/case process for you, expanding the shorthand
"weekend" into what that corresponds to, eventually returning a
boolean value to you and giving you the goahead to write the check.

Hope your check clears 

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


switch/case vs if/then/else

2006-02-19 Thread Mark Wieder
Stephen-

I have three rules of thumb for selecting switch/case constructs vs
if/then/else constructs (or at least three that I can think of off the
top of my head):

1. As Rob Cozens has pointed out, if I have more than two choices then
I will probably convert to a switch statement.

switch itemToTest
  case 2
  case 3
  case 4
answer "it's a" && itemToTest
break
  default
answer "it's unknown"
end switch

2. If I have a few exceptions to a regular rule then I will make a
case statement with a break and put the rule in the default handler.

switch itemToTest
  case NOPPMTooHigh
  case HCLPPMTooHigh
put "failed" into tSmogTestResult
break
  default
put "passed" into tSmogTestResult
end switch

3. If I have a list of targets that I will probably want to expand
then that's a candidate for a switch statement.

switch itemToTest
  case
"sloth"
"envy"
"gluttony"
put "sin" into whatIsIt
break
  default
put "virtue" into whatIsIt
end switch

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Quick Linux Question

2006-02-19 Thread Bob Warren

Dear Mark,

I have asked the following simple Linux question on-List, but I have not 
received any kind of answer. It suddenly occurs to me that you might be 
the most qualified person to give me the answer I am seeking.


As you may have seen recently, I have produced a pair of standalone 
file/picture chooser widgets for Windows (see 
http://www.howsoft.com/runrev/stacks.htm). I am now working on the Linux 
version. The trouble is that I do not have extra computers available to 
install versions of Linux other than the one I am using (Ubuntu Hoary 
Hedgehog: the floppy doesn't work at all in Breezy Badger!), so I am not 
in a position where I can easily discover things for myself.


In Ubuntu (Debian based, Gnome), I am using routines such as the 
following to mount/read CDs and diskettes:


on mouseUp
  get shell("mount /media/floppy0") --or "/media/floppy"
  set the defaultFolder to "/media/floppy0" --or "/media/floppy"
  put the files into field "List1"
end mouseUp

on mouseUp
  get shell("mount /media/cdrom0") --or "/media/cdrom"
  set the defaultFolder to "/media/cdrom0" --or "/media/cdrom"
  put the files into field "List1"
end mouseUp

In Ubuntu, I am checking the existence of the CD and diskette drives 
using fstab in the folder "/etc", which of course also specifies the 
mount points:


# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/hda1   /   ext3defaults,errors=remount-ro 0   1
/dev/hda5   noneswapsw  0   0
/dev/hdc/media/cdrom0   udf,iso9660 ro,user,noauto  0   0
/dev/fd0/media/floppy0  autorw,user,noauto  0   0


Can you give me some general advice as to how I should check/mount/read 
the diskette and CD in other versions of Linux? Are main differences 
between Gnome and KDE interfaces, or is it more profound than that? Will 
/etc/fstab always give me the info I need, or might I need to look 
elsewhere? (Sorry, part of the problem is my lack of experience with 
Linux anyway.) A nice feature for the future in RR would be the ability 
to quickly identify more specifically the exact Linux platform in use 
insofar as it significantly affects programming options such as the ones 
outlined here.


As for producing a Mac version of the widgets, that's where I am really 
stuck. I don't know anything about the Mac file system at all. Here in 
Brazil, Macs are impossibly expensive (even the Mac Mini which is almost 
3 times the price in the US). However, I imagine that when the Linux 
version is ready (hopefully within a week or so), it would be easier to 
convert this version to Mac than to convert it from the Windows version. 
How would you go about getting the widgets converted to Mac? Or would 
you just forget it?


This was meant to be a quick e-mail, but I cannot fail to mention an RR 
Linux bug that is bugging me, in the hope that it also does not appear 
in 2.7. If I am editing a script with the toolbar showing, and I use 
CTRL+S to save rather than closing the editing window and then saving, 
the IDE goes nuts. It seems to get stuck in a loop where first the 
toolbar is brought to the front, and then the editor is brought to the 
front. Fortunately, the problem can usually be solved by closing the 
editing window either before or after saving, but the constant use of 
CTRL+S without closing the editing window is so useful that I would 
indeed like to see this fixed in 2.7. (Could this possibly be a timing 
problem? I should add that I am using a very old and slow Pentium II 
with a small memory.)



Best regards,
Bob

P.S.
Please note that I have also posted this e-mail to the Use-Revolution 
List. Its content is of potential interest to other RR Linux users. But 
I would be grateful for any kind of answer, either on-List or off-List. 
Thanks. If you decide to give me an answer off-List, I can still pass on 
any useful info to other RR Linux users myself.


P.P.S.
All of this does, of course, point to the importance of extending the 
Help info with more Linux-specific information, especially in relation 
to "bread and butter" (or in Brazil "black beans and rice") issues such 
as the ones I have raised.








___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Glenn E. Fisher

Hi revers,

As a historical note, (I'm a very old programmer since 1962) back when 
I was writing compilers and emulators in B and C in the line editing 
mode ;-), the switch case statements were really needed.  In these 
kinds of programs many many cases was the norm and the nested 
if..then..else just didn't cut it.  So it depends on the scope of the 
problem which is the best.


Just my ole two cents,
Glenn
--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED]   http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Topics

2006-02-19 Thread Yves COPPE

Hi,


On previous versions of Revolution was a chapter in the docs : Topics  
with all kinds of "how to..."

I don't find this subject anymore in the docs of rev 2.7 ?

Where is this chapter in the new version ?

Greetings.

Yves COPPE
[EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Rob Cozens

Judy, et al:


Yes, but do you think in these terms in day-to-day life?

IF I have the paycheck in-hand THEN
  it will clear the bank in 2 days
  I can write the rent check tomorrow and it will clear at the same 
time

END IF



I will grant you:

(a) As one who has used case statements for years, I may not appreciate 
the learning curve for non-programmers, and


(b) Where ifs and switches can be used interchangeably,  the choice is 
basically one of preference.


Note the "Where" in item (b).  Switches and ifs are not interchangeable 
in all syntax.  Your full example of ifs and nested ifs is _not_ an 
example of syntax that lends itself to switches, and thus is not (IMFO) 
pertinent to this discussion.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Can changes in text fields be saved by users of DreamCard Player?

2006-02-19 Thread Andrew Nelson
I have taught myself enough scripting to be comfortable with the 
variables, containers, et al to launch eternal players (QuickTime, & 
midi sequencers programs to external midi keyboards) I need to run 
beneath my realtime presentation oriented music teaching stacks. I want 
to share the stacks with other music teachers in my school system who 
will just be using DreamCard Player. I have made buttons that allow 
them to put file paths in fields after they have browsed  to  create 
the paths to the media files and apps they need to run them.   I want 
the contents of the fields to be saved after each file browsing so they 
are ready to be slapped into myApp and myMediafile variables by 
pre-made button handlers. I don't want them to have to browse for the 
same media file and apps each time they come back to use these  
interactive PowerPoint on steroids music teaching stacks.


How do I make player save so the paths are in the fields the next time 
they open the stack with DreamCard Player?



I suspect there is going to be some sort of solution about saving in 
external files in default folders, n e'st pas?


Thanks, Andrew Nelson

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More fun with tooltips

2006-02-19 Thread Thomas McGrath III
Another alternative is to have different tooltips each time the  
system moves to a button like this:


on mouseUp
set the toolTipDelay to 150
set the moveSpeed to 250
put "One" & cr & "Two" & cr & "Three" into lMyList
repeat with g = 1 to the number of lines in lMyList
set the screenMouseLoc to globalLoc(the loc of button g)
wait 4000 milliseconds with messages
end repeat
set the tooltip of button "One" to "Now what do we want to say"
set the tooltip of button "Two" to "Ok we can go round and round"
set the tooltip of button "Three" to "Something new, something old"
repeat with g = 1 to the number of lines in lMyList
set the screenMouseLoc to globalLoc(the loc of button g)
wait 4000 milliseconds with messages
end repeat
set the screenMouseLoc to globalLoc(the loc of button "Run")
end mouseUp

HTH

Tom

On Feb 19, 2006, at 10:45 AM, Thomas McGrath III wrote:
Change the 'toolTipDelay' (lower number is faster), the  
'moveSpeed' (higher number is faster) and the 'wait' time (higher  
numbers for longer waits) to your particular needs and there you  
have it; a help system that goes through each buttons tooltip. Here  
is a script (tested) that will do it:


-- Create four buttons: "One", "Two", "Three", and "Run"

on mouseUp
set the toolTipDelay to 150
set the moveSpeed to 250
put "One" & cr & "Two" & cr & "Three" into lMyList
repeat with g = 1 to the number of lines in lMyList
set the screenMouseLoc to globalLoc(the loc of button g) --  
set the mouse at the buttons loc calling up tooltip

set the cursor to hand
wait 4000 milliseconds with messages
end repeat
set the screenMouseLoc to globalLoc(the loc of button "Run") --  
set back to Run button

end mouseUp


I have the sample stack in my RevOnline space at
User: mcgrath3
Stack: "Tool Tip Reveal"


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More fun with tooltips

2006-02-19 Thread Thomas McGrath III

Graham,

Thanks for the clever comment ;-)

The problem is that tooltips are directly related to the physical  
position of the mouse on screen. I have successfully figured out how  
to prolong the hang time of a tooltip but when trying to substitute  
tooltips while one is open only works sporadically and is at that  
point a hack. Meaning I would not put it in a commercially viable  
product since it is not reliable.


I have figured out how to script a progressive approach to getting  
the tooltips of multiple objects to appear at a pre defined time. But  
I must warn you that the solution is in moving the mouse on screen  
for the user, this is not generally considered a good thing in UI.  
However I believe that if you are switching 'modes' ,if you will, to  
a tutorial or help system or walk through system then it is okay to  
do so.


OK, so if you have three buttons each with a tooltip and you want to  
show them in order 1,2,3 then you need to set the tooltip duration  
via script:


set the toolTipDelay to 200 -- lower is faster - 500 is default

Then you need to set the moveSpeed for the mouse to move so the user  
can follow it:


	set the moveSpeed to mySpeed -- mySpeed is between 20 - 600, 20 is  
slow and 600 is fast - I use 250


Then you need to build a list of the buttons or objects and set the  
screenMouseLoc to the globalLoc of each button and then wait a sec  
and move on to the next one etc.


Change the 'toolTipDelay' (lower number is faster), the  
'moveSpeed' (higher number is faster) and the 'wait' time (higher  
numbers for longer waits) to your particular needs and there you have  
it; a help system that goes through each buttons tooltip. Here is a  
script (tested) that will do it:


-- Create four buttons: "One", "Two", "Three", and "Run"

on mouseUp
set the toolTipDelay to 150
set the moveSpeed to 250
put "One" & cr & "Two" & cr & "Three" into lMyList
repeat with g = 1 to the number of lines in lMyList
set the screenMouseLoc to globalLoc(the loc of button g) --  
set the mouse at the buttons loc calling up tooltip

set the cursor to hand
wait 4000 milliseconds with messages
end repeat
set the screenMouseLoc to globalLoc(the loc of button "Run") --  
set back to Run button

end mouseUp


I have the sample stack in my RevOnline space at
User: mcgrath3
Stack: "Tool Tip Reveal"

Hope this helps

Tom

On Feb 19, 2006, at 3:13 AM, Graham Samuel wrote:

On Sat, 18 Feb 2006 14:11:55 -0500, Thomas McGrath III  
<[EMAIL PROTECTED]> wrote:


[some clever stuff about tooltips]

Tom, if you understand tooltips well, maybe you could suggest how  
to do something I've always wanted to do: program a button so that  
when pressed, it lights up all the tooltips on a given card at the  
same time. I thought of doing this as a kind of cheap 'help'  
system, but I have not so far found any way of doing it.


Graham


-- 
-

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Want a free copy of Valentina 1.x Mac for Revolution?

2006-02-19 Thread Lynn Fredricks
If you are on the Mac and in North America, be aware that the issue of
MacFormat magazine featuring Revolution 2.2 and Valentina 1.x Mac XCMD free
is now available in bookstores such as Barnes and Nobel and Borders.

The issue also features a tutorial for Rev on how to make a recipe book with
the two products, written by a familiar Rev-related name.

Best regards,

Lynn Fredricks
President
Paradigma Software, Inc

Joining Worlds of Information

Deploy True Client-Server Database Solutions
Royalty Free with Valentina Developer Network
http://www.paradigmasoft.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Height/Width of Text?

2006-02-19 Thread Björnke von Gierke

check these properties of a text field with your font and text:
formattedheight
formattedwidht


On Feb 19 2006, at 16:20, Brian K. Maher wrote:


Hi Folks,

Can anyone give me some insights on how I can determine the exact 
height and width in pixels of a text string when it is rendered on the 
screen in a given font and point size?


Thanks, Brian
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Height/Width of Text?

2006-02-19 Thread Brian K. Maher

Hi Folks,

Can anyone give me some insights on how I can determine the exact  
height and width in pixels of a text string when it is rendered on  
the screen in a given font and point size?


Thanks, Brian
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sort of OT, CD names to iTunes

2006-02-19 Thread Charles Hartman
(Thanks -- answered off-list -- I don't want to keep pushing this OT  
item into everybody's mailbox . . .)

Charles

On Feb 19, 2006, at 9:04 AM, Mark Smith wrote:

Exactly. I'd add the one proviso that it would be better to do the  
iTunes -> CD step before converting to aac - itunes will  
effectively convert the aac files back to aif before burning, but  
aac is lossy, so converting to aac first just puts worse quality on  
your CD. Once you've burnt your CDs (feeding them in, one at a  
time, of course), you can set the conversion of the whole lot to  
aac going, and leave it going


Mark

On 19 Feb 2006, at 12:09, Alex Tweedly wrote:


Charles Hartman wrote:

I'm doing a lot of LP -> CD transfers, a process with many steps  
some  of which are silly & tedious. One of them is that, after  
I've split  the digitized audio file into tracks, and named them  
(a little  tedious in itself since I'm using an ancient Toast  
Lite to burn the  CD), and go to import the tracks into iTunes,  
unless it's a recording  known to GraceNote I have to type all  
the track names (and composers)  *again* in the iTunes info  
panel. I was thinking a little Rev stack  to do this would be  
handy (and worth the time if I do *another*  couple of hundred),  
but I'm not sure where to look.


Does anybody know of a way to get audio track names from CDs and  
load  them into iTunes? Am I missing something obvious?


I am 99.9% sure that the track names are not on an audio CD. If  
they were, iTunes, MusicMatch, etc. would surely retrieve them for  
us, wouldn't they ?



On Feb 18, 2006, at 11:00 PM, Mark Smith wrote:

Not exactly what you had in mind, I know, but couldn't you just   
import the digitized files into iTunes as aifs or wavs, enter  
the  info there, and then burn the CD?



Yes. Of course that also entails converting all the AIFFs to AACs  
and  erasing the AIFFs from disk. The conversion takes long  
enough so  that, when I got started on this, I sensed that it  
would be a little  more obnoxious than this roundabout method.  
(The whole procedure  involves two long waiting steps --  
recording the AIFF from LP in  Sound Studio and running it  
through ClickRepair -- and some busywork,  bookkeeping steps. The  
AIFF->AAC conversion is another long waiting  step, and that's  
what decided me, perhaps wrongly.)


I guess maybe I'm not understanding the current work flow (versus  
what Mark suggested).


I think today you do:
1. LP -> AIFF
2. AIFF -> CD
3. CD -> iTunes

Mark is proposing
a. LP -> AIFF
b. AIFF -> iTunes
c. AIFF to AAC convert within iTunes
d. iTunes -> CD

Note that b and c can be combined into a single step using the  
scripting interface to iTunes, but I don't think they can be using  
the iTunes UI. If there is a way to do that in one step, please  
tell me how  :-)



Clearly 1 and a are the same

2 and d are equivalent (limited by speed of burning - maybe iTunes  
can do it faster than your old Toast Lite, but in general the same)


b is (for me) almost instantaneous - no file copy, no conversion,  
merely adds some entries in the iTunes database)


and, finally, c is faster than 3  -- the conversion (in my case  
WAV to AAC) happens faster than I ever achieve on CD import into  
iTunes. Importing a CD varies between 5x and 8x speed, while file  
conversion is reliably faster than 10x.




Converting AIFF rather CD into iTunes has the benefit of being  
entirely scriptable - no physical handling of CDs every 5 minutes.  
If you have enough disk space, you can spend all day importing  
your LPs to AIFF and naming tracks, then leave your script to do  
all the import and convert while you have dinner.


btw - yes, I do wish I had known all this six months ago when I  
did a few LPs and found it sufficiently painful that I haven't yet  
done all the rest of them.




--
Alex Tweedly   http://www.tweedly.net




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date:  
17/02/2006


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sort of OT, CD names to iTunes

2006-02-19 Thread Mark Smith
Exactly. I'd add the one proviso that it would be better to do the  
iTunes -> CD step before converting to aac - itunes will effectively  
convert the aac files back to aif before burning, but aac is lossy,  
so converting to aac first just puts worse quality on your CD. Once  
you've burnt your CDs (feeding them in, one at a time, of course),  
you can set the conversion of the whole lot to aac going, and leave  
it going


Mark

On 19 Feb 2006, at 12:09, Alex Tweedly wrote:


Charles Hartman wrote:

I'm doing a lot of LP -> CD transfers, a process with many steps  
some  of which are silly & tedious. One of them is that, after  
I've split  the digitized audio file into tracks, and named them  
(a little  tedious in itself since I'm using an ancient Toast Lite  
to burn the  CD), and go to import the tracks into iTunes, unless  
it's a recording  known to GraceNote I have to type all the track  
names (and composers)  *again* in the iTunes info panel. I was  
thinking a little Rev stack  to do this would be handy (and worth  
the time if I do *another*  couple of hundred), but I'm not sure  
where to look.


Does anybody know of a way to get audio track names from CDs and  
load  them into iTunes? Am I missing something obvious?


I am 99.9% sure that the track names are not on an audio CD. If  
they were, iTunes, MusicMatch, etc. would surely retrieve them for  
us, wouldn't they ?



On Feb 18, 2006, at 11:00 PM, Mark Smith wrote:

Not exactly what you had in mind, I know, but couldn't you just   
import the digitized files into iTunes as aifs or wavs, enter  
the  info there, and then burn the CD?



Yes. Of course that also entails converting all the AIFFs to AACs  
and  erasing the AIFFs from disk. The conversion takes long enough  
so  that, when I got started on this, I sensed that it would be a  
little  more obnoxious than this roundabout method. (The whole  
procedure  involves two long waiting steps -- recording the AIFF  
from LP in  Sound Studio and running it through ClickRepair -- and  
some busywork,  bookkeeping steps. The AIFF->AAC conversion is  
another long waiting  step, and that's what decided me, perhaps  
wrongly.)


I guess maybe I'm not understanding the current work flow (versus  
what Mark suggested).


I think today you do:
1. LP -> AIFF
2. AIFF -> CD
3. CD -> iTunes

Mark is proposing
a. LP -> AIFF
b. AIFF -> iTunes
c. AIFF to AAC convert within iTunes
d. iTunes -> CD

Note that b and c can be combined into a single step using the  
scripting interface to iTunes, but I don't think they can be using  
the iTunes UI. If there is a way to do that in one step, please  
tell me how  :-)



Clearly 1 and a are the same

2 and d are equivalent (limited by speed of burning - maybe iTunes  
can do it faster than your old Toast Lite, but in general the same)


b is (for me) almost instantaneous - no file copy, no conversion,  
merely adds some entries in the iTunes database)


and, finally, c is faster than 3  -- the conversion (in my case WAV  
to AAC) happens faster than I ever achieve on CD import into  
iTunes. Importing a CD varies between 5x and 8x speed, while file  
conversion is reliably faster than 10x.




Converting AIFF rather CD into iTunes has the benefit of being  
entirely scriptable - no physical handling of CDs every 5 minutes.  
If you have enough disk space, you can spend all day importing your  
LPs to AIFF and naming tracks, then leave your script to do all the  
import and convert while you have dinner.


btw - yes, I do wish I had known all this six months ago when I did  
a few LPs and found it sufficiently painful that I haven't yet done  
all the rest of them.




--
Alex Tweedly   http://www.tweedly.net




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date:  
17/02/2006


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Two sounds at the same time!?

2006-02-19 Thread Eric Chatonet

Hi Jim,

First welcome to this list.

That's true: you can't use the play command to play directly two  
sounds  at the same time.

But...
You can use how many players objects as you want and monitor them  
independently (each of them can display video and/or audio embedded  
or external files).
See the docs about: start command, stop command, currentTime  
property, frameCount property, frameRate property, import command,  
movie function, playDestination property, playLoudness property,  
playRate property, playStopped message, prepare command, record sound  
command, revPlayAnimation command, sound function, videoClipPlayer  
property, How do I animate a sprite?, How do I beep?, How do I find  
out whether QuickTime is available?, How do I make the computer speak  
out loud?, How do I play a streaming QuickTime file?, Why don't  
movies play? etc.

All information about video is worth for audio :-)

Le 19 févr. 06 à 13:48, Jim Hamlyn a écrit :


Hi Folks,

I’m just in the process of trying out Revolution and it seems to be  
a very
powerful tool. However I’m concerned by the statement in the  
documentation
that “You cannot play two sounds at the same time”. Why? And is  
there a

workaround for this?


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: video screen-capture on Windows

2006-02-19 Thread Alex
Hello,

You may try Camtasia at techsmith.com

Best regards

Alex

- Original Message -
From: SB <[EMAIL PROTECTED]>
To: use-revolution@lists.runrev.com
Sent: Friday, February 17, 2006 06:46:49 +0800
Subject: 

Hi folks,

We are playing videos of screen captures in our Rev product.

On the Mac, the software we use to capture the videos is Snapzpro.

What are some good Windows softwares that will do audio-video screen 
captures?

Thanks,
Sandy

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



Thanks and best regards

Alex
---
What a wonderful world
Nice to meet all of you

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sort of OT, CD names to iTunes

2006-02-19 Thread Alex Tweedly

Charles Hartman wrote:

I'm doing a lot of LP -> CD transfers, a process with many steps some  
of which are silly & tedious. One of them is that, after I've split  
the digitized audio file into tracks, and named them (a little  
tedious in itself since I'm using an ancient Toast Lite to burn the  
CD), and go to import the tracks into iTunes, unless it's a recording  
known to GraceNote I have to type all the track names (and composers)  
*again* in the iTunes info panel. I was thinking a little Rev stack  
to do this would be handy (and worth the time if I do *another*  
couple of hundred), but I'm not sure where to look.


Does anybody know of a way to get audio track names from CDs and load  
them into iTunes? Am I missing something obvious?


I am 99.9% sure that the track names are not on an audio CD. If they 
were, iTunes, MusicMatch, etc. would surely retrieve them for us, 
wouldn't they ?



On Feb 18, 2006, at 11:00 PM, Mark Smith wrote:

Not exactly what you had in mind, I know, but couldn't you just  
import the digitized files into iTunes as aifs or wavs, enter the  
info there, and then burn the CD?



Yes. Of course that also entails converting all the AIFFs to AACs and  
erasing the AIFFs from disk. The conversion takes long enough so  
that, when I got started on this, I sensed that it would be a little  
more obnoxious than this roundabout method. (The whole procedure  
involves two long waiting steps -- recording the AIFF from LP in  
Sound Studio and running it through ClickRepair -- and some busywork,  
bookkeeping steps. The AIFF->AAC conversion is another long waiting  
step, and that's what decided me, perhaps wrongly.) 


I guess maybe I'm not understanding the current work flow (versus what 
Mark suggested).


I think today you do:
1. LP -> AIFF
2. AIFF -> CD
3. CD -> iTunes

Mark is proposing
a. LP -> AIFF
b. AIFF -> iTunes
c. AIFF to AAC convert within iTunes
d. iTunes -> CD

Note that b and c can be combined into a single step using the scripting 
interface to iTunes, but I don't think they can be using the iTunes UI. 
If there is a way to do that in one step, please tell me how  :-)



Clearly 1 and a are the same

2 and d are equivalent (limited by speed of burning - maybe iTunes can 
do it faster than your old Toast Lite, but in general the same)


b is (for me) almost instantaneous - no file copy, no conversion, merely 
adds some entries in the iTunes database)


and, finally, c is faster than 3  -- the conversion (in my case WAV to 
AAC) happens faster than I ever achieve on CD import into iTunes. 
Importing a CD varies between 5x and 8x speed, while file conversion is 
reliably faster than 10x.




Converting AIFF rather CD into iTunes has the benefit of being entirely 
scriptable - no physical handling of CDs every 5 minutes. If you have 
enough disk space, you can spend all day importing your LPs to AIFF and 
naming tracks, then leave your script to do all the import and convert 
while you have dinner.


btw - yes, I do wish I had known all this six months ago when I did a 
few LPs and found it sufficiently painful that I haven't yet done all 
the rest of them.




--
Alex Tweedly   http://www.tweedly.net




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.11/264 - Release Date: 17/02/2006

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Two sounds at the same time!?

2006-02-19 Thread Jim Hamlyn
Hi Folks,

I¹m just in the process of trying out Revolution and it seems to be a very
powerful tool. However I¹m concerned by the statement in the documentation
that ³You cannot play two sounds at the same time². Why? And is there a
workaround for this?

Many Thanks in Advance.

Jim H

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: sort of OT, CD names to iTunes

2006-02-19 Thread Mark Smith
No, I meant import the files into iTunes as aifs - iTunes is  
perfectly happy to play uncompressed aifs, (go to  iTunes preferences  
-> importing -> aif encoder), so you'd then have the aifs in iTunes,  
from where you can enter the info, and burn the cd. Then, if you  
want, you can convert to aac, and delete the aifs. The point being  
that you'd only enter the info once, in iTunes.




On 19 Feb 2006, at 04:32, Charles Hartman wrote:



On Feb 18, 2006, at 11:00 PM, Mark Smith wrote:

Not exactly what you had in mind, I know, but couldn't you just  
import the digitized files into iTunes as aifs or wavs, enter the  
info there, and then burn the CD?


Yes. Of course that also entails converting all the AIFFs to AACs  
and erasing the AIFFs from disk. The conversion takes long enough  
so that, when I got started on this, I sensed that it would be a  
little more obnoxious than this roundabout method. (The whole  
procedure involves two long waiting steps -- recording the AIFF  
from LP in Sound Studio and running it through ClickRepair -- and  
some busywork, bookkeeping steps. The AIFF->AAC conversion is  
another long waiting step, and that's what decided me, perhaps  
wrongly.)


Charles




Mark

On 19 Feb 2006, at 03:10, Charles Hartman wrote:

I'm doing a lot of LP -> CD transfers, a process with many steps  
some of which are silly & tedious. One of them is that, after  
I've split the digitized audio file into tracks, and named them  
(a little tedious in itself since I'm using an ancient Toast Lite  
to burn the CD), and go to import the tracks into iTunes, unless  
it's a recording known to GraceNote I have to type all the track  
names (and composers) *again* in the iTunes info panel. I was  
thinking a little Rev stack to do this would be handy (and worth  
the time if I do *another* couple of hundred), but I'm not sure  
where to look.


Does anybody know of a way to get audio track names from CDs and  
load them into iTunes? Am I missing something obvious?


Charles

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.7 Consensus

2006-02-19 Thread Martin Baxter

Scott Kane wrote:

Hi all,

There has been a lot of chatter here (in a good way)
about the release of 2.7.  I'm eligible for the
upgrade and have downloaded it and so far have had
zero problems in the tasks I have needed to perform.

However - I'm leery on working on a project for real
given some of the issues being raised (and the statements
from some old hands that they have reverted back to 2.6.*)
and am looking for something positive before committing
to it.  I'd welcome your input on this

Scott


Hi Scott

I doubt there could be consensus on this because the answer is so
dependent on individual needs. Some reasons for not upgrading that I can
think of are:

1) you have a shipping product to support and some particular aspect of
2.7 causes problems.

2) you make rev plugins and libraries that must be backwards compatible
for users who have not upgraded (though you *can* make these with 2.7,
it is not officially supported for some reason)

3) There is currently a deficiency with 2.7 that is a blocker for your
own projects, e.g. lack of MacOS 9 support, so you are better waiting
until that appears.

In my own case, I work on one project, which is an in-house tool. It's
well established, and fairly large and therefore time consuming to test
thoroughly. So I would be wary of irrevocably switching to a new version
of Rev without an extended period of testing in which I use both old and
new versions concurrently, (preferably on separate machines) until I am
sure enough of the new version to commit to it.

["My "|""]twopennuth

Martin Baxter

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Retrieve List of Array Properties?

2006-02-19 Thread Richard Gaskin

Trevor DeVore wrote:

On Feb 18, 2006, at 5:50 PM, Richard Gaskin wrote:


Scott Rossi wrote:

Recently, Dave Cragg wrote:

One further way...

 get the customKeys["specialData"] of field 1
*THIS* is what I had in my mind of how it should work, but couldn't 
get the

syntax right.  Thanks very much Dave.


Whoa.  Never seen that before.

I have mixed feelings about the syntax, wondering whether () might be 
more appropriate than [] in that context.


Has this been in the docs all these years and I've somehow missed it?


I have not seen this documented but Jerry and I stumbled across this in 
the Revolution property inspector the other day while playing with 
custom props.  It is a handy thing to be aware of when working with 
custom props.


Absolutely.  Seems too useful to leave out of the docs.

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: newbie questions/

2006-02-19 Thread Klaus Major

Hello Benjamin,


hi!


please let me welcome you to the list first :-)

I downloaded Revolution to test some
things I want to accomplish for a game.

I am having trouble trying to find how to
apply a command to make a picture (or quicktime movie) Draggable.

Example of what I want to accomplish:

I have a 3d Barrel picture:
I want to be able to:

-Move the barrel freely on the screen (or maybe to an specific part)
-How do I play a sound while I am dragging the barrel?
then stop (or pause) the sound when I stop dragging?



Hint: This is only ONE possible solution! ;-)

1. Create a player object to play your "dragging" sound.
I will call it "dragsound" in my example

2. Put this into the script of you image (to be dragged):

###
on mousedown
   set the looping of player "dragsound" to true
  ## this is optional, just in case you only have a short sound
  ## and want to play it in a loop

  set the currenttime of player "dragsound" to 0
  ## "rewind" the sound, in case it has been started before

  start player "dragsound"
  ## finally "play" that sound

  grab me
  ## this will make the image draggable finally :-)
end mousedown

on mouseup
   stop player "dragsound"
end mouseup
##

That was it :-)


I want to apply the same commands to a quicktime
movie and be able to go to an specific animation
track section (ej. Dragging makes sound, double clicking


Just add a "on mousedoubleup" handler to your object.


plays an "open barrel top" animation.


You can do the same as above with a quicktime movie, but
that may cause lots of flickering on the screen unless you set
"the alwaysbuffer" of that movei/player to true.

BUT in that case the playback of the movie may be a bit jerky.
Sorry to say, but that may be very unsatisfying...


At the same time I want to send a Message to another
object. Ej. On double clicking the barrel send "barrelOpened"
msg and trigger another action on any object, sound etc.


That is almost the correct syntax :-)

Create a custom handler "on barrelOpened" in the script of your
"target" object:

e.G. Button "xyz"

on barrelOpened
 ## do this and do that
 ## and whatever you want
end barrelOpened

And then you can simply "send" this message from any other object to
the object that you want to react upon the message:

on mousedoubleup
  send "barrelOpened" to btn "xyz"
  ## or whatever object has the script above
end mousedoubleup

Imortatnt hint:
QUOTES are absolutely necessary around the name of the message to be  
sent, see above!


Also, Revolution recognises alpha channel in a quicktime movie? (3d  
model)


No, unfortunately not.


Thanks!


Hope that helps.


Benjamin


Regards from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Main menu puzzle, Klaus

2006-02-19 Thread Stephen Barncard
and this isn't cleaner? LOOK - a whole bunch of if's and thens don't 
have to be repeated over and over.


on menupick varMenuItemSelected
 SWITCH varMenuItemSelected
 CASE "Cut"
   SubCut
 break
 CASE "Copy"
   SubCopy
 break
 CASE "Paste"
   SubPaste
 break
 CASE "Undo"
   SubUndo
 break
 CASE "Word Wrap"
   SubWordWrap
 break
 DEFAULT
   --
 END SWITCH
end menupick


I find SWITCH/CASE statements to be quite elegant, actually, and you 
can do things in fewer lines than an IF statement  will do in many 
situations. Execution goes straight down, and breaks are the stoppers!


SWITCH colors
  CASE "green"
  CASE "blue"
  CASE "yellow"
  CASE "orange"
put "color set one"
  break
  CASE "brown"
  CASE "red"
  CASE "purple"
put "color set two"
  break
  DEFAULT
put "not from either set"
END SWITCH

looks pretty linear to me... a lot easier than repetitive ORs or a 
lot of if-thens.


sqb



And I think another thing, a bit odd I'm sure, but I find the Case 
statements to be... well... Ugly for some reason.  Just looking at 
code for a Case statement doesn't seem to flow naturally in my mind, 
but an equivalent If statement does.  Don't ask me why!  Could be 
that I'm just a seriously odd fellow ;-)


-Garrett
P.S. BOYCOTT CASE STATEMENTS!  IF STATEMENTS ROCK!


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Dave Cragg


On 19 Feb 2006, at 05:27, Judy Perry wrote:


Yes, but do you think in these terms in day-to-day life?


Well, yes.

When the doorbell rings, I don't think like this:

if it's the postman
  I'll say good morning
if it's the taxman
  I'll get my gun
if it's the neighbor
  etc,

Instead, I'm more likely to think "who could that be", and compile a  
list like this ...


  postman
  milkman
  delivery man

  taxman
  police
  bailiff
  mother-in-law

  daughter's boyfriend

  son's girlfriend's father

...which lends itself to a switch/case structure.

So depending on the situation, both approaches can seem quite natural.

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Object Library woes

2006-02-19 Thread Sarah Reichelt
On 2/19/06, Cal Horner <[EMAIL PROTECTED]> wrote:
> Am I the only one or are other people having trouble using the Rev "Bog"
> standard object library with 2.7?
>
> After attempting to follow very vague installation instructions I have once
> again covered my forehead in key impressions, by banging it against the
> keyboard. Then, shaking my head in disgust, I shall wait hopefully for
> instructions that an idiot can follow.
>
> Anyone have a detailed answer to this problem?


Firstly, it look as if the standard object library is not included
with 2.7 but assuming you still have 2.6, you can install it manually.

In Rev 2.7, go to the Development menu and choose "Object library".
Click "New library..." and enter a name, then close the library
window. Do the same with the image library if you want.

Now quit Rev 2.7 and go to your Documents folder and find the "My
Revolution Enterprise" folder or "My Revolution Studio" of whatever.
Inside that folder, you should now find a Resources folder that
contains an "Object Libraries" folder and, if you created an image
library, an "Image Libraries" folder.

In your Rev 2.6.1 (or earlier) folder, locate the following file:
"components/save/userobjects/revdefaultlibrary.rev". Copy it to the
new "Objects Library" folder. Copy any other custom libraries to the
appropriate folder. When you re-start Rev 2.7, they will now be
available.

>
> I have one general question, that begs a philosophical answer.
>
> What is the matter with the developers of Revolution. Don't they realize
> that we don't need to relearn the development environment every time they
> release a new maintenance version?

I don't use these libraries very much and I now use Constellation for
all editing, so I hadn't noticed any change in the development
environment, but I can't see that there were many changes. Any that
were changed, you can be sure the Rev team were trying to improve
matters, not make them worse. If you feel that something has been
worsened, please enter it into Bugzilla so that it is officially
lodged as a feature request / bug report. Questions to this mailing
list usually get answers that involve workarounds or more detailed
instructions, but to get the original problem solved, you must enter
it on Bugzilla.

Regards,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.7 Consensus

2006-02-19 Thread Sarah Reichelt
On 2/19/06, Scott Kane <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> There has been a lot of chatter here (in a good way)
> about the release of 2.7.  I'm eligible for the
> upgrade and have downloaded it and so far have had
> zero problems in the tasks I have needed to perform.
>
> However - I'm leery on working on a project for real
> given some of the issues being raised (and the statements
> from some old hands that they have reverted back to 2.6.*)
> and am looking for something positive before committing
> to it.  I'd welcome your input on this

I have been gradually converting all my projects to 2.7 but keeping
complete backups of the 2.6 stacks just in case. Chipp's plugin makes
it easy to go back if you have a major problem, but I found that 2.7
solved various problems I was having with standalones crashing on
startup or not loading the speech external, so I'm very happy with it.

Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette mystery

2006-02-19 Thread Scott Rossi
Recently, sims wrote:

> Set the systemWIndow to true will make a  topLevel stack display above
> a palette window.

Good point, but even though the mode continues to return 1, the stack has
the *appearance* of a palette, so again, it seems unlikely that this is what
is going on.

(Of course, if you use a custom windowshape for the system window, then
there's no way to tell what kind of window it is, except for the fact that
it remains layered above *all* windows.)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


'How to use Revolution'

2006-02-19 Thread Karen


On 19 Feb 2006, at 07:26, Scott Kane wrote:


There has been a lot of chatter here (in a good way)
about the release of 2.7.  I'm eligible for the
upgrade and have downloaded it and so far have had
zero problems in the tasks I have needed to perform.

However - I'm leery on working on a project for real
given some of the issues being raised (and the statements
from some old hands that they have reverted back to 2.6.*)
and am looking for something positive before committing
to it.  I'd welcome your input on this


Scott,

Other than some initial hiccups in getting plugins installed in the  
new structure, I've been very pleased with 2.7.  The use of anti- 
aliasing makes a big difference to some of the graphs that my program  
uses.  I also like the fact that the plugins are generally (other  
than for runtime inclusion) now split off from the program itself,  
which should make upgrades less painful.


I have to say though, that I wasn't hitting any real issues in 2.6.1  
either, so I guess I don't stretch Rev as much as others do!  I'm  
also developing under Mac OS X - I don't know whether the situation  
is any different for those developing under Windows.


Karen
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Retrieve List of Array Properties?

2006-02-19 Thread Eric Chatonet

I fully agree.
I use custom properties a lot: more than 80 in the 2.7 Rev search  
engine for instance.
Access is almost as fast as globals without requiring attention to  
possible conflicts.
If I did not share them among appropriate custom property sets, it  
would be a real mess :-)


BTW if you like array notation and consistency, you may write: "put  
the customKeys[empty] of this stack" to get the customKeys ;-)


Best Regards from Paris,
Eric Chatonet

Le 19 févr. 06 à 09:57, Dave Cragg a écrit :


On 19 Feb 2006, at 04:05, Ken Ray wrote:

On 2/18/06 7:50 PM, "Richard Gaskin" <[EMAIL PROTECTED]>  
wrote:



Scott Rossi wrote:

Recently, Dave Cragg wrote:

One further way...

 get the customKeys["specialData"] of field 1


*THIS* is what I had in my mind of how it should work, but  
couldn't get the

syntax right.  Thanks very much Dave.


Whoa.  Never seen that before.

I have mixed feelings about the syntax, wondering whether ()  
might be

more appropriate than [] in that context.

Has this been in the docs all these years and I've somehow missed  
it?


I know what you mean! It *isn't* in the docs AFAICT, so it just  
goes to show

you can certainly teach an old dog new tricks..


Does that make me a spring chicken? :-)

It's probably my "old doggish" behavior that accounts for me  
knowing this. The array style runs right through all the syntax  
relating to custom properties, and allows you to avoid specifically  
setting a customPropertySet. Being so set in my ways before the  
customPropertySet syntax was introduced, I've never really adapted  
to it, and rarely think in terms of different property sets.


I always think of customPropertySets as being alternative sets of  
properties, For example, different language versions of error  
mesages, or different settings for different platforms. In these  
cases, it would make sense to set a customPropertySet at startup  
and use that for the rest of the session.


But I find I more often use custom properties to store structured  
data, so have properties such as cUser["id"], cUser["name"], cUser 
["zodiacsign"]. In this case, I don't think of there being a  
customPropertySet named cUser, but a single property named cUser,  
with many attributes. Thus my preference for the array syntax.


 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Retrieve List of Array Properties?

2006-02-19 Thread Dave Cragg


On 19 Feb 2006, at 04:05, Ken Ray wrote:

On 2/18/06 7:50 PM, "Richard Gaskin" <[EMAIL PROTECTED]>  
wrote:



Scott Rossi wrote:

Recently, Dave Cragg wrote:

One further way...

 get the customKeys["specialData"] of field 1


*THIS* is what I had in my mind of how it should work, but  
couldn't get the

syntax right.  Thanks very much Dave.


Whoa.  Never seen that before.

I have mixed feelings about the syntax, wondering whether () might be
more appropriate than [] in that context.

Has this been in the docs all these years and I've somehow missed it?


I know what you mean! It *isn't* in the docs AFAICT, so it just  
goes to show

you can certainly teach an old dog new tricks..


Does that make me a spring chicken? :-)

It's probably my "old doggish" behavior that accounts for me knowing  
this. The array style runs right through all the syntax relating to  
custom properties, and allows you to avoid specifically setting a  
customPropertySet. Being so set in my ways before the  
customPropertySet syntax was introduced, I've never really adapted to  
it, and rarely think in terms of different property sets.


I always think of customPropertySets as being alternative sets of  
properties, For example, different language versions of error  
mesages, or different settings for different platforms. In these  
cases, it would make sense to set a customPropertySet at startup and  
use that for the rest of the session.


But I find I more often use custom properties to store structured  
data, so have properties such as cUser["id"], cUser["name"], cUser 
["zodiacsign"]. In this case, I don't think of there being a  
customPropertySet named cUser, but a single property named cUser,  
with many attributes. Thus my preference for the array syntax.


Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette mystery

2006-02-19 Thread sims

At 12:25 AM -0800 2/19/06, Scott Rossi wrote:

 I would suggest
that whenever you experience what you perceive to be a topLevel stack
displaying above a palette, immediate query the stack modes in the message
box and see what the result is.  Something like:

  put short name of stack 'A' && mode of stack 'A' && \
short name of stack 'B' && mode of stack 'B' && \
short name of stack 'C' && mode of stack 'C'

My guess is you'll find the modes to be the same (1 or 2 = topLevel, 4 =
palette).  If not, you may have discovered a bug.



Set the systemWIndow to true will make a  topLevel stack display above
a palette window.

ciao,
sims

European Rev Conference  2006
www.techietours.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Switch versus if/then/else ( was: Main menu puzzle, Klaus)

2006-02-19 Thread Scott Kane
Hi Judy,

> For the novice/non-programmer, there IS no difference between 
> how they think in everyday terms and how they "read code".

I don't disagree with the psychology, though it would seem
to me that learning such issues as case statements early on
will not only advance a novice, but make their code more
readable as they progress from novice to a more advanced
level.  In fact the satisfaction of writing something that
is elegant (which if/then/else is barely) is guaranteed to
be fruitful and rewarding.

Scott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Retrieve List of Array Properties?

2006-02-19 Thread Trevor DeVore

On Feb 18, 2006, at 5:50 PM, Richard Gaskin wrote:


Scott Rossi wrote:

Recently, Dave Cragg wrote:

One further way...

 get the customKeys["specialData"] of field 1
*THIS* is what I had in my mind of how it should work, but  
couldn't get the

syntax right.  Thanks very much Dave.


Whoa.  Never seen that before.

I have mixed feelings about the syntax, wondering whether () might  
be more appropriate than [] in that context.


Has this been in the docs all these years and I've somehow missed it?


I have not seen this documented but Jerry and I stumbled across this  
in the Revolution property inspector the other day while playing with  
custom props.  It is a handy thing to be aware of when working with  
custom props.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Palette mystery

2006-02-19 Thread Scott Rossi
Recently, Graham Samuel wrote:

>>> I've got three stacks, let's say stack 'A' whose style is topLevel,
>>> and stacks 'B' and 'C' whose style is palette. The global property
>>> raisepalettes is true, but despite this, if I click on 'A', it moves
>>> in front of 'B' and 'C'.
>>> 
>> 
>> Something else is probably going on here.  It's unlikely (if not
>> impossible)
>> for a toplevel stack to appear above a palette stack (thus the
>> reason for
>> the existence of palette stacks).  Either you're somehow setting
>> stack 'A'
>> to palette mode, or you're changing the mode of 'B' and 'C' to
>> topLevel.
>> 
>> Are you changing the modes/styles of your stacks via script?
>
> ...
> You say that it's not impossible for a toplevel stack to appear above
> a palette stack - can you give any more detail on this? I see nothing
> in the RR docs.

There is nothing in the RR docs that I know of.  My intent was to imply that
it's *extremely* unlikely that a palette can ever be rendered above a
topLevel stack in the same app (there may be some bug going on but I've yet
to see anything like this in years of working with Rev/MC).  I would suggest
that whenever you experience what you perceive to be a topLevel stack
displaying above a palette, immediate query the stack modes in the message
box and see what the result is.  Something like:

  put short name of stack 'A' && mode of stack 'A' && \
short name of stack 'B' && mode of stack 'B' && \
short name of stack 'C' && mode of stack 'C'

My guess is you'll find the modes to be the same (1 or 2 = topLevel, 4 =
palette).  If not, you may have discovered a bug.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where is the list of all the Revolution messages etc?

2006-02-19 Thread Eric Chatonet

Hi Jacque,

Thanks for pointing this.
The less I can say is that is counter-intuitive :-)
In addition, this menu is not compliant with Mac OS guide lines: it  
should appear at mouseDown.


Le 19 févr. 06 à 00:16, J. Landman Gay a écrit :

You can get a partial listing of the kind you are after if you  
right-click (on Mac, control-click) anywhere in the heading  
sections of the dictionary pane of the docs. You'll get a menu of  
the various things you can display in the top list. There are many  
more options than the four that ship by default.


Chose the object you want to know about; for example, "button". A  
button column will appear. Click on it to sort by it. Now all the  
messages, properties, and commands that apply to buttons will be  
grouped together at the bottom of the list.


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Where is the list of all the Revolution messages etc?

2006-02-19 Thread Eric Chatonet

Yes Richard,

I hope to be able to send you the outline just before next  
Independence Day.

Should be fine for Ken to put a stop about Christmas.
Does this work for you?
;-)

Le 19 févr. 06 à 03:26, Richard Gaskin a écrit :

That's coming, and Eric Chatonet is working on a tutorial on how to  
use the "How to Use the Docs" section.  I'm writing an article for  
revJournal on how to use Eric's tutorial, and Ken will explain my  
article in a panel session at the next conference.


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


More fun with tooltips

2006-02-19 Thread Graham Samuel
On Sat, 18 Feb 2006 14:11:55 -0500, Thomas McGrath III  
<[EMAIL PROTECTED]> wrote:


[some clever stuff about tooltips]

Tom, if you understand tooltips well, maybe you could suggest how to  
do something I've always wanted to do: program a button so that when  
pressed, it lights up all the tooltips on a given card at the same  
time. I thought of doing this as a kind of cheap 'help' system, but I  
have not so far found any way of doing it.


Graham


 
---

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >