Re: Scripting what should be a simple loop...

2010-07-10 Thread Kay C Lan
On Sat, Jul 10, 2010 at 11:37 AM, David C. davidoco...@gmail.com wrote:


 Column1--corresponds to-Field1--corresponds to---tVar1-- is used by.
 etc


Of course there's no reason you couldn't

col1 - original data
fCol1 - field
lfCol1 - label field
bCol1 - button
tCol1 - temp var
lCol1 - script local var
gCol1 - global var
cCol1 - custom prop

makes the dynamic movement of data from one object to another very easy -
especially when using arrays - and mantains a solid association of where the
data came from. Reduces the chance of naming conflicts.

HTH
___
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: Scripting what should be a simple loop...

2010-07-10 Thread Richmond

On 07/10/2010 02:23 AM, David C. wrote:

Good grief! Will someone be so kind as to show me the proper way to
format my script...
   


'the proper way . . . Um; that is  slightly funny as, unlike
Fortran IV (what a pain it was) there is no strict set of
rules as to how to format a script.

This is both RunRev's strength and its weakness; insofar
as there are multiple solutions to almost everything.


Let's say I have the following

1 group named AllFields containing:
10 text fields, named Field1...Field10
10 temporary variables named tVar1...tVar10

All I want to do, using a loop, is to put the user supplied data
contained in each field into the corresponding, like-named variable. I
thought I could do something easy like this
   


All I want is a room with a view . . .  (mind you, from what I know of 
lunatic asylums,

not many of them have cells with nice views).

Let's see:

1. Ugh: 'repeat for i = 1 to 10' throws a bluey.

Oh, bu**er, I had forgotten that the Linux version of RunRev 4.0 has a 
serious SLOWNESS problem
with the Dictionary; half a mo; turning on the Mac - boy, do I miss Bill 
Marriott.


Well, talk about bloody silly; here I am progging with RunRev on the 
Linux box while consulting

the RunRev dictionary on the Mac . . .  :)

Ahah:

2. repeat WITH . . . .

THAT could make all the difference: I'm off back to my padded cell.


repeat for i = 1 to 10
  put fld Field  i of grp AllFields into tVar  i
end repeat

I know that I've done this before, but so far I've yet to find the
right format that will not cause an error when compiling the script
-and- would greatly appreciate it if some kind soul would rescue me
from this madness.

   


Well; if it gives you any comfort at all (which it won't), yesterday I had
a battle as the script editor kept telling me a rather long and winding
script (about 500 lines) was alright everytime I compiled it.

However, when I tried to run the script it threw a bluey and opened
the script editor in that rather unhelpful way where it marks the problem
but doesn't allow you to edit it.

Just to make you feel even cosier; I find your script extremely difficult
to understand; not because there is anything at all intrinsically wrong
with it, but because my scripting method / style is totally different.

This is what I meant up the top there: RunRev can be used by lots of 
folk, all with highly
individualised scripting styles - thus allowing great flexibility and 
folk who are not
naturally computery to get up and running remarkably quickly. What is 
also means is that
when it comes time for somebody to edit the scripts of the RunRev genius 
who went
bonkers and is now locked up in a secure unit, they cannot get anywhere 
at all; or, prior to
worrying about the algorhythmic aspects of the code they have to spend 
an awful long time

working out how the genius's mind worked vis-a-vis programming.

FWIW, I recently had another fifty-something birthday, so I'm blaming it
all on an increasing case of dementia. As in:

Dementia (meaning deprived of mind) is a serious loss of cognitive
ability in a previously unimpaired person, beyond what might be
expected from normal ...
   


Well; speaking as a relative baby (48 last February) I ca cheerfully say:

1. My short term memory is already half-rotted.

2. I cannot tell you much about what is termed long-term memory as I 
don't seem to have one
beyond a series of oft-repeated anecdotes which drive my teenage 
sons up the wall.


3. Having suffered from an element of creative insanity all my life a 
bit of loss of

cognitive ability might not necessarily be all bad . . .  :)

So long and thanks for all the fish.
___
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: Scripting what should be a simple loop...

2010-07-10 Thread Mark Schonewille

David and Mark,

Yet, repeat for each rules. Whether using arrays is faster than using  
regular variables depends on whether your repeat loop is written  
smartly.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 10 jul 2010, at 06:33, Mark Wieder wrote:




Well, it's not regular variables that are the issue here. An array is
*MUCH* faster than a do statement. Do statements are very slow, and
I only use them sparingly and when there's no alternative. But when
you gotta, you gotta.

--
-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


Re: [OT] G4 goes West

2010-07-10 Thread Richmond

On 07/10/2010 05:10 AM, Kay C Lan wrote:

On Fri, Jul 9, 2010 at 11:43 PM, Jeff Reynoldsj...@siphonophore.comwrote:

   

you might want to think about grabbing a little temperature probe.

 

This might be an easier option:

http://www.bresink.de/osx/0TemperatureMonitor/issues.html
   


I have been using this for about 3-4 years; that is how I realised that 
things were 'cooking'.


Certainly on the G4 MDD is gives readings for the Hard Drives and the 
CPU; which is quite
enough to set you worrying without any other probes, readings or 
what-have-you.



note the hardware support for older models is trial and error.

Not for the G4, but I also recommend this for any modern Mac portable owner,
including the Mac Mini:

http://www.eidac.de/?p=134

Just prior to rendering video I start this up and have it set to 4000 rpm,
which gives the fan a head start on the inevitable heat rise.

Both are free :-)
___
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: Scripting what should be a simple loop...

2010-07-10 Thread René Micout
Hello Bob, Sarah, Mark, Alex, Scott, Kay,
Very good lesson !!!
Yes ! Better than documentation !
It is a good example for witch I appreciate How to use Revolution
I imagine that many silent readers appreciate like me and I thank you on their 
behalf...

PS : pity not have English lessons like that  :-(

Le 10 juil. 2010 à 06:33, Mark Wieder a écrit :

 Well, it's not regular variables that are the issue here. An array is
 *MUCH* faster than a do statement. Do statements are very slow, and
 I only use them sparingly and when there's no alternative. But when
 you gotta, you gotta.

 After a post last weeks I replace all do statements with other solutions in 
scripts of Exagofon, one my actual project, 2 working days :-( ... but all is 
better  :-)

Bon souvenir de Paris
René___
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: (DataGrid) is there a message when the user has edited a cell ?

2010-07-10 Thread Andre.Bisseret

Bonjour TheSlug,

Great help and learning for me!

I just played with your demo stack! Magnifique ;-))

Thank you very much for your time and for sharing your high knowledge  
about data grid! very much appreciated.

Seems you are the best as for Data Grid (after Trevor ;-O)))

I am a bit pigheaded so I tried your solution 1 in a data grid without  
template stack (in a new stack, a copy of group DataGrid of group  
Templates of stack revDataGridLibrary).
I put the 3 handlers: getprop uSumOfColumn[pColumn], on doSum and  
on CloseFieldEditor pFieldEditor into the script of the data grid.


And all is working nicely :-)
So, seems I still can keep my current data grids in the app. I am  
making.


Thanks again and have a nice week-end

André


Le 9 juil. 10 à 21:29, zryip theSlug a écrit :

You forget nothing André, but I have forget something in my previous  
script!

;)
In fact the new value edited in a cell will be updated in the data  
of the

column after the execution of the closeFieldEditor.
So when we execute the sum, the uSumOfColumn will take the old value  
of the

cell, not the update value.

AH! OK

For doing the task I propose two solutions :
1) Doing the sum outside the closeFieldEditor
In the script of the DataGrid, add this handler

on doSum
set the text of fld fldTotSum1_1 to the uSumOfColumn[Sum
1] of the dgControl of me
set the text of fld fldTotSum2_1 to the uSumOfColumn[Sum
2] of the dgControl of me
end doSum

In the behavior of the two columns update the closeFieldEditor like  
this:


on CloseFieldEditor pFieldEditor
 send doSum to the dgControl of me in 0 secs
end CloseFieldEditor

Note we have to send the doSum event with a delay to execute the  
sum in

time ;).

2) For doing the sum inside the CloseFieldEditor we have to store  
the value

of the column in the data of the column ourself.

For doing that, update the closeFieldEditor like this:

on CloseFieldEditor pFieldEditor
## This part of the script store the new value of the cell in the data
put the dgIndex of me into theIndex
put the dgDataOfIndex[theIndex] of the dgControl of me into  
theDataA

put the text of pFieldEditor into theDataA[the dgColumn of me]
set the dgDataOfIndex[theIndex] of the dgControl of me to theDataA
## This part of the script update the sums
set the text of fld fldTotSum1_2 to the uSumOfColumn[Sum
1] of the dgControl of me
set the text of fld fldTotSum2_2 to the uSumOfColumn[Sum
2] of the dgControl of me
end CloseFieldEditor

To answer a question I missed from you, the pFieldEditor contains a
reference to the cell in edition in the grid. Its like a field if you
prefer, and you can read the current value in it. It could be only a  
cell in

edition in a Grid.


To simplify the experiment, I create a small demo stack. Be free to  
play

with it and use the scripts for your own needs ;)
You can download the sum stack by following this link:

exp 012_sum_in_dg.rev.ziphttp://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=5:experiment-012-doing-sum-in-a-data-gridid=1:developers-tricksItemid=63 




Regards,

--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Scripting what should be a simple loop...

2010-07-10 Thread Richmond

On 07/10/2010 11:49 AM, Mark Schonewille wrote:

David and Mark,

Yet, repeat for each rules. Whether using arrays is faster than using 
regular variables depends on whether your repeat loop is written smartly.




Quite; but that looks a bit like circular logic.

Everytime I have to write some sort of loop I get out the plastic cups 
and the beads
and play with them on the floor (preferably with a cup of coffee and 
some music)

until I find what I would term the most economical way of doing things.

So; prior to writing anything smartly one has to work out the 
'smartist' logic;
if you are incredibly good at abstractions you can do that mentally; if 
not you

can do it with a pencil and paper, or with cups and beads - whatever works
for you. LEGO is also quite effective.

Then; having worked out one's model; one has to represent it in code.

If one's model has already been worked out (squares and arrows on paper,
cups and beads on the floor, circles and lines on a blackboard) visually it
is, generally, easier to track where things go wrong with one's code by
comparing it with one's physical model.
___
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: Scripting what should be a simple loop...

2010-07-10 Thread René Micout
I like Richmond's disillusioned vision of life !
;-)
René

Le 10 juil. 2010 à 10:45, Richmond a écrit :

 On 07/10/2010 02:23 AM, David C. wrote:
 Good grief! Will someone be so kind as to show me the proper way to
 format my script...
   
 
 'the proper way . . . Um; that is  slightly funny as, unlike
 Fortran IV (what a pain it was) there is no strict set of
 rules as to how to format a script.
 
 This is both RunRev's strength and its weakness; insofar
 as there are multiple solutions to almost everything.
 
 Let's say I have the following
 
 1 group named AllFields containing:
 10 text fields, named Field1...Field10
 10 temporary variables named tVar1...tVar10
 
 All I want to do, using a loop, is to put the user supplied data
 contained in each field into the corresponding, like-named variable. I
 thought I could do something easy like this
   
 
 All I want is a room with a view . . .  (mind you, from what I know of 
 lunatic asylums,
 not many of them have cells with nice views).
 
 Let's see:
 
 1. Ugh: 'repeat for i = 1 to 10' throws a bluey.
 
 Oh, bu**er, I had forgotten that the Linux version of RunRev 4.0 has a 
 serious SLOWNESS problem
 with the Dictionary; half a mo; turning on the Mac - boy, do I miss Bill 
 Marriott.
 
 Well, talk about bloody silly; here I am progging with RunRev on the Linux 
 box while consulting
 the RunRev dictionary on the Mac . . .  :)
 
 Ahah:
 
 2. repeat WITH . . . .
 
 THAT could make all the difference: I'm off back to my padded cell.
 
 repeat for i = 1 to 10
  put fld Field  i of grp AllFields into tVar  i
 end repeat
 
 I know that I've done this before, but so far I've yet to find the
 right format that will not cause an error when compiling the script
 -and- would greatly appreciate it if some kind soul would rescue me
 from this madness.
 
   
 
 Well; if it gives you any comfort at all (which it won't), yesterday I had
 a battle as the script editor kept telling me a rather long and winding
 script (about 500 lines) was alright everytime I compiled it.
 
 However, when I tried to run the script it threw a bluey and opened
 the script editor in that rather unhelpful way where it marks the problem
 but doesn't allow you to edit it.
 
 Just to make you feel even cosier; I find your script extremely difficult
 to understand; not because there is anything at all intrinsically wrong
 with it, but because my scripting method / style is totally different.
 
 This is what I meant up the top there: RunRev can be used by lots of folk, 
 all with highly
 individualised scripting styles - thus allowing great flexibility and folk 
 who are not
 naturally computery to get up and running remarkably quickly. What is also 
 means is that
 when it comes time for somebody to edit the scripts of the RunRev genius who 
 went
 bonkers and is now locked up in a secure unit, they cannot get anywhere at 
 all; or, prior to
 worrying about the algorhythmic aspects of the code they have to spend an 
 awful long time
 working out how the genius's mind worked vis-a-vis programming.
 FWIW, I recently had another fifty-something birthday, so I'm blaming it
 all on an increasing case of dementia. As in:
 
 Dementia (meaning deprived of mind) is a serious loss of cognitive
 ability in a previously unimpaired person, beyond what might be
 expected from normal ...
   
 
 Well; speaking as a relative baby (48 last February) I ca cheerfully say:
 
 1. My short term memory is already half-rotted.
 
 2. I cannot tell you much about what is termed long-term memory as I don't 
 seem to have one
beyond a series of oft-repeated anecdotes which drive my teenage sons up 
 the wall.
 
 3. Having suffered from an element of creative insanity all my life a bit of 
 loss of
cognitive ability might not necessarily be all bad . . .  :)
 
 So long and thanks for all the fish.
 ___
 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: (DataGrid) is there a message when the user has edited a cell ?

2010-07-10 Thread zryip theSlug
2010/7/10 Andre.Bisseret andre.bisse...@inria.fr

 Bonjour TheSlug,


Bonjour André ;)



 Great help and learning for me!

 I just played with your demo stack! Magnifique ;-))

 Thank you very much for your time and for sharing your high knowledge about
 data grid! very much appreciated.


You're welcome, my pleasure 8-)


 Seems you are the best as for Data Grid (after Trevor ;-O)))


Hum, a too red slug will be an easiest target for shovels, so I can't accept
the compliment. But thank you ;)
Trevor is definitively the man here. Preferable to say that I have read a
lot of his lessons and I have now a good understanding how Data Grid working
;)



 I am a bit pigheaded so I tried your solution 1 in a data grid without
 template stack (in a new stack, a copy of group DataGrid of group
 Templates of stack revDataGridLibrary).
 I put the 3 handlers: getprop uSumOfColumn[pColumn], on doSum and on
 CloseFieldEditor pFieldEditor into the script of the data grid.

 And all is working nicely :-)
 So, seems I still can keep my current data grids in the app. I am making.


Great!



 Thanks again and have a nice week-end


Have a nice week-end too! 8-)



 André


 Le 9 juil. 10 à 21:29, zryip theSlug a écrit :


  You forget nothing André, but I have forget something in my previous
 script!
 ;)
 In fact the new value edited in a cell will be updated in the data of the
 column after the execution of the closeFieldEditor.
 So when we execute the sum, the uSumOfColumn will take the old value of
 the
 cell, not the update value.

 AH! OK

 For doing the task I propose two solutions :
 1) Doing the sum outside the closeFieldEditor
 In the script of the DataGrid, add this handler

 on doSum
 set the text of fld fldTotSum1_1 to the uSumOfColumn[Sum
 1] of the dgControl of me
 set the text of fld fldTotSum2_1 to the uSumOfColumn[Sum
 2] of the dgControl of me
 end doSum

 In the behavior of the two columns update the closeFieldEditor like this:

 on CloseFieldEditor pFieldEditor
  send doSum to the dgControl of me in 0 secs
 end CloseFieldEditor

 Note we have to send the doSum event with a delay to execute the sum in
 time ;).

 2) For doing the sum inside the CloseFieldEditor we have to store the
 value
 of the column in the data of the column ourself.

 For doing that, update the closeFieldEditor like this:

 on CloseFieldEditor pFieldEditor
 ## This part of the script store the new value of the cell in the data
put the dgIndex of me into theIndex
put the dgDataOfIndex[theIndex] of the dgControl of me into theDataA
put the text of pFieldEditor into theDataA[the dgColumn of me]
set the dgDataOfIndex[theIndex] of the dgControl of me to theDataA
 ## This part of the script update the sums
set the text of fld fldTotSum1_2 to the uSumOfColumn[Sum
 1] of the dgControl of me
set the text of fld fldTotSum2_2 to the uSumOfColumn[Sum
 2] of the dgControl of me
 end CloseFieldEditor

 To answer a question I missed from you, the pFieldEditor contains a
 reference to the cell in edition in the grid. Its like a field if you
 prefer, and you can read the current value in it. It could be only a cell
 in
 edition in a Grid.


 To simplify the experiment, I create a small demo stack. Be free to play
 with it and use the scripts for your own needs ;)
 You can download the sum stack by following this link:

 exp 012_sum_in_dg.rev.zip
 http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categorydownload=5:experiment-012-doing-sum-in-a-data-gridid=1:developers-tricksItemid=63
 




-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Scripting what should be a simple loop...

2010-07-10 Thread zryip theSlug
Richmond, I'm not sure to appreciated your humor.

However, with less talent and other circumstances, I had probably write
something similar somewhere in the net, so I forgive you for this time.

2010/7/10 Richmond richmondmathew...@gmail.com

 On 07/10/2010 11:49 AM, Mark Schonewille wrote:

 David and Mark,

 Yet, repeat for each rules. Whether using arrays is faster than using
 regular variables depends on whether your repeat loop is written smartly.


 Quite; but that looks a bit like circular logic.

 Everytime I have to write some sort of loop I get out the plastic cups and
 the beads
 and play with them on the floor (preferably with a cup of coffee and some
 music)
 until I find what I would term the most economical way of doing things.

 So; prior to writing anything smartly one has to work out the 'smartist'
 logic;
 if you are incredibly good at abstractions you can do that mentally; if not
 you
 can do it with a pencil and paper, or with cups and beads - whatever works
 for you. LEGO is also quite effective.

 Then; having worked out one's model; one has to represent it in code.

 If one's model has already been worked out (squares and arrows on paper,
 cups and beads on the floor, circles and lines on a blackboard) visually it
 is, generally, easier to track where things go wrong with one's code by
 comparing it with one's physical model.

 ___
 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




-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Scripting what should be a simple loop...

2010-07-10 Thread David C.
 Column1--corresponds to-Field1--corresponds to---tVar1-- is used by.
 etc


 Of course there's no reason you couldn't

 col1 - original data
 fCol1 - field
 lfCol1 - label field
 bCol1 - button
 tCol1 - temp var
 lCol1 - script local var
 gCol1 - global var
 cCol1 - custom prop

 makes the dynamic movement of data from one object to another very easy -
 especially when using arrays - and mantains a solid association of where the
 data came from. Reduces the chance of naming conflicts.

Thank you Kay, that is very helpful.

I've read Richard and Ken's scripting guide at least twice and
understand the benefits of using a consistent naming convention, but
failed largely at implementing it for this project. You've provided a
very nice visual reminder of just how much easier it can be. Much
appreciated.

The what if thought for this project originated some 4-5 years ago,
and I've spent plenty of time and frustration trying to build it using
three or four lower level languages along the way, and it is by far
the most complex project I've attempted to date. Sadly enough, I had a
Rev Studio license at the time, but didn't get serious about using it
for this project up until recently. :(

Even having planned much of it out on paper, using circles, arrows and
glossy photos (Woody Guthrie reference), I actually avoided getting
started working in earnest due to the complexity factor. For whatever
reason, one morning out of the blue I just sat down and began to get
after it. Unfortunately, somewhere in the midst of the complexity, all
of the forethought and planning gave way to a shooting from the hip
style of coding.  Thanks for the reminder.

Best regards,
David C.
___
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: Scripting what should be a simple loop...

2010-07-10 Thread Richmond

On 07/10/2010 12:52 PM, zryip theSlug wrote:

Richmond, I'm not sure to appreciated your humor.

However, with less talent and other circumstances, I had probably write
something similar somewhere in the net, so I forgive you for this time.

2010/7/10 Richmondrichmondmathew...@gmail.com

   

On 07/10/2010 11:49 AM, Mark Schonewille wrote:

 

David and Mark,

Yet, repeat for each rules. Whether using arrays is faster than using
regular variables depends on whether your repeat loop is written smartly.


   

Quite; but that looks a bit like circular logic.

Everytime I have to write some sort of loop I get out the plastic cups and
the beads
and play with them on the floor (preferably with a cup of coffee and some
music)
until I find what I would term the most economical way of doing things.

So; prior to writing anything smartly one has to work out the 'smartist'
logic;
if you are incredibly good at abstractions you can do that mentally; if not
you
can do it with a pencil and paper, or with cups and beads - whatever works
for you. LEGO is also quite effective.

Then; having worked out one's model; one has to represent it in code.

If one's model has already been worked out (squares and arrows on paper,
cups and beads on the floor, circles and lines on a blackboard) visually it
is, generally, easier to track where things go wrong with one's code by
comparing it with one's physical model.

___
 


That may appear a joke to you!

HOWEVER: I do often play around with beads and cups on the floor; it really
does help me with conceptualising what I am trying to do on a computer.

About 35 years ago, a brilliant Maths master at my school taught us 
MINIFORTRAN
without benefit of a computer (our punch cards were sent to Imperial 
College in London
where my cousin Stephen Mathewson:  
http://sim.sagepub.com/cgi/content/abstract/23/6/181 )
organised things. As 13 year old who had never seen a computer, nor had 
a clue about logic
his attempt at getting us to understand flow charts ('How to boil an 
egg' as far as I remember)
was doomed to failure (perhaps because most of us couldn't boil an egg 
to save our lives).


So, this brilliant man, helped us understand with plastic yoghurt pots 
and off-cuts of wood from

the woodwork classroom.

My only regret is that I have no way of knowing where the man we called 
Bonehead Barker
is now, or, even, if he is still alive, so that I can send him a little 
something by way of a thank you

for all the help he has given 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


Re: Scripting what should be a simple loop...

2010-07-10 Thread Richmond

On 07/10/2010 01:00 PM, David C. wrote:

Column1--corresponds to-Field1--corresponds to---tVar1--  is used by.
etc

   

Of course there's no reason you couldn't

col1 - original data
fCol1 - field
lfCol1 - label field
bCol1 - button
tCol1 - temp var
lCol1 - script local var
gCol1 - global var
cCol1 - custom prop

makes the dynamic movement of data from one object to another very easy -
especially when using arrays - and mantains a solid association of where the
data came from. Reduces the chance of naming conflicts.
 

Thank you Kay, that is very helpful.

I've read Richard and Ken's scripting guide at least twice and
understand the benefits of using a consistent naming convention, but
failed largely at implementing it for this project. You've provided a
very nice visual reminder of just how much easier it can be. Much
appreciated.

The what if thought for this project originated some 4-5 years ago,
and I've spent plenty of time and frustration trying to build it using
three or four lower level languages along the way, and it is by far
the most complex project I've attempted to date. Sadly enough, I had a
Rev Studio license at the time, but didn't get serious about using it
for this project up until recently. :(

Even having planned much of it out on paper, using circles, arrows and
glossy photos (Woody Guthrie reference), I actually avoided getting
started working in earnest due to the complexity factor. For whatever
reason, one morning out of the blue I just sat down and began to get
after it. Unfortunately, somewhere in the midst of the complexity, all
of the forethought and planning gave way to a shooting from the hip
style of coding.  Thanks for the reminder.
   


The 'Magic Moment', the intuitive flash often wipes the circles and arrows
clean away; but I often find that the magic moment doesn't happen until
I have driven myself spare with toys on the floor.

Best regards,
David C.
___
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


My naming convention

2010-07-10 Thread Richmond

For what it is worth;

I always start a field's name with a lowercase 'f' - the rest in uppercase:

e.g. fSTUFF

so, similarly with other objects:

gSTUFF will be a group,

ggSTUFF will be a group containing subordinate groups,

iSTUFF is an image,

pSTUFF is (oddly enough) a graphic object

bSTUFF is a button

-

vSTUFF is a variable

cSTUFF is a constant

sSTUFF is a string

aSTUFF is an array

-

needless-to-say; I almost NEVER adhere to this convention . . .  :)



RunRev, having no intrinsic naming conventions, cheerfully allows one to
wander off rather tangentially if one is not very careful.



What I DO do is have a piece of paper on a clipboard on my lap where I write
down every object's name and what it is with a pencil.
___
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: Timer Pause script

2010-07-10 Thread JosepM

Hi,

After debug, still without see the solution, the time is paused but still
running... and when I resume after the pause get the whole time.

--reset the startSeconds to the current seconds less the time already on the
timer. 
 put the seconds into tSeconds
 subtract tElapsed from tSeconds
 put tSeconds into startSeconds

Any idea why?

Salut,
Josep
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Timer-Pause-script-tp2284161p2284474.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: Timer Pause script

2010-07-10 Thread Mark Schonewille

Hi Josep,

You might want to read about the cancel command and the  
pendingMessages function in the dictionary.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 10 jul 2010, at 12:48, JosepM wrote:



Hi,

After debug, still without see the solution, the time is paused but  
still

running... and when I resume after the pause get the whole time.

--reset the startSeconds to the current seconds less the time  
already on the

timer.
put the seconds into tSeconds
subtract tElapsed from tSeconds
put tSeconds into startSeconds

Any idea why?

Salut,
Josep



___
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: Scripting what should be a simple loop...

2010-07-10 Thread David C.
In regard to my question about using arrays, Mark W. said:
Well, it's not regular variables that are the issue here. An array is
*MUCH* faster than a do statement. Do statements are very slow, and
I only use them sparingly and when there's no alternative. But when
you gotta, you gotta.

In this case, I don't gotta so I won't. The application is pretty
much finished and stable just as it is and I can't see that I'll be
making any changes that might impede the already fair performance.
This whole conversation began with my looking for ways that might
speed things up instead of going the other direction. ;)

To which Mark S. added:
David and Mark,

Yet, repeat for each rules. Whether using arrays is faster than using regular
variables depends on whether your repeat loop is written smartly.

Thanks guys. Since I basically just finished rebuilding most of the
app, I'll keep that info in mind for my future projects and/or perhaps
yet another revision for this one at some point.

Amongst other things, Richmond said:
Well; speaking as a relative baby (48 last February) I ca cheerfully say:

1. My short term memory is already half-rotted.

2. I cannot tell you much about what is termed long-term memory as I don't 
seem to have one
   beyond a series of oft-repeated anecdotes which drive my teenage sons up 
 the wall.

3. Having suffered from an element of creative insanity all my life a bit of 
loss of
   cognitive ability might not necessarily be all bad . . .  :)

So long and thanks for all the fish.

As well as...
The 'Magic Moment', the intuitive flash often wipes the circles and arrows
clean away; but I often find that the magic moment doesn't happen until
I have driven myself spare with toys on the floor.

Sir, I honestly appreciate your slightly off-beat humor and insight to
almost any subject. I always enjoy reading your messages. Thanks. :)

René added:
Hello Bob, Sarah, Mark, Alex, Scott, Kay,
Very good lesson !!!
Yes ! Better than documentation !
It is a good example for witch I appreciate How to use Revolution
I imagine that many silent readers appreciate like me and I thank you on their 
behalf...

You are absolutely right! These good folks are about as knowledgeable
and helpful a bunch, as I've seen anywhere. Good stuff for sure.

Again, thanks for the contributions and help everyone!



Best regards,
David C.
___
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: Timer Pause script

2010-07-10 Thread JosepM

Hi,

When I press the pause button, the updateProgress message is stoped and no
more call until I resume it... 
No message pending... 


Salut,
Josep

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Timer-Pause-script-tp2284161p2284483.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: My naming convention

2010-07-10 Thread Damien Girard

Personnally I am using this naming convention:
- first letter in lowercase, then Uppercase for the first letter of each
word.

- tMyVariable - Variable available in the handler
- sMyVariable - Variable available in the script (local)
- gMyVariable - Global variable (global)
- kMyVariable - Constant (constant)
- cMyVariable - Variable that contain custom properties
- pMyParameter - Parameter

In C, I use the same naming convention, the difference is:
- Instead of Uppercase, I use _ to separate words.

- t_my_variable - Variable available in the handler
- s_my_variable - Variable available in the file (static)
- g_my_variable - Variable available in the application (extern)
- k_my_variable - Constant
- p_my_paramater - Parameter (you see the *, you are not dumb, no need of a
pointer prefix)

And for C++/C#, same as Revolution. This enable me to mix C/C++ and to see
quickly in what file I am located.

After, for objects, I have no convention, but usually in rev I define the
name of objects only in lowercase, in order to not mix with variables.

All my softwares are written like that, and it works ;) (more than 20 000
lignes software...) (I stolen this convention from a Rev user, but I do not
remember who lol, btw thanks to him ^^)

Also, I am using DoxyGen in C/C++, and NativeDoc in Rev, that's helping a
lot :p

-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] De la part de Richmond
Envoyé : samedi 10 juillet 2010 12:18
À : How to use Revolution
Objet : My naming convention


For what it is worth;

I always start a field's name with a lowercase 'f' - the rest in uppercase:

e.g. fSTUFF

so, similarly with other objects:

gSTUFF will be a group,

ggSTUFF will be a group containing subordinate groups,

iSTUFF is an image,

pSTUFF is (oddly enough) a graphic object

bSTUFF is a button

-

vSTUFF is a variable

cSTUFF is a constant

sSTUFF is a string

aSTUFF is an array

-

needless-to-say; I almost NEVER adhere to this convention . . .  :)



RunRev, having no intrinsic naming conventions, cheerfully allows one to
wander off rather tangentially if one is not very careful.



What I DO do is have a piece of paper on a clipboard on my lap where I write
down every object's name and what it is with a pencil.
___
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: My naming convention

2010-07-10 Thread René Micout
Mine (sorry in French) :
Prefix of 2 chars for constant, variable, custom prop, handler, command, 
function
Prefix of 3 chars for objects : button, field, group, slider, label, image, 
graphic


-- PRÉFIXES (types des objets) :
--
 ku = constante (unitaire)
 kt = constante (tableau)  utiliser plutôt une custom property
--
 vg = variable globale [stack]
 vt = variable globale (tableau) [stack]
 vl = variable locale [script]
 vx = variable temporaire [handler]
 vp = paramètre [fonctions]
 vd = variable provisoire servant au debugage
--
 cp = custom property
--
 hm = handler main stack (handler situé dans le stack principal)
 hs = handler stack (handler situé dans le script du stack)
 hc = handler card (handler situé dans le script de la carte)
 hg = handler group (handler situé dans le script du groupe)
 ho = handler objet (handler situé dans le script de l'objet)
--
 fm = function main stack (fonction située dans le stack principal)
 fs = function stack (fonction située dans le script du stack)
 fc = function card (fonction située dans le script de la carte)
 fg = function group (fonction située dans le script du groupe)
 fo = function objet (fonction située dans le script de l'objet)
 db = fonction ou commande servant au debugage
--
 btn = bouton
 fld = field
 grp = groupe
 sld = slider
 lbl = label
 img = image
 grc = graphic___
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: My naming convention

2010-07-10 Thread Richmond

On 07/10/2010 02:20 PM, Damien Girard wrote:

Personnally I am using this naming convention:
- first letter in lowercase, then Uppercase for the first letter of each
word.

- tMyVariable -  Variable available in the handler
- sMyVariable -  Variable available in the script (local)
- gMyVariable -  Global variable (global)
- kMyVariable -  Constant (constant)
- cMyVariable -  Variable that contain custom properties
- pMyParameter -  Parameter

In C, I use the same naming convention, the difference is:
- Instead of Uppercase, I use _ to separate words.

- t_my_variable -  Variable available in the handler
- s_my_variable -  Variable available in the file (static)
- g_my_variable -  Variable available in the application (extern)
- k_my_variable -  Constant
- p_my_paramater -  Parameter (you see the *, you are not dumb, no need of a
pointer prefix)

And for C++/C#, same as Revolution. This enable me to mix C/C++ and to see
quickly in what file I am located.

After, for objects, I have no convention, but usually in rev I define the
name of objects only in lowercase, in order to not mix with variables.

All my softwares are written like that, and it works ;) (more than 20 000
lignes software...) (I stolen this convention from a Rev user, but I do not
remember who lol, btw thanks to him ^^)

Also, I am using DoxyGen in C/C++, and NativeDoc in Rev, that's helping a
lot :p

   


I think this is great and we really out to carry on this htread with as 
many poeple submitting their
naming conventions as possible; we might then be able to abstract some 
sort of commonality
which would allow us to develop a more standardised naming convention 
for RunRev.

___
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: My naming convention

2010-07-10 Thread Richmond

On 07/10/2010 02:52 PM, René Micout wrote:

Mine (sorry in French) :
Prefix of 2 chars for constant, variable, custom prop, handler, command, 
function
Prefix of 3 chars for objects : button, field, group, slider, label, image, 
graphic


-- PRÉFIXES (types des objets) :
--
 ku = constante (unitaire)
 kt = constante (tableau)  utiliser plutôt une custom property
--
 vg = variable globale [stack]
 vt = variable globale (tableau) [stack]
 vl = variable locale [script]
 vx = variable temporaire [handler]
 vp = paramètre [fonctions]
 vd = variable provisoire servant au debugage
--
 cp = custom property
--
 hm = handler main stack (handler situé dans le stack principal)
 hs = handler stack (handler situé dans le script du stack)
 hc = handler card (handler situé dans le script de la carte)
 hg = handler group (handler situé dans le script du groupe)
 ho = handler objet (handler situé dans le script de l'objet)
--
 fm = function main stack (fonction située dans le stack principal)
 fs = function stack (fonction située dans le script du stack)
 fc = function card (fonction située dans le script de la carte)
 fg = function group (fonction située dans le script du groupe)
 fo = function objet (fonction située dans le script de l'objet)
 db = fonction ou commande servant au debugage
--
 btn = bouton
 fld = field
 grp = groupe
 sld = slider
 lbl = label
 img = image
 grc = graphic
   


This is rather better than mine (and more comprehensive) insofar as by 
having
3 letter prefixes one doesn't have to use a 'p' (as in Picture) for a 
graphic

object. It also keys directly into the short forms of objects in RunRev.

___
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: My naming convention

2010-07-10 Thread Jim Ault


On Jul 10, 2010, at 3:18 AM, Richmond wrote:


vSTUFF is a variable

cSTUFF is a constant

sSTUFF is a string

aSTUFF is an array

-

needless-to-say; I almost NEVER adhere to this convention . . .  :)


so what you mean to say is that.


 I almost cNEVER adhere to this convention . . .  :)


is really

 I almost vNEVER adhere to this convention . . .  :)




Jim Ault
Las Vegas



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


Re: My naming convention

2010-07-10 Thread Richmond

On 07/10/2010 03:57 PM, Jim Ault wrote:


On Jul 10, 2010, at 3:18 AM, Richmond wrote:


vSTUFF is a variable

cSTUFF is a constant

sSTUFF is a string

aSTUFF is an array

-

needless-to-say; I almost NEVER adhere to this convention . . .  :)


so what you mean to say is that.


 I almost cNEVER adhere to this convention . . .  :)


is really

 I almost vNEVER adhere to this convention . . .  :)





Worth a try . . .  :)

But, no; I just go on giving things any silly, old name that takes my fancy.

For example; in my Devawriter Pro stack there is a field that contains
a short script to deal with some of the peculiarities of the letter 'R' in
Devanagari-Sanskrit; it is called fld ARSE - which makes perfect
sense to me (in more ways than one considering the state I got myself
in working that subroutine out) but does NOT adhere to my naming convention.
___
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: My naming convention

2010-07-10 Thread Mark Wieder
Richmond-

Saturday, July 10, 2010, 5:10:33 AM, you wrote:

 I think this is great and we really out to carry on this htread with as
 many poeple submitting their
 naming conventions as possible; we might then be able to abstract some
 sort of commonality
 which would allow us to develop a more standardised naming convention
 for RunRev.

Saturday, July 10, 2010, 4:20:26 AM, Damien Girard wrote:

Personnally I am using this naming convention:
- first letter in lowercase, then Uppercase for the first letter of each
word.

- tMyVariable - Variable available in the handler
- sMyVariable - Variable available in the script (local)
- gMyVariable - Global variable (global)
- kMyVariable - Constant (constant)
- cMyVariable - Variable that contain custom properties
- pMyParameter - Parameter

I use all these with the exception of switching

 - uMyVariable -  User-defined custom property

(Silly me - I'm reserving c for class, expecting that someday
we'll have real OOP in xtalk)

Saturday, July 10, 2010, 4:52:33 AM, René Micout wrote:

Prefix of 3 chars for objects : button, field, group, slider, label, image, 
graphic

 btn = bouton
 fld = field
 grp = groupe
 sld = slider
 lbl = label
 img = image
 grc = graphic

I also use all these and

 ary = array

-- 
-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


Re: DataGrid Stuff

2010-07-10 Thread Roger Guay
Many thanks to all who responded to my previous post. Can anyone tell me why 
this script doesn't work?

on mouseUp
## Create tab delimited data.
## Note that first line has name of columns.
## Providing names tells Data Grid how to map
## data to appropriate columns. 
put state  tab  code  cr  \
 ALABAMA  tab  AL  cr  \
 ALASKA  tab  AK into theText

## Let Data Grid know that first line has column names
put true into firstLineContainsColumnNames
set the dgText [ firstLineContainsColumnNames ] of group DataGrid 1 to 
theText
end mouseUp


This is in the  How Do I Create My First Data Grid Table lesson of revLessons.

Thanks and cheers,
Roger Guay
___
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


Teetotal RunRev

2010-07-10 Thread Richmond

I have just upgraded WINE:

http://www.winehq.org/

to 1.2-rc7 on my main Lunux box (Ubuntu 10.04) and thought 'just for run'
I'd have a bash at running the Windows build of my Devawriter Pro Demo 3.30:

http://andregarzia.on-rev.com/richmond/dwriterpro.html

AND:

1. All images with any sort of blending go dark and horrible.

2. Fontsizes in text fields all stay a standard size and cannot be resized.

Loadsa Rubbish.

Ah, Well, it was worth a try. Althought this result is not only relevant to
my stuff but to anybody who wants to run a Windows build under WINE.

Err . . . naive question number 67:

Why would one want to try to run a RunRev Windows standalone
on Linux under WINE when there is a perfectly respectable way of
building Linux standalones that comes with RunRev?

Because:

1. Richmond wondered whether that was a way round some of the persistent
font problems with Linux builds.

2.  Linux standalones when compared with Mac and Windows standalone are
 not 'perfectly respectable'.
___
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: Teetotal RunRev

2010-07-10 Thread Pierre Sahores
Hello Richmond,

Try VirtualBox instead. A great tool !

http://www.virtualbox.org/wiki/Downloads

Best, Pierre

Le 10 juil. 2010 à 17:53, Richmond a écrit :

 I have just upgraded WINE:
 
 http://www.winehq.org/
 
 to 1.2-rc7 on my main Lunux box (Ubuntu 10.04) and thought 'just for run'
 I'd have a bash at running the Windows build of my Devawriter Pro Demo 3.30:
 
 http://andregarzia.on-rev.com/richmond/dwriterpro.html
 
 AND:
 
 1. All images with any sort of blending go dark and horrible.
 
 2. Fontsizes in text fields all stay a standard size and cannot be resized.
 
 Loadsa Rubbish.
 
 Ah, Well, it was worth a try. Althought this result is not only relevant to
 my stuff but to anybody who wants to run a Windows build under WINE.
 
 Err . . . naive question number 67:
 
 Why would one want to try to run a RunRev Windows standalone
 on Linux under WINE when there is a perfectly respectable way of
 building Linux standalones that comes with RunRev?
 
 Because:
 
 1. Richmond wondered whether that was a way round some of the persistent
font problems with Linux builds.
 
 2.  Linux standalones when compared with Mac and Windows standalone are
 not 'perfectly respectable'.
 ___
 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
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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


Go to a web page automatically

2010-07-10 Thread Tim Selander

Hi,

Using the on-rev.com server scripting, is there a ?rev  command 
that will open a specified web page? 'launch' URL didn't seem to 
do it for me.


Thanks,

Tim Selander
Tokyo, Japan
___
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: Go to a web page automatically

2010-07-10 Thread Michael Kann
Tim, 

Not quite sure what you mean by open?

Mike

--- On Sat, 7/10/10, Tim Selander selan...@tkf.att.ne.jp wrote:

 From: Tim Selander selan...@tkf.att.ne.jp
 Subject: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 11:23 AM
 Hi,
 
 Using the on-rev.com server scripting, is there a
 ?rev  command that will open a specified web page?
 'launch' URL didn't seem to do it for me.
 
 Thanks,
 
 Tim Selander
 Tokyo, Japan
 ___
 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: Go to a web page automatically

2010-07-10 Thread Pierre Sahores
Try : get url http://yoururl ; put it

Best, P.

Le 10 juil. 2010 à 18:23, Tim Selander a écrit :

 Hi,
 
 Using the on-rev.com server scripting, is there a ?rev  command that will 
 open a specified web page? 'launch' URL didn't seem to do it for me.
 
 Thanks,
 
 Tim Selander
 Tokyo, Japan
 ___
 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
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: DataGrid Stuff

2010-07-10 Thread zryip theSlug
Hi Roger,

In fact you have to create the columns first as it was discussed in this
interesting tread:
http://www.mail-archive.com/use-revolution@lists.runrev.com/msg127457.html

http://www.mail-archive.com/use-revolution@lists.runrev.com/msg127457.htmlSo
you have to create a column State and a column Code in your grid and
then you could populate it with the code you pick in the doc.

Use the dgText[true] when you import data from a text file for example and
if you would like to avoid to import the first line of the text if it
represents the column headers.

If you use set the dgText [ firstLineContainsColumnNames ] of group
DataGrid 1 to theText, you will obtain in the Grid:

State Code
state  code
ALABAMA  AL
ALASKA AK

If you use set the dgText of group DataGrid 1 to theText, the Grid will
contain:

State Code
ALABAMA  AL
ALASKA AK




2010/7/10 Roger Guay i...@mac.com

 Many thanks to all who responded to my previous post. Can anyone tell me
 why this script doesn't work?

 on mouseUp
## Create tab delimited data.
## Note that first line has name of columns.
## Providing names tells Data Grid how to map
## data to appropriate columns.
put state  tab  code  cr  \
 ALABAMA  tab  AL  cr  \
 ALASKA  tab  AK into theText

## Let Data Grid know that first line has column names
put true into firstLineContainsColumnNames
set the dgText [ firstLineContainsColumnNames ] of group DataGrid 1 to
 theText
 end mouseUp


 This is in the  How Do I Create My First Data Grid Table lesson of
 revLessons.

 Thanks and cheers,
 Roger Guay
 ___
 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




-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Go to a web page automatically

2010-07-10 Thread Michael Kann
Greetings Pierre,

The following works:

?rev
get url http://www.runrev.com;
put it
?

But the script loses some images and formatting along the way. If we just want 
the html source then it works fine.

Mike


--- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr wrote:

 From: Pierre Sahores psaho...@free.fr
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 11:45 AM
 Try : get url http://yoururl ;
 put it
 
 Best, P.
 
 Le 10 juil. 2010 à 18:23, Tim Selander a écrit :
 
  Hi,
  
  Using the on-rev.com server scripting, is there a
 ?rev  command that will open a specified web page?
 'launch' URL didn't seem to do it for me.
  
  Thanks,
  
  Tim Selander
  Tokyo, Japan
  ___
  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
  
 
 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70
 
 www.wrds.com
 www.sahores-conseil.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: Scripting what should be a simple loop...

2010-07-10 Thread J. Landman Gay

Richmond wrote:


However, when I tried to run the script it threw a bluey and opened
the script editor in that rather unhelpful way where it marks the problem
but doesn't allow you to edit it.


It's opening in debug mode, which I find to be one of the most helpful 
features of the script editor. It suspends script execution at the point 
of error, while retaining all the variable values so that you can see 
what they are. This often gives you insight into what went wrong. In 
addition, the little popup button at the top of the editor gives you the 
entire history of the handler calls (the execution context) so that you 
can backtrack through all the handlers that may have led up to the 
error. It's an invaluable tool. You can't edit in this mode, but you can 
see everything that led up to the problem.


Once you are done examining the history and variable values of the 
error, just click the blue square icon in the script editor toolbar, or 
else type Control-Y to exit debug mode (Cmd-Y on Mac.) All the variable 
values and history are wiped out and you can edit again.


I couldn't script without this feature, I think I spent half my time 
yesterday using it. But if you never want to use it, you can turn off 
script debug mode in the Development menu. In my view, doing that is 
equivalent to blindfolding yourself and looking for the car keys you 
lost in the attic, but each to his own.


--
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: Scripting what should be a simple loop...

2010-07-10 Thread zryip theSlug
Hum, I understand now why I have not found your post funny (or not).
It's like a flashback.

2010/7/10 Richmond richmondmathew...@gmail.com

 On 07/10/2010 12:52 PM, zryip theSlug wrote:

 Richmond, I'm not sure to appreciated your humor.

 However, with less talent and other circumstances, I had probably write
 something similar somewhere in the net, so I forgive you for this time.

 2010/7/10 Richmondrichmondmathew...@gmail.com



 On 07/10/2010 11:49 AM, Mark Schonewille wrote:



 David and Mark,

 Yet, repeat for each rules. Whether using arrays is faster than using
 regular variables depends on whether your repeat loop is written
 smartly.




 Quite; but that looks a bit like circular logic.

 Everytime I have to write some sort of loop I get out the plastic cups
 and
 the beads
 and play with them on the floor (preferably with a cup of coffee and some
 music)
 until I find what I would term the most economical way of doing things.

 So; prior to writing anything smartly one has to work out the
 'smartist'
 logic;
 if you are incredibly good at abstractions you can do that mentally; if
 not
 you
 can do it with a pencil and paper, or with cups and beads - whatever
 works
 for you. LEGO is also quite effective.

 Then; having worked out one's model; one has to represent it in code.

 If one's model has already been worked out (squares and arrows on paper,
 cups and beads on the floor, circles and lines on a blackboard) visually
 it
 is, generally, easier to track where things go wrong with one's code by
 comparing it with one's physical model.

 ___



 That may appear a joke to you!

 HOWEVER: I do often play around with beads and cups on the floor; it really
 does help me with conceptualising what I am trying to do on a computer.

 About 35 years ago, a brilliant Maths master at my school taught us
 MINIFORTRAN
 without benefit of a computer (our punch cards were sent to Imperial
 College in London
 where my cousin Stephen Mathewson:
 http://sim.sagepub.com/cgi/content/abstract/23/6/181 )
 organised things. As 13 year old who had never seen a computer, nor had a
 clue about logic
 his attempt at getting us to understand flow charts ('How to boil an egg'
 as far as I remember)
 was doomed to failure (perhaps because most of us couldn't boil an egg to
 save our lives).

 So, this brilliant man, helped us understand with plastic yoghurt pots and
 off-cuts of wood from
 the woodwork classroom.

 My only regret is that I have no way of knowing where the man we called
 Bonehead Barker
 is now, or, even, if he is still alive, so that I can send him a little
 something by way of a thank you
 for all the help he has given 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




-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Go to a web page automatically

2010-07-10 Thread Pierre Sahores
Mike,

To get all the associated files (images, css, javascripts) fine loading along 
the main html file, you need to replace the relative path of those ones by the 
absolutes ones, if they are not loading from the same path than your irev 
script including the get url ; put it commands.

?rev
get url http://www.runrev.com;

replace the relative path of the css by the absolute one in it
replace the relative path of the javascript by the absolute one in it
replace the relative path of the image by the absolute one in it
etc...

put it
?

Best, P.


Le 10 juil. 2010 à 19:10, Michael Kann a écrit :

 Greetings Pierre,
 
 The following works:
 
 ?rev
 get url http://www.runrev.com;
 put it
 ?
 
 But the script loses some images and formatting along the way. If we just 
 want the html source then it works fine.
 
 Mike
 
 
 --- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr wrote:
 
 From: Pierre Sahores psaho...@free.fr
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 11:45 AM
 Try : get url http://yoururl ;
 put it
 
 Best, P.
 
 Le 10 juil. 2010 à 18:23, Tim Selander a écrit :
 
 Hi,
 
 Using the on-rev.com server scripting, is there a
 ?rev  command that will open a specified web page?
 'launch' URL didn't seem to do it for me.
 
 Thanks,
 
 Tim Selander
 Tokyo, Japan
 ___
 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
 
 
 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70
 
 www.wrds.com
 www.sahores-conseil.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
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: My naming convention

2010-07-10 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

Sorry to put the proverbial cat among the pigeons !

Wonderful ! I have never seen so many complex
naming conventions that I am sure you don't follow.

If you do, then it is for who ? If it is for you,
this means that your organizational solutions
prime upon your script development and production.
What a waste of grey matter !
If you spend more time wondering what you are
going to call your variables, than developing
your scripts, then you DO have a problem !

In 5 minutes, you can write a button script to
list out Variable and Field Names, to ensure that
you don't invent duplicate names.

Revolution scripting is not to be pondered upon.
Just write it, as it flows out of your brain.
Don't invent rules that you will not follow !

Naming conventions are personal. They are
mostly designed to help YOU, maintain and
modify YOUR scripts in the future, if you
ever NEED to return to them !

Forget naming conventions, and spend a little
time with comments. It beats naming conventions
every day. If anybody will ever read it except you !

If you ever have to return to your scripts
(and I doubt that you do this often), you
either recognize your coding, and your coding
knowledge, AND YOUR COMMENTS, and so you don't
need to invent a complex naming convention,
or else it is not your script, and HIS naming
convention is of no help whatsoever.
But by the saints, an intelligent comment is !!!

I spent years (with Hypercard) inventing a simple
and strict naming convention WHICH I MYSELF
RENAGUE ON EVERY DAY !

So - what is the point ?

My 2 cents (of a euro) !

- Francis

-Nothing should ever be done for the first time !




___
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: Scripting what should be a simple loop...

2010-07-10 Thread Richmond

On 07/10/2010 08:27 PM, J. Landman Gay wrote:

Richmond wrote:


However, when I tried to run the script it threw a bluey and opened
the script editor in that rather unhelpful way where it marks the 
problem

but doesn't allow you to edit it.


It's opening in debug mode, which I find to be one of the most helpful 
features of the script editor. It suspends script execution at the 
point of error, while retaining all the variable values so that you 
can see what they are. This often gives you insight into what went 
wrong. In addition, the little popup button at the top of the editor 
gives you the entire history of the handler calls (the execution 
context) so that you can backtrack through all the handlers that may 
have led up to the error. It's an invaluable tool. You can't edit in 
this mode, but you can see everything that led up to the problem.


Once you are done examining the history and variable values of the 
error, just click the blue square icon in the script editor toolbar, 
or else type Control-Y to exit debug mode (Cmd-Y on Mac.) All the 
variable values and history are wiped out and you can edit again.


I couldn't script without this feature, I think I spent half my time 
yesterday using it. But if you never want to use it, you can turn off 
script debug mode in the Development menu. In my view, doing that is 
equivalent to blindfolding yourself and looking for the car keys you 
lost in the attic, but each to his own.




Thank you so much for such an extremely lucid and instructive piece on 
debug mode.


It is information like this, written in the way you wrote it, that 
should go into

some sort of expanded help system.
___
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: My naming convention

2010-07-10 Thread Richmond

On 07/10/2010 08:44 PM, Francis Nugent Dixon wrote:

snip

Naming conventions are personal. They are
mostly designed to help YOU, maintain and
modify YOUR scripts in the future, if you
ever NEED to return to them !


1. Good point.



Forget naming conventions, and spend a little
time with comments. It beats naming conventions
every day. If anybody will ever read it except you !


2. Aaaah; at that august' institution, the University of Abertay, the 
lecturers
were continually rabbiting on about what they termed 'the number 10 bus' 
problem.


Their scenario was that were you coding for an employer and you were run 
over by a bus,

if you did not:

2.1.  Pepper your code with comprehensive, comprehensible documentation

and

2.2.  Use some sort of standardised naming conventions

whichever employee was given the task of continuing your work would find 
it well-nigh

impossible to understand your work.

I can see their point.



If you ever have to return to your scripts
(and I doubt that you do this often), 


3. Every day I return to my scripts; my Devawriter and Devawriter Pro 
stacks contain
scripts of up to 2000 lines of fairly complex stuff. What with teaching 
in my EFL school,
lecturing at the University, running around sorting out people's 
hardware problems, cooking,
cleaning the loo, speaking 4 languages on a daily basis, and so on; I 
do, often lose track
of what, exactly some variable or constant was supposed to be doing very 
quickly indeed.



you
either recognize your coding, and your coding
knowledge, AND YOUR COMMENTS, and so you don't
need to invent a complex naming convention,
or else it is not your script,


4. Ha, ha, ha! I returned to a script I wrote 7 years ago, just the 
other day,
 and had a really tough time working out what I had been trying to 
achieve: ther

having been a lot of water under the bridge since then, and, owing to my
increasing comfortableness with RunRev coding, a complete change in the way
that I code.


and HIS naming
convention is of no help whatsoever.
But by the saints, an intelligent comment is !!!


5. Yes, agreed: mind you what Richmond(2003) [mayne THIS is what 'HIS'
refers to . . .  :) ] and Richmond(2010) understand what constitutes
an intelligent comment is also a bit problematic.



I spent years (with Hypercard) inventing a simple
and strict naming convention WHICH I MYSELF
RENAGUE ON EVERY DAY !

So - what is the point ?



The point is that this morning somebody made some comment
about naming conventions, and, I, being what I am, could not
resist taking the bait.

HOWEVER; as many RunRev programmers have offerings on both
the old and the new revOnline repositories, and in various other places
on the internet, it might be easier for newcomers to RunRev to
ease into RunRev if a standardise naming convention were used.

sincerely, Richmond.
___
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: Teetotal RunRev

2010-07-10 Thread Richmond

On 07/10/2010 07:10 PM, Pierre Sahores wrote:

Hello Richmond,

Try VirtualBox instead. A great tool !

http://www.virtualbox.org/wiki/Downloads
   


Thank you Pierre for your suggestion.

I have, previously, played around with VirtualBox.

However; the very, very few Windows programs I 'need' to use
work extremely well with WINE (currently Appleworks 6
and Axalias Icon Studio).

VirtualBox is unable to run Windows software without the
end-user owning an install disc for whichever variant of
Windows they wish to use.

I was hoping that WINE could run the Windows version
of my FREE Devawriter as a way of empowering people
who don't have the wherewithall to buy a Windows disk.

AND, if one has a Windows disk one might just as well
run my software on a Windows partition of the computer;
which rather sidesteps the whole problem.

-

Having seen how Windows (apart from the initial purchase
of an install disk) continues to 'cost' in terms of monthly
payments for anti-virus software, and in terms of time
lost owing to virus problems, I would not recommend
anyone use Windows anyway.

Friends and colleagues over here who are compelled to
use Windows (as professional software they require is
only available for Windows) estimate that each machine costs
$50 a month in terms of anti-virus stuff, as well as about
1-3 man hours per week because of associated problems.

Those who use Linux reckon a machine costs about $5
a month with no man-hours lost.

--
___
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: Go to a web page automatically

2010-07-10 Thread Michael Kann
Pierre,

Thanks as always.

Mike

--- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr wrote:

 From: Pierre Sahores psaho...@free.fr
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 12:42 PM
 Mike,
 
 To get all the associated files (images, css, javascripts)
 fine loading along the main html file, you need to replace
 the relative path of those ones by the absolutes ones, if
 they are not loading from the same path than your irev
 script including the get url ; put it commands.
 
 ?rev
 get url http://www.runrev.com;
 
 replace the relative path of the css by the absolute one in
 it
 replace the relative path of the javascript by the absolute
 one in it
 replace the relative path of the image by the absolute one
 in it
 etc...
 
 put it
 ?
 
 Best, P.
 
 
 Le 10 juil. 2010 à 19:10, Michael Kann a écrit :
 
  Greetings Pierre,
  
  The following works:
  
  ?rev
  get url http://www.runrev.com;
  put it
  ?
  
  But the script loses some images and formatting along
 the way. If we just want the html source then it works
 fine.
  
  Mike
  
  
  --- On Sat, 7/10/10, Pierre Sahores psaho...@free.fr
 wrote:
  
  From: Pierre Sahores psaho...@free.fr
  Subject: Re: Go to a web page automatically
  To: How to use Revolution use-revolution@lists.runrev.com
  Date: Saturday, July 10, 2010, 11:45 AM
  Try : get url http://yoururl ;
  put it
  
  Best, P.
  
  Le 10 juil. 2010 à 18:23, Tim Selander a écrit
 :
  
  Hi,
  
  Using the on-rev.com server scripting, is
 there a
  ?rev  command that will open a specified
 web page?
  'launch' URL didn't seem to do it for me.
  
  Thanks,
  
  Tim Selander
  Tokyo, Japan
 
 ___
  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
  
  
  --
  Pierre Sahores
  mobile : (33) 6 03 95 77 70
  
  www.wrds.com
  www.sahores-conseil.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
  
 
 --
 Pierre Sahores
 mobile : (33) 6 03 95 77 70
 
 www.wrds.com
 www.sahores-conseil.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: Teetotal RunRev

2010-07-10 Thread Pierre Sahores
Richmond,

I use the full free and GPL ClamWin antivirus on all my windows boxes without 
any sad event for years. If you did'nt try it before, have an eye on this 
interesting solution ;-)

http://www.clamwin.com/

Best, Pierre


Le 10 juil. 2010 à 21:17, Richmond a écrit :

 On 07/10/2010 07:10 PM, Pierre Sahores wrote:
 Hello Richmond,
 
 Try VirtualBox instead. A great tool !
 
 http://www.virtualbox.org/wiki/Downloads
   
 
 Thank you Pierre for your suggestion.
 
 I have, previously, played around with VirtualBox.
 
 However; the very, very few Windows programs I 'need' to use
 work extremely well with WINE (currently Appleworks 6
 and Axalias Icon Studio).
 
 VirtualBox is unable to run Windows software without the
 end-user owning an install disc for whichever variant of
 Windows they wish to use.
 
 I was hoping that WINE could run the Windows version
 of my FREE Devawriter as a way of empowering people
 who don't have the wherewithall to buy a Windows disk.
 
 AND, if one has a Windows disk one might just as well
 run my software on a Windows partition of the computer;
 which rather sidesteps the whole problem.
 
 -
 
 Having seen how Windows (apart from the initial purchase
 of an install disk) continues to 'cost' in terms of monthly
 payments for anti-virus software, and in terms of time
 lost owing to virus problems, I would not recommend
 anyone use Windows anyway.
 
 Friends and colleagues over here who are compelled to
 use Windows (as professional software they require is
 only available for Windows) estimate that each machine costs
 $50 a month in terms of anti-virus stuff, as well as about
 1-3 man hours per week because of associated problems.
 
 Those who use Linux reckon a machine costs about $5
 a month with no man-hours lost.
 
 --
 ___
 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
 

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Teetotal RunRev

2010-07-10 Thread Richmond

On 07/10/2010 10:51 PM, Pierre Sahores wrote:

Richmond,

I use the full free and GPL ClamWin antivirus on all my windows boxes without 
any sad event for years. If you did'nt try it before, have an eye on this 
interesting solution ;-)

http://www.clamwin.com/

   


What with Jacque's posting about debug mode and your about the Clam I am 
significantly

'richer' than I was this morning.

What a wonderful Use-List!

sincerely, Richmond.
___
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: My naming convention

2010-07-10 Thread Damien Girard

Hi,

I totally disagree with you, having a naming convention in an enterprise
helps to produce faster application, but I am talking here about real
application, not a funny stack that display few funny effects...

In my other life (a life without RunRev), I am working in a team of 6
developers, everybody is using my naming convention that I told before, and
the productivity gain is incredible, cause, it is not Revolution, it is C,
and I am working on application that have more than 15000 lines, that
communicate with multiple card, and that have dozen threads and hundred
messages.
So, imagine now if everybody do what they want with naming convention ?
 You get lost, nobody can reuse your work.

When I have to work on the file of a colleague, I simply open it, I saw that
he is calling few global with the g, few statics with the s and I can
use few t variables. This took me 5 minutes to have in my head a map of
the source code file.. Productivity loss?

And the best things, with naming convention, in NetBeans IDE, I want a
global, I press g + Ctrl + Space and I have got all my global listed! Have
just to pick the one that need, no need to look around and find in what .h
file I placed my global..

So, what I wanted to say:
- Small program, utility, sure, no need convention
- Real program, without one, you are dead. (yes, cause your teammates killed
you :p)


My 2 cents (in euros too)

Damien
NativeSoft, France.

PS: Yes I saw the troll, but I am going in ^^


-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] De la part de Francis
Nugent Dixon
Envoyé : samedi 10 juillet 2010 19:45
À : use-revolution@lists.runrev.com
Objet : RE: My naming convention


Hi from Beautiful Brittany,

Sorry to put the proverbial cat among the pigeons !

Wonderful ! I have never seen so many complex
naming conventions that I am sure you don't follow.

If you do, then it is for who ? If it is for you,
this means that your organizational solutions
prime upon your script development and production.
What a waste of grey matter !
If you spend more time wondering what you are
going to call your variables, than developing
your scripts, then you DO have a problem !

In 5 minutes, you can write a button script to
list out Variable and Field Names, to ensure that
you don't invent duplicate names.

Revolution scripting is not to be pondered upon.
Just write it, as it flows out of your brain.
Don't invent rules that you will not follow !

Naming conventions are personal. They are
mostly designed to help YOU, maintain and
modify YOUR scripts in the future, if you
ever NEED to return to them !

Forget naming conventions, and spend a little
time with comments. It beats naming conventions
every day. If anybody will ever read it except you !

If you ever have to return to your scripts
(and I doubt that you do this often), you
either recognize your coding, and your coding
knowledge, AND YOUR COMMENTS, and so you don't
need to invent a complex naming convention,
or else it is not your script, and HIS naming
convention is of no help whatsoever.
But by the saints, an intelligent comment is !!!

I spent years (with Hypercard) inventing a simple
and strict naming convention WHICH I MYSELF
RENAGUE ON EVERY DAY !

So - what is the point ?

My 2 cents (of a euro) !

- Francis

-Nothing should ever be done for the first time !




___
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


Non linear undo in Rev IDE

2010-07-10 Thread Alejandro Tejada

Hi all,

I am gathering some ideas about:
How should work a Non linear Undo in Rev?
Please, participate with your experiences,
ideas and questions.

Your collaboration is indispensable to
create this library.

Notice that after we implement sucessfully
this project using revTalk scripts, it will
be available to use in our own programs.

The most common undo commands
in software is the Memory-dependent
linear undo, that allows to undo/redo
actions based in their execution order
and available memory designated by
user for this specific task.

My experience with Non-Linear undo
comes from my use of Adobe Photoshop:
http://livedocs.adobe.com/en_US/Photoshop/10.0/WSfd1234e1c4b69f30ea53e41001031ab64-7497.html

For Rev, it's feasible to save a copy of
the stacks every amount of minutes and
the Non Linear undo library would compare
the properties of the same object in different
saved stacks and allow to revert a single
object to a previously saved state (possibly
allowing to preview the change before applying)

Rev IDE blocks certain messages, like editscript
so i am not sure how to catch scripts changes
before they happen. It's necessary to trap the
script editions to save a stack copy before
editing the script...

Thanks in advance for your comments and ideas!

Alejandro

-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Non-linear-undo-in-Rev-IDE-tp2284816p2284816.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: Go to a web page automatically

2010-07-10 Thread Tim Selander

Good morning!

Thanks for the reply. Sorry for not being clear. By 'open' I mean 
I just want to take the user to another page, as if they had 
clicked a link.


I'm trying to write a simple form to get user input (based on 
Sarah's revForm.irev script) and want to take them to a 'Thank 
you' page automatically after they submit the info.


Tim Selander
Tokyo, Japan

On 7/11/10 1:36 AM, Michael Kann wrote:

Tim,

Not quite sure what you mean by open?

Mike

--- On Sat, 7/10/10, Tim Selanderselan...@tkf.att.ne.jp  wrote:


From: Tim Selanderselan...@tkf.att.ne.jp
Subject: Go to a web page automatically
To: How to use Revolutionuse-revolution@lists.runrev.com
Date: Saturday, July 10, 2010, 11:23 AM
Hi,

Using the on-rev.com server scripting, is there a
?rev  command that will open a specified web page?
'launch' URL didn't seem to do it for me.

Thanks,

Tim Selander
Tokyo, Japan
___
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: Go to a web page automatically

2010-07-10 Thread Tim Selander

Hi again, Mike

That code works for me! Thanks. The page I want to call up is in 
the same directory, so all the graphics, etc., come in fine too.


Thank you!

Tim Selander
Tokyo, Japan

On 7/11/10 2:10 AM, Michael Kann wrote:

Greetings Pierre,

The following works:

?rev
get url http://www.runrev.com;
put it
?

But the script loses some images and formatting along the way. If we just want 
the html source then it works fine.

Mike


--- On Sat, 7/10/10, Pierre Sahorespsaho...@free.fr  wrote:


From: Pierre Sahorespsaho...@free.fr
Subject: Re: Go to a web page automatically
To: How to use Revolutionuse-revolution@lists.runrev.com
Date: Saturday, July 10, 2010, 11:45 AM
Try : get url http://yoururl ;
put it

Best, P.

Le 10 juil. 2010 à 18:23, Tim Selander a écrit :


Hi,

Using the on-rev.com server scripting, is there a

?rev  command that will open a specified web page?
'launch' URL didn't seem to do it for me.


Thanks,

Tim Selander
Tokyo, Japan
___
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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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



___
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: Go to a web page automatically

2010-07-10 Thread Sarah Reichelt
On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander selan...@tkf.att.ne.jp wrote:
 Good morning!

 Thanks for the reply. Sorry for not being clear. By 'open' I mean I just
 want to take the user to another page, as if they had clicked a link.

 I'm trying to write a simple form to get user input (based on Sarah's
 revForm.irev script) and want to take them to a 'Thank you' page
 automatically after they submit the info.

I found that the easiest way was to show or hide info on the same
page, depending on user input.

But if you want to take them to a different page, you can redirect.
Check out the script
http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

Note that the redirect headers have to be put BEFORE anything else
is written to the page.

Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
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: Timer Pause script

2010-07-10 Thread Sarah Reichelt
 After debug, still without see the solution, the time is paused but still
 running... and when I resume after the pause get the whole time.

 --reset the startSeconds to the current seconds less the time already on the
 timer.
         put the seconds into tSeconds
         subtract tElapsed from tSeconds
         put tSeconds into startSeconds

 Any idea why?


Imagine you start the timer at 3:00:00
After 10 seconds, the time is 3:00:10 and the timer is showing 10 seconds.
Now you pause the timer.

At 3:01:00 you restart the timer.
The original start time is 3:00:00 so if you are still using the
original start time to calculate the elapsed time, the timer will
immediately show 60 seconds when you only want it to show 10 seconds.

Effectively you want to set the start time to 3:00:50 (i.e the current
time - the elapsed time) when you restart at 3:01:00 as that will make
it show the correct elapsed time of 10 seconds.

Cheers,
Sarah

Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves
___
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: Go to a web page automatically

2010-07-10 Thread Jim Ault

On Jul 10, 2010, at 5:56 PM, Sarah Reichelt wrote:
On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander  
selan...@tkf.att.ne.jp wrote:


Thanks for the reply. Sorry for not being clear. By 'open' I mean I  
just

want to take the user to another page, as if they had clicked a link.

I'm trying to write a simple form to get user input (based on Sarah's
revForm.irev script) and want to take them to a 'Thank you' page
automatically after they submit the info.


I found that the easiest way was to show or hide info on the same
page, depending on user input.

But if you want to take them to a different page, you can redirect.
Check out the script
http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

Note that the redirect headers have to be put BEFORE anything else
is written to the page.

Sarah




For web content serving,
there are actually 3 different things being specified in this thread.
UPDATING THE SAME PAGE, REDIRECT, LOCATION
I think the bottom of this post has the answer you probably want to use.


UPDATING THE SAME PAGE - sending HTML tags and content to be displayed  
in the current browser window
If the user does 'reload' or 'refresh', the original content will be  
re-displayed since the browser still thinks it is focused on the  
original url.
The new content does not change the browser history since there has  
been no real navigation as far as the browser is concerned.

?rev
get url http://www.runrev.com;
put it
?



REDIRECT - tells the browser to keep the current url in history, but  
now focus on a new url
This is commonly used to keep old links stored out on the internet  
working, but 'bounce' to new web pages or url.


This gets a little complicated when you break down the different  
meanings of a url.

http://someDomain.com/   or http://www.someDomain.com/   or 
http://someDomain.com/index.html
--  will simply show the default page for the domain

http://someDomain.com/aboutus.html  or
http://someDomain.com/aboutus.php  or
http://someDomain.com/aboutus.cgi  or
http://someDomain.com/aboutus.irev
--  will simply show the page for that location

http://someDomain.com/aboutus.html#drivingMapSection
http://someDomain.com/aboutus.php#drivingMapSection
http://someDomain.com/aboutus.cgii#drivingMapSection
http://someDomain.com/aboutus.irev#drivingMapSection
--  will show the page and scroll to the anchor named

http://someDomain.com/aboutus.html?loc=homeOffice xx no
http://someDomain.com/aboutus.php?loc=homeOffice
http://someDomain.com/aboutus.cgi?loc=homeOffice
http://someDomain.com/aboutus.irev?loc=homeOffice
-- will show the page with info that a script provides by using the  
variable 'loc' with the value homeOffice
The exact data sent back to the browser depends on the script  
programming
NOTE: PHP and irev and cgi cause scripts to run on the server, but  
HTML does not, so sending variables.


The reason scripts are run is that Apache has been told when it  
started that those 3 strings mean that Apache should follow its  
directives and run the correct script engine.  At this time, the only  
server that knows about irev is the On-Rev system, thus irev scripts  
cannot be run on other systems.


The On-Rev server knows how to run scripts using PHP, cgi, as well as  
irev.




LOCATION - This is probably what you were looking for
 - change the Browser's memory variable that causes the browser to  
focus on the new url, keeping the original url in history, and  
reloading the new url.
What you probably want to accomplish is sending a raw HTTP header to  
the browser.


More details here [ http://php.net/manual/en/function.header.php

Possible headers to send to a browser
Their are two kinds,
  Request (from browser) to instruct the Apache server
Accept-Language: da
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
   Response (from server) to instruct the browser
Content-Type: text/html; charset=utf-8
Location: http://www.w3.org/pub/WWW/People.html
Refresh: 5; url=http://www.w3.org/pub/WWW/People.html
  (refresh the same url after 5 seconds)
Set-Cookie: UserID=JohnDoe; Max-Age=3600; Version=1
   (store data on the user's hard drive)
   (but it expires in 3600 seconds, 60 minutes)
   http://en.wikipedia.org/wiki/List_of_HTTP_headers

and specifically  HTTP_location   discussed here
   http://en.wikipedia.org/wiki/HTTP_location

so in irev you would
--***
?rev
put HTTP/1.1 302 Found into sendResponse
put cr  Location: http://www.www.runrev.com; after sendResponse
put sendResponse  -- back to browser that started the dialog
?
--***

Just to let you know, REDIRECTION issues are much more complex
This is a good overview...
  http://en.wikipedia.org/wiki/URL_redirection


Bottom line for your specific task, use the scripting just below the  
*


Hope this helps.  You have chosen to enter a world that can be very  
confusing, so tread carefully and study tons of examples.



Jim Ault
Las Vegas




___

Re: Go to a web page automatically

2010-07-10 Thread Mike Bonner
YOu can also use meta refresh to redirect to a new page. See here:
http://webdesign.about.com/od/metataglibraries/a/aa080300a.htm

Or conversly, a javascript method can be found here:
http://www.web-source.net/javascript_redirect.htm

Also, if you have a set of criteria on the first page you load that
determines the page you actually want to load, similar to what Sarah
demonstrated, you can do your check for whatever criteria and then
simply include the local page I want based on that criteria.



On Sat, Jul 10, 2010 at 8:56 PM, Sarah Reichelt
sarah.reich...@gmail.com wrote:
 On Sun, Jul 11, 2010 at 10:20 AM, Tim Selander selan...@tkf.att.ne.jp wrote:
 Good morning!

 Thanks for the reply. Sorry for not being clear. By 'open' I mean I just
 want to take the user to another page, as if they had clicked a link.

 I'm trying to write a simple form to get user input (based on Sarah's
 revForm.irev script) and want to take them to a 'Thank you' page
 automatically after they submit the info.

 I found that the easiest way was to show or hide info on the same
 page, depending on user input.

 But if you want to take them to a different page, you can redirect.
 Check out the script
 http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev

 Note that the redirect headers have to be put BEFORE anything else
 is written to the page.

 Cheers,
 Sarah

 Rodeo discussion:
 http://rodeoapps.com/rodeo-discuss-among-yourselves
 ___
 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: Go to a web page automatically

2010-07-10 Thread Michael Kann
Tim,

Redirect that thanks eastward to Pierre. I just checked out what he proposed.

Mike

--- On Sat, 7/10/10, Tim Selander selan...@tkf.att.ne.jp wrote:

 From: Tim Selander selan...@tkf.att.ne.jp
 Subject: Re: Go to a web page automatically
 To: How to use Revolution use-revolution@lists.runrev.com
 Date: Saturday, July 10, 2010, 7:35 PM
 Hi again, Mike
 
 That code works for me! Thanks. The page I want to call up
 is in 
 the same directory, so all the graphics, etc., come in fine
 too.
 
 Thank you!
 
 Tim Selander
 Tokyo, Japan
 
 On 7/11/10 2:10 AM, Michael Kann wrote:
  Greetings Pierre,
 
  The following works:
 
  ?rev
  get url http://www.runrev.com;
  put it
  ?
 
  But the script loses some images and formatting along
 the way. If we just want the html source then it works
 fine.
 
  Mike
 
 
  --- On Sat, 7/10/10, Pierre Sahorespsaho...@free.fr 
 wrote:
 
  From: Pierre Sahorespsaho...@free.fr
  Subject: Re: Go to a web page automatically
  To: How to use Revolutionuse-revolution@lists.runrev.com
  Date: Saturday, July 10, 2010, 11:45 AM
  Try : get url http://yoururl ;
  put it
 
  Best, P.
 
  Le 10 juil. 2010 à 18:23, Tim Selander a écrit
 :
 
  Hi,
 
  Using the on-rev.com server scripting, is
 there a
  ?rev  command that will open a specified
 web page?
  'launch' URL didn't seem to do it for me.
 
  Thanks,
 
  Tim Selander
  Tokyo, Japan
 
 ___
  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
 
 
  --
  Pierre Sahores
  mobile : (33) 6 03 95 77 70
 
  www.wrds.com
  www.sahores-conseil.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
 
 
 ___
 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: My naming convention

2010-07-10 Thread David C.
Hello Francis,

 Revolution scripting is not to be pondered upon.
 Just write it, as it flows out of your brain.

Heh... good, bad or otherwise, I seem to have mastered that part of
your message all too well. ;-)

Best regards,
David C.
___
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


Language learning stacks

2010-07-10 Thread Mark Swindell
Has anyone developed any vocabulary/ language learning stacks in Rev?  Seems 
like an apt application for the tool, but I didn't see anything in revOnLine.  
Picture dictionary type things with rollovers for different languages?  
Remember those First Thousand Words books with contextualized drawings showing 
vocabulary for the kitchen, barnyard, garden, etc.? 

Just curious, as I'm studying Italian at present and thought of creating 
something for myself, but don't feel I have the energy to put towards it.  
There are some things online, but nothing of particularly good quality.  Good, 
coherent artwork would be a real issue, even with the abundance of free 
clip-art online, it would be fragmented and of questionable quality.

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


Re: Language learning stacks

2010-07-10 Thread Mike Bonner
Not sure this is the direction you want to go, but I have a very
simple set of stacks that i'm using to help me (attempt) to learn
spanish.

Not pictures, different method.  Basically its 1 stack with a field
that you can paste into (or theres a button where you can paste the
text to work with)  Then all it does is feed the clickword to google
translate in the 2nd stack thats just a revbrowser instance  IE:
http://translate.google.com/?hl=en#es|en|pescado would return the
definition of pescado.

Then just start with the simplest spanish website I can find, paste in
the text and start reading.   And I think its working.
I use http://www.google.com.mx or http://www.google.es to look for
spanish stuff to read.  For italian of course use www.google.it

My stacks aren't great, but work ok. I'm sure it would take you all of
10 minutes to duplicate, but if you like i'll send you mine.


On Sun, Jul 11, 2010 at 12:25 AM, Mark Swindell mdswind...@cruzio.com wrote:
 Has anyone developed any vocabulary/ language learning stacks in Rev?  Seems 
 like an apt application for the tool, but I didn't see anything in revOnLine. 
  Picture dictionary type things with rollovers for different languages?  
 Remember those First Thousand Words books with contextualized drawings 
 showing vocabulary for the kitchen, barnyard, garden, etc.?

 Just curious, as I'm studying Italian at present and thought of creating 
 something for myself, but don't feel I have the energy to put towards it.  
 There are some things online, but nothing of particularly good quality.  
 Good, coherent artwork would be a real issue, even with the abundance of free 
 clip-art online, it would be fragmented and of questionable quality.

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

___
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: Language learning stacks

2010-07-10 Thread Mark Swindell
I've got a page set up on iGoogle that has various back and forth translators 
between different languages I know or am interested in.  It's pretty quick and 
easy, adding a Rev interface wouldn't save me much, I don't think.  

But I was interested in graphical interfaces for simple vocabulary, nouns and 
verbs, ala the First 1000 Words series.  And beyond would be nice, of course.  
It would be a simple project to start, and a long one to do right, I think. 

Thanks
Mark


On Jul 10, 2010, at 9:57 PM, Mike Bonner wrote:

 Not sure this is the direction you want to go, but I have a very
 simple set of stacks that i'm using to help me (attempt) to learn
 spanish.
 
 Not pictures, different method.  Basically its 1 stack with a field
 that you can paste into (or theres a button where you can paste the
 text to work with)  Then all it does is feed the clickword to google
 translate in the 2nd stack thats just a revbrowser instance  IE:
 http://translate.google.com/?hl=en#es|en|pescado would return the
 definition of pescado.
 
 Then just start with the simplest spanish website I can find, paste in
 the text and start reading.   And I think its working.
 I use http://www.google.com.mx or http://www.google.es to look for
 spanish stuff to read.  For italian of course use www.google.it
 
 My stacks aren't great, but work ok. I'm sure it would take you all of
 10 minutes to duplicate, but if you like i'll send you mine.
 
 
 On Sun, Jul 11, 2010 at 12:25 AM, Mark Swindell mdswind...@cruzio.com wrote:
 Has anyone developed any vocabulary/ language learning stacks in Rev?  Seems 
 like an apt application for the tool, but I didn't see anything in 
 revOnLine.  Picture dictionary type things with rollovers for different 
 languages?  Remember those First Thousand Words books with contextualized 
 drawings showing vocabulary for the kitchen, barnyard, garden, etc.?
 
 Just curious, as I'm studying Italian at present and thought of creating 
 something for myself, but don't feel I have the energy to put towards it.  
 There are some things online, but nothing of particularly good quality.  
 Good, coherent artwork would be a real issue, even with the abundance of 
 free clip-art online, it would be fragmented and of questionable quality.
 
 Thanks
 Mark___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 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: Language learning stacks

2010-07-10 Thread Mike Bonner
Well in your quest, you might find this site useful.
http://www.ilovelanguages.com/idp/IDPfiles.html

Has some flat files from and to various languages, might save you some
work if you decide to have a real go at this.  Still no graphics
involved but still a pretty useful resource.

On Sun, Jul 11, 2010 at 1:07 AM, Mark Swindell mdswind...@cruzio.com wrote:
 I've got a page set up on iGoogle that has various back and forth translators 
 between different languages I know or am interested in.  It's pretty quick 
 and easy, adding a Rev interface wouldn't save me much, I don't think.

 But I was interested in graphical interfaces for simple vocabulary, nouns and 
 verbs, ala the First 1000 Words series.  And beyond would be nice, of course. 
  It would be a simple project to start, and a long one to do right, I think.

 Thanks
 Mark


 On Jul 10, 2010, at 9:57 PM, Mike Bonner wrote:

 Not sure this is the direction you want to go, but I have a very
 simple set of stacks that i'm using to help me (attempt) to learn
 spanish.

 Not pictures, different method.  Basically its 1 stack with a field
 that you can paste into (or theres a button where you can paste the
 text to work with)  Then all it does is feed the clickword to google
 translate in the 2nd stack thats just a revbrowser instance  IE:
 http://translate.google.com/?hl=en#es|en|pescado would return the
 definition of pescado.

 Then just start with the simplest spanish website I can find, paste in
 the text and start reading.   And I think its working.
 I use http://www.google.com.mx or http://www.google.es to look for
 spanish stuff to read.  For italian of course use www.google.it

 My stacks aren't great, but work ok. I'm sure it would take you all of
 10 minutes to duplicate, but if you like i'll send you mine.


 On Sun, Jul 11, 2010 at 12:25 AM, Mark Swindell mdswind...@cruzio.com 
 wrote:
 Has anyone developed any vocabulary/ language learning stacks in Rev?  
 Seems like an apt application for the tool, but I didn't see anything in 
 revOnLine.  Picture dictionary type things with rollovers for different 
 languages?  Remember those First Thousand Words books with contextualized 
 drawings showing vocabulary for the kitchen, barnyard, garden, etc.?

 Just curious, as I'm studying Italian at present and thought of creating 
 something for myself, but don't feel I have the energy to put towards it.  
 There are some things online, but nothing of particularly good quality.  
 Good, coherent artwork would be a real issue, even with the abundance of 
 free clip-art online, it would be fragmented and of questionable quality.

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

 ___
 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