Re: The seconds and time zones

2010-01-26 Thread Bernard Devlin
Hang on :-)  I seem to remember Jacques saying recently that she'd
found that the internet date was more reliable across time zones than
storing seconds.

I'm sure Jacques will be along soon to give us details or tell me
(ever so politely) that I'm wrong.

Bernard

On Tue, Jan 26, 2010 at 6:25 AM, Bill Vlahos bvla...@mac.com wrote:
 Sarah,

 Thanks for confirming it. Slick.

 Bill

 On Jan 25, 2010, at 9:36 PM, Sarah Reichelt wrote:

 On Tue, Jan 26, 2010 at 2:53 PM, Bill Vlahos bvla...@mac.com wrote:
 I want to represent time snapshot independently of format and time zone so 
 that I can compare the modification times of two items. The seconds looks 
 like the way to go but I thought that it would get thrown off depending 
 upon which time zone the computer was in.

 I just saw this in the Rev dictionary:
 Note: The convert command assumes all dates / times are in local time 
 except for 'the seconds', which is taken to be universal time.

 Does this mean that if I get the seconds simultaneously anywhere in the 
 world it will result in the same number or would I have to account for the 
 time zone offset. This definition makes it sound like it already takes into 
 account the time zone offset.


 Correct. The seconds taken at an instant in time will give the same
 result no matter where you are and what time zone you are in.
 Converting it to any other format then applies the time zone of the
 computer doing the conversions.

 As an example, my time zone is +1000 and at the moment, using this
 line of script,  I get:

 put the seconds  cr  the long time  the long date

 1264484095
 3:34:55 PM Tuesday, January 26, 2010

 If you take that value of seconds and convert it, you will get
 whatever time it was in your zone when it was 3:34 for me.

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

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

___
use-revolution mailing list
use-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: Question on RevMobile

2010-01-26 Thread Bernard Devlin
This is like a Kay Back Machine, right :-)  I have some OS/2 books I
can send you so they can start working on Revolution for OS/2.

http://www.archive.org/web/web.php

Bernard

On Tue, Jan 26, 2010 at 6:37 AM, Kay C Lan lan.kc.macm...@gmail.com wrote:
 If anyone wants Rev 4.0 Linux or Classic engines please email me off-list to
 persuade me spend time and money to go down that path - Rev will then make
 an announcement 2 weeks later ;-)
___
use-revolution mailing list
use-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: HTML Editor

2010-01-26 Thread Bernard Devlin
I had to shout out Thank you, Eric last week (to the bemusement of
the assembled company).  I was trying to create a popup menu within a
field, whilst maintaining the selection within the field, and it just
seemed impossible.  I searched the list and there was Eric with the
surprisingly simple answer that only a guru would know.

Bernard

On Mon, Jan 25, 2010 at 9:04 PM, stephen barncard
stephenrevoluti...@barncard.com wrote:
 Also Eric Chatonet* has a good demo stack to go from and to from rev
 htmlText.

 (* yes I know he's gone, but his site is still up and his utilities I use
 every day.. )
___
use-revolution mailing list
use-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: Question on RevMobile

2010-01-26 Thread Andre Garzia
wait for my books on BeOS and the NewtonOS... Revolution will be
ubiquitous...

On Tue, Jan 26, 2010 at 10:40 AM, Bernard Devlin bdrun...@gmail.com wrote:

 This is like a Kay Back Machine, right :-)  I have some OS/2 books I
 can send you so they can start working on Revolution for OS/2.

 http://www.archive.org/web/web.php

 Bernard

 On Tue, Jan 26, 2010 at 6:37 AM, Kay C Lan lan.kc.macm...@gmail.com
 wrote:
  If anyone wants Rev 4.0 Linux or Classic engines please email me off-list
 to
  persuade me spend time and money to go down that path - Rev will then
 make
  an announcement 2 weeks later ;-)
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Jacques Hausser
Be careful with the spelling ! Jacques has a beard, smokes pipe, likes brussel 
sprouts (oups, sorry) and is definitively different from Jacque...

But I can nevertheless say that I did set my computer (Mac OS X) to different 
time zones and the seconds didn't change accordingly... they seem trustable 
within a computer.

Jacques

Le 26 janv. 2010 à 13:36, Bernard Devlin a écrit :

 Hang on :-)  I seem to remember Jacques saying recently that she'd
 found that the internet date was more reliable across time zones than
 storing seconds.
 
 I'm sure Jacques will be along soon to give us details or tell me
 (ever so politely) that I'm wrong.
 
 Bernard
 
 On Tue, Jan 26, 2010 at 6:25 AM, Bill Vlahos bvla...@mac.com wrote:
 Sarah,
 
 Thanks for confirming it. Slick.
 
 Bill
 
 On Jan 25, 2010, at 9:36 PM, Sarah Reichelt wrote:
 
 On Tue, Jan 26, 2010 at 2:53 PM, Bill Vlahos bvla...@mac.com wrote:
 I want to represent time snapshot independently of format and time zone so 
 that I can compare the modification times of two items. The seconds 
 looks like the way to go but I thought that it would get thrown off 
 depending upon which time zone the computer was in.
 
 I just saw this in the Rev dictionary:
 Note: The convert command assumes all dates / times are in local time 
 except for 'the seconds', which is taken to be universal time.
 
 Does this mean that if I get the seconds simultaneously anywhere in the 
 world it will result in the same number or would I have to account for the 
 time zone offset. This definition makes it sound like it already takes 
 into account the time zone offset.
 
 
 Correct. The seconds taken at an instant in time will give the same
 result no matter where you are and what time zone you are in.
 Converting it to any other format then applies the time zone of the
 computer doing the conversions.
 
 As an example, my time zone is +1000 and at the moment, using this
 line of script,  I get:
 
 put the seconds  cr  the long time  the long date
 
 1264484095
 3:34:55 PM Tuesday, January 26, 2010
 
 If you take that value of seconds and convert it, you will get
 whatever time it was in your zone when it was 3:34 for me.
 
 Cheers,
 Sarah
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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

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


[Ann] Build your own games

2010-01-26 Thread Malte Pfaff-Brill
Hi all,

As you know my company has been writing games for quite a while. Using our 
animationEngine, we have been able to create fast, fun, award-winning games 
using Revolution. However, recent changes in our business plan do not leave 
enough time to continue our game efforts. Most revenue comes from health care 
software, so the other guys of derbrill will focus mainly on that.

I will remain your contact person for all things revolution related. In my 
endeavors as a rev consultant I will set up a few new ideas to move things 
forward.

What does this mean? As we move out of games creation, we want to make it easy 
for others to take our place!

http://www.awesomemegamightygames.com/pages/en/games/get-the-source.php

Starting today, we are offering a source-code, heavily commented version of 
drops! We will let you build your own version of our games. Our first release 
is drops!, our bestseller game. You may obtain a license to the sources for an 
introductory price of $59 ($79 as of Feb. 14th).

All the best,

Malte___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread DunbarX
Yes.

The seconds returns the number of seconds since Jan 1, 1970. And this is in 
GMT, or standard universal time. So any computer anywhere will always read 
the same number of seconds, provided their own time is correct. With that 
you can perform identical calculations as needed.

craig Newman
___
use-revolution mailing list
use-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: [Ann] Build your own games

2010-01-26 Thread Shao Sean
Nifty idea.. now people like me can see how things work and either put  
in features we always wanted or to get a piece of our own puzzle  
working..


-Sean
___
use-revolution mailing list
use-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: [ANN] tRev Gets Better PDF Docs, Enhanced Scratch Pad Editing (video)

2010-01-26 Thread Jerry Daniels

Kay,

Go to http://reveditor.com and click on the Quickstart link on the  
right side of the page. I don't know what link you are using, but I  
did have to change the URL once last week. Your page may need  
refreshing.


You can also go to the docs from the help menu in the latest tRev.

Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/write-your-own-plugins-for-trev

On Jan 25, 2010, at 10:19 PM, Kay C Lan wrote:


Hi Jerry,

followed the iWork link and got:

Enter your Apple ID and password to view this document.

Your Apple ID must be entered in lowercase.
Document doesn't exist.

Document password is incorrect, or the document is no longer  
available.

Continue
The document you requested doesn't exist or is no longer active.

H, and that's really interesting. I just copied and pasted the  
dialog
text from the iWork site to here so I'd get the text absolutely  
correct, yet
on the dialog I can see only the first and last line above, the bit  
in the

middle magically appeared when I pasted into here.

Outcome is the same though, I can't check out your new and improved  
pdfs.


Thanks


On Fri, Jan 15, 2010 at 1:45 AM, Jerry Daniels  
jerry.dani...@me.com wrote:



tRev users,

We have just updated the documentation for tRev to accomodate the new
Scratch Pad feature with its new window style and multi-instance
architecture. Here's the link to a page with links to the  
Quickstart guide

and the Shortcuts.

  http://reveditor.com/trev-quickstart-shortcuts-now-on-iworkcom

These nice little PDFs are hosted on iWork.com and view really  
well, let
you download them or print them. Best of all, there is no log-in of  
any sort

required.

We've also enhanced the Scratch Pad editing process so that it's done
directly--without the inconvenience of a separate editor. I have a
super-short video showing how to edit and annotate your links in  
the Scratch

Pad. Here's the link:

  http://reveditor.com/scratch-pad-enhancement

Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/scratch-pad-links-to-your-fav-handlers

___
use-revolution mailing list
use-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: [Ann] Build your own games

2010-01-26 Thread Andre Garzia
for example, replace that damn cheating code that Malte put there so that
you'd have a special bonus oportunity but it always happens with the most
difficult colors and the ones you have less...

On Tue, Jan 26, 2010 at 12:23 PM, Shao Sean shaos...@wehostmacs.com wrote:

 Nifty idea.. now people like me can see how things work and either put in
 features we always wanted or to get a piece of our own puzzle working..

 -Sean

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




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-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: [Ann] Build your own games

2010-01-26 Thread Malte Pfaff-Brill
Andre wrote:
 for example, replace that damn cheating code that Malte put there so that
 you'd have a special bonus oportunity but it always happens with the most
 difficult colors and the ones you have less...
Lol. You figured it out. :-)
___
use-revolution mailing list
use-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: [Ann] Build your own games

2010-01-26 Thread Andre Garzia
Yes I figured it out when it appeared to me and I saw you grinning :D

On Tue, Jan 26, 2010 at 12:30 PM, Malte Pfaff-Brill
revolut...@derbrill.dewrote:

 Andre wrote:
  for example, replace that damn cheating code that Malte put there so that
  you'd have a special bonus oportunity but it always happens with the
 most
  difficult colors and the ones you have less...
 Lol. You figured it out. :-)
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-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: [Ann] Build your own games

2010-01-26 Thread -= JB =-

Thanks Malte

Showing every aspect of creating a commercial application in Rev  
alone is worth the money
and then to provide the code, artwork  sounds too plus allowing  
people to use it royalty free

to make their own version of the game is as good as it gets.

You got my money!

-=JB=-




On Jan 26, 2010, at 6:08 AM, Malte Pfaff-Brill wrote:


Hi all,

As you know my company has been writing games for quite a while.  
Using our animationEngine, we have been able to create fast, fun,  
award-winning games using Revolution. However, recent changes in  
our business plan do not leave enough time to continue our game  
efforts. Most revenue comes from health care software, so the other  
guys of derbrill will focus mainly on that.


I will remain your contact person for all things revolution  
related. In my endeavors as a rev consultant I will set up a few  
new ideas to move things forward.


What does this mean? As we move out of games creation, we want to  
make it easy for others to take our place!


http://www.awesomemegamightygames.com/pages/en/games/get-the- 
source.php


Starting today, we are offering a source-code, heavily commented  
version of drops! We will let you build your own version of our  
games. Our first release is drops!, our bestseller game. You may  
obtain a license to the sources for an introductory price of $59  
($79 as of Feb. 14th).


All the best,

Malte___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Richard Gaskin

Jacques Hausser (who is not Jacque) wrote:

 But I can nevertheless say that I did set my computer (Mac OS X)
 to different time zones and the seconds didn't change accordingly...
 they seem trustable within a computer.

The engine's internal clock is initialized when the engine starts up, so 
if you quit before you change your time zone the seconds will be 
reliable for comparisons across time zones.


Here's a quick test I just did to verify this:

At 7:01AM PST I got these values:
  Seconds: 1264518037
  Internet Date: Tue, 26 Jan 2010 07:01:02 -0800

Then I quit Rev, opened my System Control Panel, changed my location to 
Brisbane AU, restarted Rev, and got these:

  Seconds: 1264518145
  Internet Date:  Wed, 27 Jan 2010 01:02:09 +1000

While the difference in global time is several hours, the difference in 
the seconds is merely 108, roughly the amount of time I spent quitting 
and changing my system's location.


FWIW, I also tried this without quitting Rev in between, and apparently 
it does not update the time zone until you restart.


So it appears the seconds are indeed useful for comparing times and 
dates across time zones, provided the time zone does not change while 
the engine is running.


Personally, I prefer the Internet date format because it's 
human-readable.  It also works at the same level of granularity 
(seconds) but carries the additional benefit of storing the time zone it 
was acquired in.


The latter may not be useful for many apps, but I have one case where I 
need to know where people are in addition to when they perform a given 
action, and having the GMT offset embedded in the string helps me narrow 
that down.



There is an unfortunate implication with this:  because the engine needs 
to be restarted to update the GMT offset of its internal clock, this 
means that automatic changes to time zones like moving from PST to PDT 
will be ignored by the engine.


Anyone know if there's an RQCC request for that?

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Bernard Devlin
I'll be glad if Jacque (no s) confirms this. It will make my life easier.

I was sure she had recommended internet date.

Bernard

On Tue, Jan 26, 2010 at 2:12 PM,  dunb...@aol.com wrote:
 Yes.

 The seconds returns the number of seconds since Jan 1, 1970. And this is in
 GMT, or standard universal time. So any computer anywhere will always read
 the same number of seconds, provided their own time is correct. With that
 you can perform identical calculations as needed.

 craig Newman
 ___
 use-revolution mailing list
 use-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


stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread Andre Garzia
Hello Folks,

anyone here has a clue on how to recover from a corrupted stack. Rev
4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.

don't want to revert to a previous version of the stack or of rev if
possible, anyone knows how to solve this?

Thanks in advance
anre

-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Jim Ault

On Jan 26, 2010, at 7:18 AM, Richard Gaskin wrote:

There is an unfortunate implication with this:  because the engine  
needs to be restarted to update the GMT offset of its internal  
clock, this means that automatic changes to time zones like moving  
from PST to PDT will be ignored by the engine.


Anyone know if there's an RQCC request for that?



My guess for the better solution is not to rely on a user's computer  
settings
but find the time-server.com ping solution that works best for you and  
your clients.  This would capture the daylight savings change  
regardless of the user's computer setting.


The usual cautions with this are
-1- Europe does not alway change the same week as the US
-2- Each county in the US gets to decide whether to change time, and  
in which direction.


eg.  Indiana in the USA, some counties match Chicago, others  
Cincinnati, OH  and others choose not to change at all.  I used to  
live in a county that never changed its clock.

It was a farming community that did not care to change.

I haven't done the digging, but I did use the atomic clock server in a  
project about 4 years ago.



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: The seconds and time zones

2010-01-26 Thread J. Landman Gay

Jacques Hausser wrote:

Be careful with the spelling ! Jacques has a beard, smokes pipe,
likes brussel sprouts (oups, sorry) and is definitively different
from Jacque...



I'm getting a beard too, but I pluck it out. No pipe though.

It wasn't me that mentioned the internet time, I think it was Richard. 
But if it works, then of course I'll be happy to take credit. If it 
doesn't, it's Richard's fault. :)


--
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: stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread Kee Nethery
Long ago in Hypercard I built a stack that opens a damaged stack and pulls as 
much as possible out of it and into a second stack. I'd create each card, and 
then create each button and field, and grab each attribute and script. Very 
tedious but it created a brand new exact duplicate. Whatever was bad in the 
original stack would go away in the new stack and for all practical purposes it 
was now a copy, only it worked.

Just a thought.
Kee


 
On Jan 26, 2010, at 8:06 AM, Andre Garzia wrote:

 Hello Folks,
 
 anyone here has a clue on how to recover from a corrupted stack. Rev
 4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.
 
 don't want to revert to a previous version of the stack or of rev if
 possible, anyone knows how to solve this?

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


Re: stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread Mikey
OMG, how funny it is that everybody has had the same issues at one point or
another.  I did the same thing...except I'm still using HC here for one
application...

On Tue, Jan 26, 2010 at 11:41, Kee Nethery k...@kagi.com wrote:

 Long ago in Hypercard I built a stack that opens a damaged stack and pulls
 as much as possible out of it and into a second stack. I'd create each card,
 and then create each button and field, and grab each attribute and script.
 Very tedious but it created a brand new exact duplicate. Whatever was bad in
 the original stack would go away in the new stack and for all practical
 purposes it was now a copy, only it worked.

 Just a thought.
 Kee



 On Jan 26, 2010, at 8:06 AM, Andre Garzia wrote:

  Hello Folks,
 
  anyone here has a clue on how to recover from a corrupted stack. Rev
  4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.
 
  don't want to revert to a previous version of the stack or of rev if
  possible, anyone knows how to solve this?

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




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
  and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Spinning whell

2010-01-26 Thread René Micout
Hello,
I have uploaded my first contribution for the community on RevOnline :
Spinning wheel : a [white] Asynchronous Progress Indicator  Macintosh X 
interface...
Bons souvenirs 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: stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread Richard Gaskin

Andre Garzia wrote:

anyone here has a clue on how to recover from a corrupted stack. Rev
4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.

don't want to revert to a previous version of the stack or of rev if
possible, anyone knows how to solve this?


I would email it to support.  If it's opening in the shipping version of 
Rev but not in the DP it sounds like a bug, and corruption is rare 
enough with Rev that I would imagine it would get priority.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


is the platform on 64bit windows systems also win32?

2010-01-26 Thread Tiemo Hollmann TB
Hi,

 

I just wonder if this is actually so, as stated above? Actually I havn't
thought about this up to now and just got a bit unsure, because I also
haven't found an answer in the archives.

 

Can anybody confirm my presumption because I don't have a 64Bit system on
hand.

 

Thank you

Tiemo

 

 

 

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


Re: stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread Andre Garzia
It is not regression, it was working fine on 4.5 then, after a save, close
and reopen, it stopped working saying it was corrupted. I tried loading on
4.0 to see if it was indeed corrupted, it worked fine but it stopped loading
on 4.5.

I use mercurial to manage my source code, so I reverted back to some
revisions ago and it loaded, now I am recoding my morning work...

sometimes rev is elusive.

cheers for version control software.
(with remote backups)


On Tue, Jan 26, 2010 at 3:04 PM, Richard Gaskin
ambassa...@fourthworld.comwrote:

 Andre Garzia wrote:

 anyone here has a clue on how to recover from a corrupted stack. Rev
 4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.

 don't want to revert to a previous version of the stack or of rev if
 possible, anyone knows how to solve this?


 I would email it to support.  If it's opening in the shipping version of
 Rev but not in the DP it sounds like a bug, and corruption is rare enough
 with Rev that I would imagine it would get priority.

 --
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv

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




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


AW: stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread Tiemo Hollmann TB
Hi Andre,
good to hear you have a not too old backup
As having worked for years with Toolbook I can say that we are really lucky
with RunRev where stack corruption almost is an exotic phenomenon - I havn't
had any yet. But with the older (up to two years ago) versions of Toolbook
file corruption almost was an daily experience with repair trials by good
luck...
Cheers 
Tiemo

 -Ursprüngliche Nachricht-
 Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
 boun...@lists.runrev.com] Im Auftrag von Andre Garzia
 Gesendet: Dienstag, 26. Januar 2010 18:22
 An: How to use Revolution
 Betreff: Re: stack corrupted, loads on 4.0 but not on 4.5
 
 It is not regression, it was working fine on 4.5 then, after a save, close
 and reopen, it stopped working saying it was corrupted. I tried loading on
 4.0 to see if it was indeed corrupted, it worked fine but it stopped
 loading
 on 4.5.
 
 I use mercurial to manage my source code, so I reverted back to some
 revisions ago and it loaded, now I am recoding my morning work...
 
 sometimes rev is elusive.
 
 cheers for version control software.
 (with remote backups)
 
 
 On Tue, Jan 26, 2010 at 3:04 PM, Richard Gaskin
 ambassa...@fourthworld.comwrote:
 
  Andre Garzia wrote:
 
  anyone here has a clue on how to recover from a corrupted stack. Rev
  4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.
 
  don't want to revert to a previous version of the stack or of rev if
  possible, anyone knows how to solve this?
 
 
  I would email it to support.  If it's opening in the shipping version of
  Rev but not in the DP it sounds like a bug, and corruption is rare
 enough
  with Rev that I would imagine it would get priority.
 
  --
   Richard Gaskin
   Fourth World
   Rev training and consulting: http://www.fourthworld.com
   Webzine for Rev developers: http://www.revjournal.com
   revJournal blog: http://revjournal.com/blog.irv
 
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 
 
 
 
 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 use-revolution mailing list
 use-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: stack corrupted, loads on 4.0 but not on 4.5

2010-01-26 Thread J. Landman Gay

Richard Gaskin wrote:

Andre Garzia wrote:

anyone here has a clue on how to recover from a corrupted stack. Rev
4.5.0-dp-1 refuses to open it but Rev 4.0 loves it just like I do.

don't want to revert to a previous version of the stack or of rev if
possible, anyone knows how to solve this?


I would email it to support.  If it's opening in the shipping version of 
Rev but not in the DP it sounds like a bug, and corruption is rare 
enough with Rev that I would imagine it would get priority.


Actually, for something like this, don't email to support -- just put in 
a bug ticket. That's all the support queue could tell you to do. There 
aren't any engineers in the support queue, just us chickens.


--
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: The seconds and time zones

2010-01-26 Thread J. Landman Gay

Bernard Devlin wrote:

I'll be glad if Jacque (no s) confirms this. It will make my life easier.

I was sure she had recommended internet date.


Nope, it was Richard. But I guarantee that anything Sarah or Richard 
says about time calcs is correct. ;)


Regarding the seconds: when I was hosting the scripting conferences I 
used to announce the time of the next meeting in seconds. I'd post the 
seconds to the list and anyone who wanted to attend would convert it to 
their own time and see just when they needed to be online. That was 
Sarah's idea and it worked just great. There was something satisfying 
also about using Rev to figure out when to meet to use Rev.


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


Revlet updates don't clear the cache

2010-01-26 Thread Bill Vlahos
When I update the Revlet and html files the browser (Safari on the Mac but 
maybe others too) still runs the old one in its cache even if I reload the page 
and quit Safari.

The only way I can run the updated Revlet is the reset Safari cache from the 
Safari menu.

Are there options to make this work better? I can't expect users to do this.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Bernard Devlin
On Tue, Jan 26, 2010 at 6:12 PM, J. Landman Gay
jac...@hyperactivesw.com wrote:
 Bernard Devlin wrote:

 I'll be glad if Jacque (no s) confirms this. It will make my life easier.

 I was sure she had recommended internet date.

 Nope, it was Richard. But I guarantee that anything Sarah or Richard says
 about time calcs is correct. ;)

 Regarding the seconds: when I was hosting the scripting conferences I used
 to announce the time of the next meeting in seconds. I'd post the seconds to
 the list and anyone who wanted to attend would convert it to their own time
 and see just when they needed to be online. That was Sarah's idea and it
 worked just great. There was something satisfying also about using Rev to
 figure out when to meet to use Rev.

This is all good to know.  So, generally the seconds can be used, but
there might be the most exceptional circumstances to do with daylight
saving and reboots (and in cases where the international time at which
something happened is so important than maybe one ought to be using an
external source like Jim suggests).

Good to know.

Bernard
___
use-revolution mailing list
use-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: RevLive09 DVD Set Session resources

2010-01-26 Thread J. Landman Gay

RevList wrote:


What I am saying is that I got the DVDs today and have been watching some
of the sessions.  Many of them use sample files that are no longer
available on the web site links that are referenced in the videos.
I would like to have these so that I can look at the scripts just as they
did in the session.


Stewart -- I've lost track of what the url should be and which files 
were on the server. I don't have a copy of the DVD to check, so could 
you contact me off list and we can figure it out? I know...I was an 
idiot. Go ahead and say it. :)


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


Windows menu bars

2010-01-26 Thread J. Landman Gay
I need to open multiple documents that share the same menu bar. On Mac I 
can just set the default menubar. What do most of you do for Windows?


I'm not too keen on putting up a toolbar like Rev does. Is there any 
other way? I think the answer is no but maybe some of you have an 
ingenius solution.


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


Presumably . . . 4.5 dp-1 ???

2010-01-26 Thread Richmond Mathewson
Presumably while those who attended the Edinburgh developers' conference 
recieved
Studio 4.0 as part of the package that did not include further updates 
and developer

previews?
___
use-revolution mailing list
use-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: Looking for volunteers to create Wikipedia on CD application

2010-01-26 Thread David Bovill
2010/1/25 Alejandro Tejada capellan2...@gmail.com

 David Bovill wrote:

  Not sure if it is any use - but I can offer code for reading and writing
 to
  WikiPedia from Rev - it is not a complete library - but a good start.

  Your code reads and write to Wikipedia.
 Did you use this code as an automatic bot
 for reverse vandalism in selected pages?


I use it to move articles around between MediaWikis and provide additional
tools that MediaWiki does not have.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Is a file an image?

2010-01-26 Thread David Bovill
I've just dug out this very old and pretty untested script for detecting
whether a file is an image. Seems to sort of work on OSX - included here for
insiration :) Does anyone know a better way to do this?

function file_GetType filePath
switch the platform
   case MacOS
  put spotlight_Kind (filePath) into fType
  return word -1 of fType
   case Win32
  put offset(.,filePath) into tChar
  if tChar  0 then
 put char tChar to length(filePath) of filePath into text
 put
 queryregistry(HKEY_CLASSES_ROOT\(queryregistry(HKEY_CLASSES_ROOT\tExt
 \))  \) into tType
  else
 put  into tType
 put  into text
  end if
  if tType =  then
 if text   then
delete char 1 of text  -- remove .
put toupper(tExt)  File into tType
 else
put File into tType
 end if
  end if
  return filePath  numtochar(9)  tType
   default
  return empty
end switch
 end file_GetType


function spotlight_Kind someFile
put spotlight_GetAttribute(someFile, kMDItemKind) into someKind
put word 1 to - 1 of someKind into someKind
delete char 1 of someKind
delete char -1 of someKind
return someKind
 end spotlight_Kind

 function spotlight_GetAttribute someFile, attributeName
 put spotlight_FileInfo(someFile) into spotlightFileInfo
 return spotlight_ExtractAttribute(spotlightFileInfo, attributeName)
 end spotlight_GetAttribute

 function spotlight_FileInfo someFile
 put mdls into someShell
 if someFile is not empty then
 -- shell_BashParamEscape someFile
 put space  someFile after someShell
 end if
 get shell(someShell)
 return line 2 to -1 of it
 end spotlight_FileInfo

 function spotlight_ExtractAttribute spotlightFileInfo, attributeName
 if char 1 to 7 of attributeName is not kMDItem then put kMDItem
 before attributeName
 put (?im)   attributeName   += +(.*) into someReg
 if matchtext(spotlightFileInfo, someReg, someValue) is true then
 return someValue
 else
 return empty
 end if
 end spotlight_ExtractAttribute

___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread stephen barncard
Did anyone comment on Mark Waddingham's time solution using iRev?

http://runrev.com/newsletter/may/issue71/newsletter2.php

I thought it was brilliant.

Lots of great example stories in the issues of revUp. Unfortunately, they
are not indexed or searchable, and it's a bear trying to find an old
article. I only found this as it was deep within my own bookmarks.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/26 Bernard Devlin bdrun...@gmail.com

 On Tue, Jan 26, 2010 at 6:12 PM, J. Landman Gay
 jac...@hyperactivesw.com wrote:
  Bernard Devlin wrote:
 
  I'll be glad if Jacque (no s) confirms this. It will make my life
 easier.
 
  I was sure she had recommended internet date.
 
  Nope, it was Richard. But I guarantee that anything Sarah or Richard says
  about time calcs is correct. ;)
 
  Regarding the seconds: when I was hosting the scripting conferences I
 used
  to announce the time of the next meeting in seconds. I'd post the seconds
 to
  the list and anyone who wanted to attend would convert it to their own
 time
  and see just when they needed to be online. That was Sarah's idea and it
  worked just great. There was something satisfying also about using Rev to
  figure out when to meet to use Rev.

 This is all good to know.  So, generally the seconds can be used, but
 there might be the most exceptional circumstances to do with daylight
 saving and reboots (and in cases where the international time at which
 something happened is so important than maybe one ought to be using an
 external source like Jim suggests).

 Good to know.

 Bernard
 ___
 use-revolution mailing list
 use-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: Is a file an image?

2010-01-26 Thread Alex Adams
If you're going to be making the judgment based on the extension, why don't
you just put the possibilities in a switch/case statement and take care of
it locally?
-- 
Alex Adams

hawkVision ‹ tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com


 From: David Bovill da...@architex.tv
 Reply-To: How to use Revolution use-revolution@lists.runrev.com
 Date: Tue, 26 Jan 2010 20:19:00 +
 To: How to use Revolution use-revolution@lists.runrev.com
 Subject: Is a file an image?
 
 I've just dug out this very old and pretty untested script for detecting
 whether a file is an image. Seems to sort of work on OSX - included here for
 insiration :) Does anyone know a better way to do this?
 
 function file_GetType filePath
switch the platform
   case MacOS
  put spotlight_Kind (filePath) into fType
  return word -1 of fType
   case Win32
  put offset(.,filePath) into tChar
  if tChar  0 then
 put char tChar to length(filePath) of filePath into text
 put
 queryregistry(HKEY_CLASSES_ROOT\(queryregistry(HKEY_CLASSES_ROOT\tExt
 \))  \) into tType
  else
 put  into tType
 put  into text
  end if
  if tType =  then
 if text   then
delete char 1 of text  -- remove .
put toupper(tExt)  File into tType
 else
put File into tType
 end if
  end if
  return filePath  numtochar(9)  tType
   default
  return empty
end switch
 end file_GetType
 
 
 function spotlight_Kind someFile
put spotlight_GetAttribute(someFile, kMDItemKind) into someKind
put word 1 to - 1 of someKind into someKind
delete char 1 of someKind
delete char -1 of someKind
return someKind
 end spotlight_Kind
 
 function spotlight_GetAttribute someFile, attributeName
 put spotlight_FileInfo(someFile) into spotlightFileInfo
 return spotlight_ExtractAttribute(spotlightFileInfo, attributeName)
 end spotlight_GetAttribute
 
 function spotlight_FileInfo someFile
 put mdls into someShell
 if someFile is not empty then
 -- shell_BashParamEscape someFile
 put space  someFile after someShell
 end if
 get shell(someShell)
 return line 2 to -1 of it
 end spotlight_FileInfo
 
 function spotlight_ExtractAttribute spotlightFileInfo, attributeName
 if char 1 to 7 of attributeName is not kMDItem then put kMDItem
 before attributeName
 put (?im)   attributeName   += +(.*) into someReg
 if matchtext(spotlightFileInfo, someReg, someValue) is true then
 return someValue
 else
 return empty
 end if
 end spotlight_ExtractAttribute
 
 ___
 use-revolution mailing list
 use-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: Is a file an image?

2010-01-26 Thread Malte Pfaff-Brill
I think you could write a XPlat solution by analyzing the first few bytes of 
the file. 
Those should contain some header information. Though I must admit I did not try 
that yet.

Cheers,

Malte___
use-revolution mailing list
use-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: Windows menu bars

2010-01-26 Thread zryip theSlug
2010/1/26 J. Landman Gay jac...@hyperactivesw.com:
 I need to open multiple documents that share the same menu bar. On Mac I can
 just set the default menubar. What do most of you do for Windows?

 I'm not too keen on putting up a toolbar like Rev does. Is there any other
 way? I think the answer is no but maybe some of you have an ingenius
 solution.

Hi Jacque,

Maybe I have all wrong. I confess that I just created a menu in
Windows for the first time since your question. ;)

I note that the menu is created in the top left of each stack and is
managed by a menuPick handler.

Here is what I could do to have this menu in each of my documents.
This is purely theoretical.

1) Creating of a substack in my project (as a kind of library) where I
could create the main menu
2) Creating a button with some script to handle my menu bar.
3) Creating a parentscript / behavior link between menu bar and its
code in the button
4) At every opening of a new document, copy of my group menu in the
new open stack. Provided of course that I have room in the top left

Maybe it can help, perhaps not. I tried ;)

-- 
-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: Re: [Ann] Build your own games

2010-01-26 Thread Malte Pfaff-Brill
thanks JB! 
Hope you enjoy dissecting the sources. :-)
All the best,
Malte


 Thanks Malte
 
 Showing every aspect of creating a commercial application in Rev  
 alone is worth the money
 and then to provide the code, artwork  sounds too plus allowing  
 people to use it royalty free
 to make their own version of the game is as good as it gets.
 
 You got my money!
 
 -=JB=-
 


___
use-revolution mailing list
use-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: RevLive09 DVD Set Session resources

2010-01-26 Thread RevList
jac...@hyperactivesw.com on January 26, 2010 at 11:33 AM -0800 wrote:
Stewart -- I've lost track of what the url should be and which files 
were on the server. I don't have a copy of the DVD to check, so could 
you contact me off list and we can figure it out? I know...I was an 
idiot. Go ahead and say it. :)
No you aren't :)

It seems that every presentation I have watched (and I have just started),
the links either do not work or are not the what you would expect.
I think someone at RunRev should go through all of the presentations and
get the resources and put them all in one location and have them linked by
presentation.  Either that or bundle them all together and put them in a
zip file for all of use who have purchased the DVD to get access to these
very important resources.

Here are just some that I have found and find frustrating.  It seems that
every session I watch refers to resources but it is not at all clear where
to get them.  For this DVD set to be useful to all of us, having simple
and direct access to all of the resources is imperative.  Would someone at
RunRev please consolidate and let us know where to get all resources from
a single location?

Opening Session (Devin Assay)  www.runrevlive.com/sessions/day0.zip gives
an error

Introduction to revWeb Plugin  revlets (Ben Beaumont)
www.runrevlive.com/sessions/revweb/runrevlive09-revweb.zip or
www.runrevlive.com/sessions/revweb/step1.html
Both produce errors

Presenting Data with the Data Grid (Trevor DeVore)  http://tr.im/data_grid
 Found the resource (I think) but get an error when loading 
intro_to_data_grid_starter.rev.  It chokes on set the dgData of group
Songs to empty




This message and any attachments are intended only for the use of the
individual to whom they are addressed and it may contain information that
is privileged or confidential. If you have received this communication by
mistake, please notify us immediately.


___
use-revolution mailing list
use-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: Rev and SnoLeo

2010-01-26 Thread Bob Sneidar
I call bull***t! 

Bob

On Jan 25, 2010, at 11:25 PM, Kay C Lan wrote:

 to save time, Snow Leopard doesn't quit programs the way it used to - it
 kills them. It checks to see if they have unsaved documents or un-backed-up
 preference setting changes first, of course. But if not, it issues a kill
 command to them, which terminates them instantly

___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Alex Tweedly

stephen barncard wrote:

Lots of great example stories in the issues of revUp. Unfortunately, they
are not indexed or searchable, and it's a bear trying to find an old
article. I only found this as it was deep within my own bookmarks.
  
You can get some hints at 
http://www.runrev.com/developers/resources/newsletters/ and it would 
surely form the kernel of a web-scraping project to index the older 
newsletters .


(H - another interesting project to do when I have some spare time 
- just what I needed :-)


-- Alex.
___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Sarah Reichelt
On Tue, Jan 26, 2010 at 10:36 PM, Bernard Devlin bdrun...@gmail.com wrote:
 Hang on :-)  I seem to remember Jacques saying recently that she'd
 found that the internet date was more reliable across time zones than
 storing seconds.


It all depends what you want :-)

The seconds translates to a date  time that depends on the time zone
settings of the computer doing the conversion, so the same number will
translate differently around the world. This may be what you need, but
it is not always useful.

I used to operate a series of kiosks in multiple time zones across
Australia. They would send their reports back with time stamps. If I
had used seconds, then the times would have been altered by the time
they got to me, but I needed to know the times as they were at the
kiosk.

e.g. if a kiosk in Western Australia has a problem at 4 pm, when this
gets to me, it gets translated to 6 pm. It was at 6 pm my time, but if
I have to ring up someone on site, I need to tell them that the
problem was at 4, not 6. So for me, using the seconds was not useful.

The internet date is one alternative, but it doesn't account for
daylight savings.

I ended up using my own time stamp routines, with an AppleScript
routine for working out daylight savings.

To avoid all these issues, there is an enhancement request in the Rev
QA http://quality.runrev.com/qacenter/show_bug.cgi?id=4949 asking
for the universal seconds which would be a number of seconds that
was not affected in any way by the time zone of the converting
computer.

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


Re: Is a file an image?

2010-01-26 Thread Malte Pfaff-Brill
Taking a quick glimpse at Wikipedia suggests this should be pretty 
straightforward:

http://en.wikipedia.org/wiki/Magic_number_%28programming%29#Magic_numbers_in_files

Cheers,

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


Open Database On-Rev Examples?

2010-01-26 Thread Rick Harrison
Hi there,

Does anyone have a good example of opening a MySQL database on On-Rev
using a Rev stack on a local machine?

I've looked at the documentation thus far, and found it to not be adequate.

I just keep getting the following message, which I believe is telling me
that it just didn't connect at all in the first place.

Lost connection MySQL server during query

I don't know if this a password permissions problem or path problem or what.

Suggestions?

Thanks in advance!

Rick



___
use-revolution mailing list
use-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: Looking for volunteers to create Wikipedia on CD application

2010-01-26 Thread Alejandro Tejada

Hi Mark,


Mark Wieder wrote:
 
 Yeah, that was the one case I thought of where it might be useful to
 have a static, albeit somewhat outdated, snapshot of the data. Of
 course, considering that Wikipedia doesn't for the most part require
 broadband access where dialup would do, the following chart is
 probably more to the point:
 http://www.internetworldstats.com/stats.htm
 

The key word is cost, not velocity.

Talking with teachers from public schools, i have learned
that many of their student's families could afford one computer
for the whole family, (here exist an enormous market for
second-hand computers) but these families could not pay the
monthly cost of Internet service that starts at US$60 dollars
for 256KB... Costly, as you noticed.

Their economy allows these students to pay for an hour of
internet access in an internet center for US$1 (one dolar)
or more.

In theory, every public school should have free internet access.
In practice, the number of public schools with internet access is
disminishing not increasing, although newspapers constantly
publish news that said otherwise. (Just talk with the teachers
and students)

Two CD (for texts and images) will cost US$0.66 cents or less
and could hold a whole encyclopedia. This is less than a single
hour of internet access. (A single 4.5 Gb DVD could be still cheaper,
but not everyone have a DVD reader in their computer)

No matter how you calculate this. It's an economically sound
decision to distribute the Wikipedia for offline use among public
school students.

Members of this community have the skills to build this project.

The only remaining question is: 
Could we lend a hand to collectively create this project,
as a gift from this community to students everywhere?

Goals and direction should appear from consensus:

http://en.wikipedia.org/wiki/Consensus

:-D

For this project, I believe that we should be able to contribute
with Password protected libraries, for specific functions or
features. In this way, your code is protected but still available
for use in this project.

I could write some code and test the application
in Windows XP and Vista.

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Looking-for-volunteers-to-create-Wikipedia-on-CD-application-tp1288518p1311164.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


[ANN] ssMacWindows 1.6.1

2010-01-26 Thread Shao Sean

What is new
---

- removed the automatic proxy menu support and added in custom handling
  this allows the proxy menu to be used in Rev 2.8 or greater  
(including 4.5.0-dp-1)
  allows for proxy icon drag and drop to be in Rev 2.8 or greater  
(including 4.5.0-dp-1)


- added new callback message for the proxy menu
  ssProxyMenuOpened

- added new callback messages for the title bar (after the proxy icon  
has been set)

  ssMouseDownInTitleBar, ssMouseUpInTitleBar

- added new callback messages for existing commands in the external
  command - message
  ssHideFloatingWindows - ssFloatingWindowsHidden
  ssShowFloatingWindows - ssFloatingWindowsShown
  ssDisplaySwitchMode   - ssDisplayModeSwitched
  ssDisplayRestoreMode  - ssDisplayModeRestored



What is coming
--

- Trevor DeVore graciously donated replacement code for the Hot Key  
feature and it will be made free to use even in compiled applications


- If I am able to get it working, I will offer custom drag data for  
the proxy icon drag/drop feature (right now it just drops the file path)


- More externals thanks to:
  Malte Pfaff-Brill  (of course I will now be busy making my own  
drops! clone ;-)
  Trevor DeVore  (the source code and screen captures have helped  
_so_ much)

  Tereza Snyder  (screen captures, links and fixes for the externals.h)
  Jeff McWard  (my web host and bandwidth provider  http://www.wehostmacs.com/ 
 



As always, get the newest version from my site  http://shaosean.tk/ 

-Sean
___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Shao Sean
Would an external work to suit these needs? It does not look overly  
complex and I can see about getting access to a Windows box to code  
for that platform.. Anyone willing to give me remote access to a Linux  
box to build an external for there?  [anyone have an old Intel-based  
Mac they would like to donate so I can write externals for all three  
platform? worth a try ;-) ]


-Sean
___
use-revolution mailing list
use-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: The seconds and time zones

2010-01-26 Thread Sarah Reichelt
On Wed, Jan 27, 2010 at 12:08 PM, Shao Sean shaos...@wehostmacs.com wrote:
 Would an external work to suit these needs? It does not look overly complex
 and I can see about getting access to a Windows box to code for that
 platform.. Anyone willing to give me remote access to a Linux box to build
 an external for there?  [anyone have an old Intel-based Mac they would like
 to donate so I can write externals for all three platform? worth a try ;-) ]


I don't know. I guess it would depend on how each system handled their
dates  times internally.

However it's not worth it for me, since I now longer deal with some
issues on a regular basis and I have all my time stamp routines worked
out for if I do.

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


Re: The seconds and time zones

2010-01-26 Thread Shao Sean
it would depend on how each system handled their dates  times  
internally.


I was looking at the ANSI C time routines and they start from Jan 1,  
1970 GMT and there are functions to convert from localized and non- 
localized times..

___
use-revolution mailing list
use-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: Open Database On-Rev Examples?

2010-01-26 Thread Pierre Sahores

Hi Rick,

Should this example help ?

function MySQL_idesk_lib  
tparam1 
,tparam2,tparam3,tparam4,tparam5,tparam6,tparam7,tparam8,tparam9
	put revOpenDatabase  
(mysql,localhost,user,db_name,password) into myDatabaseID

if myDatabaseID is not a number
then return There was an error connecting to the SQL database!
else

if tparam1 is unselect_grid then

			put UPDATE definitions_en_cours SET edit_timeout = '0' WHERE  
abo_email = '  tparam2  ' AND editable_grid = '  tparam3  '  
into sqlStatement

revExecuteSQL myDatabaseID,sqlStatement
if the result is not a number
then return error while submitting the UPDATE statement 
...
else return 

else if tparam1 is update_tarif_webstore then

			put UPDATE abonnes SET abo_tarif_webstore = '  tparam3  '  
WHERE abo_email = '  tparam2  ' into sqlStatement

revExecuteSQL myDatabaseID,sqlStatement
if the result is not a number
then return error while submitting the UPDATE statement 
...
else return tparam3

else if tparam1 is tarif_webstore then

			put SELECT * FROM abonnes WHERE abo_email = '  tparam2  '  
into sqlStatement

put revQueryDatabase(myDatabaseID,sqlStatement) into 
dbCursorID

if dbCursorID is not a number
then return There was en error submitting the SELECT 
statement!
else

if revNumberOfRecords(dbCursorID) is 1
then return word 1 to -1 of  
revDatabaseColumnNamed(dbCursorID,abo_tarif_webstore)

else return 

end if

else if tparam1 is addgridtoedit then

			put INSERT INTO definitions_en_cours SET abo_email = '   
tparam2  ', editable_grid = '  tparam3  ', edit_timeout = '   
the seconds  \

', abo_directory = '  tparam4  ' into 
sqlStatement
revExecuteSQL myDatabaseID,sqlStatement
if the result is not a number
then return error while submitting the INSERT statement 
...
else return 

else if tparam1 is display_clues then

			put SELECT * FROM definitions_en_cours WHERE abo_email = '   
tparam2  ' AND editable_grid = '  tparam3  ' into sqlStatement

put revQueryDatabase(myDatabaseID,sqlStatement) into 
dbCursorID
if dbCursorID is not a number
then return error while submitting the SELECT statement 
...
else if revNumberOfRecords(dbCursorID) is not 0 then

return revDatabaseColumnNamed(dbCursorID,h_grid_clues)  |   
revDatabaseColumnNamed(dbCursorID,v_grid_clues)  |   
revDatabaseColumnNamed(dbCursorID,xml_plot)


end if

else if tparam1 is accepted_clues then

			put SELECT * FROM definitions_en_cours WHERE abo_email = '   
tparam2  ' AND editable_grid = '  tparam3  ' into sqlStatement

put revQueryDatabase(myDatabaseID,sqlStatement) into 
dbCursorID
if dbCursorID is not a number
then return error while submitting the SELECT statement 
...
else if revNumberOfRecords(dbCursorID) is not 0 then

return revDatabaseColumnNamed(dbCursorID,h_grid_clues)  |   
revDatabaseColumnNamed(dbCursorID,v_grid_clues)  |  \
	revDatabaseColumnNamed(dbCursorID,xml_plot)  |   
revDatabaseColumnNamed(dbCursorID,CCL)


end if

else if tparam1 is publish_target then

replace | with   in h_grid_clues
replace | with   in v_grid_clues

			put INSERT INTO  tparam2  SET abo_email = '  tparam3   
', editable_grid = '  tparam4  \
', h_grid_clues = '  tparam5  ', v_grid_clues = '   
tparam6  \
', xml_plot = '  tparam7  ', colab_copy_name = '  tparam8  
 ', publish_date = '  the seconds  ' into sqlStatement

### ajouter tarif de mise à prix ###
revExecuteSQL myDatabaseID,sqlStatement
if the result is not a number
then return error while submitting the INSERT statement 
...
else
put DELETE FROM definitions_en_cours WHERE abo_email = '   
tparam3  ' AND editable_grid = '  tparam4  ' into sqlStatement


Re: Open Database On-Rev Examples?

2010-01-26 Thread Sarah Reichelt
 Does anyone have a good example of opening a MySQL database on On-Rev
 using a Rev stack on a local machine?


I use the scripts from the Splash21 web site http://splash21.on-rev.com/.
If you sign up, you can download all the files.

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


Re: Looking for volunteers to create Wikipedia on CD application

2010-01-26 Thread Alejandro Tejada

Hi David,


David Bovill-3 wrote:
 
 I use it to move articles around between MediaWikis and
 provide additional tools that MediaWiki does not have.
 

According to your description, this code looks like
the startpoint for a commercial application for
wiki administrators. ;-)

David, Could you create code that:

Verify (for a user selected list of articles) if offline XML Wikitext is
not identical to online XML Wikitext, then download news XMLs,
compress them as gzip and save a file to a folder in writable media?

A more advanced version could just store a diff between these
two XML Wikitext.

Your code could work as a deliberately slow mechanism to update
Wikis XML databases.

Notice that Wikipedia have warned against creating applications that
download too many pages in a short time frame.

Many thanks for offering your help for this project!
Have a great good week. 

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Looking-for-volunteers-to-create-Wikipedia-on-CD-application-tp1288518p1311191.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: [ANN] tRev Gets Better PDF Docs, Enhanced Scratch Pad Editing (video)

2010-01-26 Thread Kay C Lan
On Tue, Jan 26, 2010 at 10:25 PM, Jerry Daniels jerry.dani...@me.comwrote:

 Kay,

 I don't know what link you are using,...

 On Fri, Jan 15, 2010 at 1:45 AM, Jerry Daniels jerry.dani...@me.com
 wrote:

  tRev users,

 Here's the link to a page with links to the Quickstart guide
 and the Shortcuts.

  http://reveditor.com/trev-quickstart-shortcuts-now-on-iworkcom


Jerry,

In your original post you had a link back to you 12Jan10 Blog. In the body
were 3 links, Quickstart and Keyboard shortcuts (Win and Mac). I didn't try
the other two, but he Quickstart one failed and still fails.

Fortunately your suggested alternative links work fine.

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


Re: Windows menu bars

2010-01-26 Thread J. Landman Gay

zryip theSlug wrote:


Here is what I could do to have this menu in each of my documents.
This is purely theoretical.

1) Creating of a substack in my project (as a kind of library) where I
could create the main menu
2) Creating a button with some script to handle my menu bar.
3) Creating a parentscript / behavior link between menu bar and its
code in the button
4) At every opening of a new document, copy of my group menu in the
new open stack. Provided of course that I have room in the top left

Maybe it can help, perhaps not. I tried ;)



Thanks. It won't work for my stacks, they have too many cards each. When 
you copy a menu to a stack, you also have to place it on each card. 
Right now I have a pre-placed menu on each card, and have duplicated the 
menu for each stack, which I think is how it's often done. But I was 
hoping someone had a better idea. Or I may have to use a floating menu 
stack after all.


--
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: Question on RevMobile

2010-01-26 Thread Kay C Lan
You guys are just too kind :-) My wife wont have to worry about my birthday
or next Christmas ;-)

On Tue, Jan 26, 2010 at 9:29 PM, Andre Garzia an...@andregarzia.com wrote:

 wait for my books on BeOS and the NewtonOS... Revolution will be
 ubiquitous...

 On Tue, Jan 26, 2010 at 10:40 AM, Bernard Devlin bdrun...@gmail.com
 wrote:

  This is like a Kay Back Machine, right :-)  I have some OS/2 books I
  can send you so they can start working on Revolution for OS/2.
 
  http://www.archive.org/web/web.php
 
  Bernard
 
  On Tue, Jan 26, 2010 at 6:37 AM, Kay C Lan lan.kc.macm...@gmail.com
  wrote:
   If anyone wants Rev 4.0 Linux or Classic engines please email me
 off-list
  to
   persuade me spend time and money to go down that path - Rev will then
  make
   an announcement 2 weeks later ;-)
  ___
  use-revolution mailing list
  use-revolution@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-revolution
 



 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 use-revolution mailing list
 use-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: The seconds and time zones

2010-01-26 Thread Bill Vlahos
The seconds is exactly what I wanted. I needed a reliable way to tell when 
the user changed the record so I can sync the most recent changes.

This discussion has been great.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Jan 26, 2010, at 6:24 PM, Sarah Reichelt wrote:

 On Wed, Jan 27, 2010 at 12:08 PM, Shao Sean shaos...@wehostmacs.com wrote:
 Would an external work to suit these needs? It does not look overly complex
 and I can see about getting access to a Windows box to code for that
 platform.. Anyone willing to give me remote access to a Linux box to build
 an external for there?  [anyone have an old Intel-based Mac they would like
 to donate so I can write externals for all three platform? worth a try ;-) ]
 
 
 I don't know. I guess it would depend on how each system handled their
 dates  times internally.
 
 However it's not worth it for me, since I now longer deal with some
 issues on a regular basis and I have all my time stamp routines worked
 out for if I do.
 
 Regards,
 Sarah
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


[datagrid] how to search and show the result?

2010-01-26 Thread Robert Man

I built a simple list using datagrids, all goes fine. I chose to store data
in the dg cache. Except, that in any text application, you'd expect the find
command to work and display the results.

Currently, the standard IDE search finds a test word in the dg cache of the
datagrid. that's about it.

If any of you has an idea on how to implement searching and showing in a
datagrid.. or maybe this issue will be covered in a later version of
datagrids? thanks, Robert




-- 
View this message in context: 
http://n4.nabble.com/datagrid-how-to-search-and-show-the-result-tp1311218p1311218.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: The seconds and time zones

2010-01-26 Thread Monte Goulding

Hi Folks

There is another issue when using the seconds for a time stamp. If you  
record the seconds in a month outside summer time and translate the  
seconds to another format in a month in summer time or visa versa your  
result is an hour wrong. So the engine is not working out if the date  
the seconds refers to is in summer time or not before converting it  
using your local time zone. I always use the internet time for time  
stamps.


Cheers

Monte
___
use-revolution mailing list
use-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: Open Database On-Rev Examples?

2010-01-26 Thread Rick Harrison
Hi Pierre,

I'll take a look at this!

Thanks,

Rick


On Jan 26, 2010, at 9:38 PM, Pierre Sahores wrote:

 
 function MySQL_idesk_lib 
 tparam1,tparam2,tparam3,tparam4,tparam5,tparam6,tparam7,tparam8,tparam9
  put revOpenDatabase (mysql,localhost,user,db_name,password) 
 into myDatabaseID
  if myDatabaseID is not a number
  then return There was an error connecting to the SQL database!
  else
  
  if tparam1 is unselect_grid then
  
  put UPDATE definitions_en_cours SET edit_timeout = '0' 
 WHERE abo_email = '  tparam2  ' AND editable_grid = '  tparam3  ' 
 into sqlStatement
  revExecuteSQL myDatabaseID,sqlStatement
  if the result is not a number
  then return error while submitting the UPDATE 
 statement ...
  else return 
  
  else if tparam1 is update_tarif_webstore then
  
  put UPDATE abonnes SET abo_tarif_webstore = '  
 tparam3  ' WHERE abo_email = '  tparam2  ' into sqlStatement
  revExecuteSQL myDatabaseID,sqlStatement
  if the result is not a number
  then return error while submitting the UPDATE 
 statement ...
  else return tparam3
  
  else if tparam1 is tarif_webstore then
  
  put SELECT * FROM abonnes WHERE abo_email = '  
 tparam2  ' into sqlStatement
  put revQueryDatabase(myDatabaseID,sqlStatement) into 
 dbCursorID
 
  if dbCursorID is not a number
  then return There was en error submitting the SELECT 
 statement!
  else
 
  if revNumberOfRecords(dbCursorID) is 1
  then return word 1 to -1 of 
 revDatabaseColumnNamed(dbCursorID,abo_tarif_webstore)
  else return 
 
  end if
 
  else if tparam1 is addgridtoedit then
 
  put INSERT INTO definitions_en_cours SET abo_email = 
 '  tparam2  ', editable_grid = '  tparam3  ', edit_timeout = '  
 the seconds  \
  ', abo_directory = '  tparam4  ' into 
 sqlStatement
  revExecuteSQL myDatabaseID,sqlStatement
  if the result is not a number
  then return error while submitting the INSERT 
 statement ...
  else return 
  
  else if tparam1 is display_clues then
  
  put SELECT * FROM definitions_en_cours WHERE abo_email 
 = '  tparam2  ' AND editable_grid = '  tparam3  ' into sqlStatement
  put revQueryDatabase(myDatabaseID,sqlStatement) into 
 dbCursorID
  if dbCursorID is not a number
  then return error while submitting the SELECT 
 statement ...
  else if revNumberOfRecords(dbCursorID) is not 0 then
  
  return 
 revDatabaseColumnNamed(dbCursorID,h_grid_clues)  |  
 revDatabaseColumnNamed(dbCursorID,v_grid_clues)  |  
 revDatabaseColumnNamed(dbCursorID,xml_plot)
  
  end if
  
  else if tparam1 is accepted_clues then
 
  put SELECT * FROM definitions_en_cours WHERE abo_email 
 = '  tparam2  ' AND editable_grid = '  tparam3  ' into sqlStatement
  put revQueryDatabase(myDatabaseID,sqlStatement) into 
 dbCursorID
  if dbCursorID is not a number
  then return error while submitting the SELECT 
 statement ...
  else if revNumberOfRecords(dbCursorID) is not 0 then
 
  return 
 revDatabaseColumnNamed(dbCursorID,h_grid_clues)  |  
 revDatabaseColumnNamed(dbCursorID,v_grid_clues)  |  \
  
 revDatabaseColumnNamed(dbCursorID,xml_plot)  |  
 revDatabaseColumnNamed(dbCursorID,CCL)
 
  end if
  
  else if tparam1 is publish_target then
  
  replace | with   in h_grid_clues
  replace | with   in v_grid_clues
  
  put INSERT INTO  tparam2  SET abo_email = '  
 tparam3  ', editable_grid = '  tparam4  \
  ', h_grid_clues = '  tparam5  ', 
 v_grid_clues = '  tparam6  \
  ', xml_plot = '  tparam7  ', 
 colab_copy_name = '  tparam8  ', publish_date = '  the seconds  ' 
 into sqlStatement
  ### ajouter tarif de mise à prix ###
  revExecuteSQL myDatabaseID,sqlStatement
  if the result is not a number

Re: Open Database On-Rev Examples?

2010-01-26 Thread Rick Harrison
Hi Sarah,

I signed up for Splash21.  When I tried to login,
it keeps giving me a login error.  I've tried it
at least 12 times or more.  The site isn't working
correctly for some weird reason.

Thanks,

Rick


On Jan 26, 2010, at 9:44 PM, Sarah Reichelt wrote:

 Does anyone have a good example of opening a MySQL database on On-Rev
 using a Rev stack on a local machine?
 
 
 I use the scripts from the Splash21 web site http://splash21.on-rev.com/.
 If you sign up, you can download all the files.
 
 Cheers,
 Sarah
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

__
Rick Harrison

You can buy my $10 music album Funny Time Machine digital CD on the iTunes 
Store Now!

To visit the iTunes Store now to listen to samples of my CD please click on the
following link.  (Please note you must have iTunes installed on your computer 
for this link to work.)  

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
use-revolution mailing list
use-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: Open Database On-Rev Examples?

2010-01-26 Thread Rick Harrison
Hi Sarah,

Nevermind.  Once I checked my email, I found
the confirmation link required to validate the account.
You would think they would have said a little something
about that when one signs up.

Thanks for the recommendation.  I'm looking at the
database script examples now.

Rick


On Jan 26, 2010, at 11:42 PM, Rick Harrison wrote:

 Hi Sarah,
 
 I signed up for Splash21.  When I tried to login,
 it keeps giving me a login error.  I've tried it
 at least 12 times or more.  The site isn't working
 correctly for some weird reason.
 
 Thanks,
 
 Rick
 
 
 On Jan 26, 2010, at 9:44 PM, Sarah Reichelt wrote:
 
 Does anyone have a good example of opening a MySQL database on On-Rev
 using a Rev stack on a local machine?
 
 
 I use the scripts from the Splash21 web site http://splash21.on-rev.com/.
 If you sign up, you can download all the files.
 
 Cheers,
 Sarah
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 __
 Rick Harrison
 
 You can buy my $10 music album Funny Time Machine digital CD on the iTunes 
 Store Now!
 
 To visit the iTunes Store now to listen to samples of my CD please click on 
 the
 following link.  (Please note you must have iTunes installed on your computer 
 for this link to work.)  
 
 http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

__
Rick Harrison

You can buy my $10 music album Funny Time Machine digital CD on the iTunes 
Store Now!

To visit the iTunes Store now to listen to samples of my CD please click on the
following link.  (Please note you must have iTunes installed on your computer 
for this link to work.)  

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
use-revolution mailing list
use-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: Windows menu bars

2010-01-26 Thread Ron

Jacque
I was hoping for a better answer from someone as well. I ended up  
doing what you did in a similar situation.


If its not too late, don't forget about the advantage of behaviors  
when adding all those menus. Maintaining one menuset and then  
parentscripting all the others has saved me lots of time when I need  
to change something in one of the menus.


Ron

On Jan 27, 2010, at 12:31 PM, J. Landman Gay wrote:


zryip theSlug wrote:


Here is what I could do to have this menu in each of my documents.
This is purely theoretical.
1) Creating of a substack in my project (as a kind of library)  
where I

could create the main menu
2) Creating a button with some script to handle my menu bar.
3) Creating a parentscript / behavior link between menu bar and its
code in the button
4) At every opening of a new document, copy of my group menu in the
new open stack. Provided of course that I have room in the top left
Maybe it can help, perhaps not. I tried ;)


Thanks. It won't work for my stacks, they have too many cards each.  
When you copy a menu to a stack, you also have to place it on each  
card. Right now I have a pre-placed menu on each card, and have  
duplicated the menu for each stack, which I think is how it's often  
done. But I was hoping someone had a better idea. Or I may have to  
use a floating menu stack after all.


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

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


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


Re: The seconds and time zones

2010-01-26 Thread Jim Ault




On Jan 26, 2010, at 8:07 PM, Monte Goulding wrote:


Hi Folks

There is another issue when using the seconds for a time stamp. If  
you record the seconds in a month outside summer time and translate  
the seconds to another format in a month in summer time or visa  
versa your result is an hour wrong. So the engine is not working out  
if the date the seconds refers to is in summer time or not before  
converting it using your local time zone. I always use the internet  
time for time stamps.




Agreed, especially if you are populating a database that would depend  
on accurate time stamps such as system log files for data processing  
and work flows.  Reports and comparisons can span months.


Most comparisons are not that stringent, so the seconds will work fine.

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: Windows menu bars

2010-01-26 Thread J. Landman Gay

Ron wrote:

If its not too late, don't forget about the advantage of behaviors when 
adding all those menus. Maintaining one menuset and then parentscripting 
all the others has saved me lots of time when I need to change something 
in one of the menus.


What I've done is to have zero scripts in the menubar at all. It's just 
a bunch of empty buttons. All the stacks are run by a single backscript, 
and there is one menupick handler in there with all the menu items in it 
(it's a pretty short menu.) That means there is only one handler to manage.


I thought about using behaviors, but I didn't see an advantage to it in 
this situation. Would there be one?


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