Re: Reference Function Name Via Variable?

2009-01-18 Thread Geoff Canyon
A lot of people have made good suggestions, but I think you're looking  
for first class functions:


   http://en.wikipedia.org/wiki/First-class_function

They're common in functional languages, rare in procedural languages.  
In particular you're looking for what is commonly called the map  
function:


   http://en.wikipedia.org/wiki/Map_(higher-order_function)

That would allow something like this:

function map f,aList -- takes a function and a list, and returns the  
list with the function applied to each element

  put empty into returnList
  repeat for each item i in aList
put f(i) & comma after returnList
  end repeat
  return char 1 to -2 of tReturn
end map

This is territory into which Revolution (and xTalks in general)  
ventures unwillingly and ungracefully. In particular the fact that  
there is no nice way to handle arbitrarily nested lists stands as a  
nasty roadblock here. Nested arrays might be an answer but I haven't  
thought it through.


regards,

Geoff

On Jan 15, 2009, at 11:45 AM, Scott Rossi wrote:


Hi List:

Just curious...  Is there any way to construct a function using a name
stored in a variable without resorting to "do"?  For example:

on mouseUp
  put "hello" into pData1
  put "world" into pData2
  put "shout" into test
  do "answer" && test & "(pData1,pData2)"
end mouseUp

function shout pData1,pData2
  return pData1 && pData2
end shout

Can the last line of the mouseUp handler be written without "do"?   
I'm not

against using "do", just wondering if there's another option.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Andre.Bisseret

Bonjour,
Je suis complètement abasourdi ! Je lui avais envoyé un message pour  
lui dire mon admiration pour son ListMagic que je venais d'acheter.  
J'y posais quelques questions et je m'étonnais de son silence, tant  
d'habitude il répondait si vite !


Merci de dire toute ma sympathie et ma tristesse à sa famille et à ses  
proches.


J'ai suivi Éric depuis le début, en particulier depuis "Tout pour  
HyperCard" ; je n'ai jamais eu le plaisir de le rencontrer et je ne  
connais même pas son visage(ni son âge), mais il fait clairement  
partie de mon existence, par son aide technique précise, si rapide et  
sans faille, (Nombre de mes scripts porte la mention "fourni par Éric  
Chatonnet ".)

mais aussi par ses messages personnels pleins d'humour et de sympathie.

Je ne pourrais pas oublier Éric

Amitiés de Grenoble
André

I am fully stupefied ! a few days ago I had send him a message to tell  
him my admiration for his ListMagic that I just had bought. i was  
asking some questions and was wondering about why he had not yet  
answer, as his answers were usually so fast !


Thank you to tell all my sympathy to his family and his cose friends  
and associates.


I was following Éric since HyperCard, particularly since his book  
"Tout pour HyperCard". I never had the pleasure to meet him, I even  
never saw a photo of him, I don't know his age, but Éric is clearly a  
part of my life, via his precise technical assistance, so quick and  
really professionnal (a number of my scripts are commented with "Given  
by Éric Chatonnet" )

but also via his personnal messages full of humor and friendiness.

Sad day ! I will never forget ÉRIC

Best regards to all from Grenoble (a practice I got from him)
André

Le 17 janv. 09 à 21:19, Jérôme Rosat a écrit :


Bonjour,

Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes  
mes pensées vont à son fils et sa famille.


Jérôme

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

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





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


AW: how to compare file chars with bytes?

2009-01-18 Thread Tiemo Hollmann TB
Hi Mark,
I have mixed up two files, which I was processing in a loop.
Thank you
Tiemo



> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Mark Schonewille
> Gesendet: Samstag, 17. Januar 2009 20:57
> An: How to use Revolution
> Betreff: Re: how to compare file chars with bytes?
> 
> Hi Tiemo,
> 
> The number of chars of a text file and the number of bytes of that
> file are equal, if you read the file as binary data. Are you sure that
> you have the file size correct? What numbers do you get? You might
> want to post the relevant part of your script.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> Dutch forum: http://runrev.info/rrforum
> 
> We are always looking for new projects! Feel free to contact us to
> discuss your custom software project!
> 
> On 17 jan 2009, at 20:14, Tiemo Hollmann TB wrote:
> 
> > Hello,
> >
> > sorry for this perhaps stupid question. I want to show a progress
> > bar while
> > reading a file in chunks of chars in a repeat loop.
> >
> > Filtering first the total number of bytes out of the detailed files
> > info I
> > thought I could easily set the read chars in relation of the total
> > bytes,
> > thinking that the number of chars is roughly equivalent to the
> > number of
> > bytes, beside of some overhead here and there, but the numbers are
> > completely different.
> >
> > Obviously I am missing some basics here, but there should be a simple
> > solution for this standard issue?
> >
> > Thanks for correcting me
> >
> > Tiemo
> >
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Sad News...

2009-01-18 Thread Frédéric RINALDI
Just to let the whole Revolution community know, that one of our  
active and well known member, Eric Chatonnet, just died from a CVA  
last week.
Eric was a long time known buddy, I sadly just got the news yesterday  
from his son.

We surely will miss him and his wise development advices.

Frederic



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


AW: Sad News...

2009-01-18 Thread Tiemo Hollmann TB
How terrible, I can't believe it!
Eric has been such a valuable and helpful top member of this list, that he
must have been it also in his privat life.
My condolence to his family!
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Frédéric RINALDI
> Gesendet: Sonntag, 18. Januar 2009 10:32
> An: use-revolution@lists.runrev.com
> Betreff: Sad News...
> 
> Just to let the whole Revolution community know, that one of our
> active and well known member, Eric Chatonnet, just died from a CVA
> last week.
> Eric was a long time known buddy, I sadly just got the news yesterday
> from his son.
> We surely will miss him and his wise development advices.
> 
> Frederic
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Sad News...

2009-01-18 Thread Chipp Walters
Oh my gosh. How sad. Eric has always been so helpful to so many. He will be
missed.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sad News...

2009-01-18 Thread Jim Sims
Gracious, helpful, knowledgeable, friendly... the list of attributes  
goes on and on.




Eric was the definition of a 'class guy', one who perfectly fit all  
the ways that the words 'class & correct' can be used.


I am going to miss him tremendously.

sims


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


Re: La communaut? Revolution est en deuil

2009-01-18 Thread Hugh Senior
I add my sympathies and condolences to Eric's family. We have all lost a
great man. I hope his work can be continued by someone.

Hugh Senior

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


Re: La communaut? Revolution est en deuil

2009-01-18 Thread Graham Samuel
Just to echo everyone else's sentiments - Viktoras has said what I  
would have wanted to say. How sad it is when a good person leaves this  
Earth!


Graham Samuel
On 18 Jan 2009, at 09:32, "viktoras d."  wrote:



...I had not any chance to meet Eric personally, but I knew Him from  
his

many helpful communications on this list.
My sincere sympathy and condolences to family of this kind person.



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


Re: Sad News...

2009-01-18 Thread Dave
I'm really sorry to hear this, I didn't know Eric very well, but we  
became quite good "mates" chatting about Revolution where he was a  
great help to me. I will miss him both as a friend and as a  
colleague. It's a shame we didn't have a chance to get to know one  
another better.


Dave



On 18 Jan 2009, at 09:31, Frédéric RINALDI wrote:

Just to let the whole Revolution community know, that one of our  
active and well known member, Eric Chatonnet, just died from a CVA  
last week.
Eric was a long time known buddy, I sadly just got the news  
yesterday from his son.

We surely will miss him and his wise development advices.

Frederic



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

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



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


Star in the window title

2009-01-18 Thread Generic Email

Is there a way to remove the star in the window title?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Star in the window title

2009-01-18 Thread Klaus Major

Hi Generic Email,

(I personally would sue my parents with such a name ;-)


Is there a way to remove the star in the window title?


Yes, this will only appear if you do not specify a title for your stack!
Enter a "title" in the inspector for your stack and thats it.
It is the entry right below the Stack name.

Best

Klaus
--
Klaus Major
kl...@major-k.de
http://www.major-k.de



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


Re: Star in the window title

2009-01-18 Thread Jacques Hausser

Hello

Just put the name of the stack in the title of the stack

Jacques

Le 18 janv. 2009 à 12:34, Generic Email a écrit :


Is there a way to remove the star in the window title?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Re: Star in the window title

2009-01-18 Thread Generic Email

You guys are great.

Thanks

Bert

On Jan 18, 2009, at 6:40 AM, Klaus Major wrote:


Hi Generic Email,

(I personally would sue my parents with such a name ;-)


Is there a way to remove the star in the window title?


Yes, this will only appear if you do not specify a title for your  
stack!

Enter a "title" in the inspector for your stack and thats it.
It is the entry right below the Stack name.

Best

Klaus
--
Klaus Major
kl...@major-k.de
http://www.major-k.de



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

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


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


Re: Sad News...

2009-01-18 Thread Wilhelm Sanke, FB01
Returning home I have to learn that Eric Chatonet is dead.

I want to join all the mourners who have expressed their sympathy with Eric's
familiy.

I have always been impressed by his strong commitment to the sake of Revolution
and especially appreciated how he provided insights and practical help for users
new to Revolution. I think this line of work must be continued.

-- 
Wilhelm Sanke



This mail sent through http://www.uni-kassel.de/www-mail

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


Re: Ideas?

2009-01-18 Thread Generic Email

The latest incarnation is at http://www.Screen-Share.com

Thanks so much for your willingness to look over it. I believe I have  
incorporated most of the suggestions from use-revolution.


Any comments or suggestions on the latest version are welcome. This is  
my first Revolution project, so ANY advice is welcome.


Thanks again.

Bert


On Jan 17, 2009, at 9:39 AM, George C Brackett wrote:

I find the active cursor distracting when it's inappropriate, as it  
is when the app launches and later when the URL is displayed.  I  
would focus elsewhere to avoid the cursor, but allow copy/paste in  
the URL display.


Very nice app indeed.  Just what I need to help teachers who send  
emails about errors and never tell me anything else (like what does  
the error dialog say?).


George

On Jan 15, 2009, at 6:20 PM, Generic Email wrote:

I want to get my first project out there.

I am interested in feedback.

The site is http://www.screen-share.com/

Any advice is welcome.

How do you deal with installers for rev projects?


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

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


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

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


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


Re: Sad News...

2009-01-18 Thread Ian Wood
I can only echo the posts so far. Having enjoyed meeting him at the  
Malta conference my thoughts are with his friends and family.


In memoriam.

http://www.landmarksofbritain.co.uk/eurorevcon_2006/tour/large-23.html
http://www.landmarksofbritain.co.uk/eurorevcon_2006/tour/large-20.html
http://www.landmarksofbritain.co.uk/eurorevcon_2006/conference/large-11.html

Ian

On 18 Jan 2009, at 12:18, Wilhelm Sanke, FB01 wrote:


Returning home I have to learn that Eric Chatonet is dead.

I want to join all the mourners who have expressed their sympathy  
with Eric's

familiy.

I have always been impressed by his strong commitment to the sake of  
Revolution
and especially appreciated how he provided insights and practical  
help for users

new to Revolution. I think this line of work must be continued.

--
Wilhelm Sanke



This mail sent through http://www.uni-kassel.de/www-mail

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

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


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


Re: Sad News...

2009-01-18 Thread Thomas McGrath III
This is very sad news. I enjoyed all of Eric's tutorials and helpful  
suggestion on this list. He will be missed.


I hate to be the one to ask but I don't know what a CVA is. I assume  
it is a heart attack.


Bless his family and friends.


Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Jan 18, 2009, at 4:31 AM, Frédéric RINALDI wrote:

Just to let the whole Revolution community know, that one of our  
active and well known member, Eric Chatonnet, just died from a CVA  
last week.
Eric was a long time known buddy, I sadly just got the news  
yesterday from his son.

We surely will miss him and his wise development advices.

Frederic



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

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


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


AW: Sad News...

2009-01-18 Thread Tiemo Hollmann TB
CVA = Cerebrovascular accident, don't know the common english expression
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Thomas McGrath III
> Gesendet: Sonntag, 18. Januar 2009 13:45
> An: How to use Revolution
> Betreff: Re: Sad News...
> 
> This is very sad news. I enjoyed all of Eric's tutorials and helpful
> suggestion on this list. He will be missed.
> 
> I hate to be the one to ask but I don't know what a CVA is. I assume
> it is a heart attack.
> 
> Bless his family and friends.
> 
> 
> Tom McGrath III
> Lazy River Software
> 3mcgr...@comcast.net
> 
> iTunes Library Suite - libITS
> Information and download can be found on this page:
> http://www.lazyriversoftware.com/RevOne.html
> 
> 
> 
> 
> 
> On Jan 18, 2009, at 4:31 AM, Frédéric RINALDI wrote:
> 
> > Just to let the whole Revolution community know, that one of our
> > active and well known member, Eric Chatonnet, just died from a CVA
> > last week.
> > Eric was a long time known buddy, I sadly just got the news
> > yesterday from his son.
> > We surely will miss him and his wise development advices.
> >
> > Frederic
> >
> >
> >
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Sad News...

2009-01-18 Thread Kevin Miller
This is indeed very sad news. Eric was a wonderful member of the community
and he will be very much missed. Our thoughts are with his family and we
will be in touch with them in the coming days.

Kind regards,

Kevin

Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

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


Re: AW: Sad News...

2009-01-18 Thread Klaus Major

Hi Tiemo,

CVA = Cerebrovascular accident, don't know the common english  
expression


I think the english expresion is "stroke" ("Schlaganfall" in german).


Tiemo


Regards

Klaus
--
Klaus Major
kl...@major-k.de
http://www.major-k.de



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


read file on Mac much slower as on Win!?

2009-01-18 Thread Tiemo Hollmann TB
Hello,

I made a repeat loop with read/write file to copy large zip files and be
able to show a progress (instead of using the shell). It works fine, beside
of a relevant speed difference between Win Notebook 1,8 Ghz Core 2 Duo, 2GB
and Mac Book 2,2 Ghz, Core 2 Duo, 2GB.

For example reading/writing a 1,3 GB zipfile takes on the Win machine about
7 min, on Mac, first test 72 min, second test 20 min. Actually I have to
copy 6 times 1,3 GB. So it is pretty relevant, if it takes 7 or 70 min
(don't know why it took once 70 min and once 20 min). This would be in worst
case a total installation time of 7 hours!

Could it be that I have to use a different chunk size on Mac, as on Win,
because of different memory or file management? Smaller? Bigger?

The script snippet looks like:

open file tQuellFile for binary read

open file tZielFile for binary write

repeat until it is empty

read from file tQuellFile for 1

write it to file tZielFile

--.--

 

 

Thanks for any ideas, how to increase the speed.

Tiemo

 

 

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


Re: Sad News...

2009-01-18 Thread Claus Dreischer

Not beeing a native speaker, i have difficulties putting my sadness into words.

For those of you, who not had the opportunity to 
meet Éric in person (like at  the Malta 
conference), this is how i will remember him:


http://www.project-imaging.de/ERIC.JPG




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


Re: Sad News...

2009-01-18 Thread Klaus Major

Hi Claus,

Not beeing a native speaker, i have difficulties putting my sadness  
into words.


For those of you, who not had the opportunity to meet Éric in person  
(like at  the Malta conference), this is how i will remember him:


http://www.project-imaging.de/ERIC.JPG


Yes, that's Eric as we knew him :-)
Thanks for sharing this!


(speechless)
Claus.


Best

Klaus

--
Klaus Major
kl...@major-k.de
http://www.major-k.de



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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Christian Langers

Mes sincères condoléances à la famille.

... quel choc...

Christian

On 18/01/09 8:55, Ludovic Thébault wrote:


Le 17 janv. 09 à 21:19, Jérôme Rosat a écrit :



Bonjour,

Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes 
mes pensées vont à son fils et sa famille.


Jérôme


Je ne peux que m'associer aux nombreux hommages qui lui sont rendus. 
Il nous manquera.___

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

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



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


Eric's death

2009-01-18 Thread Charles Szasz

I was shocked and very sad to hear about the sudden death of Eric. He was
very generous in helping the Rev community. In my e-mails with him, I found
out that Eric was 62 years old- one year younger than me. God bless his
family. He will be greatly missed. 
-- 
View this message in context: 
http://www.nabble.com/Eric%27s-death-tp21528516p21528516.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Sad News...

2009-01-18 Thread Thomas McGrath III

That is a great picture of Eric.

Thanks Claus



Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Jan 18, 2009, at 9:00 AM, Claus Dreischer wrote:

Not beeing a native speaker, i have difficulties putting my sadness  
into words.


For those of you, who not had the opportunity to meet Éric in person  
(like at  the Malta conference), this is how i will remember him:


http://www.project-imaging.de/ERIC.JPG




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

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


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


Re: AW: Sad News...

2009-01-18 Thread Thomas McGrath III

Thanks Klaus and Tiemo,

I felt a little uncomfortable asking, but thank you


Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Jan 18, 2009, at 8:40 AM, Klaus Major wrote:


Hi Tiemo,

CVA = Cerebrovascular accident, don't know the common english  
expression


I think the english expresion is "stroke" ("Schlaganfall" in german).


Tiemo


Regards

Klaus
--
Klaus Major
kl...@major-k.de
http://www.major-k.de



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

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


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


Re: Image smaller 26 pixels dissapears

2009-01-18 Thread Beat Cornaz

>Mark wrote :

>This is a bug, it is being fixed. Perhaps you can create a slightly
>larger image and adjust the alphadata to make the top row and left or
>right column transparent.


Thanks Mark. I'm glad to know it's a bug.
I appreciate your suggestion , except in my case it would have  
consequences down the road.

I use images with different colored 'cells' for musical Notes display.
To speed things up, I first create the Image where each colored cell  
is just 1 pixel
and has the right color. Afterwards I adjust the size of the image to  
f.i. 20x20 for each cell

- so making the image 20 times as wide and high.
If I use a transparant part, it will also enlarge. As this images is  
on top of a bigger image with cells,

it will block the mouse clicks to the image underneath.

As an alternative, I can make the original image like 4x4 pixels for  
each cell and enlarge it a factor 16 less.

I at least know now, that I have to work around it.


Thanks, Beat

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


Re: Image smaller 26 pixels dissapears

2009-01-18 Thread Jacques Hausser

Beat,

Did you think about using graphics instead of images ? If you use  
ovals, you can easily change their dimensions, background colors and  
loc as wanted.

Just an idea.

Jacques

Le 18 janv. 2009 à 16:11, Beat Cornaz a écrit :


>Mark wrote :

>This is a bug, it is being fixed. Perhaps you can create a slightly
>larger image and adjust the alphadata to make the top row and left or
>right column transparent.


Thanks Mark. I'm glad to know it's a bug.
I appreciate your suggestion , except in my case it would have  
consequences down the road.

I use images with different colored 'cells' for musical Notes display.
To speed things up, I first create the Image where each colored cell  
is just 1 pixel
and has the right color. Afterwards I adjust the size of the image  
to f.i. 20x20 for each cell

- so making the image 20 times as wide and high.
If I use a transparant part, it will also enlarge. As this images is  
on top of a bigger image with cells,

it will block the mouse clicks to the image underneath.

As an alternative, I can make the original image like 4x4 pixels for  
each cell and enlarge it a factor 16 less.

I at least know now, that I have to work around it.


Thanks, Beat

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

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


**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Jan Schenkel
--- Jérôme Rosat  wrote:
> Bonjour,
> 
> Je viens d'apprendre que Éric Chatonet est décédé
> mercredi. Toutes mes  
> pensées vont à son fils et sa famille.
> 
> Jérôme
> 

Like many others, this news has left me with a deep
sadness, for we have all lost in Eric an extraordinary
man - intelligent, generous, always helpful and armed
with a wonderful sense of humour.

I fondly remember meeting him in person at the
Revolution Conference in Malta in 2006, exchanging
ideas and experiences, and smoking cigarettes with
him, Malte, and Tariel on the balcony of the hotel.

Please pass on my condoleances to his family. Having
unexpectedly lost my father 4 years ago, I have an
idea of how his son must be feeling right now.

May he rest in peace, with a glass of wine and a
cigarette, enjoying the afterlife to its fullest. He
certainly earned it.

Jan Schenkel.

Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


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


Re: Sad News...

2009-01-18 Thread George C Brackett
Even as a sometime Revolution junkie, I have many times benefitted  
from the kindness, thorough tutoring and professionalism of Eric  
Chatonet.  I sent a message expressing my sorrow and shock to his son,  
Emmanuel Chatonet-Camus.  In case you missed Emmanuel's message to  
this list, and would like to write him, his email is em...@hotmail.fr.


George

On Jan 18, 2009, at 4:31 AM, Frédéric RINALDI wrote:

Just to let the whole Revolution community know, that one of our  
active and well known member, Eric Chatonnet, just died from a CVA  
last week.
Eric was a long time known buddy, I sadly just got the news yesterday  
from his son.

We surely will miss him and his wise development advices.

Frederic



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

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


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


Rep: Image smaller 26 pixels dissapears

2009-01-18 Thread Jacques Hausser

Beat,

Afterthought:

Music notes are ellipses, but slanted ones. Oval graphics cannot be  
slanted (to my knowledge). In an old and half forgotten stack, I used  
this script to define the points of a slanted "ellipse" graphic:


command drawellipse x,y,alpha,laloc
 repeat with i = 0 to 90
   put round(sin(x*i*pi/180)), round(cos(y*i*pi/180)) into line i of  
thepoints

 end repeat
 set the points of graphic "Ellipse" to thepoints
 revrotatepoly the name of graphic "ellipse",alpha
set the loc of graphic "Ellipse" to laloc
end drawellipse

x and y are the width and hight of the ellipse (if I remember well ),  
and alpha is the slanting angle of the ellipse. The graphic must be  
created before using the command.

It gives something a bit jagged, but it can certainly be improved.

Jacques


Le 18 janv. 2009 à 16:22, Jacques Hausser a écrit :


Beat,

Did you think about using graphics instead of images ? If you use  
ovals, you can easily change their dimensions, background colors and  
loc as wanted.

Just an idea.

Jacques

Le 18 janv. 2009 à 16:11, Beat Cornaz a écrit :


>Mark wrote :

>This is a bug, it is being fixed. Perhaps you can create a slightly
>larger image and adjust the alphadata to make the top row and left  
or

>right column transparent.


Thanks Mark. I'm glad to know it's a bug.
I appreciate your suggestion , except in my case it would have  
consequences down the road.
I use images with different colored 'cells' for musical Notes  
display.
To speed things up, I first create the Image where each colored  
cell is just 1 pixel
and has the right color. Afterwards I adjust the size of the image  
to f.i. 20x20 for each cell

- so making the image 20 times as wide and high.
If I use a transparant part, it will also enlarge. As this images  
is on top of a bigger image with cells,

it will block the mouse clicks to the image underneath.

As an alternative, I can make the original image like 4x4 pixels  
for each cell and enlarge it a factor 16 less.

I at least know now, that I have to work around it.


Thanks, Beat

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

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




**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Rep: Correction ! Image smaller 26 pixels dissapears

2009-01-18 Thread Jacques Hausser

Oups !

I sent the wrong script... please correct:

command drawellipse x,y,alpha,laloc
  repeat with i = 0 to 91
put round (x*sin(4*i*pi/180)), round(y*cos(4*i*pi/180)) into line  
i of thepoints

  end repeat
  set the points of graphic "Ellipse" to thepoints
  revrotatepoly the name of graphic "ellipse",alpha
  set the loc of graphic "Ellipse" to laloc
end drawellipse

... and x and y are half width and half height.

I was a bit rash... sorry

Jacques

**
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: jacques.haus...@unil.ch
***

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Pierre Sahores

Tu vas nous manquer, Eric. Tous mes regrets vont aux tiens.
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


Le 17 janv. 09 à 23:45, Thomas McGrath III a écrit :

I am so sorry to hear about Eric, Please give my condolences to his  
family.


Toutes mes condoléances à sa famille.


Tom

Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html





On Jan 17, 2009, at 3:19 PM, Jérôme Rosat wrote:


Bonjour,

Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes  
mes pensées vont à son fils et sa famille.


Jérôme

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

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


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

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




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


Re: Sad News...

2009-01-18 Thread Ken Ray
> For those of you, who not had the opportunity to
> meet Éric in person (like at  the Malta
> conference), this is how i will remember him:
> 
> http://www.project-imaging.de/ERIC.JPG

Thank you, Claus (and Ian, too) for posting pictures of Eric. I never made
it to Malta, and so never really knew what Eric looked like until I saw
these pictures. 

We had many offline conversations, and he was a tremendously gracious, kind,
and warm-hearted person that was always willing to go the extra mile to help
everyone around him. He will truly be missed...

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/


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


Unicode in stack title

2009-01-18 Thread Mark Schonewille

Hi,

Has anyone been able to get this to work: ? I'm trying it, but so far no joy. What are the exact steps to make  
it work?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


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


Re: Unicode in stack title

2009-01-18 Thread Damien Girard

Hi Mark,

Look for: set the unicodetitle

Regards,

Damien

Mark Schonewille a écrit :


Hi,

Has anyone been able to get this to work: 
? I'm 
trying it, but so far no joy. What are the exact steps to make it work?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to 
discuss your custom software project!


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

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




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


Re: Unicode in stack title

2009-01-18 Thread Mark Schonewille
Thanks, Damien! I knew I had seen something like that, but couldn't  
remember where. It seems I was looking in the wrong place.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 18 jan 2009, at 19:29, Damien Girard wrote:


Hi Mark,

Look for: set the unicodetitle

Regards,

Damien


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


Re: Image smaller 26 pixels dissapears/Sad news

2009-01-18 Thread Beat Cornaz
I feels kinda odd to go on with the daily stuff, like asking questions  
during these days.
I've seen Eric's name pop up and have recently gotten a trial version  
of his ListMagic.
It is sad to hear about a member passing away, even more so as he is  
so much appreciated by everyone.
It touches my heart to read all the messages, whishing his family  
strenth.

I send my condolences to his family and friends.


>Jacques wrote :

>Did you think about using graphics instead of images ? If you use
>ovals, you can easily change their dimensions, background colors and
>loc as wanted.

>Afterthought:

>Music notes are ellipses, but slanted ones. Oval graphics cannot be
>slanted (to my knowledge). In an old and half forgotten stack, I used
>this script to define the points of a slanted "ellipse" graphic:

Thanks for your reply. By Notes I didn't mean the 'Note Symbol' as in  
written music, more colored squares
on a grid, represeting notes. Time being the horizontal axis and pitch  
being the vertical. Imagine a piece of graphic paper where you color  
some squares, which represent the notes.


I think the traditional way of scoring has many limitations. (One  
being ruled by the number 2. To express a triplet you have to write  
some division by a power of 2 , being 1/2 ,1/4 ,1/8 or 1/16  and then  
have to write above that these are actually thirds).


On a grid, it's also easier to see the (geometrical- and other-)  
transformations I am

applying to the 'Notes'.

I actually started out using graphics (rectagles) to represent the  
cells, but found that setting the imagedata of an Image is much  
quicker and not needing tens to hunderds of graphics.


The slanted oval script might come in handy with something else.

Beat

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


Re: Import from rect

2009-01-18 Thread Wilhelm Sanke, FB01
On Fri, 16 Jan 2009, Scott Rossi  wrote:

> Recently, Thomas McGrath III wrote:
>
> >> Actually a snapshot of an object does not take an exact snapshot
> >> following the attributes of the object (transparency, etc.) but a
> >> snapshot of the rect of the object will follow the attributes
> >> (transparency, etc.)
>
> This is an excellent and useful observation -- I always thought that one had
> to group objects to get their alpha included in a screenshot, but using the
> object's rect as you say produces the same result.  Nice find.
>
> Regards,
>
> Scott Rossi


One of the steps of development in science as in programming is that we start on
a preliminary level with assumptions or hypotheses which may be then falsified -
or sometimes verified - when we reach the next intermediate level of our theory.
The principle of "falsification" is the core element of Sir Karl Popper's theory
of science.
This usually happens to all of us from time to time, although the programming
language we use is called "Revolution".

In my long post of Nov 29, 2008 ("More about Masks (+ sample stack)")
introducing stack "More about Masks" one paragraph reads:

"Scott's assumptions - expressed in the comments of his script - that the image
"to-be-masked" must be in PNG-format and the selection graphic (from which the
snapshot for the mask is being taken) must be grouped, could not be verified
here."

The stack compares and discusses in detail the attempts of Jim Hurley, Bernd
Niggemann, and of myself to create masked images mainly with the use of
snapshots - and included one script originally written by Scott to which the
paragraph refers. -

===
and  Thomas McGrath III  wrote on Sat, 17 Jan 2009:

> Scott,
>
> Actually at first I thought this was a bug, but it makes a bit of  
> sense. The rect and I guess grouping the objects will force a visible  
> or visual snapshot of where the object physically resides including  
> objects beneath that show through the alpha mask but using the actual  
> object must allow the engine to reference the object itself  
> programatically so it is not 'seeing' the alpha or better yet it is  
> not seeing through the alpha to the objects underneath.
>
> As Richard said " "export snapshot" which allows you to specify the  
> object rather than merely its rect:" "This will cause the object  
> specified to be rendered into an offscreen buffer directly, then that  
> buffer is compressed into the specified format for writing to disk."
>
> It must be the ability to render offscreen in the buffer that is the  
> difference here. This must be the case with the import snapshot as well.
>
> Tom


I think Tom's interpretation of what is going on is an excellent analysis.
Getting the alphadata is indeed possible both with "import" and "export
snapshot" and besides the alphadata you also retrieve the maskdata as we have
discussed and shown in detail in our above-mentioned stack of Nov 2008



along with the possible dependency on the paintcompression format, which however
effects only maskdata.

A new version of the stack - released a few days ago on Jan 7 -



additionally demonstrates two attempts to integrate the new "gradient tools" of
Rev (therefore this stack needs at least engine version 3) as a component for
creating masked images - based on a proposal from Bernd Niggemann..
I mention this stack here, too, because I see from the text of Tom's posts in
this thread that he is apparently experimenting with using snapshots together
with gradient tools. It could be interesting to have a look at these approaches,
although they may be of a somewhat "ideosyncratic" nature.

Regards,

Wilhelm Sanke



This mail sent through http://www.uni-kassel.de/www-mail

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


export snapshot only runs once

2009-01-18 Thread Shao Sean
I looked over the list archive as well as Bugzilla and only found  
information related to a memory leak.

When I run the following code:

  export snapshot from player "hello" to tPig as JPEG

it works the first time, but the second time I get the following error:

  (export: can't write to file, mask file, or container), char 1

I get the error regardless of exporting to a container (tPig) or to a  
file.
Am I doing something wrong? Is there an easier way to export a screen  
capture of a single frame from a player object?

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


Unicode in stack title

2009-01-18 Thread Richmond Mathewson
When I did this:

on mouseUp
  put unidecode("ХЛЯБ","Bulgarian") into TWORD
  set the name of wd "untitled 1" to TWORD
end mouseUp

it put ïãüÅ into the name of the stack.

---

this:

on mouseUp
  put unidecode("ХЛЯБ","Bulgarian") into TWORD
  set the title of wd "untitled 1" to TWORD
end mouseUp

produced similar results.

-

I don't think it is safe to assume end-users will have their
computer OS language settings set to their native language.

For instance, here in Bulgaria, as setting Windows to Bulgarian, results in a 
half-cock job, most professionals leave the OS setting as English US;
this does not always mean they know any English - they just learn enough
cues to navigate around the OS to serve their needs.

-

Probably the way to guarantee that your window title appears
in the language and writing system of your choice rests in
having a font of that writing system embedded in your stack/standalone.

sincerely, Richmond Mathewson.


A Thorn in the flesh is better than a failed Systems Development Life Cycle.




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


Re: Import from rect

2009-01-18 Thread Ken Ray

> Actually at first I thought this was a bug, but it makes a bit of
> sense. The rect and I guess grouping the objects will force a visible
> or visual snapshot of where the object physically resides including
> objects beneath that show through the alpha mask but using the actual
> object must allow the engine to reference the object itself
> programatically so it is not 'seeing' the alpha or better yet it is
> not seeing through the alpha to the objects underneath.
> 
> As Richard said " "export snapshot" which allows you to specify the
> object rather than merely its rect:" "This will cause the object
> specified to be rendered into an offscreen buffer directly, then that
> buffer is compressed into the specified format for writing to disk."
> 
> It must be the ability to render offscreen in the buffer that is the
> difference here. This must be the case with the import snapshot as well.

Right... I've been playing around with this myself. Basically (if I
understand this properly), you have the following options:

(NOTE:  I'm using a red filled square graphic ("grc 1") in the upper-left
corner of my card that is at a 70% blend, overlapped by a black filled
rectangle graphic)

1) SCREENSHOT: 
   - Gets an image of the region of an object
   - Image includes overlapping objects on the card and
overlapping windows from Rev or any other program
   - Dumps the image at the center of the current card ("import"),
or you can pick a destination ("export")

import snapshot from rect (the rect of grc 1)
export snapshot from rect (the rect of grc 1) to img 1 as PNG

2) CARDSHOT: 
   - Gets an image of the region of an object
   - Image includes overlapping objects on the card only
(overlapping windows from Rev or any other program
are ignored)
   - Dumps the image at the center of the current card ("import"),
or you can pick a destination ("export")

   import snapshot from rect (the rect of grc 1) of this card
   export snapshot from rect (the rect of grc 1) of this card \
   to img 1 as PNG

3) OBJECTSHOT:
   - Gets an image of the object itself
   - Blends or inks are ignored
   - Destination can be a file, variable, or image object

   export snapshot from grc 1 to img 1 as PNG


-- If you place the blended graphic into a group, you can also get:

4) DARKSHOT:
   - Gets an image of the group object and its contents
   - Blends or inks for all objects are ignored
   - Destination can be a file, variable, or image object
   - Fills the transparent areas of the group object with black
with the group's objects overlaid on top of it; the
black extends out to the margins of the group

  export snapshot from group 1 to img 1 as JPEG

5) GROUPSHOT:
   - Gets an image of the group object and its contents
   - Property displays blends or inks
   - Destination can be a file, variable, or image object
   - The transparent areas of the group object remain
transparent, out to the margins of the group

  export snapshot from group 1 to img 1 as PNG

Are there any others I may have missed here? I was thinking of putting up an
image with all these different options displayed to make it easier to pick
what to do in a given situation...

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/


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


Re: export snapshot only runs once

2009-01-18 Thread BNig

Hi Shao,
no problem here with your code and variations of the export snapshot syntax
(from rect etc).
Is your system low on memory?, freshly started Rev?, just guesses.
Rev 3.0 mac 10.5.6, macbook pro.
regards
Bernd


Shao Sean-2 wrote:
> 
> I looked over the list archive as well as Bugzilla and only found  
> information related to a memory leak.
> When I run the following code:
> 
>export snapshot from player "hello" to tPig as JPEG
> 
> it works the first time, but the second time I get the following error:
> 
>(export: can't write to file, mask file, or container), char 1
> 
> I get the error regardless of exporting to a container (tPig) or to a  
> file.
> Am I doing something wrong? Is there an easier way to export a screen  
> capture of a single frame from a player object?

-- 
View this message in context: 
http://www.nabble.com/export-snapshot-only-runs-once-tp21532376p21533097.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Unicode in stack title

2009-01-18 Thread Mark Schonewille

Thanks for your answer, Richmond. I'll use the unicodeTitle.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 18 jan 2009, at 21:55, Richmond Mathewson wrote:


When I did this:

on mouseUp
 put unidecode("ХЛЯБ","Bulgarian") into TWORD
 set the name of wd "untitled 1" to TWORD
end mouseUp

it put ïãüÅ into the name of the stack.

---

this:

on mouseUp
 put unidecode("ХЛЯБ","Bulgarian") into TWORD
 set the title of wd "untitled 1" to TWORD
end mouseUp

produced similar results.

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


Re: export snapshot only runs once

2009-01-18 Thread Shao Sean

Fresh reboot of machine (to ensure not much is hogging my memory ;-)
Rev 2.7, 2.8, 2.9, 3.0
Mac OS X 10.4.11 PPC

If I run the code once, I have to shut down Rev for the code to run  
again. Fails also in a standalone.

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


externals

2009-01-18 Thread Randall Reetz
In rev, are externals written to a reference VM so that they are only written 
once and can run on any platform?  Or, do they have to be written separately to 
each platform? Can java programs be called as externals?

Randall 

-Original Message-
From: "Mark Schonewille" 
To: "How to use Revolution" 
Sent: 1/18/2009 1:21 PM
Subject: Re: Unicode in stack title

Thanks for your answer, Richmond. I'll use the unicodeTitle.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!

On 18 jan 2009, at 21:55, Richmond Mathewson wrote:

> When I did this:
>
> on mouseUp
>  put unidecode("ХЛЯБ","Bulgarian") into TWORD
>  set the name of wd "untitled 1" to TWORD
> end mouseUp
>
> it put ïãüÅ into the name of the stack.
>
> ---
>
> this:
>
> on mouseUp
>  put unidecode("ХЛЯБ","Bulgarian") into TWORD
>  set the title of wd "untitled 1" to TWORD
> end mouseUp
>
> produced similar results.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Star in the window title

2009-01-18 Thread Sarah Reichelt
Hey Generic, how about letting us have a real name? We're a friendly
bunch, but talking to "Generic Email" doesn't feel very friendly to
me. I think you might get more helpful responses if we could feel that
we were talking to a real person.

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Sarah Reichelt
2009/1/18 Jérôme Rosat :
> Bonjour,
>
> Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes mes
> pensées vont à son fils et sa famille.
>

Like all on the list, I am shocked & saddened by this news. We will
all miss Éric's helpful emails and his wonderful tutorials. Its hard
to imagine future questions not being met with an email from Éric
announcing yet another tutorial and listing out his massive
contribution to this community. I never met Éric face to face, but we
had many happy email conversations where he was always constructive
and encouraging. My thoughts are with his family in this difficult
time.

I have a suggestion for RunRev: why don't you make Éric's wonderful
series of tutorials a part of the standard install as a memorial to
Éric? (If his family agree.)

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


Re: export snapshot only runs once

2009-01-18 Thread BNig

Hi Shao,
did you try it on a new stack, just a player and a button with your script?
Just to make shure nothing else is going on.
regards
Bernd 

Shao Sean-2 wrote:
> 
> Fresh reboot of machine (to ensure not much is hogging my memory ;-)
> Rev 2.7, 2.8, 2.9, 3.0
> Mac OS X 10.4.11 PPC
> 
> If I run the code once, I have to shut down Rev for the code to run  
> again. Fails also in a standalone.
> 

-- 
View this message in context: 
http://www.nabble.com/export-snapshot-only-runs-once-tp21532376p21533822.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread J. Landman Gay

Sarah Reichelt wrote:


I have a suggestion for RunRev: why don't you make Éric's wonderful
series of tutorials a part of the standard install as a memorial to
Éric? (If his family agree.)


I was thinking exactly the same thing. Or if not the standard install, 
at least a reference to the tutorials somewhere prominent so users can 
easily find them. He put so much work into those, it would be a shame to 
lose them.


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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Judy Perry
I was thinking about mirroring his page for the same reasons.  I suspect
it's too soon to ask the family about this, but on the other hand worry
about the pages going down...
Any thoughts?

Judy
http://revined.blogspot.com


On Sun, Jan 18, 2009 at 2:23 PM, J. Landman Gay wrote:

> Sarah Reichelt wrote:
>
>  I have a suggestion for RunRev: why don't you make Éric's wonderful
>> series of tutorials a part of the standard install as a memorial to
>> Éric? (If his family agree.)
>>
>
> I was thinking exactly the same thing. Or if not the standard install, at
> least a reference to the tutorials somewhere prominent so users can easily
> find them. He put so much work into those, it would be a shame to lose them.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sad News...

2009-01-18 Thread Gregory Lypny
Truly sad news.  A gentleman and a valued member of this community.  I  
hope that the Revolution team will communicate to his family what is  
undoubtedly a shared sentiment.



Gregory Lypny

Associate Professor of Finance
John Molson School of Business
Concordia University
Montreal, Canada





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


Re: Printing multiple pages

2009-01-18 Thread Sarah Reichelt
Thanks Joe. I tried this but the same things happen.

Sarah


> I suspect that the value of "x" gets stuck at tPageCount after you've
> printed the first time; so I'd add the statement *put 1 into x* just prior
> to the repeat with line, making sure that x is always initialized to 1. I
> know this sounds kind of stupid, but???
>
> I hope that works.
>
> Joe Wilkins
>
> On Jan 15, 2009, at 7:15 PM, Sarah Reichelt wrote:
>
>> Hi All,
>>
>> I have a script that splits a report into multiple pages and tries to
>> print them one by one. I have a single field that displays the data,
>> then I have tried various ways to get the pages to print. I want to
>> queue all the pages and have them all print at once.
>>
>> My basic script is:
>>
>>   repeat with x = 1 to tPageCount
>>   displayPage x
>>   print this card
>>   --   revPrintField the long name of fld "Report"
>>   --  revPrintText the htmltext of fld "Report", , ,the long
>> name of fld "Report"
>>   end repeat
>>
>> As you can see, I have tried using revPrintField and revPrintText but
>> had to settle on "print this card".
>> revPrintField and revPrintText both worked the first time, but after
>> that, they only printed the last page.
>> "print this card" seems to work every time, but I have to resize the
>> stack while printing, and it seems slower.
>>
>> The displayPage script works perfectly as I put in a "wait" for
>> testing and I could see that each page was being displayed.
>>
>> The only clue I have is that the print progress dialog seems to be
>> miscounting. It's sequence for a 3 page report is:
>>  Processing page:
>>  Processing page: 1
>>  Processing page: 2
>>
>> or if only the last page is going to print:
>>  Processing page:
>>  Processing page: 1
>>  Processing page: 1
>>
>> Neither of these are completely correct, but they are different.
>>
>> So does anyone have an explanation for why revPrintField and
>> revPrintText would only print the last page?
>> Or any suggestions or work-arounds or alternatives that do not use
>> "print this card"?
>>
>> TIA,
>> Sarah
>>
>> Rev 3.5.0-dp-1 & Rev 3.0.0, Mac OS X 10.5.6
>
> --
> Please avoid sending me Word or PowerPoint attachments.
> See   
> 
> Joe Lewis Wilkins
> pepe...@cox.net
>
>
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing multiple pages

2009-01-18 Thread Sarah Reichelt
Paul, using "print card" works. It's revPrintField & revPrintText that
are not working.

Sarah



On Fri, Jan 16, 2009 at 2:11 PM, Paul Looney  wrote:
> Hi Sarah,
> It may be that "print THIS card" is still looking at the original card, even
> though it is not the top card.
> Maybe this would work better "print TOP card" or
> "set the default card to top card
> print this card"
> Best wishes,
> Paul Looney
>
> On Jan 15, 2009, at 7:15 PM, Sarah Reichelt wrote:
>
>> Hi All,
>>
>> I have a script that splits a report into multiple pages and tries to
>> print them one by one. I have a single field that displays the data,
>> then I have tried various ways to get the pages to print. I want to
>> queue all the pages and have them all print at once.
>>
>> My basic script is:
>>
>>repeat with x = 1 to tPageCount
>>displayPage x
>>print this card
>>--   revPrintField the long name of fld "Report"
>>--  revPrintText the htmltext of fld "Report", , ,the long
>> name of fld "Report"
>>end repeat
>>
>> As you can see, I have tried using revPrintField and revPrintText but
>> had to settle on "print this card".
>> revPrintField and revPrintText both worked the first time, but after
>> that, they only printed the last page.
>> "print this card" seems to work every time, but I have to resize the
>> stack while printing, and it seems slower.
>>
>> The displayPage script works perfectly as I put in a "wait" for
>> testing and I could see that each page was being displayed.
>>
>> The only clue I have is that the print progress dialog seems to be
>> miscounting. It's sequence for a 3 page report is:
>>  Processing page:
>>  Processing page: 1
>>  Processing page: 2
>>
>> or if only the last page is going to print:
>>  Processing page:
>>  Processing page: 1
>>  Processing page: 1
>>
>> Neither of these are completely correct, but they are different.
>>
>> So does anyone have an explanation for why revPrintField and
>> revPrintText would only print the last page?
>> Or any suggestions or work-arounds or alternatives that do not use
>> "print this card"?
>>
>> TIA,
>> Sarah
>>
>> Rev 3.5.0-dp-1 & Rev 3.0.0, Mac OS X 10.5.6
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing multiple pages

2009-01-18 Thread Sarah Reichelt
>> I have a script that splits a report into multiple pages and tries to
>> print them one by one. I have a single field that displays the data,
>> then I have tried various ways to get the pages to print. I want to
>> queue all the pages and have them all print at once.
>>
>> My basic script is:
>>
>>repeat with x = 1 to tPageCount
>>displayPage x
>>print this card
>>--   revPrintField the long name of fld "Report"
>>--  revPrintText the htmltext of fld "Report", , ,the long
>> name of fld "Report"
>>end repeat
>>
>> As you can see, I have tried using revPrintField and revPrintText but
>> had to settle on "print this card".
>> revPrintField and revPrintText both worked the first time, but after
>> that, they only printed the last page.
>> "print this card" seems to work every time, but I have to resize the
>> stack while printing, and it seems slower.
>
> Did you wrap the printing commands in "open printing" and "close printing"
> commands? That controls whether the job is sent to the printer all at once
> or not.

Yes, I did. Forgot to include that section of my script.


> I'm not sure why it isn't working, but the way I usually do it is to move
> the field contents to an invisible printing substack. The substack is set up
> to contain only the elements that should print; if all you want is the field
> contents, then your print stack would be a single card with a single field
> on it. Size the stack and field correctly for the paper and just save it
> into the main stack that way. This has the advantage that you can also set
> the field's text properties however you want, even if they are different
> from the original field's properties. When you want to print, move the field
> contents to the field in the print stack. Then open printing, displayPage x,
> print the card, repeat. When done, close printing.

I guess I'll have to try something like that. I was hoping to have a
sort of controller stack which gave a live preview of the printout
with all the controls available there on the same stack. Since
revPrintField & revPrintText are not working for me, I have to resize
the card in order to shrink it to the print area only, so printing
doesn't look as slick.


> This has always worked fine for me. RevPrintField is indeed supposed to
> manage pagination, so I'm not quite sure what's happening with that. Wonder
> if the script got changed lately.

Pagination is not a problem, but I want to do it myself so I can add
page numbers & titles to each page.

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


Re: La communaut? Revolution est en deui

2009-01-18 Thread Jim Lambert

A great loss to the community.
Condolences to Eric's family and friends.

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Mark Schonewille

Hi,

I don't think that the website will go down immediately, unless the  
family decides otherwise. Probably, this can be dealt with later.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 18 jan 2009, at 23:28, Judy Perry wrote:

I was thinking about mirroring his page for the same reasons.  I  
suspect
it's too soon to ask the family about this, but on the other hand  
worry

about the pages going down...
Any thoughts?

Judy
http://revined.blogspot.com


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


Re: Import from rect

2009-01-18 Thread Scott Rossi
Recently, Ken Ray wrote:

>> It must be the ability to render offscreen in the buffer that is the
>> difference here. This must be the case with the import snapshot as well.
> 
> Right... I've been playing around with this myself. Basically (if I
> understand this properly), you have the following options:
> ...
> [lots of examples ]
> ...
> Are there any others I may have missed here? I was thinking of putting up an
> image with all these different options displayed to make it easier to pick
> what to do in a given situation...

Ken, it might be worth noting (just for the sake of completeness) that, with
your examples 4 & 5 (Darkshot, Groupshot), "import snapshot from ..."
will also produce an image capture of the targeted object that includes its
transparency, but A) maintains blendLevel settings of objects if the
targeted object is a group, and B) ignores any blendLevel settings if the
targeted object is not a group (even if the object is part of a group that
has a non-zero blendLevel applied).

Is your head spinning yet?  :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Re: export snapshot only runs once

2009-01-18 Thread Shao Sean
Yes, there are two buttons (same thing, just a duplicate of the  
original full script), a field and the player

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


Re: La communaut é Revolution est en deuil

2009-01-18 Thread Scott Rossi
> Je viens d'apprendre que Éric Chatonet est décédé
> mercredi. Toutes mes
> pensées vont à son fils et sa famille.


I had the sincere pleasure of meeting Eric at EuroRevCon 06 in Malta.  As
folks who attended know, this was a difficult trip for me to make as my
flights out of the US were canceled the same day I was to leave, and I had
to decide at the airport whether to abandon the trip all together, or try to
work out alternate flights/travel myself.  Fortunately, I chose the latter
option, and eventually made my way to Malta and the conference.

It was such an enjoyable experience meeting Eric in person after having
exchanged emails for so long on the RunRev mail list.  He was a very
charismatic person, warm, passionate about his work and Revolution, and yet
at the same time, very humble, and gracious about his talents and his
contributions to the community.  We shared some of the most memorable talks
about art, differences between French and US culture, wine, and of course
programming and design.

Throughout our time in Malta, he continually spoke in English, while I could
barely muster a few token French phrases.

I will miss you, mon ami.



Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Re: Printing multiple pages

2009-01-18 Thread Sarah Reichelt
> I have a script that splits a report into multiple pages and tries to
> print them one by one. I have a single field that displays the data,
> then I have tried various ways to get the pages to print. I want to
> queue all the pages and have them all print at once.
>
> My basic script is:
>
>repeat with x = 1 to tPageCount
>displayPage x
>print this card
>--   revPrintField the long name of fld "Report"
>--  revPrintText the htmltext of fld "Report", , ,the long
> name of fld "Report"
>end repeat
>
> As you can see, I have tried using revPrintField and revPrintText but
> had to settle on "print this card".
> revPrintField and revPrintText both worked the first time, but after
> that, they only printed the last page.
> "print this card" seems to work every time, but I have to resize the
> stack while printing, and it seems slower.


OK, found my mistake. I had assumed that "open printing" would queue
up any print jobs until "close printing". However it only works for
printing cards, not for for revPrintText or revPrintField. It would be
good if it did, but since I now realise that it doesn't, I'll work out
a different method.

However I will be putting in an enhancement request to make it work
for any print queue.

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


Re: export snapshot only runs once

2009-01-18 Thread BNig

I am clueless, maybe someone has experienced this and has a lead.
regards
Bernd 

-- 
View this message in context: 
http://www.nabble.com/export-snapshot-only-runs-once-tp21532376p21534625.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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


Re: Printing multiple pages

2009-01-18 Thread Paul Looney

Sarah,
I'm glad you found your solution.
If you are interested, you might take a look at our report-maker. It  
would seem to address the needs you have described. We have a  
downloadable PDF of the operating manual for our Ahsomme Business  
System at Ahsomme.com. The manual has a chapter on the ARP  
ReportMaker. (It also shows how we handle a Bill of Materials. And a  
few other things. '-)  )

Paul Looney

On Jan 18, 2009, at 3:20 PM, Sarah Reichelt wrote:


OK, found my mistake. I had assumed that "open printing" would queue
up any print jobs until "close printing". However it only works for
printing cards, not for for revPrintText or revPrintField. It would be
good if it did, but since I now realise that it doesn't, I'll work out
a different method.

However I will be putting in an enhancement request to make it work
for any print queue.

Cheers,
Sarah

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


Re: La communauté Revolution est en deuil

2009-01-18 Thread Kay C Lan
On Mon, Jan 19, 2009 at 6:09 AM, Sarah Reichelt wrote:


> I have a suggestion for RunRev: why don't you make Éric's wonderful
> series of tutorials a part of the standard install as a memorial to
> Éric? (If his family agree.)
>
>
Like everyone else, to Eric's family, thank you so much for sharing a small
part of such a wonderful man's life. Words are not enough.

They say it's the thought that counts, but they also say action speak louder
than words. If anyone has the wherewithal to organise a paypal donation link
with the intent to send a card and flowers/wreath 'from the Rev community' I
would be honoured to donate. I've never done such a thing so I don't know if
that's a silly idea as it may take way too long to set up.

I would also happily donate to a 'save the Tutorials fund' - if all monies
raised went to Eric's family.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sad News...

2009-01-18 Thread Kay C Lan
On Mon, Jan 19, 2009 at 1:07 AM, Ken Ray  wrote:

>
> Thank you, Claus (and Ian, too) for posting pictures of Eric.


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


RE: externals

2009-01-18 Thread Randall Reetz
Maybe it is a stupid question.  Maybe the whole pount of an external is to talk 
directly to a specific platform at a level at or below the OS.  So how about my 
other question about java (or perl or flash or xml...)?  Where does one put 
this code (package in Mac OS X?) and how does one call it?  Do externals 
written in the XCMD format importable?  I might be moving a s--- load of 
supercard projects over to rev.  Lots of them call externals.

Thanks, Randall 

-Original Message-
From: "Randall Reetz" 
To: "How to use Revolution" 
Sent: 1/18/2009 1:41 PM
Subject: externals

In rev, are externals written to a reference VM so that they are only written 
once and can run on any platform?  Or, do they have to be written separately to 
each platform? Can java programs be called as externals?

Randall 

-Original Message-
From: "Mark Schonewille" 
To: "How to use Revolution" 
Sent: 1/18/2009 1:21 PM
Subject: Re: Unicode in stack title

Thanks for your answer, Richmond. I'll use the unicodeTitle.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!

On 18 jan 2009, at 21:55, Richmond Mathewson wrote:

> When I did this:
>
> on mouseUp
>  put unidecode("ХЛЯБ","Bulgarian") into TWORD
>  set the name of wd "untitled 1" to TWORD
> end mouseUp
>
> it put ïãüÅ into the name of the stack.
>
> ---
>
> this:
>
> on mouseUp
>  put unidecode("ХЛЯБ","Bulgarian") into TWORD
>  set the title of wd "untitled 1" to TWORD
> end mouseUp
>
> produced similar results.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


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


Re: externals

2009-01-18 Thread Jiro Harada

Randall,

In rev, are externals written to a reference VM so that they are  
only written once and can run on any platform?  Or, do they have to  
be written separately to each platform? Can java programs be called  
as externals?


Randall


I have written an external to launch a JVM and call the Java methods  
on Windows and Mac OS. By the external the Java methods can be called  
as external commands or functions of Rev on both platforms. The  
external also enables the Java programs to send messages to Rev's  
handlers.


The demo is downloadable at the following URL:
http://www.f-ab.net

The demo is created by Runrev 3.0. In the demo, Derby(relational  
database in written Java), HttpClient(http components written Java),  
Red5(Flash server written in Java) and Sphinx-4(speech recognizer  
written in Java) are used.


Jiro Harada

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


RE: externals

2009-01-18 Thread Randall Reetz
Well, good, thanks, i guess that provides a path to cross pltform external 
supported code.  Do java machines offer file IO and directory navigation?  How 
about reaching into file system events as they happen and generating rev 
messages?

-Original Message-
From: "Jiro Harada" 
To: "How to use Revolution" 
Sent: 1/18/2009 5:42 PM
Subject: Re: externals

Randall,

> In rev, are externals written to a reference VM so that they are  
> only written once and can run on any platform?  Or, do they have to  
> be written separately to each platform? Can java programs be called  
> as externals?
>
> Randall

I have written an external to launch a JVM and call the Java methods  
on Windows and Mac OS. By the external the Java methods can be called  
as external commands or functions of Rev on both platforms. The  
external also enables the Java programs to send messages to Rev's  
handlers.

The demo is downloadable at the following URL:
http://www.f-ab.net

The demo is created by Runrev 3.0. In the demo, Derby(relational  
database in written Java), HttpClient(http components written Java),  
Red5(Flash server written in Java) and Sphinx-4(speech recognizer  
written in Java) are used.

Jiro Harada

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


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


Re: Star in the window title

2009-01-18 Thread Generic Email

Hi, I am Bert. Sorry for the impersonality or confusion.

I will try and fix it soon. Any offense is unintended.

Bert


On Jan 18, 2009, at 5:03 PM, Sarah Reichelt wrote:


Hey Generic, how about letting us have a real name? We're a friendly
bunch, but talking to "Generic Email" doesn't feel very friendly to
me. I think you might get more helpful responses if we could feel that
we were talking to a real person.

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

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


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


preopenStack

2009-01-18 Thread Generic Email

I have a stack with a fld "test"
this code fails on startup

on preopenStack
put URL "http://screen-share.com/"; into eml
put "test" into field "test"
end preopenStack

This code succeeds on startup

on preopenStack
--put URL "http://screen-share.com/"; into eml
put "test" into field "test"
end preopenStack

Can someone explain why this is failing? It is very frustrating.

I have the example stack at http://www.screen-share.com/test-[1].rev

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


Re: Printing multiple pages

2009-01-18 Thread J. Landman Gay

Sarah Reichelt wrote:


OK, found my mistake. I had assumed that "open printing" would queue
up any print jobs until "close printing". However it only works for
printing cards, not for for revPrintText or revPrintField. It would be
good if it did, but since I now realise that it doesn't, I'll work out
a different method.


Geez, I should have remembered this when you first asked. Both of the 
Rev commands manage the whole print queue themselves, and both contain 
"open printing" and "close printing" commands. I suppose two "open 
printing" commands wouldn't hurt, but Rev's "close printing" will 
trigger before yours does. If your script is only sending one page to it 
at a time, that's all that gets printed.


I know it's more work up front, but I recommend the separate printing 
stack approach, especially since you want to implement a print preview. 
I just finished writing one of those. Having a separate stack made it 
easier because I didn't have to worry about the initial stack size; the 
printing stack was already laid out to accomodate the right paper size. 
For a print preview, I ran my printing script normally, but added a 
parameter to my printing handler that indicated whether this was going 
to a preview or a printer. If printer, the script implemented "open 
printing", etc. If preview, it put a snapshot of the loaded page into a 
variable and sent it back to the calling handler.


I then created (yet another) substack for showing print previews. This 
is the stack that actually calls the printing command in the print 
stack. This one-card preview stack had "next" and "previous" buttons and 
a few other controls. The snapshot the printing handler returned was 
loaded into an empty image object in the preview stack. The image was 
then resized according to the size of the preview window. Sometimes it 
looked fuzzy at certain sizes, but it was adequate. If it doesn't matter 
for you app, I think I'd remove the resizing ability and lock the 
preview to the size of the paper. That way snapshots wouldn't distort, 
they would always be at 100%.


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


Re: preopenStack

2009-01-18 Thread Sarah Reichelt
On Mon, Jan 19, 2009 at 12:45 PM, Generic Email
 wrote:
> I have a stack with a fld "test"
> this code fails on startup
>
> on preopenStack
>put URL "http://screen-share.com/"; into eml
>put "test" into field "test"
> end preopenStack
>
> This code succeeds on startup
>
> on preopenStack
>--put URL "http://screen-share.com/"; into eml
>put "test" into field "test"
> end preopenStack
>
> Can someone explain why this is failing? It is very frustrating.

Hi Bert,

This works for me, except that your script had no way of detecting
whether the URL command had worked, so I changed the 2nd line to:
  put eml into field "test"

However, if this is for a standalone, it may be trying to do it's
thing before the URL library has loaded, so it might be better to put
it in an openStack handler instead.

Cheers,
Sarah

P.S. And thanks for sharing your name :-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing multiple pages

2009-01-18 Thread Sarah Reichelt
>> OK, found my mistake. I had assumed that "open printing" would queue
>> up any print jobs until "close printing". However it only works for
>> printing cards, not for for revPrintText or revPrintField. It would be
>> good if it did, but since I now realise that it doesn't, I'll work out
>> a different method.
>
> Geez, I should have remembered this when you first asked. Both of the Rev
> commands manage the whole print queue themselves, and both contain "open
> printing" and "close printing" commands. I suppose two "open printing"
> commands wouldn't hurt, but Rev's "close printing" will trigger before yours
> does. If your script is only sending one page to it at a time, that's all
> that gets printed.

No, it was my fault for not including the "open printing" & "close
printing" statements in my original quoted script.

> I know it's more work up front, but I recommend the separate printing stack
> approach, especially since you want to implement a print preview. I just
> finished writing one of those. Having a separate stack made it easier
> because I didn't have to worry about the initial stack size; the printing
> stack was already laid out to accomodate the right paper size. For a print
> preview, I ran my printing script normally, but added a parameter to my
> printing handler that indicated whether this was going to a preview or a
> printer. If printer, the script implemented "open printing", etc. If
> preview, it put a snapshot of the loaded page into a variable and sent it
> back to the calling handler.

I'll consider this, but at the moment, I cam happy with using
revPrintText.Once I realised what it was doing, I set up a separate
printing field and header & footers and it's working well. I still use
my layout card to set up the print parameters and to act as a preview.

One factor that is turning me away from using a print stack is the
slowness of "print this card". In some rough tests, I found it to take
about 140 ticks per card where revPrintText & revPrintField were
taking 13 - 14 ticks. Once you have more than a couple pages to print,
this speed difference would become significant.

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


Re: Printing multiple pages

2009-01-18 Thread J. Landman Gay

Sarah Reichelt wrote:


One factor that is turning me away from using a print stack is the
slowness of "print this card". In some rough tests, I found it to take
about 140 ticks per card where revPrintText & revPrintField were
taking 13 - 14 ticks. Once you have more than a couple pages to print,
this speed difference would become significant.


That's interesting, I never thought to time it. I'm not sure it's 
printing a card that is the slowdown though, since both the rev commands 
create a temporary stack with field objects and use that to "print card" 
sequentially until the field content is exhausted. Then they delete the 
temp stack when done. Printing a card is the only way to do printing 
when you come right down to it. Maybe your test stack had a lot of other 
objects on it? Or something else that would have to render? It's all I 
can think of.


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


Re: preopenStack

2009-01-18 Thread J. Landman Gay

Generic Email wrote:

I have a stack with a fld "test"
this code fails on startup

on preopenStack
put URL "http://screen-share.com/"; into eml
put "test" into field "test"
end preopenStack

This code succeeds on startup

on preopenStack
--put URL "http://screen-share.com/"; into eml
put "test" into field "test"
end preopenStack

Can someone explain why this is failing? It is very frustrating.


The variable "eml" is probably getting content (assuming the server 
returned something,) but it doesn't look like you've declared it a 
global or script variable, so the variable and its content are discarded 
at the end of the handler. If you want to use that value elsewhere, you 
have to save it between handlers. If your handlers are all in the same 
script, making "eml" a script variable will do it. You can also make it 
a global variable, but that's generally discouraged unless it's really 
necessary.


To create a script variable -- which means the value will be accessible 
by any handler contained in that script -- you just declare it at the 
top of the script before any handlers, like so:


local eml

on preopenstack
 put URL "http://screen-share.com/"; into eml
end preopenstack

Now any other handler in that script can refer to "eml" and use its content.

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


Re: Richmond's Website.

2009-01-18 Thread Ken Ray



On 1/13/09 7:36 AM, "Andre Garzia"  wrote:

> Cool setup Richmond!
> 
> I like the interfaces and the colored keyboard! :D

Me too, but I'm not too thrilled with the Netflix popup windows I received
when I got there... maybe it's just me...


Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/


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


Re: externals

2009-01-18 Thread Jiro Harada

Randall,

Java provides a lot of methods for File IO, which are abstracted and  
platform-dependent. My external enables them to be used from within Rev.


Java Swing offers a platform-independent file or directory chooser  
dialog. However I have never tested it by using my external. I will  
test it and inform you of the result later. I don't think my external  
can open dialogs created in Java.


Jiro Harada



On 2009/01/19, at 11:21, Randall Reetz wrote:

Well, good, thanks, i guess that provides a path to cross pltform  
external supported code.  Do java machines offer file IO and  
directory navigation?  How about reaching into file system events  
as they happen and generating rev messages?


-Original Message-
From: "Jiro Harada" 
To: "How to use Revolution" 
Sent: 1/18/2009 5:42 PM
Subject: Re: externals

Randall,


In rev, are externals written to a reference VM so that they are
only written once and can run on any platform?  Or, do they have to
be written separately to each platform? Can java programs be called
as externals?

Randall


I have written an external to launch a JVM and call the Java methods
on Windows and Mac OS. By the external the Java methods can be called
as external commands or functions of Rev on both platforms. The
external also enables the Java programs to send messages to Rev's
handlers.

The demo is downloadable at the following URL:
http://www.f-ab.net

The demo is created by Runrev 3.0. In the demo, Derby(relational
database in written Java), HttpClient(http components written Java),
Red5(Flash server written in Java) and Sphinx-4(speech recognizer
written in Java) are used.

Jiro Harada


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


Re: Import from rect

2009-01-18 Thread Thomas McGrath III
Ken, This looks right. The only other gotcha here is that "the  
rect(the rect of gr 1)" is in global coordinates and "the rect(the  
rect of gr 1) of card 1" is in local coordinates.



I for one would like to see this laid out as examples on a card.

Thanks,

Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html

On Jan 18, 2009, at 4:00 PM, Ken Ray wrote:




Actually at first I thought this was a bug, but it makes a bit of
sense. The rect and I guess grouping the objects will force a visible
or visual snapshot of where the object physically resides including
objects beneath that show through the alpha mask but using the actual
object must allow the engine to reference the object itself
programatically so it is not 'seeing' the alpha or better yet it is
not seeing through the alpha to the objects underneath.

As Richard said " "export snapshot" which allows you to specify the
object rather than merely its rect:" "This will cause the object
specified to be rendered into an offscreen buffer directly, then that
buffer is compressed into the specified format for writing to disk."

It must be the ability to render offscreen in the buffer that is the
difference here. This must be the case with the import snapshot as  
well.


Right... I've been playing around with this myself. Basically (if I
understand this properly), you have the following options:

(NOTE:  I'm using a red filled square graphic ("grc 1") in the upper- 
left

corner of my card that is at a 70% blend, overlapped by a black filled
rectangle graphic)

1) SCREENSHOT:
  - Gets an image of the region of an object
  - Image includes overlapping objects on the card and
   overlapping windows from Rev or any other program
  - Dumps the image at the center of the current card ("import"),
   or you can pick a destination ("export")

   import snapshot from rect (the rect of grc 1)
   export snapshot from rect (the rect of grc 1) to img 1 as PNG

2) CARDSHOT:
  - Gets an image of the region of an object
  - Image includes overlapping objects on the card only
   (overlapping windows from Rev or any other program
   are ignored)
  - Dumps the image at the center of the current card ("import"),
   or you can pick a destination ("export")

  import snapshot from rect (the rect of grc 1) of this card
  export snapshot from rect (the rect of grc 1) of this card \
  to img 1 as PNG

3) OBJECTSHOT:
  - Gets an image of the object itself
  - Blends or inks are ignored
  - Destination can be a file, variable, or image object

  export snapshot from grc 1 to img 1 as PNG


-- If you place the blended graphic into a group, you can also get:

4) DARKSHOT:
  - Gets an image of the group object and its contents
  - Blends or inks for all objects are ignored
  - Destination can be a file, variable, or image object
  - Fills the transparent areas of the group object with black
   with the group's objects overlaid on top of it; the
   black extends out to the margins of the group

 export snapshot from group 1 to img 1 as JPEG

5) GROUPSHOT:
  - Gets an image of the group object and its contents
  - Property displays blends or inks
  - Destination can be a file, variable, or image object
  - The transparent areas of the group object remain
   transparent, out to the margins of the group

 export snapshot from group 1 to img 1 as PNG

Are there any others I may have missed here? I was thinking of  
putting up an
image with all these different options displayed to make it easier  
to pick

what to do in a given situation...

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/


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

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


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


RE: externals

2009-01-18 Thread Randall Reetz
Thank you Jiro,

What of rev's own file IO functions and commands?  Wht about listing 
directories at a path or spidering down file trees?  Do they do the right and 
same thing on every platform?  My other question is deeper and has to do with 
listening in to OS level system wide file IO events.. And somhow triggering the 
passing of matching messages to rev. stacks.  Any ideas?

-Original Message-
From: "Jiro Harada" 
To: "How to use Revolution" 
Sent: 1/18/2009 9:30 PM
Subject: Re: externals

Randall,

Java provides a lot of methods for File IO, which are abstracted and  
platform-dependent. My external enables them to be used from within Rev.

Java Swing offers a platform-independent file or directory chooser  
dialog. However I have never tested it by using my external. I will  
test it and inform you of the result later. I don't think my external  
can open dialogs created in Java.

Jiro Harada



On 2009/01/19, at 11:21, Randall Reetz wrote:

> Well, good, thanks, i guess that provides a path to cross pltform  
> external supported code.  Do java machines offer file IO and  
> directory navigation?  How about reaching into file system events  
> as they happen and generating rev messages?
>
> -Original Message-
> From: "Jiro Harada" 
> To: "How to use Revolution" 
> Sent: 1/18/2009 5:42 PM
> Subject: Re: externals
>
> Randall,
>
>> In rev, are externals written to a reference VM so that they are
>> only written once and can run on any platform?  Or, do they have to
>> be written separately to each platform? Can java programs be called
>> as externals?
>>
>> Randall
>
> I have written an external to launch a JVM and call the Java methods
> on Windows and Mac OS. By the external the Java methods can be called
> as external commands or functions of Rev on both platforms. The
> external also enables the Java programs to send messages to Rev's
> handlers.
>
> The demo is downloadable at the following URL:
> http://www.f-ab.net
>
> The demo is created by Runrev 3.0. In the demo, Derby(relational
> database in written Java), HttpClient(http components written Java),
> Red5(Flash server written in Java) and Sphinx-4(speech recognizer
> written in Java) are used.
>
> Jiro Harada
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: La communaut é Revolution est en deuil

2009-01-18 Thread Mark Wieder
I'm reeling. Having just come back from the memorial for another
friend, I find this. I keep waiting for someone to post a message
saying this has all been a mistake.

Like Scott, I mulled over whether I should try to go to the conference
in Malta, and one of the deciding factors for me was the chance to
meet Eric face to face, after having exchanged emails and carried on
conversations on this list for years. I can't add too much to Scott's
description of Eric, but I found him to be charming and animated and
brilliant with a wonderful joie de vivre.

Eric and I were collaborating on a series of articles on xtalk
programming practices. Eric and I thought quite a bit alike about
things technical, but fortunately different enough that I could always
count on learning something new from him. Late last year we were
talking about sorting a list of variables, and I bemoaned the fact
that I couldn't create a function that would group them thematically
rather than alphabetically. Eric immediately fired back an absolutely
brilliant function that did exactly what I wanted.

Unfortunately, our last email correspondence was a rather banal
exchange of new year's greetings, and then I got involved in MacWorld
and planning the memorial, thinking there's always more time.

Eric, I will miss sharing a bottle of wine with you. I will even miss
those damn cigarettes of yours. I will miss our electronic banter and
your dry jokes and your correcting my errors. I will miss the wealth
of your expertise and your generosity in sharing it.

Farewell, my friend.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Richmond's Website.

2009-01-18 Thread Richmond Mathewson
Netflix popups ???

I don't know about this: this is a 'Free' website, supposedly supported 
by minimal advertising.

As I have pop-ups disabled in Safari and Firefoz, and only ever look at 
my website via Mac or Ubuntu I was completely unaware of their presence.

Sorry!

However; it is probably a good idea to have pop-ups disabled (and
not just to look at my website) as they are a real pain in the bum.

sincerely, Richmond Mathewson.



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




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


Re: externals

2009-01-18 Thread Jiro Harada

Randall,

What of rev's own file IO functions and commands?  Wht about  
listing directories at a path or spidering down file trees?


Java offers the functionalities more than Rev. For more information,  
see the following web page:

http://java.sun.com/j2se/1.5.0/docs/api/index.html
(Click "java.io" in the upper-left frame and then click "File" in the  
lower-left frame.)



Do they do the right and same thing on every platform?


I have never encountered problems about File IO on Windows and Mac OS.

My other question is deeper and has to do with listening in to OS  
level system wide file IO events.


What dose "OS level system wide file IO event" mean concretely?

Jiro Harada


On 2009/01/19, at 14:53, Randall Reetz wrote:


Thank you Jiro,

What of rev's own file IO functions and commands?  Wht about  
listing directories at a path or spidering down file trees?  Do  
they do the right and same thing on every platform?  My other  
question is deeper and has to do with listening in to OS level  
system wide file IO events.. And somhow triggering the passing of  
matching messages to rev. stacks.  Any ideas?


-Original Message-
From: "Jiro Harada" 
To: "How to use Revolution" 
Sent: 1/18/2009 9:30 PM
Subject: Re: externals

Randall,

Java provides a lot of methods for File IO, which are abstracted and
platform-dependent. My external enables them to be used from within  
Rev.


Java Swing offers a platform-independent file or directory chooser
dialog. However I have never tested it by using my external. I will
test it and inform you of the result later. I don't think my external
can open dialogs created in Java.

Jiro Harada



On 2009/01/19, at 11:21, Randall Reetz wrote:


Well, good, thanks, i guess that provides a path to cross pltform
external supported code.  Do java machines offer file IO and
directory navigation?  How about reaching into file system events
as they happen and generating rev messages?

-Original Message-
From: "Jiro Harada" 
To: "How to use Revolution" 
Sent: 1/18/2009 5:42 PM
Subject: Re: externals

Randall,


In rev, are externals written to a reference VM so that they are
only written once and can run on any platform?  Or, do they have to
be written separately to each platform? Can java programs be called
as externals?

Randall


I have written an external to launch a JVM and call the Java methods
on Windows and Mac OS. By the external the Java methods can be called
as external commands or functions of Rev on both platforms. The
external also enables the Java programs to send messages to Rev's
handlers.

The demo is downloadable at the following URL:
http://www.f-ab.net

The demo is created by Runrev 3.0. In the demo, Derby(relational
database in written Java), HttpClient(http components written Java),
Red5(Flash server written in Java) and Sphinx-4(speech recognizer
written in Java) are used.

Jiro Harada


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


Re: externals

2009-01-18 Thread Randall Lee Reetz


On Jan 18, 2009, at 10:53 PM, Jiro Harada wrote:


What dose "OS level system wide file IO event" mean concretely?


Example... user saves a file... at the moment it is saved... I want  
notification of this file IO event sent as a message to a rev stack.


Other system level events I would like to subscribe to:

1. file/folder/alias creation, open, edit, delete, save as, etc.
2. application launch, sleep, quit, mimimize, etc.
3. computer launch, shut down, etc.
4. key board strokes (words, and combos.)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: externals

2009-01-18 Thread Jiro Harada

Randall,

Thanks for your kind explanation.
I think that such events are not caught in Java except no.4.

Jiro Harada


On 2009/01/19, at 16:05, Randall Lee Reetz wrote:



On Jan 18, 2009, at 10:53 PM, Jiro Harada wrote:


What dose "OS level system wide file IO event" mean concretely?


Example... user saves a file... at the moment it is saved... I want  
notification of this file IO event sent as a message to a rev stack.


Other system level events I would like to subscribe to:

1. file/folder/alias creation, open, edit, delete, save as, etc.
2. application launch, sleep, quit, mimimize, etc.
3. computer launch, shut down, etc.
4. key board strokes (words, and combos.)


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


RE: externals

2009-01-18 Thread Randall Reetz
Add to this...

File and folder rename and move events.  File system and Browser navigation, 
and search terms used.

Again, i want OS events to trigger messages sent to stacks or a master stack in 
real time... as they happen.

Ideally, the user could set up preferences atom subscribe to some events and 
ignore others.

randall


-Original Message-
From: "Randall Lee Reetz" 
To: "How to use Revolution" 
Sent: 1/18/2009 11:05 PM
Subject: Re: externals


On Jan 18, 2009, at 10:53 PM, Jiro Harada wrote:

> What dose "OS level system wide file IO event" mean concretely?

Example... user saves a file... at the moment it is saved... I want  
notification of this file IO event sent as a message to a rev stack.

Other system level events I would like to subscribe to:

1. file/folder/alias creation, open, edit, delete, save as, etc.
2. application launch, sleep, quit, mimimize, etc.
3. computer launch, shut down, etc.
4. key board strokes (words, and combos.)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: externals

2009-01-18 Thread Jiro Harada

Randall,

In pure Java programs, these events cannot be caught.

Jiro Harada


On 2009/01/19, at 16:21, Randall Reetz wrote:


Add to this...

File and folder rename and move events.  File system and Browser  
navigation, and search terms used.


Again, i want OS events to trigger messages sent to stacks or a  
master stack in real time... as they happen.


Ideally, the user could set up preferences atom subscribe to some  
events and ignore others.


randall


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