Re: OS X Dock menu

2009-06-20 Thread Sarah Reichelt
On Thu, Jun 11, 2009 at 4:48 PM, Jim Simss...@ezpzapps.com wrote:
 Thank you Klaus and Mark.

 I was hoping to use the icon menu part and not the changing icon part.
 It seems that the menu has issues after it has been used a time or two and
 simply stops working. At first (as is my usual suspicion) I thought it must
 be my scripting, but after reading the list archives and seeing Sarah's
 words:

 Anyway, I hope my experience will save others from wasting their time
 - the dock icon works fine, but don't bother trying to make a menu :-(
 If Sarah wasn't getting it to work then my attempts stopped right there.

 Too bad, would be a great feature.


Wait! I got it to work after a Rev update (forget which one).

If you want to check out the Mac version of Pic-a-POD
http://www.troz.net/Pic-a-POD/ you can see a dynamic Dock menu in
action.

I use an iconMenuOpening handler to create the menu on the fly,
including sub-menus,
Then I have an iconMenuPick handler that deals with any menu selections.

I also set the Dock icon (optionally) and the only trick there is to
make sure the image being used is the right size (128 x 128) or it
won't work. I haven't tried a smaller icon, but larger does not work.

I have only tried this on Mac. I believe it works in a similar way
with the system tray in Windows, but I haven't tried that yet.

Cheers,
Sarah

P.S. My apologies for the late response to this thread. I've spent the
last 2 weeks in hospital with a broken leg (I shattered my tibial
plateau for the experts on the list). Eventually the swelling went
down enough for them to bolt me together and I am now home - re-united
with my beloved family and Mac :-) Still on pain-killers so brain
working at about half-speed, but glad to be getting back into the
usual things, even if I can only hop about on crutches for the next 12
weeks.
___
use-revolution mailing list
use-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: Lost global variables when running on Windows

2009-06-20 Thread Sarah Reichelt
 My SplashStack on my Mac calls my .rev file, and
 all the functions run perfectly, such as displaying
 photos from an external folder, whose name I hold
 in a global variable.

 I use my global variables to hold such things as :
 stackname, platform (so I know the PC system drive),
 intermediate folder names, and I build all my file
 paths by concatenation of these globals.

 When I call the same .rev file from the Windows
 version of the SplashStack, I find I have a handful
 of global variables MISSING. They are defined and set
 in the OpenStack script of the.rev called stack, and
 later on - they disappear.

 Are there any know problems concerning global variables
 from use on the Mac to use on the PC ?

I have had no such problems and with globals being such an intrinsic
part of the language, I can't see how they could be lost in any
cross-platform oddity.

The things that come to mind are:

are you positive that the globals are really being set in the first place?
is there an error in your openStack script that might stop these being set up?
if so, are the file paths translating correctly to Windows-type file paths?

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: error with revIDEHandleMouseUp ?

2009-06-20 Thread Sarah Reichelt
On Thu, Jun 11, 2009 at 6:43 AM, Curt Fordc...@sonasoftware.com wrote:
 A substack which has so far been behaving itself is acting strangely.. when
 I open the substack from its mainstack (via a pulldown menu), the IDE seems
 to freeze; after a minute or so I get an error:

 'The handler: revIDEHandleMouseUp has reached the recursion limit of:
 40. Execution will be terminated to prevent hang.'

 I can click 'OK' out of that, and if I click the pointer tool for edit mode
 immediately, I can work a little with the stack; as soon as I choose the
 browse tool to run it, it gets stuck again  shows the same error.

 I can open the substack from the application browser but it freezes up
 immediately again when I choose the browse tool.

 I didn't see anything about revIDEHandleMouseUp in the Quality Control
 Centre. Any suggestions how to start troubleshooting?

 Running 3.5; upgraded to Mac OS X 10.5.7 just last night.. hmm..

Lock messages before opening that sub-stack. Then check all open...
and preOpen.. handlers in that stack, card and in the mainStack.
I would guess the recursion is happening there, even though the error
report indicates the Rev IDE.

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: revert command

2009-06-20 Thread Sarah Reichelt
On Fri, Jun 12, 2009 at 2:14 AM, jim simss...@ezpzapps.com wrote:
 I'm experimenting with an updater mechanism.

 I have a splash stack which has a substack named stack RT

 On the splash stack I have a button with:

 on mouseUp
  delete stack RT
  go stack url http://www.ezpzapps.com/RevertTest.rev;
   revert
   start using stack RT
 end mouseUp

 I can see the the downloaded version appear but once the revert command is
 done the old one comes back (its easy to tell the difference as one has an
 image of a pirate and the other does not).

 If I leave out the revert command the new version is open and in view, but
 does not become a substack of the splash.

 What am I doing wrong?

Your script is saying:
- close the substack
- download a new copy of the substack from the web
- now go back to the original saved copy

As Mark says, you need to have the sub-stack as a separate file. Then
you need to download the new version and SAVE it - over-writing the
original. Once you have saved the new version in the same location,
the revert command will load in the new one, not re-load the old
one.

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: Generate bar codes EAN13 and others

2009-06-20 Thread Sarah Reichelt
On Fri, Jun 12, 2009 at 8:54 AM, Josepjmye...@mac.com wrote:

 Hi,

 Any tip about generate bar codes from Rev? I downloaded some fonts to print
 EAN13. I need perform some calc or can I use directly with the font?
 What standard or generic bar code can I use? or is the prefered?


I have scripts to generate Code 128 bar codes with the correct headers
 footers. Then you need a Code 128 font to display them. If this is
any use to you, let me know and I can post the scripts.

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: To On-Rev or Not to On-Rev

2009-06-20 Thread Sarah Reichelt
 I'm considering taking the On-Rev plunge.  My main use of it would be to
 collect data from online experiments that use interactive web pages deployed
 by Revolution.  I have the luxury of a static IP at my university, so I
 currently use my Mac as a server, and given that the web page functionality
 of Rev HTML tags will apparently be included in future versions of
 Revolution, I wonder whether a switch to On-Rev is worth it.  What do you
 think?

I run an intranet data server based on Andre's RevOnRockets. This is
really effective and does NOT require On-Rev as it is all hosted on
one of the computers on my LAN.

However I am a great supporter of On-Rev and bought a founder
membership so I could use it for my own personal web site and for
serving web data outside my network. The future web page functionality
will be achieved by getting people to install a Rev plugin so that
stacks can appear inside web pages. I think there will always be
people and places who do not allow this, so I prefer to use On-Rev for
my web page scripting.

So basically, my advice would be to stick to what you know works,
unless you can see a benefit to the more advanced web page scripting
abilities of On-Rev.

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: Standalone problems

2009-06-20 Thread Sarah Reichelt
 2. For Mac OS X using a custom icon works sometimes and not other times. I
 haven't been able to figure out why sometimes the custom icon appears and
 other times does not. I'm unclear as to whether the Windows build shares the
 problem. I use boot camp and don't always go though the reboot to check the
 Windows standalone and then reboot into Mac OS.

This is a very common problem and can be solved in many different ways.
- use Terminal to 'touch' the app
- zip  un-zip the app
- duplicate the app

Any of these seem to make Finder re-think it's idea of the icon and
display your custom icon correctly.

If none of these works, then maybe the icon file is not in the correct
format for OS X.

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: OS X Dock menu

2009-06-20 Thread Kay C Lan
On Sat, Jun 20, 2009 at 5:33 PM, Sarah Reichelt sarah.reich...@gmail.comwrote:


 P.S. My apologies for the late response to this thread. I've spent the
 last 2 weeks in hospital with a broken leg (I shattered my tibial
 plateau for the experts on the list).


Ouch!! Hope your recovery goes well.

Eventually the swelling went
 down enough for them to bolt me together and I am now home - re-united
 with my beloved family and Mac :-)


Yes, plenty of rest and a good Mac sounds like just the ticket ;-)


 Still on pain-killers so brain
 working at about half-speed,


And you've still managed to hit the List with a vengeance. Look forward to
your full-speed brain words of advice ;-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev application folder

2009-06-20 Thread David Bovill
Is there a Rev built in to find the current Rev application folder. The best
I can do is extract this from the filename of stack Home
___
use-revolution mailing list
use-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 application folder

2009-06-20 Thread Kay C Lan
On Sat, Jun 20, 2009 at 5:16 PM, David Bovill da...@architex.tv wrote:

 Is there a Rev built in to find the current Rev application folder. The
 best
 I can do is extract this from the filename of stack Home


Look in the Dictionary under defaultFolder, specifically the notes and the
User note by Devin Asay.

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: OS X Dock menu

2009-06-20 Thread -= JB =-


On Jun 20, 2009, at 2:33 AM, Sarah Reichelt wrote:


Cheers,
Sarah

P.S. My apologies for the late response to this thread. I've spent the
last 2 weeks in hospital with a broken leg (I shattered my tibial
plateau for the experts on the list). Eventually the swelling went
down enough for them to bolt me together and I am now home - re-united
with my beloved family and Mac :-) Still on pain-killers so brain
working at about half-speed, but glad to be getting back into the
usual things, even if I can only hop about on crutches for the next 12
weeks.


Glad to hear you will be okay, Sarah.  sorry to hear about the problem.
You would certainly be missed on this list and thanks for all the help
that you have already given.

-=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: Rev application folder

2009-06-20 Thread viktoras d.

Hi, David,

get the defaultFolder

When Revolution application starts up, the defaultFolder initially 
contains whatever the working directory was at the time the application 
was launched. Under the IDE it points to Revolution IDE folder, but for 
standalones it  points to working directory of standalone application 
(if not changed by script).


Viktoras

David Bovill wrote:

Is there a Rev built in to find the current Rev application folder. The best
I can do is extract this from the filename of stack Home
___
use-revolution mailing list
use-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: To On-Rev or Not to On-Rev

2009-06-20 Thread Andre Garzia

 I run an intranet data server based on Andre's RevOnRockets.


Yay! Victory!!! And does it works well?

:D

Cheers
andre

-- 
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: EduTainment Titles

2009-06-20 Thread Lynn Fredricks
Hi Sivakatirswami,

 With the advent of Rev Stacks running inside a browser, there 
 is interest here in our shop with the idea of doing 
 educational stackware.
 
 The perception that such titles by CD would probably never do 
 well compared to
 
 a) distributing printed materials
 b) PDF's of the same
 c) Some Browser app
 
 led to us never putting any energy into educational stackware.
 
 The run a stack in a browser changes the equation, big time.

You might be focusing too much on the techology here.

Almost every major educational software company and major academic press
house in the USA has licensed Valentina. Most of them are using Director, a
few Ive pursuaded to get into Revolution. 

One thing is clear to me though is that they choose solutions that have lean
tech requirements and focus almost entirely on the content itself. Here's
sort of a short list of what I see in common between them:

1. Focus on the content. Almost all work they do is towards making the
content compeling to their audience - really rich audio, interesting
graphics and video and the like. Interesting meaning, it may either be
very special and on topic, or it could be fun or exciting on the branding
side.

2. Minimize recommended configurations. They make sure the titles can work
without a web browser, best even without any internet connection at all. A
lot of school labs which account for very profitable volume sales will have
highly controlled internet access. If it cannot run without an internet
connection, its often a no buy.

3. Easy to use local management. If its an application that benefits from
lab level administration, make the teacher side of it easy to set up. A
lot of Valentina customers get our Bonjour add-on because they can simplifiy
a lot of lab level configuration by using it.

4. Protect Privacy. This is a big one - if your software tests
understanding/comprehension/etc, then make it secure.

5. Branding. Just one title doesn't really cut it; come up with several
titles that can have a shared brand. When you ship your first title, make
sure you can transfer your branding efforts to new titles.

In most cases - these companies do not push the limit of what Director (or
Revolution) can do - they don't want to, because it means they won't be able
to be used in so many schools.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

___
use-revolution mailing list
use-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: EduTainment Titles

2009-06-20 Thread Richmond Mathewson

Dear Sivakatirswami,

 In all the institututions I have worked in where I have
prepared education content delivery and reinforcement programs
over the last 15 years the following have held true:

Most programs have been held on a local server (SIUC,
UAE University) or on individual computers (St Andrews,
My school). In the case of the UAE that was because that
is a conservative society with a conservative educational
ethos who did not want their students to have internet
access.

At SIUC and St Andrews the applications were for use by students
on specific programs in specific computer labs.

In my own school I have no internet access at all as it is not required.

At St Andrews we ran some tests and found that programs on individual
machines tended to run faster, and load more quickly, than when stored on
a server. As Hard Drives are not the most expensive items on an educational
institution's budget storage space never came up as a problem.

Lynn Fredricks wrote:

Hi Sivakatirswami,

  
With the advent of Rev Stacks running inside a browser, there 
is interest here in our shop with the idea of doing 
educational stackware.


The perception that such titles by CD would probably never do 
well compared to


a) distributing printed materials
b) PDF's of the same
c) Some Browser app

led to us never putting any energy into educational stackware.

The run a stack in a browser changes the equation, big time.



You might be focusing too much on the techology here.

Almost every major educational software company and major academic press
house in the USA has licensed Valentina. Most of them are using Director, a
few Ive pursuaded to get into Revolution. 


One thing is clear to me though is that they choose solutions that have lean
tech requirements and focus almost entirely on the content itself. Here's
sort of a short list of what I see in common between them:

1. Focus on the content. Almost all work they do is towards making the
content compeling to their audience - really rich audio, interesting
graphics and video and the like. Interesting meaning, it may either be
very special and on topic, or it could be fun or exciting on the branding
side.
  
Yes, Yes, Yes: your first goal is to engage the student, and, 
presumably, not

have them so turned on by the jazzy technology that they lose sight of
the content you want them to focus on.

2. Minimize recommended configurations. They make sure the titles can work
without a web browser, best even without any internet connection at all. A
lot of school labs which account for very profitable volume sales will have
highly controlled internet access. If it cannot run without an internet
connection, its often a no buy.

-
My own applications are bog basic in terms of technology: I could,
if I wished, have all sorts of jazzy extras (and I take out my frustration
in not being able to use them by lobbing them at Use-List members).

However, an exercise in self-discipline is required here, and one must
eschew the bells and whistles lest one lose-sight of the rationale
behind the whole exercise (I believe the Sanskrit term for this type
of distraction is 'Maya' - and, about 5 feet from the keyboard I am
using right now I have a statue of Lord Shiva with his foot firmly
placed on the back of a Mara; an agent of Maya).

--

3. Easy to use local management. If its an application that benefits from
lab level administration, make the teacher side of it easy to set up. A
lot of Valentina customers get our Bonjour add-on because they can simplifiy
a lot of lab level configuration by using it.
  

Just bung the programs on the classroom server.

4. Protect Privacy. This is a big one - if your software tests
understanding/comprehension/etc, then make it secure.

5. Branding. Just one title doesn't really cut it; come up with several
titles that can have a shared brand. When you ship your first title, make
sure you can transfer your branding efforts to new titles.
  

And, something that I think is very important here; a fairly standardised,
and recognisable interface style. So that when a student fires up one of
your applications s/he can say Ah, one of those programs and feel
comfortable and relaxed; and, as a consequence, open to new
instruction.

Once in a while I go funny and try out a new interface style in a
program - always a mistake - the kids I teach, have, over a period of
time, got used to the 'Richmond style' and respond well to it - and when
faced with a new interface get seriously discombobulated. Now as my main
aim is to shoe-horn some English into the kids' heads, a change in 
interface

is merely churlish and counterproductive.

In most cases - these companies do not push the limit of what Director (or
Revolution) can do - they don't want to, because it means they won't be able
to be 

Re: OS X Dock menu

2009-06-20 Thread J. Landman Gay

Sarah Reichelt wrote:

I've spent the last 2 weeks in hospital with a broken leg


Really sorry to hear that, it must have been awful. I'm so glad you are 
back with us again. The list isn't the same without you.


I've been out for a week myself due to a major hard drive failure. The 
drive has been replaced and I am in the process of restoring all the 
apps I lost. I was only backing up my user folder. I have everything 
else but it is scattered all over the place.


This hasn't been a good week for at least two of us...

--
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: OS X Dock menu

2009-06-20 Thread Colin Holgate


On Jun 20, 2009, at 1:12 PM, J. Landman Gay wrote:


I've spent the last 2 weeks in hospital with a broken leg


Really sorry to hear that, it must have been awful. I'm so glad you  
are back with us again. The list isn't the same without you.


I've been out for a week myself due to a major hard drive failure.



Clearly Sarah should have restored from a back-up of her leg.


___
use-revolution mailing list
use-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: OS X Dock menu

2009-06-20 Thread Richmond Mathewson

Dear Sarah,
 Hope you are up and fighting fit!
Love, Richmond.

Colin Holgate wrote:


On Jun 20, 2009, at 1:12 PM, J. Landman Gay wrote:


I've spent the last 2 weeks in hospital with a broken leg


Really sorry to hear that, it must have been awful. I'm so glad you 
are back with us again. The list isn't the same without you.


I've been out for a week myself due to a major hard drive failure.


Clearly Sarah should have restored from a back-up of her leg.

Now that was a seriously tasteless remark! Slapped wrist time, methinks.



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


Plain text to clipboard?

2009-06-20 Thread Randall Lee Reetz
Anyone know how to get the text from a var or field onto the  
clipboard as a plain ascii char string (no style or formatting  
metadata)?

___
use-revolution mailing list
use-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: Plain text to clipboard?

2009-06-20 Thread stephen barncard
set the  clipboarddata[text] to fld yourfield

-
Stephen Barncard
San Francisco
http://barncard.com


2009/6/19 Randall Lee Reetz rand...@randallreetz.com

 Anyone know how to get the text from a var or field onto the clipboard as a
 plain ascii char string (no style or formatting metadata)?
 ___
 use-revolution mailing list
 use-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: Plain text to clipboard?

2009-06-20 Thread Mark Schonewille

Hello Randall,

set the clipboarddata[text] to myVar
set the clipboarddata[text] to fld x
set the clipboarddata[text] to the text of me

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
Snapper Screen Recorder 2.1 http://snapper.economy-x-talk.com

If you sent me an e-mail before 25 May and haven't got a reply yet,  
please send me a reminder.





On 19 jun 2009, at 19:20, Randall Lee Reetz wrote:

Anyone know how to get the text from a var or field onto the  
clipboard as a plain ascii char string (no style or formatting  
metadata)?



___
use-revolution mailing list
use-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: To On-Rev or Not to On-Rev

2009-06-20 Thread Bill Marriott
Gregory,

Please note: The ability to embed ?rev ... ? scripting tags within HTML is 
a feature of our server technology, not the desktop application. While we 
will most likely have a free version of the server technology down the road, 
it will not work like it does now, where you just pop the Revolution engine 
out of the Linux desktop version and put it online.

- Bill

 I'm considering taking the On-Rev plunge.  My main use of it would be  to 
 collect data from online experiments that use interactive web pages 
 deployed by Revolution.  I have the luxury of a static IP at my 
 university, so I currently use my Mac as a server, and given that the  web 
 page functionality of Rev HTML tags will apparently be included in  future 
 versions of Revolution, I wonder whether a switch to On-Rev is  worth it. 
 What do you think?



___
use-revolution mailing list
use-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: To On-Rev or Not to On-Rev

2009-06-20 Thread Sarah Reichelt
On Sat, Jun 20, 2009 at 11:23 PM, Andre Garziaan...@andregarzia.com wrote:

 I run an intranet data server based on Andre's RevOnRockets.


 Yay! Victory!!! And does it works well?

 :D


Brilliantly :-)

I have 2 computers that gather data from various pieces of hardware.
They send the data to the RevOnRockets server as part of a URL e.g.
http://serverIP:8082/cgi-bin/webData?query=storeTemperatureDatadata=...

Then there are multiple computers that require various bits of this
data, so they get another URL e.g.
http://serverIP:8082/cgi-bin/webData?query=getTemperatureData

Then if they need to switch valves, pumps, chillers, heaters etc.,
they send another message to the server which stores that information
so that the app that controls the hardware can find it and act on it.

There are lots of other cool commands implemented in the server, which
is just a Rev standalone: manually switch hardware on or off, get a
big screen display of a single sensor (great for using an iPhone as a
hand-held monitoring device), get a listing of the server log

I also have the server detect whether the data is being requested by a
browser or by another application. If a browser, the data is formatted
into tables and styled based on whether it is being displayed on an
iPhone or a large screen. If another app requests the data, it just
gets plain tab-delimited text.

It is heaps faster that Apache and of course since the commands are
all programmed in Revolution, vastly easy to work with than struggling
to do it in Perl.

I stripped a lot of stuff out of your original stack Andre, since I
knew I didn't need all the extra features. then I added in my own
commands. Never gives any problems. It doesn't get a lot of traffic so
I have no idea how well it would scale, but it is perfect for my uses.

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: OS X Dock menu

2009-06-20 Thread Sarah Reichelt
 I've spent the last 2 weeks in hospital with a broken leg

 Really sorry to hear that, it must have been awful. I'm so glad you are
 back with us again. The list isn't the same without you.

 I've been out for a week myself due to a major hard drive failure.


 Clearly Sarah should have restored from a back-up of her leg.

I'm like Jacque - I had all the bits, they were just scattered around a bit :-)
And 'Undo did nothing!

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


Compare files between on-rev and local versions

2009-06-20 Thread Alex Tweedly
I've seen a couple of requests for this on the on-rev forums, and had 
the same need myself. So I've developed a stack + irev to do this for 
me. It consists of two parts :

  - a rev stack (aka the client)
  - a .irev file to place somewhere within your on-rev site

When you run the client stack, it will use the .irev file to retrieve 
info about the files within your site, and then compare against against 
the local versions of the (hopefully same) files.


The stack can be downloaded from 
http://www.alextweedly.on-rev.com/Downloads/AllFilesInfoClient.rev
The irev file is embedded within the stack - click on the iRev button 
and it will create (in the same directory) a file called 
allfilesinfo.irev - this should be uploaded to your site.


When you run the client, you give it the path to your local directory, 
and the url (without the http://;) to the place where you put the 
allfilesinfo.irev


You can (and should) verify the remote url has been uploaded properly, 
by checking with your browser (e.g. for me, I look at 
http://www.alextweedly.on-rev.com/allfilesinfo.irev ) - the client will 
use this same url to get the info about the files on the server. This 
irev script will walk the entire directory below where it is installed, 
and store in each directory a file containing the detailed files info, 
plus the md5digest of each file. Note that subsequent runs will compare 
modification dates, and only re-generate the md5 hash for those files 
which have changed, so it is substantially faster than the first time.


The client does the same thing - generates files containing the detailed 
file info plus the md5 hash of each file. It then compares this against 
the remote info; it will complain ONLY if it finds matching files in the 
equivalent directories which do not have the same md5 hash.


The script should be fairly easy to follow, even if it is a bit untidy. 
One of the things that I hope will settle down (and be improved) is the 
best way to share code between irev files and stacks.



Any feedback welcome
-- 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: sorting advice

2009-06-20 Thread Nicolas Cueto
 Tried it and, no, doesn't sort as expected.

 Please explain further.

My mistake (again), Kay. Your method
does work. The problem at my end
was my test-data, which included a
miscalculated leap year date of 2.29.09
-- an impossible date.

Again, thank you.

--
Nicolas Cueto
___
use-revolution mailing list
use-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: Compare files between on-rev and local versions

2009-06-20 Thread Sarah Reichelt
On Sun, Jun 21, 2009 at 10:08 AM, Alex Tweedlya...@tweedly.net wrote:
 I've seen a couple of requests for this on the on-rev forums, and had the
 same need myself. So I've developed a stack + irev to do this for me. It
 consists of two parts :
  - a rev stack (aka the client)
  - a .irev file to place somewhere within your on-rev site

 When you run the client stack, it will use the .irev file to retrieve info
 about the files within your site, and then compare against against the local
 versions of the (hopefully same) files.

 The stack can be downloaded from
 http://www.alextweedly.on-rev.com/Downloads/AllFilesInfoClient.rev
 The irev file is embedded within the stack - click on the iRev button and
 it will create (in the same directory) a file called allfilesinfo.irev -
 this should be uploaded to your site.

 When you run the client, you give it the path to your local directory, and
 the url (without the http://;) to the place where you put the
 allfilesinfo.irev

 You can (and should) verify the remote url has been uploaded properly, by
 checking with your browser (e.g. for me, I look at
 http://www.alextweedly.on-rev.com/allfilesinfo.irev ) - the client will use
 this same url to get the info about the files on the server. This irev
 script will walk the entire directory below where it is installed, and store
 in each directory a file containing the detailed files info, plus the
 md5digest of each file. Note that subsequent runs will compare modification
 dates, and only re-generate the md5 hash for those files which have changed,
 so it is substantially faster than the first time.

 The client does the same thing - generates files containing the detailed
 file info plus the md5 hash of each file. It then compares this against the
 remote info; it will complain ONLY if it finds matching files in the
 equivalent directories which do not have the same md5 hash.

 The script should be fairly easy to follow, even if it is a bit untidy. One
 of the things that I hope will settle down (and be improved) is the best way
 to share code between irev files and stacks.

Hi Alex,

Many thanks for making this available. I definitely need it as I work
on 2 different computers so am always at risk of using an older file
and losing my updates.

So far, I haven't actually set it working, as I am reading your
scripts and learning how you did it.

The button to save the irev file didn't work for me (no error, but no
file created), so I grabbed the text directly out of the custom
property, however it requires your html.irev include file. It may be
that the only relevant bit from that is the definition of hBR, in
which case that is an easy fix.

I'll you know how I get on.

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: EduTainment Titles

2009-06-20 Thread Sivakatirswami

Lynn and Richmond:

Thank you so much for all the insights into the industry standards

All very useful. I have added this to my respository of production 
standards resources. You have offered some really useful points.


A few simple replies before I go off the deep end of musing.

1) I totally agree that content is king, not software wizardry. Thanks 
for the reminder.


2) It's not that I'm focusing too much on the techology here. as Lynn 
saw it... rather I'm interested in the *delivery channel/ mechanisms* 

3) My original request was: can I buy some/see some titles? Richard? Let 
me see your stuff! (smile)


One could conclude from you comments (simplistically)

Make and deliver standalones; forget about the internet except as a 
shopping mechanism


i.e. If you can get the client(s) to download (purchase, get on CD... 
whatever) a standalone that has excellent (even if technically simple)  
content, clearly branded which runs easily on any machine, without an 
internet connection, then probably you will be reaching a larger 
audience in the long run because the connectivity issues are bigger than 
anyone wants to admit.


deep end dive

But this simply leads to more questions

Au contraire... , I already have a number of titles, for free, on the 
internet. If you look at access logs, I see a lot of traffic to these 
pages, but not a lot of downloads.


http://himalayanacademy.com/resources/children/dws_youth/
http://himalayanacademy.com/resources/children/yamas_niyamas/

(I think if you try these you will have to agree I'm not into super 
technology... the one complaint being they lack sound...)


Meanwhile:

PDF's here:

http://himalayanacademy.com/resources/children/SaivaHR_course/

on the other hand are downloaded at the rate of 2000-3000 a month 
consistently year after year.


Our Vedic Calendars http://himalayanacademy.com/resources/panchangam/;  
get (and this is no exaggeration) 200,000 plus downloads a year. (my 
goodness we should start charging something, if only $1.50 each)


What does this tell us? I don't know for sure. Perhaps our packaging 
is just lousy, or the resistance to downloading executables is higher 
than  one might expect, which then militates against your thesis that 
people will only use a product that can runs off the internet, but they 
don't want to get it off the internet, but I don't want to go into 
physical CD production (sales packaging, shipping order handling 
etc...), catch 22.


Our Hinduism Today Digital Edition (Rev desktop thin client, PDF 
manager) on the other hand has been downloaded 15,000 copies. Why? 
higher profile, strong need?


Sidebar: I deal with an asian/indian/malaysian/mauritian/singaporean 
audience, which is frankly (sorry to say it but it's true) easily 10-5 
years ahead of the US admin establishment in terms of moving forward 
in the digital revolution, at least at home...if not always in schools, 
but even in some schools, where you may have a high resistance to 
internet connections in  a US context, there will be little to none in a 
similar Asian context where the admin is so technically advanced they 
have no problem dealing with filtering content etc. So whether the 
paradigm of a paranoid protect our kids from porn edu, universe should 
inform our decision moving forward is yet another question mark.  Well 
obviously we want to protect our kids, but there are lots of ways to 
protect without shutting down the pipeline completely.


But, if Flash is any model to measure by, even a modicum of success in 
getting people to download a plug-in to run stacks in a browser is 
likely to blow away the numbers of those who may never download an 
executable, which, by our experience so far, is still quite low/high 
resistance. Since band width is still an issue, obviously a small 
modules model will be needed.


So, there I came full circle: I would like to see some e.g titles of 
good edutainment ware.





Dear Sivakatirswami,

 In all the institututions I have worked in where I have
prepared education content delivery and reinforcement programs
over the last 15 years the following have held true:

Most programs have been held on a local server (SIUC,
UAE University) or on individual computers (St Andrews,
My school). In the case of the UAE that was because that
is a conservative society with a conservative educational
ethos who did not want their students to have internet
access.

At SIUC and St Andrews the applications were for use by students
on specific programs in specific computer labs.

In my own school I have no internet access at all as it is not required.

At St Andrews we ran some tests and found that programs on individual
machines tended to run faster, and load more quickly, than when stored on
a server. As Hard Drives are not the most expensive items on an 
educational

institution's budget storage space never came up as a problem.

Lynn Fredricks wrote:

Hi Sivakatirswami,

 
With the advent of Rev Stacks running inside a