[OT] RevCentral Newsletter Number 3

2005-06-09 Thread Chipp Walters

Hey gang,

Dan and I've got another issue of RevCentral Newsletter waiting for you 
hot off the presses. If haven't already seen it in your InBox, then you 
can subscribe (free) at:


http://www.altuit.com/webs/revCentral/revCentralHome/default.htm

This issue's chock full of neat stuff. Dan tells us in detail more about 
RevCon West and you get to put some faces to pictures of the speakers 
there. We're closing in on 60 attendees! (a couple more signed up today, 
it's not too late!)


There's also news about a new altBrowser for Tiger along with some very 
interesting news from Daniels-Mara. And, lastly a great tip on how to 
get started creating GREAT WIDGETS using the DEEP MASK feature of 2.6.


If you're not subscribed, you can view the newsletter at:
http://www.altuit.com/webs/revCentral/Number3/default.htm

Look forward to seeing many of you in Monterey! :-)

-Chipp


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 6/8/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: custom cursor

2005-06-09 Thread Nicolas Cueto
Sorry for adding to my question but I just 
realized that, if I can add cursors to the OS 
(Win2K), then couldn't I add such pre-made 
cursors (.cur, .ani) to a stack.

I tried using import and setting the filename 
of an image object but the .cur/.ani cursor
files are not recognized by Rev.

Thanks again.

Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Michael J. Lew
Well done Brian. Yes, setting the (invisible) lineIncrement property 
to zero fixes the numbers.


I didn't notice that the little ticks were wrong. I don't know how to fix them.

Your initial comments regarding a new user are exactly my sentiments.

There are a couple of bugs in scrollbar objects in addition to such 
unexpected behaviour. I would like to see them cleaned up 
substantially at some stage. They are awkward to use in any 
quantitative way because their lineInc, pageInc and numberFormat 
properties are all interlinked.





 What do these number series have in common, and what is the underlying
 pattern?
 a: 1,2,3,4,5,6,7,8,8,9,10;
 b: 1,10,20,29,38,48,57,67,76.

 The answer is they are the series of values that you get when you
 click on the bar of (a) a fresh, unadjusted slider control, and (b) a
 slider with its On bar click value (pageInc property) set to 10.

 Here is a challenge:
 Make a slider control that starts at 0 and increments by exactly 10
 when you click on the bar, up to 100.

 It is certainly possible, but not easy if you don't know the trick.

 Regards,
 --

  Michael J. Lew

 



Setting the lineIncrement property to 0 seems to solve it... except:

a) I had to discover lineIncrement and set it by script
b) The ticks marks are wrong

So, what IS the trick?



--
Michael J. Lew

Senior Lecturer
Department of Pharmacology
The University of Melbourne
Parkville 3010
Victoria
Australia

Phone +613 8344 8304

**
New email address: [EMAIL PROTECTED]
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: updated page for RevConWest.

2005-06-09 Thread Judy Perry
best Edna Mode effort from The Incredibles

No CANDY!

/best Edna Mode

I mean, after all, we've got to get them to SLEEP that /those nights so
that I can attend the next RevConWest day!!!

;-)

Thanks, tho'...

Judy

On Wed, 8 Jun 2005, Scott Rossi wrote:

 Recently, Judy Perry  wrote:

  Do you have any kiddie-friendly suggestions for the accompanying family
  members?

 If the accompanying family members go by the Monterey Bay Aquarium area,
 there is also an arcade with merry-go-round and miniature golf, and a wax
 museum in the nearby Cannery Row area.  Dare I mention the candy store among
 the nearby shops...

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: updated page for RevConWest.

2005-06-09 Thread Judy Perry
Thanks, Dan,

Because, at this point, I'm considering taking off lunch  BOF etc
sessions as I don't think that ever, in the four years of the twins' life,
my devoted spousal unit has EVER watched them ALONE for 10+ consecutive
hours...

Judy

On Wed, 8 Jun 2005, Dan Shafer wrote:

 Yes, I do.

 Coming in the next day or two.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread briany
Agreed. I can suggest two simple changes that seem as though they would
make sliders work out of the box:

1) Change the default lineIncrement to 0 for slider style objects

2) There appears to be an engine bug with the number of ticks displayed
(at least on MacOS X). There is one too few. For example, for a slider
with values from 0 to 100, pageInc = 10 and lineIncr = 0 (as described in
this thread), it displays 10 ticks. There should be 11:
0,10,20,30,40,50,60,70,80,90,100, My guess is that somewhere the engine is
doing something like:

numTicks = (maxValue - minValue)/(pageIncrement - lineIncrement)

This seems intuitively ok at first (100 divided by 10!) but it should
actually be the above plus 1, since you want ticks at both the min and max
values.

As it is now, what you get is a slider that stops on 10,20,30,etc but the
ticks marks are actually at 11,22,33,44,55,etc - which looks very awkward.

I'll BugZilla #2 as an engine bug unless someone else sees something here,
but as far as I can tell it makes it impossible to properly display a
slider, since paging left and right misses the ticks completely!

- Brian


 Well done Brian. Yes, setting the (invisible) lineIncrement property
 to zero fixes the numbers.

 I didn't notice that the little ticks were wrong. I don't know how to fix
 them.

 Your initial comments regarding a new user are exactly my sentiments.

 There are a couple of bugs in scrollbar objects in addition to such
 unexpected behaviour. I would like to see them cleaned up
 substantially at some stage. They are awkward to use in any
 quantitative way because their lineInc, pageInc and numberFormat
 properties are all interlinked.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Eric Chatonet

Hi Michael and Brian,

May be you could have a look to my How-To stack How to manage  
scrollbars (available through Tutorials Picker: see my website).

It does the trick with the rigt ticks marks :-)

on scrollbarDrag pPos
  set the pageInc of me to the endValue of me / (the endValue of me  
+ 1)

end scrollbarDrag

on mouseUp
  set the thumbPos of me to the thumbPos of me
end mouseUp


Le 9 juin 05 à 04:09, Michael J. Lew a écrit :

What do these number series have in common, and what is the  
underlying pattern?

a: 1,2,3,4,5,6,7,8,8,9,10;
b: 1,10,20,29,38,48,57,67,76.

The answer is they are the series of values that you get when you  
click on the bar of (a) a fresh, unadjusted slider control, and (b)  
a slider with its On bar click value (pageInc property) set to 10.


Here is a challenge:
Make a slider control that starts at 0 and increments by exactly 10  
when you click on the bar, up to 100.


It is certainly possible, but not easy if you don't know the trick.



Best regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Dave Cragg


On 9 Jun 2005, at 08:06, [EMAIL PROTECTED] wrote:



2) There appears to be an engine bug with the number of ticks  
displayed

(at least on MacOS X). There is one too few. For example, for a slider
with values from 0 to 100, pageInc = 10 and lineIncr = 0 (as  
described in

this thread), it displays 10 ticks. There should be 11:
0,10,20,30,40,50,60,70,80,90,100, My guess is that somewhere the  
engine is

doing something like:

numTicks = (maxValue - minValue)/(pageIncrement - lineIncrement)



Or could it be that the thumbSize value is taken into account as it  
would be when working with scrollbars? (Or would it? My brain always  
hurts when doing this kind of arithmetic.) I notice that the  
thumbSize is always set to the pageInc value with sliders. I wondered  
what would happen if the thumbSize was set to 0 and the pageInc to  
10, but I couldn't set them independently. Perhaps this is the problem.


Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Brian Yennie

Eric,

This is helpful. I do, however, think it should still be considered a 
bug that one needs a special script in order to correct how sliders 
work when created in the IDE.


Plus, since the script below actually modifies the pageIncrement away 
from what you originally intended, you again will have to do some funny 
calculation if you rely on the actual numeric value of the thumbPos.


A very helpful stack to get people unstuck, but this really is both an 
IDE and an engine bug IMO.


- Brian


Hi Michael and Brian,

May be you could have a look to my How-To stack How to manage 
scrollbars (available through Tutorials Picker: see my website).

It does the trick with the rigt ticks marks :-)

on scrollbarDrag pPos
  set the pageInc of me to the endValue of me / (the endValue of me + 
1)

end scrollbarDrag

on mouseUp
  set the thumbPos of me to the thumbPos of me
end mouseUp


Le 9 juin 05 à 04:09, Michael J. Lew a écrit :

What do these number series have in common, and what is the 
underlying pattern?

a: 1,2,3,4,5,6,7,8,8,9,10;
b: 1,10,20,29,38,48,57,67,76.

The answer is they are the series of values that you get when you 
click on the bar of (a) a fresh, unadjusted slider control, and (b) a 
slider with its On bar click value (pageInc property) set to 10.


Here is a challenge:
Make a slider control that starts at 0 and increments by exactly 10 
when you click on the bar, up to 100.


It is certainly possible, but not easy if you don't know the trick.



Best regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Brian Yennie

Dave,

Or could it be that the thumbSize value is taken into account as it 
would be when working with scrollbars? (Or would it? My brain always 
hurts when doing this kind of arithmetic.) I notice that the thumbSize 
is always set to the pageInc value with sliders. I wondered what would 
happen if the thumbSize was set to 0 and the pageInc to 10, but I 
couldn't set them independently. Perhaps this is the problem.


This could be related, but I don't think it will help the ticks. The 
actual number of ticks marks is wrong, and I don't think that can be 
affected by changing the thumbSize.


I could be wrong, but that would just add more credence to needing to 
have this work by default =)!


- Brian

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Eric Chatonet

Hi Brian,

Le 9 juin 05 à 11:38, Brian Yennie a écrit :

This is helpful. I do, however, think it should still be considered  
a bug that one needs a special script in order to correct how  
sliders work when created in the IDE.
Plus, since the script below actually modifies the pageIncrement  
away from what you originally intended, you again will have to do  
some funny calculation if you rely on the actual numeric value of  
the thumbPos.


http://support.runrev.com/bugdatabase/show_bug.cgi?id=2644
Posted on March 1st 2005 after a long thread about this between Ken  
Ray, Richard Gaskin, Paul Looney and me.


A very helpful stack to get people unstuck, but this really is both  
an IDE and an engine bug IMO.


Thanks :-)

Best regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider values

2005-06-09 Thread Brian Yennie

Oh, hey, where was I?
Ok, well the report looks good. My votes are going in.


http://support.runrev.com/bugdatabase/show_bug.cgi?id=2644
Posted on March 1st 2005 after a long thread about this between Ken 
Ray, Richard Gaskin, Paul Looney and me.


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Moving Stacks or the Mouse

2005-06-09 Thread Jim Hurley


Message: 6
Date: Wed, 8 Jun 2005 16:30:12 -0700
From: Roger Guay [EMAIL PROTECTED]
Subject: Re: Moving Stacks or the Mouse
To: use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;	charset=ISO-8859-1;	delsp=yes; 
	format=flowed


Thom,

Thank you for this suggestion.  First let me explain that I am 
building an animated tutorial and otherwise agree with you on the 
inadvisability of moving the mouse for the user.  However my tutorial 
I will require the animation of the mouse to occur over many 
different paths across open stacks.  How would I generate list of 
points for many paths that would result in a smooth animation of the 
mouse movement?


You can see why I also thought of moving a tiny stack whose 
windowShape is a hand or pointer from the location of a point of one 
stack to the location of a point in another stack.  This I have done, 
but I still wonder if there isn't an easier way??


Thanks and cheers, Roger

Ps.  I'm sorry I dropped the Subject Heading last go-around.


Roger,

This isn't what you want but you might find it an alternative. You 
would have to modify it to set the pointer to substacks--I think.


See Pointer Tool at:

http://home.infostations.net/jhurley/

Use control click to download.

This utility automates the process of establishing links between 
words in the text and the associated point of reference. Passing the 
mouse over the linked words show a hand pointing to the selected 
object. I use it in my tutorials.


Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: updated page for RevConWest.

2005-06-09 Thread Todd Higgins
I would love to come, as I am sure a lot of other would as well.  But  
for those that cannot make it out there this year, are there any  
plans to produce podcasts of the event? ( For those who have been  
under a rock about podcasts here is the wikipedia entry: http:// 
en.wikipedia.org/wiki/Podcast )


Thanks to the RevConWest website I can now put a face to to some of  
the familar names on the list, but I would love to  be able match up  
some voices as well!


Todd



On Jun 8, 2005, at 9:20 PM, Andre Garzia wrote:


Hi Folks,

I just noticed that the page for RevConWest was updated to feature  
the session descriptions, I think that anyone that still  
considering his enrollment should read and phone Dan for a spot to  
go. This year will be a hell of a conference!


http://www.altuit.com/webs/altuit/RevConWest/

Cheers
andre


--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: here is the CLOCKFACE script...coded in 3 MINUTES...17 LINES of CODE

2005-06-09 Thread Dennis Brown

Geoff,

I also just took out the hour 'if' statement in yours, so that  
minutes and hours are updated together after only 10 seconds from  
start.  The extra time for doing the hours every ten seconds is trivial.


Dennis

On Jun 9, 2005, at 1:12 AM, Geoff Canyon wrote:


On Jun 8, 2005, at 8:40 AM, Eric Chatonet wrote:


Just a little thing: with this new very clever code, the clock  
will not be at time just when opening ;-)
So 4 lines more and 2 repetitions that are not satisfying: I bet  
you will find a better solution in 3 minutes!




Thanks for the compliment. I'm not sure I would find a better way.  
I thought about this issue and decided to ignore it this morning  
because I didn't have time to do something better. Your way,  
passing in an argument to force an update, is likely the best with  
this particular design, although have a look at the example Dar  
suggested and Dennis posted. Separating the movement of the three  
hands into three separate handlers gets past this problem.


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Rob Cozens

Hi Dennis,


Nonworking script in field PN1:

on mouseUp
  call SaveMeTxt
end mouseUp


Did you try call SaveMeText   ?

Per Transcript Dictionary (call command), The entire handler including 
parameters must be enclosed in quotes.


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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: custom cursor

2005-06-09 Thread Ken Ray
On 6/9/05 12:46 AM, Nicolas Cueto [EMAIL PROTECTED] wrote:

 Hello,
 
 I need a big (and cute!) cursor for a
 preKindergarten stack I made.
 
 The docs advise custom cursors be three
 colors, while a writer in the archives (Ken
 Ray) suggests using Rev's editing tools to
 draw my own cursor.
 
 Well, first I tried the draw-your-own advise
 and  made a standalone to test it out.
 However, this command failed
 
 on mouseUp
   set cursor to [image id number]

NIcolas, can you try:

  set the cursor to [image id number]

?? I think you need the the.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: here is the CLOCKFACE script...coded in 3 MINUTES...17 LINES of CODE

2005-06-09 Thread Geoff Canyon
I considered this option and went the other way for a couple reasons.  
It seemed more natural to leave it in one handler. It takes more  
lines of code to split the handlers up. I wonder what the overhead is  
to have three messages pending as opposed to one.


That said, I think this is the way to go. It solves the display-isn't- 
right-for-up-to-two-minutes problem, and the implementation is about  
as clean as can be.


I think we may finally be close to the optimum solution.

gc

On Jun 8, 2005, at 9:35 AM, Dennis Brown wrote:


Geoff,

Your new idea gave me an idea.  Make three handlers --one for each  
hand (I hope I got the hour math straight)

You can find it in my user space (see3d).

Dennis

on openCard
  setSeconds; setMinutes; setHours
end openCard

on setSeconds
  send setSeconds to me in 1-(the long seconds mod 1) seconds
  put the long time into fld Time --8:13:15 AM
  set the angle of grc Second to 450 - ((the seconds * 6) mod 360)
end setSeconds

on setMinutes
  send setMinutes to me in 10-(the seconds mod 10) seconds --10  
seconds/degree
  set the angle of grc Minute to 450 - ((the seconds mod 3600)  
div 10)

end setMinutes

on setHours
  send setHours to me in 120-(the seconds mod 120) seconds --120  
seconds/degree

  set itemdel to :
  set the angle of grc Hour to 450-(60*item 1 of the time mod 12)  
- ((the seconds mod 3600) div 120) --It's UTC if you just use the  
seconds here

end setHours

On Jun 8, 2005, at 10:04 AM, Geoff Canyon wrote:


I came up with a radically different approach. Several iterations  
ago, we realized that we didn't have to guess when it would be  
time to set the clock graphics. We could use 1-(the long seconds  
mod 1) to get a message sent exactly when we need it.


Well, we're still guessing at when it's time to move the minute  
hand or the hour hand, and we don't need to. The minute hand moves  
one degree every ten seconds, the hour hand one degree every two  
minutes. The tests to determine this are simple. The natural thing  
to do is set the second hand, check to see if the minute hand  
needs to be set, and if it does check to see if the hour hand  
needs to be set. At each step, I want to exit if appropriate. The  
stumbling block was the send...in. I need to get to the end to do it.


Then I realized -- the send...in doesn't have to be the last step.  
It can come at any point. So here's the script now:




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: custom cursor

2005-06-09 Thread [EMAIL PROTECTED]
Date: 9-Jun-2005 10:00:45 -0400
From: Ken Ray [EMAIL PROTECTED]
Reply-To: How to use Revolution use-revolution@lists.runrev.com
To: Use Revolution List use-revolution@lists.runrev.com
Subject: Re: custom cursor

On 6/9/05 12:46 AM, Nicolas Cueto [EMAIL PROTECTED] wrote:

 Hello,
 
 I need a big (and cute!) cursor for a
 preKindergarten stack I made.
 
 The docs advise custom cursors be three
 colors, while a writer in the archives (Ken
 Ray) suggests using Rev's editing tools to
 draw my own cursor.
 
 Well, first I tried the draw-your-own advise
 and  made a standalone to test it out.
 However, this command failed
 
 on mouseUp
   set cursor to [image id number]

NIcolas, can you try:

  set the cursor to [image id number]

?? I think you need the the.

You might also want to include lock cursor so that it will not reset.

If you do not use lock cursor, the cursor will change for a very short time 
(so short you might not notice the change at all!). Locking the cursor will 
make a difference and give persistence to the object.

You will need to think about cursor changes inside different objects. So 
consider what will happen on enterfield, etc.

Regards,

Raymond E. Griffith


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: custom cursor

2005-06-09 Thread Nicolas Cueto
Ken Ray suggested:
(B
(B NIcolas, can you try:
(B 
(B set the cursor to [image id number]
(B 
(B ?? I think you need the "the".
(B
(BSorry. That was a typo in the message.
(BIn the script itself, I used "the".
(B
(BOne thing I've learnt in the last few hours
(Bis to include the line:
(B
(Bset the lockCursor to true
(B
(BOtherwise, the cursor doesn't change.
(B
(BAnyone else with other advise?
(B
(BThanks.
(B
(B--
(BNicolas Cueto
(B___
(Buse-revolution mailing list
(Buse-revolution@lists.runrev.com
(Bhttp://lists.runrev.com/mailman/listinfo/use-revolution

Re: here is the CLOCKFACE script...coded in 3 MINUTES...17 LINES of CODE

2005-06-09 Thread Geoff Canyon


On Jun 9, 2005, at 5:51 AM, Dennis Brown wrote:

I also just took out the hour 'if' statement in yours, so that  
minutes and hours are updated together after only 10 seconds from  
start.  The extra time for doing the hours every ten seconds is  
trivial.




But that's just...wrong ;-) I just sent a reply to your other email  
-- I think the separate handlers solution is the way to go, even if  
it does mean a few more lines of code.


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need help creating vertical QT audio player

2005-06-09 Thread Klaus Major

Hi Mark,

Can anyone direct me to a resource that might show me how to  
duplicate the functionality of the QT player (audio only) with a  
vertical orientation?  A simple slider would be fine, but how do I  
script it to control the audio playback ala the QT paradigm,  
thumbpos auto-updating, instant playback by dragging it, etc.  If I  
could just rotate the player 90 degrees that would work, too, but how?


(Klaus M, forgive me if you already answered this a while back...  
I've looked and can't find anything...)


Thou shalt be forgiven! :-)

I only have a stck with a horizontal custom banana er slider...

Please find it tattached, maybe you can figure out how to change it  
to vertical movement.

Maybe my stack on Revonline Custom sliders will get you started...


Thanks,
Mark


Regards from germany

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Visual Effects and Custom window shapes

2005-06-09 Thread zack


Hello everyone,

I am trying to use a visual effect when transition from one card and  
another. I am also changing the window shape as part of the  
transition.  It doesn't look so hot.  The regular (rectangle) shape  
of the window is visible while the transition is happening


I am a newbie so I am probably missing something or maybe it won't  
work like I expect.


Here is my button script

on mouseUp
  set windowshape of this stack to 1013  --  new window shape
  visual effect dissolve
  Go to cd 1
end mouseUp

My ultimate goal is to produce something like the OSX Tiger Widget  
effect when it flips over to expose the other side.  I would be happy  
however if I could just some kind of visually interesting transition  
from one  card to another with custom window shapes applied.


Setup:
OSX Tiger 10.4.1
RunRev 2.6

Thanks
z



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Dennis Brown

Rob,

Yes I did.  Both seem to work if you don't have parameters. But as I  
posted, the call is not required to get the proper functionality.


Dennis

On Jun 9, 2005, at 9:07 AM, Rob Cozens wrote:


Hi Dennis,



Nonworking script in field PN1:

on mouseUp
  call SaveMeTxt
end mouseUp



Did you try call SaveMeText   ?

Per Transcript Dictionary (call command), The entire handler  
including parameters must be enclosed in quotes.


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
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: here is the CLOCKFACE script...coded in 3 MINUTES...17 LINES of CODE

2005-06-09 Thread Dennis Brown

Geoff,

It does have a certain elegance to it --and it preserves the subject  
header of 17 LINES of CODE ;-)

The 3 MINUTES has grown just a tad to get it to it's current evolution.

I just don't like the long math line to get the hours straight -- 
could there be a simpler way?


Now all we need is a deep bitmask clockface to make it pretty.
Perhaps  a chime or coo-coo  and an alarm setting to make it a fully  
functional simulation.  These would be easy using the same delayed  
handler idea.


Dennis

On Jun 9, 2005, at 10:15 AM, Geoff Canyon wrote:


 I think the separate handlers solution is the way to go, even if  
it does mean a few more lines of code.



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need help creating vertical QT audio player

2005-06-09 Thread Klaus Major

Hi List,


Hi Mark,
Can anyone direct me to a resource that might show me how to  
duplicate the functionality of the QT player (audio only) with a  
vertical orientation?  A simple slider would be fine, but how do I  
script it to control the audio playback ala the QT paradigm,  
thumbpos auto-updating, instant playback by dragging it, etc.  If  
I could just rotate the player 90 degrees that would work, too,  
but how?
(Klaus M, forgive me if you already answered this a while back...  
I've looked and can't find anything...)

Thou shalt be forgiven! :-)
I only have a stck with a horizontal custom banana er slider...
Please find it tattached, maybe you can figure out how to change it  
to vertical movement.

Maybe my stack on Revonline Custom sliders will get you started...


sorry, this mail was meant to go to Mark privately...


Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] ChatRev coding contest starttime

2005-06-09 Thread Björnke von Gierke

Dear  Revolutionaries

Next Monday 19.00 (CET) the first ChatRev Coding Contest will start.
It will be composed of three different challenges. The idea is not to 
win all of them, but to choose the ones that fit your expertise level. 
More details on Monday evening.


cheers
Björnke

--

http://contest.wecode.org
Compete against other Revolution programmers in the first ChatRev 
coding contest!

sponsors:
Altuit
Andre Garzia
TidBITS in cooperation with eHUG
Runtime Revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need help creating vertical QT audio player

2005-06-09 Thread Eric Chatonet

Hi Klaus,

Good reason for sending it twice :-)
An now it will be 3 times :-D

Le 9 juin 05 à 16:49, Klaus Major a écrit :


Hi List,



Hi Mark,

Can anyone direct me to a resource that might show me how to  
duplicate the functionality of the QT player (audio only) with a  
vertical orientation?  A simple slider would be fine, but how do  
I script it to control the audio playback ala the QT paradigm,  
thumbpos auto-updating, instant playback by dragging it, etc.  If  
I could just rotate the player 90 degrees that would work, too,  
but how?
(Klaus M, forgive me if you already answered this a while back...  
I've looked and can't find anything...)



Thou shalt be forgiven! :-)
I only have a stck with a horizontal custom banana er slider...
Please find it tattached, maybe you can figure out how to change  
it to vertical movement.

Maybe my stack on Revonline Custom sliders will get you started...



sorry, this mail was meant to go to Mark privately...



Best regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] ChatRev coding contest starttime

2005-06-09 Thread Andre Garzia


On Jun 9, 2005, at 11:50 AM, Bjrnke von Gierke wrote:


Dear  Revolutionaries

Next Monday 19.00 (CET) the first ChatRev Coding Contest will start.
It will be composed of three different challenges. The idea is not to 
win all of them, but to choose the ones that fit your expertise level. 
More details on Monday evening.


cheers
Bjrnke



monday evening I'll be on a plane to monterey, won't be able to see 
things... :(


andre




--

http://contest.wecode.org
Compete against other Revolution programmers in the first ChatRev 
coding contest!

sponsors:
Altuit
Andre Garzia
TidBITS in cooperation with eHUG
Runtime Revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows ICOs

2005-06-09 Thread Dan Friedman
Hi all!

Anyone got a handle on making an icon file (ico) for use when making a
standalone in Rev 2.5?  It would seem easiest to simply edit the
genericapp.ico in the Sample Icons folder.   But, what application do
you use to edit it?

Thank you in advance,
Dan

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Windows ICOs

2005-06-09 Thread Dan Friedman
Hi all!

Anyone got a handle on making an icon file (ico) for use when making a
standalone in Rev 2.5?  It would seem easiest to simply edit the
genericapp.ico in the Sample Icons folder.   But, what application do
you use to edit it?

Thank you in advance,
-Dan

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Windows ICOs

2005-06-09 Thread Eric Chatonet

Hi Dan,

Check the great tutorial by Chipp Walters:
http://www.altuit.com/webs/altuit2/StandaloneBuilderTutorial/ 
PDFdocument.htm


Le 8 juin 05 à 21:16, Dan Friedman a écrit :


Hi all!

Anyone got a handle on making an icon file (ico) for use when making a
standalone in Rev 2.5?  It would seem easiest to simply edit the
genericapp.ico in the Sample Icons folder.   But, what  
application do

you use to edit it?

Thank you in advance,
Dan


Best regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Plugins, tutorials and more on our website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: updated page for RevConWest.

2005-06-09 Thread Dan Shafer

Stay tuned.

Chipp and I are thinking of all kinds of ways of making the RevCon  
West sessions and/or information available after the event.  
Webcasting/podcasting live isn't feasible this year but I expect  
we'll have something to offer to those who are unfortunate enough not  
to be able to join us in MOnterey next week.


NEXT WEEK???!!! OMIGOSH. I'd better get to work planning this sucker.

:-D


On Jun 9, 2005, at 5:41 AM, Todd Higgins wrote:

I would love to come, as I am sure a lot of other would as well.   
But for those that cannot make it out there this year, are there  
any plans to produce podcasts of the event? ( For those who have  
been under a rock about podcasts here is the wikipedia entry:  
http://en.wikipedia.org/wiki/Podcast )


Thanks to the RevConWest website I can now put a face to to some of  
the familar names on the list, but I would love to  be able match  
up some voices as well!


Todd



On Jun 8, 2005, at 9:20 PM, Andre Garzia wrote:



Hi Folks,

I just noticed that the page for RevConWest was updated to feature  
the session descriptions, I think that anyone that still  
considering his enrollment should read and phone Dan for a spot to  
go. This year will be a hell of a conference!


http://www.altuit.com/webs/altuit/RevConWest/

Cheers
andre


--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution






~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Dennis Brown
I switched to 2.6 for a few hours, and during that time I made some  
edits and saved a stack I have been working on for some months.
I switched back to 2.5.1 due to bugs so I could continue development  
on my stack.  The stack acts goofy now.

Here is a snippet of code:


  repeat with j=1 to 20
  put j --mssg box contains 1
  get Typ[min(i+1+j,DateLines)] --error on this line


 executing at 11:59:32 AM
TypeFunction: error in source expression
Objectcard id 1002
Lineget Typ[min(i+1+j,DateLines)]
Hintcard id 1002

The error is complaining that j has not been defined yet
When I look at the variable watcher, j is missing.  If I 'put j' in  
the mssg box it is also missing.
If I execute the get statement in the mssg box and substitute 1 for j  
then it works.


I think I have just lost another 2 days work due to 2.6  :-(

I have to assume that 2.6 was rushed to meet the Tiger announcement  
and did not go through the proper beta cycle.  Who does Beta testing  
for these releases anyway?


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Windows ICOs

2005-06-09 Thread Richard Gaskin

Dan Friedman wrote:

Hi all!

Anyone got a handle on making an icon file (ico) for use when making a
standalone in Rev 2.5?  It would seem easiest to simply edit the
genericapp.ico in the Sample Icons folder.   But, what application do
you use to edit it?


Your choice of Photoshop or Fireworks. :)

I use Icon Builder http://www.iconfactory.com/iconbuilder.asp, a 
plugin that in recent releases also works in Fireworks, so you can take 
advantage of that app's unique workflow using vectors to generate raster 
images.  Or if you prefer Photoshop it works there too!


Well priced, very convenient once you get the hang of it, and generates 
both ICO and icns files.


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Windows ICOs

2005-06-09 Thread Klaus Major

Hi Dan,


Hi all!

Anyone got a handle on making an icon file (ico) for use when making a
standalone in Rev 2.5?  It would seem easiest to simply edit the
genericapp.ico in the Sample Icons folder.   But, what  
application do

you use to edit it?


i use Axialis Iconworkshop:
http://axialis.com/iconworkshop/

A wonderful, easy-to-use tool, and worth every cent!

Since i do most work on my mac, this is the only windows software i  
ever bought :-)



Thank you in advance,
Dan


Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Moving Stacks or the Mouse

2005-06-09 Thread Roger Guay

Tom,

Thanks very much for this suggestion . . . I'll work with this.  Of  
course my task is complicated by the fact that I am going from one  
stack to another, but I enjoy the challenge.


Thanks again, Roger


On Jun 8, 2005, at 5:07 PM, [EMAIL PROTECTED]  
wrote:




You could capture the start points x,y and then you must know your end
points u,v and figure the stepping distance between the two. So if you
had x= 200 and u = 340 and you wanted a step of 10 then you could
repeat with a = x to u step 10 or (200, 210, 220, 230, 240...
320,330,340)
Or written like this: (not tested yet)

repeat with a = x to u step 10
 put a  cr after myLocsOne
   end repeat
repeat with b = y to v step 10
put  b  cr after myLocsTwo
  end repeat

Then put the two lists together.

repeat with h = 1 to the number of lines in myLocsOne
put (line h of myLocsOne)  ,  (line h of myLocsTwo) into  
line h of

myLocs
end repeat

repeat with x = 1 to the number of lines in myLocs
set the screenMouseLoc to (line x of myLocs)
 wait 500 milliseconds -- adjust this to a speed that feels  
good to

you
end repeat


Tom
P.S. you can also do this kind of thing with the points of a  
polygon or

line etc. and record or as I have done with the localLoc of buttons

HTHs

On Jun 8, 2005, at 7:30 PM, Roger Guay wrote:




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Moving Stacks or the Mouse

2005-06-09 Thread Roger Guay
Thanks for this suggestion, Jim.  I'll have a look at it.  I'm sure  
that I will at least learn a lot as I always do from your stacks.


Cheers, Roger


On Jun 9, 2005, at 6:33 AM, [EMAIL PROTECTED]  
wrote:



Roger,

This isn't what you want but you might find it an alternative. You
would have to modify it to set the pointer to substacks--I think.

See Pointer Tool at:

http://home.infostations.net/jhurley/

Use control click to download.

This utility automates the process of establishing links between
words in the text and the associated point of reference. Passing the
mouse over the linked words show a hand pointing to the selected
object. I use it in my tutorials.

Jim



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution for Sun Solaris 10

2005-06-09 Thread Damien Girard
Hi all,

I am using now Sun Solaris 10 for x86.
I have found a Runrev engine for Solaris Intel, but is it only for
Revolution 2.1.2, and this engine doesn't work with
Revolution 2.6.
So, I need revolution for my OS, and I want to know where I can download
Revolution for Solaris (if he exist).

Thanks

Damien Girard
Email: [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Documentation for 2.6 new features

2005-06-09 Thread Sivakatirswami

Where is the documentation for 2.6 new Tiger Features?

Sivakatirswami

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution for Sun Solaris 10

2005-06-09 Thread Roger . E . Eller
Hi Damien.

I too look forward to seeing the latest Rev version for various unix 
flavors. I use SGI IRIX on several o2 and octane machines. According to 
Kevin Miller, it shouldn't be much longer. He said they would be released 
in July, 2005 according to this post he made back in March. They are 
probably thoroughly debugging the code right now. I assume that the unix 
related bugs listed in Bugzilla will be addressed before release. Right 
Kevin?

http://www.mail-archive.com/use-revolution@lists.runrev.com/msg49422.html

Roger Eller [EMAIL PROTECTED]


On 06/09/2005 at 03:02 PM, Damien Girard wrote:
 
 Hi all,
 
 I am using now Sun Solaris 10 for x86.
 I have found a Runrev engine for Solaris Intel, but is it only for
 Revolution 2.1.2, and this engine doesn't work with
 Revolution 2.6.
 So, I need revolution for my OS, and I want to know where I can download
 Revolution for Solaris (if he exist).
 
 Thanks
 
 Damien Girard
 Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


screen artifacts on small laptop

2005-06-09 Thread Timothy Miller

Back again,

I'll try to keep it down to three or four times a day, max g

Screen artifacts on my laptop (a Pismo - Apple) have been quite a 
problem lately. Fields and buttons often pile up on top of each 
other, in the vertical dimension. It doesn't seem to happen on my 
desktop machine with a much bigger screen. Otherwise, everything 
seems to be working very well.


This occurs with stacks too tall to fit on the laptop screen, only 14 
inch. I deal with this by using scalable stacks and scrolling groups. 
I have to use 800 X 600 screen resolution. With higher resolution, 
the small text is just too tiny.


The easiest way to force a redraw that I've found so far is go go to 
another card and return. This is somewhat inconvenient, because it is 
necessary rather often. I've been wondering about a more convenient 
way to force a re-draw. I guess I could install a redraw button in 
the group. Maybe set lockscreen to true, go next, go prev, set 
lockscreen to false...


Is there an obviously better method?

If the text-entry cursor is in a field, it would be nice to find it 
in the same place after the redraw. That's probably possible...


I've wondered if there is a reasonable way to get the window to 
redraw itself periodically, maybe once every few seconds, without 
changing the position of the text entry cursor, or interfering too 
much with text entry.


On scrollbarDrag is another possibility. (That way, I might not need 
to worry about the location of the text entry cursor.) That makes 
some sense because using the scrollbar seems to cause the artifacts. 
But the scrollbarDrag message gets sent many times when you move the 
scrollbar, even a little bit, so it probably isn't a good idea.


The other option is to just keep it simple, stupid I.e., manually 
navigate to next card and back again, whenever I need a redraw. These 
stacks do have navigation buttons.



What do you recommend?


Thanks in advance,


Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Ignore this message: Test of threading theory

2005-06-09 Thread Dennis Brown
This is just a test to see if a theory I have about Mac OS X Mail.app  
threading is true.  Sorry for any inconvenience, but this is the only  
way I know to test it.  I will report about it if it turns out to be  
true.


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


A reason for threading errors in Mail.app

2005-06-09 Thread Dennis Brown

Dan and Mac Mail.app users and anyone who replies to messages,

I have noticed that Mail.app seems to put seemingly unrelated threads  
into an existing thread at times.  I think I see a possible  
explanation for this.  In addition to the usual method of looking at  
the subject text, I think mail.app also fingerprints messages  
somehow, so it knows when a reply is to that message --even if the  
subject line is altered.  So if somebody starts a new thread by  
replying to a thread I started or replied to, just to get the header  
info, then replaces the body and subject lines to a new topic, my  
Mail.app assumes it is still related to the original message.  I just  
tested out this theory by replying to a thread I started, but I  
changed everything about the message except the To: line.  Sure  
enough the message came back threaded to the unrelated message I  
started it from.


A case of too smart for its own good!

Dennis

On May 23, 2005, at 11:55 AM, Dan Shafer wrote:


Howard.

I thought I was the only one experiencing this problem. I've posted  
messages on two or three OS X message boards and haven't had a  
single reaction or response.


Threads seem to collect unrelated messages more or less at random.

But it's still better for me than the old way.

On May 23, 2005, at 4:45 AM, Howard Bornstein wrote:


I used to do that but I really don't like the way Mail does  
threading.

It never really works on my Mac.





~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A reason for threading errors in Mail.app

2005-06-09 Thread Dan Shafer

Dennis...

Thanks for the detective work. I think this is the reason for *some*  
of the errors I see, but perhaps not all. Although it's possible the  
fingerprinting is so deep and smart that it is indeed too smart for  
its own good.


I wonder why Apple doesn't acknowledge this bug.

No, I don't. They'd call it a feature.

On Jun 9, 2005, at 1:30 PM, Dennis Brown wrote:


Dan and Mac Mail.app users and anyone who replies to messages,

I have noticed that Mail.app seems to put seemingly unrelated  
threads into an existing thread at times.  I think I see a possible  
explanation for this.  In addition to the usual method of looking  
at the subject text, I think mail.app also fingerprints messages  
somehow, so it knows when a reply is to that message --even if the  
subject line is altered.  So if somebody starts a new thread by  
replying to a thread I started or replied to, just to get the  
header info, then replaces the body and subject lines to a new  
topic, my Mail.app assumes it is still related to the original  
message.  I just tested out this theory by replying to a thread I  
started, but I changed everything about the message except the To:  
line.  Sure enough the message came back threaded to the unrelated  
message I started it from.


A case of too smart for its own good!

Dennis

On May 23, 2005, at 11:55 AM, Dan Shafer wrote:



Howard.

I thought I was the only one experiencing this problem. I've  
posted messages on two or three OS X message boards and haven't  
had a single reaction or response.


Threads seem to collect unrelated messages more or less at random.

But it's still better for me than the old way.

On May 23, 2005, at 4:45 AM, Howard Bornstein wrote:



I used to do that but I really don't like the way Mail does  
threading.

It never really works on my Mac.






~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution






~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Not exactly a bug

2005-06-09 Thread Mark Wieder
All-


I've noticed that resetting the IDE preferences to default doesn't
affect the variable checking by default setting. I like it like that
so I'm reluctant to flag it in bugzilla. Any comments?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Dennis Brown
I could use some help.  I am not sure how to approach trying to  
recover my stack.  I have lots of backups, but I have to go back many  
revisions to find a stack the does not produce this error (prior to  
my brief encounter with 2.6).  My stack is just one card, but it has  
many groups and hundreds of objects, and many new objects, most of  
which I have added or altered the properties and scripts since the  
good backup (I was restructuring the script organization and also  
added more functionality).  Thank goodness for Chipp Walters  
altArchive plugin.  Because of it I started making many more backup  
versions than I used to.  Anyway I have two stacks an old one that  
works and a new one with several days of extensive changes that is  
somehow corrupted in one or more ways.  If I copy objects over, I get  
all the changes, but do I get the corruption also?  The corrupted  
script is at the card level, but it seems like it is the engine that  
is failing at runtime, but the same engine runs the old stack, the  
compiler does not complain.  I tried deleting the card scripts and  
replacing them, but that did not help.  I am just not sure how to  
approach it to make sure I don't waste more time, and I get a good  
stack.


Dennis

On Jun 9, 2005, at 12:19 PM, Dennis Brown wrote:

I switched to 2.6 for a few hours, and during that time I made some  
edits and saved a stack I have been working on for some months.
I switched back to 2.5.1 due to bugs so I could continue  
development on my stack.  The stack acts goofy now.

Here is a snippet of code:


  repeat with j=1 to 20
  put j --mssg box contains 1
  get Typ[min(i+1+j,DateLines)] --error on this line


 executing at 11:59:32 AM
TypeFunction: error in source expression
Objectcard id 1002
Lineget Typ[min(i+1+j,DateLines)]
Hintcard id 1002

The error is complaining that j has not been defined yet
When I look at the variable watcher, j is missing.  If I 'put j' in  
the mssg box it is also missing.
If I execute the get statement in the mssg box and substitute 1 for  
j then it works.


I think I have just lost another 2 days work due to 2.6  :-(

I have to assume that 2.6 was rushed to meet the Tiger announcement  
and did not go through the proper beta cycle.  Who does Beta  
testing for these releases anyway?


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A reason for threading errors in Mail.app

2005-06-09 Thread Alex Tweedly

Dennis Brown wrote:


Dan and Mac Mail.app users and anyone who replies to messages,

I have noticed that Mail.app seems to put seemingly unrelated threads  
into an existing thread at times.  I think I see a possible  
explanation for this.  In addition to the usual method of looking at  
the subject text, I think mail.app also fingerprints messages  
somehow, so it knows when a reply is to that message --even if the  
subject line is altered.  So if somebody starts a new thread by  
replying to a thread I started or replied to, just to get the header  
info, then replaces the body and subject lines to a new topic, my  
Mail.app assumes it is still related to the original message.  I just  
tested out this theory by replying to a thread I started, but I  
changed everything about the message except the To: line.  Sure  
enough the message came back threaded to the unrelated message I  
started it from.


That seems likely - though it's not particularly the mail.app - it's 
been part of the mail standard for 20+ years.


The headers for the mail I'm replying to included the following lines:

Message-id: [EMAIL PROTECTED]
In-reply-to: [EMAIL PROTECTED]

and these are used (probably along with others) to decide what's a 
thread and what isn't. 
(See rfc 822 published in 1982 !!)



A case of too smart for its own good!


A case of doing exactly what the standard says it should do.


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: screen artifacts on small laptop

2005-06-09 Thread Timothy Miller

A small followup:


Back again,

I'll try to keep it down to three or four times a day, max g

Screen artifacts on my laptop (a Pismo - Apple) have been quite a 
problem lately. Fields and buttons often pile up on top of each 
other, in the vertical dimension. It doesn't seem to happen on my 
desktop machine with a much bigger screen. Otherwise, everything 
seems to be working very well.




I just noticed that very similar artifacts do occur on my desktop 
machine with a larger display, which I run on 1024 X 768. There's a 
big difference, though. Something corrects the artifacts within a 
second or less, without any intervention from me. In both cases, it 
happens on the taller stacks, scalable, with a scrolling group.


The Pismo is a G3. The desktop machine is a G4. I don't know of 
that's relevant.


Thanks again,


Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A reason for threading errors in Mail.app

2005-06-09 Thread Dennis Brown

Dan,

In any normal use of mail and replies between two parties this would  
be a good feature.  On a list like this one, I wish I could turn this  
feature off.  I do know who read which thread and cloned a new one  
though.  However, I am not sure what I can do with that piece of  
trivia.  I no longer make a new thread that way, now I start with a  
new message and drag/drop the to: field.  I am curious, did the  
previous/this message show up in a different thread in your mail.   
You can tell which thread I cloned this from by the mail body reference.


Dennis

On Jun 9, 2005, at 4:48 PM, Dan Shafer wrote:


Dennis...

Thanks for the detective work. I think this is the reason for  
*some* of the errors I see, but perhaps not all. Although it's  
possible the fingerprinting is so deep and smart that it is indeed  
too smart for its own good.


I wonder why Apple doesn't acknowledge this bug.

No, I don't. They'd call it a feature.

On Jun 9, 2005, at 1:30 PM, Dennis Brown wrote:



Dan and Mac Mail.app users and anyone who replies to messages,

I have noticed that Mail.app seems to put seemingly unrelated  
threads into an existing thread at times.  I think I see a  
possible explanation for this.  In addition to the usual method of  
looking at the subject text, I think mail.app also fingerprints  
messages somehow, so it knows when a reply is to that message -- 
even if the subject line is altered.  So if somebody starts a new  
thread by replying to a thread I started or replied to, just to  
get the header info, then replaces the body and subject lines to a  
new topic, my Mail.app assumes it is still related to the original  
message.  I just tested out this theory by replying to a thread I  
started, but I changed everything about the message except the To:  
line.  Sure enough the message came back threaded to the unrelated  
message I started it from.


A case of too smart for its own good!

Dennis

On May 23, 2005, at 11:55 AM, Dan Shafer wrote:




Howard.

I thought I was the only one experiencing this problem. I've  
posted messages on two or three OS X message boards and haven't  
had a single reaction or response.


Threads seem to collect unrelated messages more or less at random.

But it's still better for me than the old way.

On May 23, 2005, at 4:45 AM, Howard Bornstein wrote:




I used to do that but I really don't like the way Mail does  
threading.

It never really works on my Mac.







~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution





___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution







~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A reason for threading errors in Mail.app

2005-06-09 Thread Dennis Brown

Alex,

If this is a standard, then as a point of etiquette, members of a  
list should a start new topic as a new mail message and not as a  
reply to an unrelated thread.


Dennis

On Jun 9, 2005, at 5:03 PM, Alex Tweedly wrote:


Dennis Brown wrote:



Dan and Mac Mail.app users and anyone who replies to messages,

I have noticed that Mail.app seems to put seemingly unrelated  
threads  into an existing thread at times.  I think I see a  
possible  explanation for this.  In addition to the usual method  
of looking at  the subject text, I think mail.app also  
fingerprints messages  somehow, so it knows when a reply is to  
that message --even if the  subject line is altered.  So if  
somebody starts a new thread by  replying to a thread I started or  
replied to, just to get the header  info, then replaces the body  
and subject lines to a new topic, my  Mail.app assumes it is still  
related to the original message.  I just  tested out this theory  
by replying to a thread I started, but I  changed everything about  
the message except the To: line.  Sure  enough the message came  
back threaded to the unrelated message I  started it from.



That seems likely - though it's not particularly the mail.app -  
it's been part of the mail standard for 20+ years.


The headers for the mail I'm replying to included the following lines:

Message-id: [EMAIL PROTECTED]
In-reply-to: [EMAIL PROTECTED]

and these are used (probably along with others) to decide what's a  
thread and what isn't. (See rfc 822 published in 1982 !!)




A case of too smart for its own good!



A case of doing exactly what the standard says it should do.


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A reason for threading errors in Mail.app

2005-06-09 Thread Dan Shafer

I hate when they do that.

:-D


On Jun 9, 2005, at 2:03 PM, Alex Tweedly wrote:


A case of doing exactly what the standard says it should do.





~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


OT Vertical White Space (line breaks) in XML

2005-06-09 Thread Sivakatirswami
Sorry that this XML newbie is using this forum for help, but, well,  
what better place to go?


We are using Revolution interfaces for generating XML docs that will  
be destined for the web (via XSL transformations)  and later print  
production,  one caveat is where I made (perhaps a bad) decision to  
wrap all the data of the main body of the text in ![CDATA[   in   
otherwise very simple docs like this:


audio_transcript
  header
subjectSome Title/subject
date_given2005-01-01/given
## more header child nodes with other info...##
/header
transcript_text
![CDATA[
 Conditions in the world today are certainly troubling, with  
wars between countries, wars within countries, plus a serious threat  
of international terrorist acts.  etc...
 New 2nd paragraph...  The shocking attacks in New York on  
September 11, 2001, naturally heightened everyones concern about  
these problems.
3rd paragraph... One of the immediate consequences of 9/11 was  
the television coverage depicting people in a number of countries who  
do not much like, some even strongly hate, the United States, even to  
the point of wishing violence upon it. Watching these startling  
reports on television, we were again reminded of the extent and  
seriousness of the problem of prejudice in the world today.

etc...
]]
/transcript_text
/audio_transcript

Caveat: how to get the line breaks back into the ![CDATA[ section in  
a XSL transform process?


I did a cheat test and marked up all the paras with  
pfooParagrapn/p in BBEdit,  but didn't work... duh, oh, right, ! 
[CDATA[  is not interpreted... the web page displays the p as  
literals, on screen, so, yes, that's what is supposed to happen to  
CDATA, but not what we want.


In the Rev interfaces the field that holds the main text has simple  
line breaks (1 cr or 2 cr's where an  extra blank line is wanted...)  
So, I've just been passing out the entire field to the CDATA  
section... possibly this is where I went wrong... any help  
appreciated... email me off list if this is too far off list.. though  
others here may want to know...


OK now, off to the web to see if I can find this in the ocean of XML  
resources..


TIA

Sivakatirswami









___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Lynch, Jonathan
I would say try creating a new stack and copying over all of the objects
and scripts.

Sometimes stacks become corrupted, and this often works to fix that.

Sometimes objects become corrupted, and recreating that object might
work in that situation.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dennis
Brown
Sent: Thursday, June 09, 2005 5:00 PM
To: How to use Revolution
Subject: Re: Watch out for 2.6 then going back to 2.5

I could use some help.  I am not sure how to approach trying to  
recover my stack.  I have lots of backups, but I have to go back many  
revisions to find a stack the does not produce this error (prior to  
my brief encounter with 2.6).  My stack is just one card, but it has  
many groups and hundreds of objects, and many new objects, most of  
which I have added or altered the properties and scripts since the  
good backup (I was restructuring the script organization and also  
added more functionality).  Thank goodness for Chipp Walters  
altArchive plugin.  Because of it I started making many more backup  
versions than I used to.  Anyway I have two stacks an old one that  
works and a new one with several days of extensive changes that is  
somehow corrupted in one or more ways.  If I copy objects over, I get  
all the changes, but do I get the corruption also?  The corrupted  
script is at the card level, but it seems like it is the engine that  
is failing at runtime, but the same engine runs the old stack, the  
compiler does not complain.  I tried deleting the card scripts and  
replacing them, but that did not help.  I am just not sure how to  
approach it to make sure I don't waste more time, and I get a good  
stack.

Dennis

On Jun 9, 2005, at 12:19 PM, Dennis Brown wrote:

 I switched to 2.6 for a few hours, and during that time I made some  
 edits and saved a stack I have been working on for some months.
 I switched back to 2.5.1 due to bugs so I could continue  
 development on my stack.  The stack acts goofy now.
 Here is a snippet of code:


   repeat with j=1 to 20
   put j --mssg box contains 1
   get Typ[min(i+1+j,DateLines)] --error on this line


  executing at 11:59:32 AM
 TypeFunction: error in source expression
 Objectcard id 1002
 Lineget Typ[min(i+1+j,DateLines)]
 Hintcard id 1002

 The error is complaining that j has not been defined yet
 When I look at the variable watcher, j is missing.  If I 'put j' in  
 the mssg box it is also missing.
 If I execute the get statement in the mssg box and substitute 1 for  
 j then it works.

 I think I have just lost another 2 days work due to 2.6  :-(

 I have to assume that 2.6 was rushed to meet the Tiger announcement  
 and did not go through the proper beta cycle.  Who does Beta  
 testing for these releases anyway?

 Dennis
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Richard Gaskin

Dennis Brown wrote:
I could use some help.  I am not sure how to approach trying to  recover 
my stack.  I have lots of backups, but I have to go back many  revisions 
to find a stack the does not produce this error (prior to  my brief 
encounter with 2.6). 


If the Rev IDE is not reporting corruption, it may not be corrupted at 
all. Your original report said:


   repeat with j=1 to 20
  put j --mssg box contains 1
  get Typ[min(i+1+j,DateLines)] --error on this line


 executing at 11:59:32 AM
TypeFunction: error in source expression
Objectcard id 1002
Lineget Typ[min(i+1+j,DateLines)]
Hintcard id 1002

The error is complaining that j has not been defined yet


I don't see j mentioned specifically in the error report, just source 
expression.  So if j is okay and 1 is one and not an undefined 
lower-case L, what's in i and DateLines?


If those check out, what happens if you delete and retype that line?  It 
may be that there's an option-space or other illegal non-printing 
character accidently put in there


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: updated page for RevConWest.

2005-06-09 Thread Mark Talluto


On Jun 9, 2005, at 9:11 AM, Dan Shafer wrote:


Stay tuned.

Chipp and I are thinking of all kinds of ways of making the RevCon  
West sessions and/or information available after the event.  
Webcasting/podcasting live isn't feasible this year but I expect  
we'll have something to offer to those who are unfortunate enough  
not to be able to join us in MOnterey next week.


NEXT WEEK???!!! OMIGOSH. I'd better get to work planning this sucker.

:-D



I can video the keynotes and post them on my site if anyone would be  
interested and if it would be ok with the hosts.  Just let me know.   
I even toyed with the idea of setting up a qt streaming server to do  
it live.  I wonder how many concurrent users we could host off a T1.



Best regards,
Mark Talluto

CANELA Software
25920 Iris Ave Ste 13A-170
Moreno Valley, CA 92551
tel: (310) 483-9919
fax: (951) 924-6240
http://www.canelasoftware.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A reason for threading errors in Mail.app

2005-06-09 Thread Mark Wieder
Dennis-

Thursday, June 9, 2005, 2:14:35 PM, you wrote:

DB If this is a standard, then as a point of etiquette, members of a
DB list should a start new topic as a new mail message and not as a  
DB reply to an unrelated thread.

...as has been pointed out many times...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Need help creating vertical QT audio player

2005-06-09 Thread Mark Swindell
Thanks, Klaus.   I think I can make this work.  But simpler and less  
fraught with potential problems, does anyone know how to simply stand  
the standard QT player on its head?  Folks at RunRev?

Mark

On Jun 9, 2005, at 7:27 AM, Klaus Major wrote:


Hi Mark,


Can anyone direct me to a resource that might show me how to  
duplicate the functionality of the QT player (audio only) with a  
vertical orientation?  A simple slider would be fine, but how do I  
script it to control the audio playback ala the QT paradigm,  
thumbpos auto-updating, instant playback by dragging it, etc.  If  
I could just rotate the player 90 degrees that would work, too,  
but how?


(Klaus M, forgive me if you already answered this a while back...  
I've looked and can't find anything...)




Thou shalt be forgiven! :-)

I only have a stck with a horizontal custom banana er slider...

Please find it tattached, maybe you can figure out how to change it  
to vertical movement.

Maybe my stack on Revonline Custom sliders will get you started...



Thanks,
Mark



Regards from germany

Klaus Major

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Sarah Reichelt

  repeat with j=1 to 20
  put j --mssg box contains 1
  get Typ[min(i+1+j,DateLines)] --error on this line


 executing at 11:59:32 AM
TypeFunction: error in source expression
Objectcard id 1002
Lineget Typ[min(i+1+j,DateLines)]
Hintcard id 1002

The error is complaining that j has not been defined yet
When I look at the variable watcher, j is missing.  If I 'put j' in  
the mssg box it is also missing.
If I execute the get statement in the mssg box and substitute 1 for  
j then it works.


Do you have explicit variables turned on?
Where is i defined?

As one of those who did beta test 2.6, I found it very reliable and  
had no problems getting my stacks to run. Perhaps you could post your  
complete script, so we could try to find a solution for you.


Cheers,
Sarah


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


how to change the stack name

2005-06-09 Thread Tarek Nasser
Hi,

how to change the stack name using script only?

i tried this:

local stackName = Hello   World!
put stackName into the name of stack myStack

tarek
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to change the stack name

2005-06-09 Thread Björnke von Gierke

try:
set the name of stack myStack to Hello World!

On Jun 10 2005, at 02:46, Tarek Nasser wrote:


Hi,

how to change the stack name using script only?

i tried this:

local stackName = Hello   World!
put stackName into the name of stack myStack

tarek
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution




--

http://contest.wecode.org
Compete against other Revolution programmers in the first ChatRev 
coding contest!

sponsors:
Altuit
Andre Garzia
TidBITS in cooperation with eHUG
Runtime Revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to change the stack name

2005-06-09 Thread Mark Swindell

Set the name of this stack to Hello World
Mark

On Jun 9, 2005, at 5:46 PM, Tarek Nasser wrote:


Hi,

how to change the stack name using script only?

i tried this:

local stackName = Hello   World!
put stackName into the name of stack myStack

tarek
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Calendar

2005-06-09 Thread Sarah Reichelt
I use Sarah Reichelt's Calendar in a smal application. I installed  
it and it works great under Revolution 2.6. :-)
After testing I have built a stand alone and it stopped working.  
The Calendar stack don't pop up, nothing happens at all. :-(


What can be wrong.

I just tested this using Rev 2.6 and Mac OS X 10.4.1 and it worked  
fine. Are you sure the relevant calendar stack is actually being  
included in your application? The Calendar demo stack has a button  
for installing it into any selected mainStack, but the newly created  
calendar stack then needs to be renamed.


e.g. suppose you are using the MediumCalendar, once you install it  
into your own mainStack, the main stack file will then include a  
stack called Copy of MediumCalendar. You need to close the Calendar  
Demo stack and remove it from memory before you can rename the copy  
to just MediumCalendar. The function to use the calendar is placed  
in the stack script for you, but it needs to be given the name of the  
calendar stack to use.


If you would like to send me your stack directly, I would be happy to  
have a look and see if I can work out why it isn't operating correctly.


Cheers,
Sarah

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Richard Gaskin

Dennis Brown wrote:

Richard,

Going through your tutorial is what made me try to improve my scripts  
with call.  I thought that the call would execute a script in another  
place but keep the context of where it was called from.  So 'me'  would 
be the field that the call originated from and not the card  that the 
script was in.  But after a test, it looks like that is not  the case 
--too bad. 


Does send do what you need?

It is the target that returns the name of my  field, but the 
group name is left off which is bad for me because I  have the same name 
repeated in many differently named groups. I have  groups of fields and 
buttons that are created from templates on the  fly, along with many 
saved values for each (in custom properties).   These are related to 
various setup conditions for running  simulations.  I obviously want the 
minimum  scripts in the  duplicates, and most of the script in a common 
place where changes  are manageable.  Perhaps you should be prepared to 
make sure nobody  else makes this mistake in your tutorial.


Using the long id of the target will provide an absolute reference to 
the specific object, but I'm not sure why simply the target doesn't 
return the same value.  Hmmm  makes the target rather less useful, 
unless there's a benefit to the truncated descriptor it returns that I'm 
just not seeing.


But to be honest, it's very rare that I use either call or send. 
Both are up there with do in terms of a modest amount of additional 
overhead needed to handle them relative to calls natively in the message 
path.


Could there be another way to handle that using the native message path, 
maybe a common handler in the master group or card script?


Also, what sort of simulation are you working on?

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Dennis Brown

Richard,Sarah,Mark,Jon

I found the problem and my face is a bit red.  It was not stack  
corruption, it was a caused by a typo that caused a missing global  
declaration.  The error just by coincidence happened to occur during  
the few hours I was trying to run on 2.6.  I had so many reverts  
during that time, I must have messed up an edit.  The reason I was so  
confused, was that when I hit debug in the error window, it showed me  
the line, but the variable watcher was in a different context which  
had the global listed but did not have j listed.  Typing into the  
message box used the variable watcher context.  I am usually pretty  
good with debugging problems (even though I am still new with Rev)  
but I was led astray by what I thought the tool was showing me.   
However, in trying to duplicate the context error now, I can't.  It  
does the right thing.  So now I am wondering if it was somehow  
operator error.  I usually figure operator error, but this time I may  
have been too quick to blame 2.6 because I ran into so many other  
problems so quickly when I tried using it --blame the one with the  
long rap sheet that was in the vicinity.  I will not likely repeat  
this mistake.


Thank you for the help.
I am sorry to have caused you any inconvenience.
My apologies to 2.6 for being accused of a crime it did not commit.
Thank goodness I can recover from this.

Dennis



On Jun 9, 2005, at 6:35 PM, Richard Gaskin wrote:


Dennis Brown wrote:

I could use some help.  I am not sure how to approach trying to   
recover my stack.  I have lots of backups, but I have to go back  
many  revisions to find a stack the does not produce this error  
(prior to  my brief encounter with 2.6).




If the Rev IDE is not reporting corruption, it may not be corrupted  
at all. Your original report said:


   repeat with j=1 to 20
  put j --mssg box contains 1
  get Typ[min(i+1+j,DateLines)] --error on this line


 executing at 11:59:32 AM
TypeFunction: error in source expression
Objectcard id 1002
Lineget Typ[min(i+1+j,DateLines)]
Hintcard id 1002

The error is complaining that j has not been defined yet


I don't see j mentioned specifically in the error report, just  
source expression.  So if j is okay and 1 is one and not an  
undefined lower-case L, what's in i and DateLines?


If those check out, what happens if you delete and retype that  
line?  It may be that there's an option-space or other illegal non- 
printing character accidently put in there


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Watching my Variables

2005-06-09 Thread Pat Trendler
Just thought I'd show another way of doing this. I always get mixed up with 
where to put the  when using those do things.


putvalue(item x of varNames)  cr after tList

Pat
[EMAIL PROTECTED]



I ran into the same problem.  I solved it with the do command
do put myVariableNameIsInHere



Dennis


- Original Message - 
From: Derek Bump [EMAIL PROTECTED]

To: How to use Revolution use-revolution@lists.runrev.com
Sent: Thursday, June 09, 2005 10:11 AM
Subject: Watching my Variables


I am updating my Error Reporting script to include all variable information 
(Local, Global, etc) and I am wondering how I would get the contents of a 
variable who's name is held within a variable?


Just analyze the script below and you'll see what I mean...

  -- Globals
  put crcr Global Variables... cr after theMessage
  put globalNames() into varNames
  repeat with x=1 to the number of items in varNames
putline x of varNames after theMessage
put variableContents(line x of varNames) cr after theMessage
  end repeat


Derek Bump
Dreamscape Software
___
Compress Images Easily with JPEGCompress 2.6.1
http://www.dreamscapesoftware.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution 


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


text field

2005-06-09 Thread tarek
Hi,

how to make a text field a password field, where characters are asterisks.

thanks,

-- 
tarek
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


text selection question

2005-06-09 Thread Bill Humphrey

How come when you do this:

select word one of fld x_areacode1

The text just flashes for a second and doesn't remain selected? Is there 
some command:


select word one of fld foolish coder and hold that selection *[EMAIL 
PROTECTED]





___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Watch out for 2.6 then going back to 2.5

2005-06-09 Thread Richard Gaskin

Dennis Brown wrote:

Richard,Sarah,Mark,Jon

I found the problem and my face is a bit red.  It was not stack  
corruption, it was a caused by a typo


That's good news for everyone.  Typos are easy to fix, but corruption 
isn't.


Fortunately, given the way Rev handles its files, corrupted stack are 
extremely rare - here's some background:


http://lists.runrev.com/pipermail/use-revolution/2003-June/017928.html
http://lists.runrev.com/pipermail/use-revolution/2002-December/010842.html
http://lists.runrev.com/pipermail/use-revolution/2004-August/041134.html

And a note from the inventor of the engine on the subject:
http://lists.runrev.com/pipermail/use-revolution/2002-December/010776.html


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


how do I write my own function?

2005-06-09 Thread t
hi,

how do I write my own function?

thanx,

-- 
t
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Strange database connection behaviour under Linux

2005-06-09 Thread Rishi Viner
Hi All,

Hoping for some help with this. I'm using Dreamcard 2.5.1 to put data into a 
MySQL database. I have developed the application on my laptop running SuSE 
9.1 Pro and it works great. I can connect to MySQL databases on my local 
machine and on various remote servers on our network. The problem comes when 
I try to use this stack on any other machines. I have tried running my stack 
using the Dreamcard Player on one machine running RedHat 9 and another 
running SuSE 9.1 Pro with no luck. I get errors like:

There was an error in connecting to the database. Please check that the 
connection fields are correct. Revdb error: revdberr, invalid database type

I have double checked the connection information and it is good. I have also 
double checked that my database user has permissions to connect from the 
various hosts I am connecting from. I have the same problem whether I use the 
Database Query Builder or do it manually in a script. 

In frustration and thinking that it may be a Player issue, I have installed 
the Dreamcard IDE on the RedHat machine, but get exactly the same problem. 

It looks like Rev can't find or use the database drivers on the other 
machines, yet they seem to be in the right location (comparing with my 
original development machine). 

I have little (no) experience with preparing stacks to run on other machines 
from the development machine. Any ideas / suggestions as to what might be 
causing this?

Thanks,

-- 
Rishi Viner
PUREDATA

Australia

www.puredata.com.au
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how do I write my own function?

2005-06-09 Thread Richard Gaskin

t wrote:

how do I write my own function?


There's a good discussion in the documentation:

1. In the Rev tool bar click Documentation
2. In the Documentation window click Topics
3. In the Filter field type function
4. Among the items listed below you'll see one named:

  How do I write your own commands and functions?

The title is potentially misleading:  it doesn't teach you how to write 
other people's functions, just your own. :)


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text selection question

2005-06-09 Thread Bill Humphrey
If the command select or focus on is run from and open fld or in the 
message box then the selection just flashes for a second. If it is run 
from a button on the card then it works as expected. version 2.6 - what 
am I doing wrong?


Bill Humphrey wrote:


How come when you do this:

select word one of fld x_areacode1

The text just flashes for a second and doesn't remain selected? Is 
there some command:


select word one of fld foolish coder and hold that selection *[EMAIL 
PROTECTED]





___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution





___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Strange database connection behaviour under Linux

2005-06-09 Thread Bill Humphrey
Have you used YourSQL or similar utility to test the connections to 
other machines?


Rishi Viner wrote:


Hi All,

Hoping for some help with this. I'm using Dreamcard 2.5.1 to put data into a 
MySQL database. I have developed the application on my laptop running SuSE 
9.1 Pro and it works great. I can connect to MySQL databases on my local 
machine and on various remote servers on our network. The problem comes when 
I try to use this stack on any other machines. I have tried running my stack 
using the Dreamcard Player on one machine running RedHat 9 and another 
running SuSE 9.1 Pro with no luck. I get errors like:


There was an error in connecting to the database. Please check that the 
connection fields are correct. Revdb error: revdberr, invalid database type


I have double checked the connection information and it is good. I have also 
double checked that my database user has permissions to connect from the 
various hosts I am connecting from. I have the same problem whether I use the 
Database Query Builder or do it manually in a script. 

In frustration and thinking that it may be a Player issue, I have installed 
the Dreamcard IDE on the RedHat machine, but get exactly the same problem. 

It looks like Rev can't find or use the database drivers on the other 
machines, yet they seem to be in the right location (comparing with my 
original development machine). 

I have little (no) experience with preparing stacks to run on other machines 
from the development machine. Any ideas / suggestions as to what might be 
causing this?


Thanks,

 



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how do I write my own function?

2005-06-09 Thread Pat Trendler

Click the Documentation icon, Topics, and then filter with: function.
Under Commands and Functions look at How do I write your own commands and 
functions?

also Function control structure which may be more useful.

Pat
[EMAIL PROTECTED]
- Original Message - 
From: t [EMAIL PROTECTED]

To: use-revolution@lists.runrev.com
Sent: Friday, June 10, 2005 12:26 PM
Subject: how do I write my own function?


hi,

how do I write my own function?

thanx,

--
t
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution 


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Dennis Brown


On Jun 9, 2005, at 9:23 PM, Richard Gaskin wrote:

Using the long id of the target will provide an absolute  
reference to the specific object, but I'm not sure why simply the  
target doesn't return the same value.  Hmmm  makes the  
target rather less useful, unless there's a benefit to the  
truncated descriptor it returns that I'm just not seeing.


I found that the long name of the target is what was required to  
get me what I needed.


But to be honest, it's very rare that I use either call or  
send. Both are up there with do in terms of a modest amount of  
additional overhead needed to handle them relative to calls  
natively in the message path.


Speaking of do.  That is another on that should be combined with  
these call/send in a tutorial.  I try to avoid it, but I have to use  
it often because I don't know any other way to reference a variable  
or a custom property who's name is in a variable --though for speed  
reasons, I never do this inside a critical loop.  Very useful when  
making complex one card stacks that would be a memory and support  
killer with many cards.


Could there be another way to handle that using the native message  
path, maybe a common handler in the master group or card script?


Yes that is what worked.  I put the common scripts in my card script  
now and use the native message path.



Also, what sort of simulation are you working on?


It simulates the stock markets (every stock) for the past ten years,  
looking for algorithmic and statistical relationships in the  
performance.  There is a lot of data, which is why I have been  
pushing the speed thing in large arrays.  I have worked on similar,  
but less aggressive simulations many years ago in HyperCard, then  
SuperCard, and I was just considering a switch to MetaCard (for speed  
reasons) when the previous project was dropped.  I haven't done  
anything in programming for the last 5 years, until this project came  
up --so everything is new again.


Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Strange database connection behaviour under Linux

2005-06-09 Thread Rishi Viner
On Fri, 10 Jun 2005 12:34 pm, Bill Humphrey wrote:
 Have you used YourSQL or similar utility to test the connections to
 other machines?

Hi Bill, 

Thanks for your quick reply! The answer is yes, I have connected using the 
knoda database program from the other machines first, just to make sure I 
could do it and had the permissions etc. No problems with that.

Cheers,

-- 
Rishi Viner
PUREDATA

Australia

www.puredata.com.au
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


load database tables

2005-06-09 Thread t
hi,

I'm trying to load my database tables into a scrolling field, I
connected to the database but I can't find a command to get the
tables.

Is there a command that stores the tables in an array or a scrolling field.

thanx,
-- 
t
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text field

2005-06-09 Thread Sarah Reichelt
how to make a text field a password field, where characters are  
asterisks.


thanks,


The only built-in way to get password entry is using the answer  
password command.
However if you want to allow people to enter passwords into a field,  
then you need to script the data entry yourself.
The easiest way is to let them enter the password as plain text and  
then in a closeField handler, store the actual password somewhere  
secure, perhaps in a custom property, then replace all the letters  
with asterisks.
Alternatively, you can trap the rawKeyDown or keyDown messages and  
append any typed characters to the stored password, while adding an  
asterisk to the field.


Cheers,
Sarah

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Dick Kriesel
On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote:

 Using the long id of the target will provide an absolute reference to
 the specific object, but I'm not sure why simply the target doesn't
 return the same value.  Hmmm  makes the target rather less useful,
 unless there's a benefit to the truncated descriptor it returns that I'm
 just not seeing.

The truncated descriptor enables the simple structure if the target is me
in handlers for system messages and even application messages.

What are the relative timings of handlers in the message path vs. handlers
outside?

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: text field

2005-06-09 Thread Dan Shafer

You'll want to use a dialog rather than a text field.

ask password

is the key.


On Jun 9, 2005, at 7:14 PM, tarek wrote:


Hi,

how to make a text field a password field, where characters are  
asterisks.


thanks,

--
tarek
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution






~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Richard Gaskin

Dick Kriesel wrote:

On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote:



Using the long id of the target will provide an absolute reference to
the specific object, but I'm not sure why simply the target doesn't
return the same value.  Hmmm  makes the target rather less useful,
unless there's a benefit to the truncated descriptor it returns that I'm
just not seeing.


The truncated descriptor enables the simple structure if the target is me
in handlers for system messages and even application messages.


That would still work if  both the target and me used absolute 
references.  Within scripts the engine seems to know what the target 
refers to, but looking at the string returned when asking for the 
target we should expect confusion if there are two such objects with 
the same name.


Curious inconsistency


What are the relative timings of handlers in the message path vs. handlers
outside?


About twice as long, but as with many benchmarks with Transcript it 
hardly matters:  twice as long sounds like a big deal, but on my 1GHz 
G4 that's still less than a microsecond. :)


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: load database tables

2005-06-09 Thread Rishi Viner
On Fri, 10 Jun 2005 12:47 pm, t wrote:
 Is there a command that stores the tables in an array or a scrolling field.

Basically the answer is yes. Have a look under Documentation | Topics | 
Database Operations. The way to do it depends on whether you want to use an 
automatic query, revDataFromQuery or by using a record cursor. 


-- 
Rishi Viner
PUREDATA

Australia

www.puredata.com.au
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Dar Scott


On Jun 9, 2005, at 9:51 PM, Richard Gaskin wrote:

What are the relative timings of handlers in the message path vs. 
handlers

outside?


About twice as long, but as with many benchmarks with Transcript it 
hardly matters:  twice as long sounds like a big deal, but on my 
1GHz G4 that's still less than a microsecond. :)


Do you mean millisecond?

I find addition to be less than a microsecond, but a path call is 8 to 
15 microseconds for the 3rd invocation and up. A send or call takes 50 
to 70 microseconds for the 3rd call and up.  (2 short parameters)


Maybe we should compare notes.

This is on a dual 1.25 GHz G4.

Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Yahoo!  RevCon West in one week!
**

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Dick Kriesel
On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote:

 But to be honest, it's very rare that I use either call or send.
 Both are up there with do in terms of a modest amount of additional
 overhead needed to handle them relative to calls natively in the message
 path.

On 6/9/05 8:51 PM, Richard Gaskin [EMAIL PROTECTED] wrote:

 What are the relative timings of handlers in the message path vs. handlers
 outside?
 
 About twice as long, but as with many benchmarks with Transcript it
 hardly matters:  twice as long sounds like a big deal, but on my 1GHz
 G4 that's still less than a microsecond. :)

Are there stronger reasons for you to use call and send very rarely?  I
ask because I've been using send a lot.

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Richard Gaskin

Dar Scott wrote:


On Jun 9, 2005, at 9:51 PM, Richard Gaskin wrote:

What are the relative timings of handlers in the message path vs. 
handlers

outside?



About twice as long, but as with many benchmarks with Transcript it 
hardly matters:  twice as long sounds like a big deal, but on my 
1GHz G4 that's still less than a microsecond. :)



Do you mean millisecond?

I find addition to be less than a microsecond, but a path call is 8 to 
15 microseconds for the 3rd invocation and up. A send or call takes 50 
to 70 microseconds for the 3rd call and up.  (2 short parameters)


Maybe we should compare notes.

This is on a dual 1.25 GHz G4.


No, my bad: I slipped a digit.

My times were:

0.00336 0.00871

Using this script:

-- in button used to run the test:  
on mouseUp
  put 10 into tMax
  --
  put the millisecs into t
  repeat tMax
foo
get the result  world
  end repeat
  put  the millisecs - t into t1
  --
  put the millisecs into t
  repeat tMax
call foo of btn test
get the result  world
  end repeat
  put  the millisecs - t into t2
  --
  put t1/tMax  t2/tMax
end mouseUp


-- in card and in btn test:
on foo
  return hello
end foo


Even so, a 5 microsecond difference isn't bad for most needs, esp. 
considering how rarely one truly needs to use either call or send.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Call vs Send

2005-06-09 Thread Richard Gaskin

Dick Kriesel wrote:

On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote:


But to be honest, it's very rare that I use either call or send.
Both are up there with do in terms of a modest amount of additional
overhead needed to handle them relative to calls natively in the message
path.


On 6/9/05 8:51 PM, Richard Gaskin [EMAIL PROTECTED] wrote:


What are the relative timings of handlers in the message path vs. handlers
outside?


About twice as long, but as with many benchmarks with Transcript it
hardly matters:  twice as long sounds like a big deal, but on my 1GHz
G4 that's still less than a microsecond. :)


Are there stronger reasons for you to use call and send very rarely?  I
ask because I've been using send a lot.


I don't feel too strongly about it one way or another. I just don't find 
myself needing send often in the stuff I'm doing.  But if you need it 
I see no harm in using it.


--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Ten Reasons You're a Software Developer

2005-06-09 Thread Mark Wieder
All-

Getting bogged down? Here's a pep talk.

http://www.developerdotstar.com/mag/articles/davis_tenreasons.html

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution