Re: throw vs the result

2005-05-02 Thread xbury . cs
Interesting coincidence...

This came into my mailbox today...

although it's for C++, it's quite to the point...
http://www.informit.com/articles/article.asp?p=373340seqNum=2

quote:
Report an error (e.g., write throw ) wherever a function detects an error that 
it cannot resolve itself and 
that makes it impossible for the function to continue execution. (See Item 
70)
Handle an error (e.g., write a catch that doesn't rethrow the same or another 
exception or emit another kind of 
error code) in the places that have sufficient knowledge to handle the 
error, including to enforce boundaries defined in the error policy (e.g., 
on main and thread mainlines; see Item 62) and to absorb errors in the bodies 
of 
destructors and deallocation operations.
end quote

cheers
Xavier



-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A Philosophical Point

2005-05-02 Thread Wolfgang M . Bereuter
On 28.04.2005, at 20:55, Jim Carwardine wrote:
I don't need to know this, John.  How is RunRev to stay in business if 
they
don't charge for their product?  You of all people should know how much
overhead is required to produce bug-free code.  RunRev could not 
sustain
itself unless it turned open source and that's not the business model 
they
are running on.  For my sake, please stay off the list... Jim
Jim,
and for my sake please stay off with such useless coments...
regards
Wolfgang M. Bereuter
T-mapping© is PhotoLearning Mindmaps!
...
http://www.internettrainer.com
[EMAIL PROTECTED]
...
Edelhofg. 17/11, A-1180 Wien, Austria
Tel: ++43/1/ 479 6410
Fax: ++43/1/ 955 14 64-198
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: window in a window

2005-05-02 Thread Wilhelm Sanke
On Sun, 01 May 2005 , Bob Hartley [EMAIL PROTECTED] wrote:
Hi  All.
I have an app that has a toolbar that does things to a window (an
independent rev file). However, I want to embed this independent window
into one stack and then save it back out.
EG. Imagine a word processor like MS word without an open document.
You  have a blank window and a toolbar, call it bobsBlankWindow. Now I 
want
to have a rev file to open within bobsBlankWindow and then be saved 
back
as the rev file when edited.

Is it possible to embed a stack within the area of another stack.
Apart from that, there is the problem of the window focus. if the edit
stack is clicked upon it would hide the other window behind it. would 
using
the systemWindow command work?

Sorry to not try it in advance but I'd need to change a lot before doing
this and I want advice before messing around with it.
cheers
bob

Hi Bob,
We had a related discussion about Stacks in Stacks on the improvement 
list a few days ago.
Below is my contribution to this thread that was received unchallenged 
(meaning nobody reacted directly to my contribution), so I have to guess 
that my proposal may be a viable solution. Here is my post of April 20:

The discussion in this thread has meanwhile moved to having multiple 
viewers and several instances of the same stack being opened 
simultanously or at the same time, meaning my thoughts may seem somewhat 
beside the point when I consider what could be realized *now*.
Apart from Rodneys solution with groups aren't there existing 
possibilities that at least come near to a viewer-stack concept?

What about an alternative scenario embedding stacks (one or more) in the 
window of a stack glued to the viewer stack? Of course some of the 
problems and suggestions discussed in this thread are not answered by 
such a workaround.

Here is the scenario - one of more solutions possible:
Open the viewer and at the same time a smaller placeholder stack with 
its bottomright set to the bottomright of the viewer. Open the 
placeholder as palette to keep both stacks on top and to allow to work 
with both stacks without the smaller stack disapperaring behind the 
bigger viewer.

Get the windowID of the placeholder and open the stacks you want to show 
in the window of the placeholder. When you open another stack in the 
window of the placeholder, some properties of the placeholder stack are 
transferred to the embedded stack: palette style, empty decorations, 
size etc. - meaning they need not be set.
If you want to display information in the embedded stack that can be 
scrolled, just place a scrolling group the size of the placeholder stack 
on the first card - or any other card the user can navigate to in the 
embedded stack.

In the same way you could embed more stacks in different panes of the 
viewer at the same time.--

To create an entity of viewer and embedded stacks (neccessary in case 
you want to move the viewer) set the decorations of the viewer to empty 
and add a decoration bar field with a mousemove script that glues 
the embedded stacks to the viewer. This is because - as far as I know - 
mousemoves cannot be intercepted by Transcript when you drag a stack via 
the decorations. Or is this possible?

The alwaysbuffer of all stacks should be set to true.
Tested here with a couple of sample stacks. Works fine on WindowsXP and 
can achieve effects like with frames in a browser, but with the added 
functionality of Transcript.

Regards,
Wilhelm Sanke
http://www.sanke.org/MetaMedia
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: QuickTime 6.5.2 reinstaller

2005-05-02 Thread Pierre Sahores
Mark,
No troubles at all, there, even in using an external FireWire LaCie 2.5 
inches 20 Go HD as support, to read movies (QT7 Pro Panther 10.3.9 PWB 
G4 12 1 Ghz ; QT7 Pro Tiger 10.4 IBook G3 12800 Mhz).

Le 2 mai 05, à 02:49, Mark Wieder a écrit :
Pierre-
Sunday, May 1, 2005, 12:52:17 PM, you wrote:
PS QT7 Pro woks there on both Panther and Tiger without any troubles,
PS Rev's Player features included.
Apparently there are reports of crashes and incompatibilities with
firewire devices. 10.3.9 only. YMMV.
--
-Mark Wieder
 [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Bien cordialement, Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: To Rev or not to Rev

2005-05-02 Thread Jim Carwardine
Thank you all for a very interesting thread.  It clarified a lot for me and
many others I'm sure.  Although I've been in the IT industry since 1967 (my
first computer experience was on an IBM 3070), I took up programming again,
after an 8 year hiatus, when I bought a Mac Plus with HC in 1985.  Since
then, I've used only HC and now Rev so my exposure to classical OOP was
missing.  Comments like the one my ISP gave indicated a structural as well
as philosophical  difference in thinking.  Thanks, again... Jim

on 4/30/05 7:36 PM, Derek Bump wrote:

 As someone already said, your ISP answer is a way to avoid any depth
 analysis of Rev capabilities... It's also the usual answer from ppl who
 usually struggle with complex programing environments and who are
 bitter to see other ppl developping sophisticated apps 2 to 5 times
 faster...
 
 I agree with this, as I at one time did it myself (I'm so ashamed).  I'm
 a straight HTML coder, and nothing drove me more crazy than seeing
 someone use FrontPage or Dreamweaver to develop a web site.  The
 scenario is just the same as someone writing a C++ app in 1 month and me
 writing the same app with Rev in just a few days.  A little animosity.
 
 I now more or less don't care what one uses to develop a program, just
 as long as the final result is a decent program that is creative and
 solves a problem.
 
 And though I don't understand OOP, I do appreciate you fine folks trying
 to explain it to me.  I guess I am forever convinced that xTalk is as
 object oriented as a language can get
 
   put key in ignition
   rotate key 120 degrees
   rotate key -120 degrees
   apply pressure to accelerator
   --  It all just looks like objects to me :)
 
 
 Derek Bump
 Dreamscape Software
 http://www.dreamscapesoftware.com/
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution

-- 

OYF is... Highly resourceful people working together.
http://www.OwnYourFuture-net.com

Own Your Future Consulting Services Limited,
1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
Phone: 902-823-2339. Fax: 902-823-2139

What¹s New...

* Have you ever hired an employee who didn¹t work out?

* Did you do that on purpose?

Probably not...

If you want to greatly improve your hiring process,
 check out our new hiring process... www.HiringSmart.ca/ns
http://www.hiringsmart.ca/ns
  and...
www.KeepingTheBest.ca/ns http://www.keepingthebest.ca/ns



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


Tiger installation

2005-05-02 Thread Lars Brehmer
Hi all!
you may have seen a brief mentioning of  rev windowShape not working 
properly in Tiger.  Gordon Tillmann helped me out on this, but the 
problem wasn't really a problem at all.  I first installed Tiger on my 
backup machine, which hadn't had the last few Panther updates, and thus 
I hadn't repaired permissions recently.  This turned out to have caused 
the problem, just don't ask me why ;-)  I had noticed in the Apple 
discussions that this simple action seems to have already fixed minor 
and major problems a lot of people were experiencing with a wide 
variety of software, both Apple and third party, so I tried it and it 
worked.  In other words this was my own dopey fault.

Thanks agsain to Gordy for his patience in looking into this with me.
Repair your permission (more than once until no more errors or 
corrections show up) and disable 3rd party utilities (although I'm sure 
noneof you really need to be told this in the first place!)

Other than this tiger so far has been flawless, faster and cooler than 
all get out!

Enjoy the Tiger!
Lars
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Saving data in a stack ­STANDALONE

2005-05-02 Thread John Ridge

As a complete beginner with Revolution I¹ve found it very hard to get a grip
on this. It¹s a big stumbling block for those used to Hypercard, where the
IDE was taken for granted, and the concept of a standalone was unfamiliar.
But the ability to deliver standalones cross-platform is a major attraction
of Revolution ­ so it¹s disappointing that such a key feature as how to save
user changes to a stack is hard to grasp.

I can understand that a standalone is an application, and as such shouldn¹t
modify itself ­ i.e. the user can¹t save any changes within the application.
No problem ­ write it out to a file, and read it back in on startup. But
with structured data such as an Address Book you want to save the data as a
stack ­ that¹s the whole point!

The answer given in the documentation is to set up a dummy stack as the
mainstack, then do the work in a substack which is not itself compiled into
a standalone, but left as a Revolution file (.rev). I simply couldn¹t get
this to work, until I came across the answer in the lists.runrev archive ­
go to the Standalone Settings item on the File menu - select the Stacks
tab - click the box to Move substacks into individual stackfiles.

This makes the substack persist as a .rev. The standalone knows where it is
(automagically in the standalone's folder), and because it's a .rev it can
be saved...

Before finding this tip, I had been messing about for ages trying to get the
standalone to pick up .rev files that were not part of its stack file.

Ah wellŠ

-- 


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


Re: Split screen output for Presentations

2005-05-02 Thread Dan Soneson

Sivakatirswami
Here's what you can do:
You need to have a computer that can support a second monitor as an 
extension of the computer's monitor. On the mac side, only the 
professional line (PowerBook, G5 tower) has this function built in. You 
cannot make this work with an iBook, an eMac or an iMac AFAIK. On the 
Windows platform, most laptops now have this functionality. You set the 
monitor size and location of the extended screen in the display pane of 
the system preferences panel on Mac OSX, and in the display settings 
utility in Windows.

Create two stacks, one for the user's computer and one for the 
projector. Set the location of the projector stack to the location of 
the second monitor You then control the projector stack from the 
computer monitor stack. You could set up notes for each screen of the 
presentation, perhaps a thumbnail image of what is being projected, 
and navigation buttons to go to the next or previous screens. You could 
have each card in the display stack correspond to a specific card in 
the control stack. Then in your next button, for example, have two 
lines:

on mouseUp
  go next cd
  go next cd of stack display Stack
end mouseUp
Unfortunately, you need access to a second monitor or projector when 
developing the stack, or a nice large cinema display in order to see 
both stacks at once.

HTH
Dan
Oops I think I actually forgot to ask my question:
How do you do this in Revolution:

Keynote can output one window to the channel that goes out to the
projector --  video port. i.e. it shows on the screen. and the second
window is locked onto the personal PC's LCD screen, where the latter
window has notes for the presentor which are not seen by the audience
who are watching output to the project -- large display screen in the
front of the hall.
Daniel B. Soneson
Director, Language Lab
Southern CT State University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving data in a stack ­STANDALONE

2005-05-02 Thread Mikey
 As a complete beginner with Revolution I¹ve found it very hard to get a grip
 on this. It¹s a big stumbling block for those used to Hypercard, where the
 IDE was taken for granted, and the concept of a standalone was unfamiliar.
 But the ability to deliver standalones cross-platform is a major attraction
 of Revolution ­ so it¹s disappointing that such a key feature as how to save
 user changes to a stack is hard to grasp.
The difference is that you weren't making standalone applications in
HC, unless you bought Heizer's Double-XX (as I did), in which case you
were already living with this restriction.  To make things more
familiar for yourself, why not just distribute the Dreamcard player? 
That's what you did with HC.

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


Prefs and Settings - best practices

2005-05-02 Thread Mikey
So is there a consensus on best-practices to handle settings for Rev
apps?  Substack?  File?  Registry?
-- 
http://taoofrunrev.blogspot.com
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split screen output for Presentations

2005-05-02 Thread Thomas McGrath III
Dan, Sivakatirswami,
This approach assumes you have mirror imaging 'OFF' in order to have 
two distinct  screen areas. I don't know how (applescript, do process, 
shell) to do this. Or how to detect this to not get errors. Something 
like If the system has two monitors (?) then turn off 'video 
mirroring' then do 'split screen' and set this window to main screen 
and send that window to alt screen'.

I don't see where knowing these things is within REVs builtin 
capabilities.

From the docs:
If the system has more than one monitor, the screenLoc function returns 
the rectangle of the main screen.

AND:
Use the screenName function to control where applications that 
Revolution starts up should appear.
Comments:
On Unix systems, the screenName function returns the string provided by 
the XDisplayName function call. When starting a process with the open 
process command or the shell function, if you want the process to 
appear on the same screen as Revolution, use the value returned by the 
screenName as the argument to the -d option.
This function does not return a useful value on Mac OS and Windows 
systems.

Tom
On May 2, 2005, at 8:23 AM, Dan Soneson wrote:

Sivakatirswami
Here's what you can do:
You need to have a computer that can support a second monitor as an 
extension of the computer's monitor. On the mac side, only the 
professional line (PowerBook, G5 tower) has this function built in. 
You cannot make this work with an iBook, an eMac or an iMac AFAIK. On 
the Windows platform, most laptops now have this functionality. You 
set the monitor size and location of the extended screen in the 
display pane of the system preferences panel on Mac OSX, and in the 
display settings utility in Windows.

Create two stacks, one for the user's computer and one for the 
projector. Set the location of the projector stack to the location of 
the second monitor You then control the projector stack from the 
computer monitor stack. You could set up notes for each screen of the 
presentation, perhaps a thumbnail image of what is being projected, 
and navigation buttons to go to the next or previous screens. You 
could have each card in the display stack correspond to a specific 
card in the control stack. Then in your next button, for example, 
have two lines:

on mouseUp
  go next cd
  go next cd of stack display Stack
end mouseUp
Unfortunately, you need access to a second monitor or projector when 
developing the stack, or a nice large cinema display in order to see 
both stacks at once.

HTH
Dan
Oops I think I actually forgot to ask my question:
How do you do this in Revolution:

Keynote can output one window to the channel that goes out to the
projector --  video port. i.e. it shows on the screen. and the 
second
window is locked onto the personal PC's LCD screen, where the latter
window has notes for the presentor which are not seen by the audience
who are watching output to the project -- large display screen in 
the
front of the hall.
Daniel B. Soneson
Director, Language Lab
Southern CT State University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT : PearPC

2005-05-02 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Right, the key phrase being Apple-labeled computer.
On Apr 30, 2005, at 3:26 PM, Dar Scott wrote:
On Apr 30, 2005, at 8:55 AM, Frank D. Engel, Jr. wrote:
If you read the license agreement for OS X, there is a clause which 
states that it cannot legally be installed on non-apple hardware.
My Panther license says this:
 2.A
 This License allows you to install and use one copy
 of the Apple Software on a single Apple-labeled
 computer at a time.  This License does not allow
 the Apple Software to exist on more than one computer
 at a time [...]
Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
A Sponsor of RevCon West
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCdiX37aqtWrR9cZoRAmY4AJ43lIxqILhSIoGSXjSXq/+Co35g+gCeOP9a
WoXP193ApSxFbvpmn1t7ri0=
=zieJ
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:Split screen output for Presentations

2005-05-02 Thread Dan Soneson
Tom,
You're right, of course. You do need to turn mirror imaging 'OFF' prior 
to running the show, using the system preferences panel. Does the new 
KeyNote dynamically detect the setting and turn mirror imaging off? 
What does it do with an iBook where you can't turn mirror imaging off?

Rev will allow you to set the coordinates of the screen stack. For 
example, if the projector monitor is to the left of the main screen, 
then

set the topRight of stack screenStack to 0,0
ought to display it just fine. If you cannot set mirror imaging off, 
perhaps you could have a button on the control stack that sets the 
topLeft of the display stack to 0,0. You would lose the control stack's 
features, unfortunately, but you could still display the presentation.

Dan
Dan, Sivakatirswami,
This approach assumes you have mirror imaging 'OFF' in order to have
two distinct  screen areas. I don't know how (applescript, do process,
shell) to do this. Or how to detect this to not get errors. Something
like If the system has two monitors (?) then turn off 'video
mirroring' then do 'split screen' and set this window to main screen
and send that window to alt screen'.
I don't see where knowing these things is within REVs builtin
capabilities.
Daniel B. Soneson
Director, Language Lab
Southern CT State University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Split screen output for Presentations

2005-05-02 Thread Thomas McGrath III
Dan,
That is of course if the alt monitor is at 0,0. We would need to 
determine where the second monitor is located at.

I will look into the new Keynote as to wether it auto detects or not. I 
can't remember.
I will also check my kids iBook. I use a PowerBook G4 15.


Tom
On May 2, 2005, at 9:23 AM, Dan Soneson wrote:
Tom,
You're right, of course. You do need to turn mirror imaging 'OFF' 
prior to running the show, using the system preferences panel. Does 
the new KeyNote dynamically detect the setting and turn mirror imaging 
off? What does it do with an iBook where you can't turn mirror imaging 
off?

Rev will allow you to set the coordinates of the screen stack. For 
example, if the projector monitor is to the left of the main screen, 
then

set the topRight of stack screenStack to 0,0
ought to display it just fine. If you cannot set mirror imaging off, 
perhaps you could have a button on the control stack that sets the 
topLeft of the display stack to 0,0. You would lose the control 
stack's features, unfortunately, but you could still display the 
presentation.

Dan
Dan, Sivakatirswami,
This approach assumes you have mirror imaging 'OFF' in order to have
two distinct  screen areas. I don't know how (applescript, do process,
shell) to do this. Or how to detect this to not get errors. Something
like If the system has two monitors (?) then turn off 'video
mirroring' then do 'split screen' and set this window to main screen
and send that window to alt screen'.
I don't see where knowing these things is within REVs builtin
capabilities.
Daniel B. Soneson
Director, Language Lab
Southern CT State University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Sending Email Within Revolution???

2005-05-02 Thread Shawn Rampy
Hello All,

 Yes, I know about the revMail command, but I
don't want to call up my email program to send the
email; I want to do this within the Rev app I am
developing. Any suggestions?


Thanks,
Shawn



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Sending Email Within Revolution???

2005-05-02 Thread MisterX
Mac or PC? 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Shawn Rampy
 Sent: Monday, May 02, 2005 16:08
 To: use-revolution@lists.runrev.com
 Subject: Sending Email Within Revolution???
 
 Hello All,
 
  Yes, I know about the revMail command, but I don't 
 want to call up my email program to send the email; I want to 
 do this within the Rev app I am developing. Any suggestions?
 
 
 Thanks,
 Shawn
 
 
   
 __
 Do you Yahoo!? 
 Yahoo! Small Business - Try our new resources site!
 http://smallbusiness.yahoo.com/resources/
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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


Re: To Rev or not to Rev

2005-05-02 Thread Geoff Canyon
LISP is purely functional, not object-oriented. There are OO  
libraries for LISP, but many on the LISP side of things look down on  
them.

I'm not sure how to catalog Forth, but it's not OO (inherently --  
there are OO implementations). It's procedural, certainly, but the  
inherent stack gives it a definite functional feel.

On Apr 30, 2005, at 11:48 AM, Dan Shafer wrote:
Forth is one of two programming languages I have tried to learn  
with complete lack of success. The other is LISP. Both are object- 
oriented (at least Forth is in some implementations and LISP is  
purely).
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: To Rev or not to Rev

2005-05-02 Thread Geoff Canyon
I think by that classification Rev _is_ object-oriented:  
ObjectOrientedProgramming. A program execution is regarded as a  
physical model, simulating the behavior of either a real or imaginary  
part of the world. Sounds like Rev to me.

Nevertheless, I always refer people to another quote on the same web  
site -- Ward Cunningham's regarding HyperCard and OO: Sure HyperCard  
is object oriented. You just don't get to pick the objects.

Setting those aside, Rev lacks several characteristics most people  
consider inherent to OO. That doesn't make it bad or good, necessarily.

On Apr 30, 2005, at 7:51 AM, Frank D. Engel, Jr. wrote:
A quick Google search reveals this, which may be helpful as far as  
classification of languages:

http://c2.com/cgi/wiki?NygaardClassification
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: To Rev or not to Rev

2005-05-02 Thread Dennis Brown
On May 2, 2005, at 10:25 AM, Geoff Canyon wrote:
I'm not sure how to catalog Forth, but it's not OO (inherently -- 
there are OO implementations). It's procedural, certainly, but the 
inherent stack gives it a definite functional feel.
Forth is not really a high level language any more than assembler is.  
It is an alternative machine language based on a double stack 
architecture.   There have been hardware implementations of Forth as 
the native machine instruction set.  When emulated, the Code just 
consists of a list of addresses to the actual machine code for the 
native functions, or addresses of  higher level defined function 
(uses a flag bit to tell which).  This makes it execute much faster 
than byte code.  You can implement a higher level language within the 
syntax of Forth because of its extensible nature.  Words are defined 
from other words in an interpretive environment.  Because of the double 
stack architecture, data arguments are passed and returned on one stack 
and return addresses are in the other stack.  It makes a very efficient 
and powerful architecture for developing real time machine controllers 
with a tiny amount of memory.  You are free to define words that 
implement an OO environment if you choose.  You could even create Rev 
using this as the lower level P code, or an operating system for that 
matter.

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


Re: Sending Email Within Revolution???

2005-05-02 Thread Björnke von Gierke
look at this free library:
http://www.shaosean.tk/
On May 02 2005, at 16:07, Shawn Rampy wrote:
Hello All,
 Yes, I know about the revMail command, but I
don't want to call up my email program to send the
email; I want to do this within the Rev app I am
developing. Any suggestions?
Thanks,
Shawn
--
official ChatRev page:
http://chatrev.cjb.net
Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: To Rev or not to Rev

2005-05-02 Thread Dan Shafer
Yeah, the *implementation* of Forth I tried to learn used frames as  
objects and approached OO in some key ways as I recall. OF course, I  
have blissfully forgotten all that in the dream of the Dreamcard  
Revolution. ;-)

On May 2, 2005, at 8:02 AM, Dennis Brown wrote:
On May 2, 2005, at 10:25 AM, Geoff Canyon wrote:

I'm not sure how to catalog Forth, but it's not OO (inherently --  
there are OO implementations). It's procedural, certainly, but the  
inherent stack gives it a definite functional feel.

Forth is not really a high level language any more than assembler  
is.  It is an alternative machine language based on a double stack  
architecture.   There have been hardware implementations of Forth  
as the native machine instruction set.  When emulated, the Code  
just consists of a list of addresses to the actual machine code for  
the native functions, or addresses of  higher level defined  
function (uses a flag bit to tell which).  This makes it execute  
much faster than byte code.  You can implement a higher level  
language within the syntax of Forth because of its extensible  
nature.  Words are defined from other words in an interpretive  
environment.  Because of the double stack architecture, data  
arguments are passed and returned on one stack and return addresses  
are in the other stack.  It makes a very efficient and powerful  
architecture for developing real time machine controllers with a  
tiny amount of memory.  You are free to define words that  
implement an OO environment if you choose.  You could even create  
Rev using this as the lower level P code, or an operating system  
for that matter.

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


~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: DVD Decoder

2005-05-02 Thread Devin Asay
On May 1, 2005, at 11:48 AM, Derek Bump wrote:
Is anyone aware of any add-ins for QuickTime (Windows) that will allow 
one to use QuickTime to show DVDs?
I second this request. I would LOVE to be able to access DVDs through 
Rev/QT. Old-time Hypercarders, remember how simple and elegant it was 
to access laser disks using the Xcommands in HC? Or Audio CDs? The 
inability to do the same this with DVDs represents a giant step 
backward for those of us trying to integrate video with instructional 
applications.

Devin
I love the DVD player on Mac OS X and I can't stand the ones on 
Windows and I'd like to make a free custom DVD player using QuickTime 
and Revolution.
The best I've been able to manage with DVDs is to use AppleScript to 
launch and control the DVD player.
Thanks!
Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: To Rev or not to Rev

2005-05-02 Thread Pierre Sahores
Geoff and All,
And in about polymorphism... : HC and REV are full able to let us 
design any complexes recursive procedures we can need inside our 
xtalk's apps, even in using polymorhism, hash-tables stuffs and so 
on...

Best, Pierre
Le 2 mai 05, à 16:28, Geoff Canyon a écrit :
I think by that classification Rev _is_ object-oriented: 
ObjectOrientedProgramming. A program execution is regarded as a 
physical model, simulating the behavior of either a real or imaginary 
part of the world. Sounds like Rev to me.

Nevertheless, I always refer people to another quote on the same web 
site -- Ward Cunningham's regarding HyperCard and OO: Sure HyperCard 
is object oriented. You just don't get to pick the objects.

Setting those aside, Rev lacks several characteristics most people 
consider inherent to OO. That doesn't make it bad or good, 
necessarily.

On Apr 30, 2005, at 7:51 AM, Frank D. Engel, Jr. wrote:
A quick Google search reveals this, which may be helpful as far as 
classification of languages:

http://c2.com/cgi/wiki?NygaardClassification
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: To Rev or not to Rev

2005-05-02 Thread Richard Gaskin
While xTalk does use objects, it doesn't support the full range of 
features formally associated with the term object-oriented programming 
- from wikipedia:

   In computer science, Object-oriented programming,
   OOP for short, is a computer programming style
   that emphasizes the following concepts:
  * Objects - Packaging data and functionality
together into units within a running computer
program; objects are the basis of modularity
and structure in an object-oriented computer program.
  * Abstraction - The ability for a program to ignore
some aspects of the information that it is
manipulating, i.e. the ability to focus on the essential.
  * Encapsulation - Ensures that users of an object
cannot change the internal state of the object in
unexpected ways; only the object's own internal
methods are allowed to access its state. Each object
exposes an interface that specifies how other objects
may interact with it.
  * Polymorphism via message sending. Instead of
subroutine calls, object-oriented languages can make
message sends; the specific method which responds to
a message send depends on what specific object the
message is sent to. This gains polymorphism, because
a single variable in the program text can hold different
kinds of objects as the program runs, and thus the same
program text can invoke different methods at different
times in the same execution. To contrast, functional
languages gain polymorphism through the use of first-class
functions.
  * Inheritance- Organizes and facilitates polymorphism and
encapsulation by permitting objects to be defined and
created that are specialized types of already-existing
objects - these can share (and extend) their behavior
without having to reimplement that behavior.
http://en.wikipedia.org/wiki/Object_Oriented_Programming
For this reason I've always preferred the term John Dowdell of 
Macromedia uses to distinguish xTalks from true OOPSes:  object based. 
 It still lets you swing the term object with a certain cache, while 
satisfying the formalists who require all of the above features to 
consider a language truly OOP.

That said, I believe that well-written xTalk delivers most of the 
productivity benefits of OOP, sufficiently that there is a good argument 
for using xTalk regardless of which computer terms best describe its 
classification.

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


Re: Saving data in a stack ­STANDALONE

2005-05-02 Thread Richard Gaskin
John Ridge wrote:
As a complete beginner with Revolution I¹ve found it very hard to get a grip
on this. It¹s a big stumbling block for those used to Hypercard, where the
IDE was taken for granted, and the concept of a standalone was unfamiliar.
But the ability to deliver standalones cross-platform is a major attraction
of Revolution ­ so it¹s disappointing that such a key feature as how to save
user changes to a stack is hard to grasp.
I can understand that a standalone is an application, and as such shouldn¹t
modify itself ­ i.e. the user can¹t save any changes within the application.
No problem ­ write it out to a file, and read it back in on startup. But
with structured data such as an Address Book you want to save the data as a
stack ­ that¹s the whole point!
The answer given in the documentation is to set up a dummy stack as the
mainstack, then do the work in a substack which is not itself compiled into
a standalone, but left as a Revolution file (.rev). I simply couldn¹t get
this to work, until I came across the answer in the lists.runrev archive ­
go to the Standalone Settings item on the File menu - select the Stacks
tab - click the box to Move substacks into individual stackfiles.
I can symphathize with the learning curve effort, but IMO the biggest 
conceptual hurdle isn't inherent in the process but rather introduced in 
the standalone builder which doesn't adequately label optional advanced 
features as such.

All the engine requires to make a standalone is a stack and a little 
information about the resulting standalone (target file name, Windows 
info, Mac Finder info).  Everything else is purely optional, and by not 
separating those from the essentials the standalone builder gives the 
impression that the task is more complex than it really is.

Many people enjoy the Rev option of modifying the stack structure at 
build time (moving substacks in and out of separate stack files), but 
I'm a big fan of WYGIWYG:  What you got is what you get. :)

For myself I find that minimizing the differences between development 
and runtime helps minimize errors, nearly eliminating the range of 
possible issues that can arise from differences between the two 
environments.

If you were to use this approach your development setup might look like 
this:

  
|splash screen stack file| -- opens -- |Main UI stack file|
  
By opens I simply mean that the splash screen stack opens the main 
UI stack in its openStack handler.

When you build you get simply:
---   
| standalone executable   |  -- opens -- |Main UI stack file|
---   
No fuss, no muss, no relying on hidden processes altering your stack 
structure at build time, nothing more than the simplicity of working in 
and running the same setup.

If using the advanced stack-morphing options has been confusing, you 
might consider this simpler WYGIWYG approach.

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


Re: Prefs and Settings - best practices

2005-05-02 Thread Scott Rossi
Recently, Mikey  wrote:

 So is there a consensus on best-practices to handle settings for Rev
 apps?  Substack?  File?  Registry?

One could argue the OS developers made Preferences locations for a reason.
It's standard to write where appropriate for the platform: Registry makes
sense for Windows and the Library/Preferences folders make sense for OSX
(System Folder/Preferences for OS9).  That being said, there are other
locations such as Application Support folders and equivalent, and one should
consider whether they are writing prefs for the current user or for any user
of the app on the current machine (save prefs under Current User or All
Users).

So while there are a few options for prefs locations, the one place I would
avoid saving preferences to is your app's folder.  It's likely that write
permissions will be disabled there so prefs will not be saved, or even
worse, users will get an error or possibly a virus alert when your app tries
to save.  Using the designated prefs locations makes better sense.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: about Rev XML libs and XSLT files...

2005-05-02 Thread Jan Schenkel
--- Sivakatirswami [EMAIL PROTECTED] wrote:
 On Apr 30, 2005, at 1:27 PM, Andre Garzia wrote:
 
  Hi Folks,
 
  trying not to reinvent the wheel here, can RevXML
 library transform a 
  given XML using a XSLT file or I'll have to write
 code for that (or 
  maybe shell to some tool who can..)
 
  cheers
  andre
 
 
 I'm wondering where you would need this, since most
 browsers to the job 
 already as a matter of course...
 
 Sivakatirswami
 

One reason to do it within your application is data
security : if you display the XML in a browser, and
refer to an XSL, you can hide certain data -- but if
the user picks 'View the source' in his browser menus,
he can see the entire XML file.
Another reason to include XSL support is that it
allows for context-management server applications: the
programmer just delivers the XML, and the CGI-script
(or Rev-built web-server) applies an XSL
transformation to deliver for GPRS, WAP, PDA,...
Yes it's more work for your server or your application
if it's done beforehand, but it has its advantages.

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Pierre Sahores
Hello to All,
I use Rev as a deamon server (alike Apache, PostgreSQL and so on - not 
just as a CGI engine) under the linux platform in starting stack's 
instances in the Init System V way. I would be interested to know if 
anyone can say if it is possible to get the same result under the Mac 
OS X platform and if yes, how to set up Rev to be able to start it as a 
deamon application (witch engine and librairies, how to build the 
start-up adequate component) ?

Any help will be greatly appreciated. Thanks.
Best Regards,
--
Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: To Rev or not to Rev + OOP TAOO tech

2005-05-02 Thread MisterX
 [x'ed]
  You are free to define words 
 that implement an OO environment if you choose.  You could 
 even create Rev using this as the lower level P code, or an 
 operating system for that matter.
 
 Dennis

I like your way of saying it... 

That's exactly what I've done with xtalk in TAOO, XOS, ObjX, 
the Referencer stacks,... all these years!

As Richard said, Object based... Do i need polymorphism? Nope,
i can handle it myself much better! Do i need inheritance? I
can force it anytime, anyway i want. Do I need object structures?
I got cards with the most complex and visual structures you 
could ever ask for from a textual IDE! 

If you really want to dwelve into OOPs, there's a huge field
of CS advanced books on the matter from language design to
process architecture to compiler stuff, etc... I tried it
all and none, really, none was the bible except maybe all in
part. You name the language, i checked it out. Even scriptX.

Great stuff, but can it be faster for development?

In the real world, you have to process objects for clients. 

FileMaker is the best for most business purposes - all in one.
The hell, the finder/Explorer + any text editor will do too! 

It's a matter of seeing the objects... Filemaker will make
the sums and reports while in the hell you do it yourself!

Realistically, RunRev, can do it without any intervention in
the best cases. Filemaker will cough, cough... OK, Applescripts
can help. But it's not a totally Filemaker only thing then...

Single points of failures are to be minimized!
And RunRev can do it all... 
But does it scale up? Not unless you have a real strategy or
optimum fixed object structure/code... That's always true
and that's when objects are less important...

If speed or graphics were not a problem sometimes, RunRev could
do it all actually... 

But thanks to externals that's quickly bridged between any
low-end or new-to-come APIs of the OS, anything is 
possible! And Chipp is one the best examples here I might add.

Was it done it OPP? Does it matter? In the end, it's it does it
business on it's objects the right way. Can I access it's 
objects? Can I modify them? :) Objects...

90% thinking, 10% scripting - that's how I see it!
Remember that 90% thinking = 1/1000 the 10% scripting in time!

So now im coming to the conclusion of the TAOO environment and
got a really really sweet set of tools. The OOP in it is like 
you said: a question of wording... After you get the hang of 
the wording (nothing hard!), and your libraries work with it, 
you'll see that things start to work by themselves! Usually 
with just a one-liner ;)

So if you are interested in an object called TAOO with a frame-
work of objects in objects without any need of fancy object.obj
notation... Let me know, i got it down to a science/slang now ;)

We all know there's always a trade off ;)

No joke. What can it do for you? Choose a [meaninful] verb...
It will find the object and function for it. It's programming
language/ide/file format independent too and anything you add to it becomes
part of the whole! So you see, after 15 years (or more) it's been gathering
quite a lot of skills... And any GUI is possible in terms of objects...

More importantly, and in relation to a picture is worth a 1000 words,
visual objects in TAOO have a wording to them that makes them aware
(Jean-Claude Van Dam style ;)... That's the key to making the system work
not just as a oop-library but also as a live visual oop environment. 

So the Visual Object language is another place where I've put in a lot of
evolution - which someone mistook for bug-fixing. I did and got a lots
more in return than expected and each version is less bugs all across the
TAOO script-nation! The language works with the controls via all types of
front/back or stackinuse scripts depending on the object layers. 

Now running on both Rev and MC too including all N2O tools ;)

The event Hierarchy is managed both locally and globally. The hierarchical
layers are like objects in objects. Or templates in objects, and vice versa.
There's no limits that I know of others than IDE over-loading. It works for
my new GM (called GIM - Graphical Interface Manager). There's always an
easier solution when it comes down to that like object-layer masters
(frontscript or backscript), managers(backscript or stackinuse), agents
(palette or stackinuse), etc 

For example, take a TAOO object contact which is just a group with a bunch
fields as Contact databases contain. It could be data from a file, db, sql,
or in cards, it doesn't matter. This Contact object, can be copy-pasted into
any other stack's object background and add contact features to the said
application! That's the relativism and relationalism of objects in the Art
of Objects - there isn't any - it's all there is!

I've released a part of it in a secret place of MonsieurX
Those interested... You know what to do.

And it's proudly made in RunRev! ;)

Cheers
Xavier
--
http://MonsieurX.com/TAOO




Database Query Builder, commit changes

2005-05-02 Thread Michael Parent
Hello, all I need to make some simple changes to a Valentina DB, the
Query builder is a great tool and I have everything set to open the
tables and edit the fields. The problem comes when I am saving the
changes back. If I use the auto edit feature of the Query Builder I get
no erros but the changed data is not committed, on refresh the original
field contents show. I tried a button with revCommitDatabase currentDB
and I get cant find handler error.

I am sure there is something simple I am missing, thanks all



Michael Parent
Read Naturally
1-800-788-4085




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


answer dialogs clicking through

2005-05-02 Thread Stephen Barncard
I'm having a problem with a list field with autohilite getting 
click-selected BEHIND a standard answer dialog. It seems to be 
happening within the auto-select mechanism and I haven't found the 
message that is sent.

Anyone else seen this - and is there a way to fix this outside of 
making my own dialog?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Stacks getting 'disconnected'

2005-05-02 Thread Stephen Barncard
In the process of trying to make an answer dialog (plan b), I ran 
across another problem. When opening a new window/sub-stack, does 
this automatically 'stop using' other stacks? When I closed this new 
sub-stack, somehow the connection to a library was stopped. Do I have 
to always define the 'default stack' every time??

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


RE: Stacks getting 'disconnected'

2005-05-02 Thread MisterX
Hi Stephen,

Plan c is always an option in RunRev.

But first check if you didn't forget to pass an event...

Stackinuse is in use by the stack that calls it normally
Then they are part of the event hierarchy in that order of calling.

if stack a uses stack b's script
stack c (not a substack of stack a) cannot see stack b's scripts.

That's the theory.

Front or Backscript are sometimes necessary. They are always present
in the event queueu (front/before or back/after) you stack's events.

Beware of frontscripts though... 

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Stephen Barncard
 Sent: Monday, May 02, 2005 20:23
 To: How to use Revolution
 Subject: Stacks getting 'disconnected'
 
 In the process of trying to make an answer dialog (plan b), I 
 ran across another problem. When opening a new 
 window/sub-stack, does this automatically 'stop using' other 
 stacks? When I closed this new sub-stack, somehow the 
 connection to a library was stopped. Do I have to always 
 define the 'default stack' every time??
 
 thanks
 
 sqb
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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


Re: Database Query Builder, commit changes

2005-05-02 Thread Jan Schenkel
--- Michael Parent [EMAIL PROTECTED] wrote:
 Hello, all I need to make some simple changes to a
 Valentina DB, the
 Query builder is a great tool and I have everything
 set to open the
 tables and edit the fields. The problem comes when I
 am saving the
 changes back. If I use the auto edit feature of the
 Query Builder I get
 no erros but the changed data is not committed, on
 refresh the original
 field contents show. I tried a button with
 revCommitDatabase currentDB
 and I get cant find handler error.
 
 I am sure there is something simple I am missing,
 thanks all
 
 Michael Parent
 

Hi Michael,

Have you ticked the 'Cache record set' checkbox ? If
you didn't, you may have refresh problems. When you
explicitly refresh the query, do the changes show up
or not ?

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Database Query Builder, commit changes

2005-05-02 Thread michael parent
Hello Jan, I did not check 'cache record set as I will be opening many
different Db files. When I do a change and either click refresh query
from Query Builder or through a Button set to the auto refresh action
from Query Builder the original Data is displayed on screen.

Michael Parent
Read Naturally
1-800-788-4085



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan
Schenkel
Sent: Monday, May 02, 2005 1:45 PM
To: How to use Revolution
Subject: Re: Database Query Builder, commit changes


--- Michael Parent [EMAIL PROTECTED] wrote:
 Hello, all I need to make some simple changes to a
 Valentina DB, the
 Query builder is a great tool and I have everything
 set to open the
 tables and edit the fields. The problem comes when I
 am saving the
 changes back. If I use the auto edit feature of the
 Query Builder I get
 no erros but the changed data is not committed, on
 refresh the original
 field contents show. I tried a button with
 revCommitDatabase currentDB
 and I get cant find handler error.
 
 I am sure there is something simple I am missing,
 thanks all
 
 Michael Parent
 

Hi Michael,

Have you ticked the 'Cache record set' checkbox ? If
you didn't, you may have refresh problems. When you
explicitly refresh the query, do the changes show up
or not ?

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution



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


RE: Database Query Builder, commit changes

2005-05-02 Thread Jan Schenkel
--- michael parent [EMAIL PROTECTED] wrote:
 Hello Jan, I did not check 'cache record set as I
 will be opening many
 different Db files. When I do a change and either
 click refresh query
 from Query Builder or through a Button set to the
 auto refresh action
 from Query Builder the original Data is displayed on
 screen.
 
 Michael Parent
 

Hi Michael,

In that case it's not writing the data back to the
database. Hmm, if you have selected the correct
primary key, it ought to work.
If not, you may have to check with Rev support to see
what is causing you problem.

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Ken Ray
On 5/2/05 12:38 PM, Pierre Sahores [EMAIL PROTECTED] wrote:

 Hello to All,
 
 I use Rev as a deamon server (alike Apache, PostgreSQL and so on - not
 just as a CGI engine) under the linux platform in starting stack's
 instances in the Init System V way. I would be interested to know if
 anyone can say if it is possible to get the same result under the Mac
 OS X platform and if yes, how to set up Rev to be able to start it as a
 deamon application (witch engine and librairies, how to build the
 start-up adequate component) ?

Would this help?

  http://www.sonsothunder.com/devres/revolution/revolution.htm?_proc003


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


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


Re: Stacks getting 'disconnected'

2005-05-02 Thread Ken Ray
On 5/2/05 1:22 PM, Stephen Barncard [EMAIL PROTECTED]
wrote:

 In the process of trying to make an answer dialog (plan b), I ran
 across another problem. When opening a new window/sub-stack, does
 this automatically 'stop using' other stacks? When I closed this new
 sub-stack, somehow the connection to a library was stopped. Do I have
 to always define the 'default stack' every time??

Steve, check your closestack and openStack handlers in your main
stack... these can be triggered by substacks that open/close if the substack
itself doesn't have its own openstack/closestack handlers.

And if you're intention is to stop using other stacks when the mainstack
closes, closing a substack might accidentally trigger this effect.

If this is the problem, several methods exist to solve the problem:

1) Put your openstack/closestack/etc. messages in the first card of the main
stack, not the mainstack itself. This will trigger properly when the
mainstack closes, but is not in the message hierarchy when substacks close.

2) Put explicit openstack/closestack/etc. handlers in your substacks, even
if they are stubs (i.e. on openstack/end openstack).

3) Leave the handlers in the mainstack's stack script, but use this if:

on message
  if the owner of the target is me then
-- do your mainstack-specific stuff here
  else
pass message
  end if
end message


If this is *not* the problem, you can ignore everything I just told you. ;-)

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


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


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Brian Yennie
Pierre,
If you just want to launch an ordinary MacOSX Rev standalone on 
startup, you can put it in:

/System/Library/StartupItems/
You could also put an AppleScript in here to perform all sorts of 
actions.

Along with Ken's tip, you could hide the GUI and make it a background 
process- although sometimes it is actually nice to have an admin 
interface visible.

HTH,
- Brian
Hello to All,
I use Rev as a deamon server (alike Apache, PostgreSQL and so on - not 
just as a CGI engine) under the linux platform in starting stack's 
instances in the Init System V way. I would be interested to know if 
anyone can say if it is possible to get the same result under the Mac 
OS X platform and if yes, how to set up Rev to be able to start it as 
a deamon application (witch engine and librairies, how to build the 
start-up adequate component) ?

Any help will be greatly appreciated. Thanks.
Best Regards,
--
Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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


[ANN] Change of date for ChatRev

2005-05-02 Thread Björnke von Gierke
Dear Revolutionaries
Instead of Friday the 6th May, the ChatRev with Kevin Miller and Ro 
Nagey will be on Saturday. The time will remain at 17.00 GMT.
I also made some minor adjustments on the client, it should now be 
possible to join without hassle after registering.

To join just paste the next line into your message box, and hit enter:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;
You need to click register and enter at least a nickname and a 
password. After that hit connect, and you should join the chat.

If you already have registered, use your old nick/password to enter the 
chat.

Best wishes
Bjoernke von Gierke
--
official ChatRev page:
http://chatrev.cjb.net
Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Pierre Sahores
Thanks Ken and Brian for the help :-)
Unfortunaly, this don't feet the need to be able to start the process 
in root protected mode with access to a socket port  1024. In more 
detailled words, is it a way to start a rev application from the Darwin 
shell console even if none of Cocoa nor XWindows are launched (darwin 
single user console mode start up) ?

Best, Pierre
Le 2 mai 05, à 23:13, Brian Yennie a écrit :
Pierre,
If you just want to launch an ordinary MacOSX Rev standalone on 
startup, you can put it in:

/System/Library/StartupItems/
You could also put an AppleScript in here to perform all sorts of 
actions.

Along with Ken's tip, you could hide the GUI and make it a background 
process- although sometimes it is actually nice to have an admin 
interface visible.

HTH,
- Brian
Hello to All,
I use Rev as a deamon server (alike Apache, PostgreSQL and so on - 
not just as a CGI engine) under the linux platform in starting 
stack's instances in the Init System V way. I would be interested to 
know if anyone can say if it is possible to get the same result under 
the Mac OS X platform and if yes, how to set up Rev to be able to 
start it as a deamon application (witch engine and librairies, how to 
build the start-up adequate component) ?

Any help will be greatly appreciated. Thanks.
Best Regards,
--
Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

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


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Theoretically, you could use the rc scripts in the /etc directory to 
start your app; however, there is an issue with this, where upgrades to 
the OS can and sometimes do replace these files without asking for 
permission.

These files are the 'normal' way to do it with most *NIX platforms, but 
Apple warns you *not* to use them for OS X.

The correct way to do this with Mac OS X is to place things in 
/Library/StartupItems.

For more details on how to write StartupItems, see this page:
http://www.macdevcenter.com/pub/a/mac/2003/10/21/startup.html
StartupItems are launched after the GUI is started, but before the 
login window appears (or the user is logged in automatically, if the 
machine is insecurely configured to not display a login window).  They 
are indeed run as root, and are not supposed to be graphical in nature 
(they should be faceless background processes -- what UNIX calls 
daemons and Windows calls services...


On May 2, 2005, at 7:04 PM, Pierre Sahores wrote:
Thanks Ken and Brian for the help :-)
Unfortunaly, this don't feet the need to be able to start the process 
in root protected mode with access to a socket port  1024. In more 
detailled words, is it a way to start a rev application from the 
Darwin shell console even if none of Cocoa nor XWindows are launched 
(darwin single user console mode start up) ?

Best, Pierre
Le 2 mai 05, à 23:13, Brian Yennie a écrit :
Pierre,
If you just want to launch an ordinary MacOSX Rev standalone on 
startup, you can put it in:

/System/Library/StartupItems/
You could also put an AppleScript in here to perform all sorts of 
actions.

Along with Ken's tip, you could hide the GUI and make it a background 
process- although sometimes it is actually nice to have an admin 
interface visible.

HTH,
- Brian
Hello to All,
I use Rev as a deamon server (alike Apache, PostgreSQL and so on - 
not just as a CGI engine) under the linux platform in starting 
stack's instances in the Init System V way. I would be interested to 
know if anyone can say if it is possible to get the same result 
under the Mac OS X platform and if yes, how to set up Rev to be able 
to start it as a deamon application (witch engine and librairies, 
how to build the start-up adequate component) ?

Any help will be greatly appreciated. Thanks.
Best Regards,
--
Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

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

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCdrY27aqtWrR9cZoRAstTAJ9ZsR5IPKBbYzKlNmQVr2/tVnjeswCdG5FZ
mxEo9LoBtuDXzm8uDNrXYeM=
=RArI
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Speakers, Schedule Posted for RevCon West

2005-05-02 Thread Dan Shafer
OK, all you cautious types who've been hanging onto your money,  
waiting to see who we were going to have speaking in Monterey at  
RevCon West... Ante up! Chipp and I just finalized the schedule of  
speakers and topics and posted it at:

http://www.altuit.com/webs/altuit/RevConWest/Schedule.htm
So pop over there and check out the great conference program! I  
guarantee the only thing you'll find to complain about is that  
there's too many time slots where you want to be in both sessions.

Once you're convinced that you just can't afford to miss this  
conference, hop over to the Register NOW! link and sign up. We're  
going to have by far the biggest gathering of Rev developers ever  
assembled in one place. And what a beautiful place it is, too!

~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Pierre Sahores
Hi Frank,
Le 3 mai 05, à 01:22, Frank D. Engel, Jr. a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Theoretically, you could use the rc scripts in the /etc directory to 
start your app; however, there is an issue with this, where upgrades 
to the OS can and sometimes do replace these files without asking for 
permission.
Yeah ! And it's why we have time to time to reinstall or tune some 
.conf files (Apache, Postgres,..).
These files are the 'normal' way to do it with most *NIX platforms, 
but Apple warns you *not* to use them for OS X.

The correct way to do this with Mac OS X is to place things in 
/Library/StartupItems.

For more details on how to write StartupItems, see this page:
http://www.macdevcenter.com/pub/a/mac/2003/10/21/startup.html
Thanks. Will try those ways. No knowed issues with Rev 2.5.1 it self, 
in about this kind of configs ?
StartupItems are launched after the GUI is started, but before the 
login window appears (or the user is logged in automatically, if the 
machine is insecurely configured to not display a login window).  They 
are indeed run as root, and are not supposed to be graphical in nature 
(they should be faceless background processes -- what UNIX calls 
daemons and Windows calls services...
Thanks again,
Best Regards,
Pierre

On May 2, 2005, at 7:04 PM, Pierre Sahores wrote:
Thanks Ken and Brian for the help :-)
Unfortunaly, this don't feet the need to be able to start the process 
in root protected mode with access to a socket port  1024. In more 
detailled words, is it a way to start a rev application from the 
Darwin shell console even if none of Cocoa nor XWindows are launched 
(darwin single user console mode start up) ?

Best, Pierre
Le 2 mai 05, à 23:13, Brian Yennie a écrit :
Pierre,
If you just want to launch an ordinary MacOSX Rev standalone on 
startup, you can put it in:

/System/Library/StartupItems/
You could also put an AppleScript in here to perform all sorts of 
actions.

Along with Ken's tip, you could hide the GUI and make it a 
background process- although sometimes it is actually nice to have 
an admin interface visible.

HTH,
- Brian
Hello to All,
I use Rev as a deamon server (alike Apache, PostgreSQL and so on - 
not just as a CGI engine) under the linux platform in starting 
stack's instances in the Init System V way. I would be interested 
to know if anyone can say if it is possible to get the same result 
under the Mac OS X platform and if yes, how to set up Rev to be 
able to start it as a deamon application (witch engine and 
librairies, how to build the start-up adequate component) ?

Any help will be greatly appreciated. Thanks.
Best Regards,
--
Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

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

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCdrY27aqtWrR9cZoRAstTAJ9ZsR5IPKBbYzKlNmQVr2/tVnjeswCdG5FZ
mxEo9LoBtuDXzm8uDNrXYeM=
=RArI
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Todd Higgins
Hi,
Keep in mind that with Tiger (10.4), Apple is providing a new method to 
start  daemons, and other background services -launchd.  It is part of 
the both the client and server.  I would imagine that if you were 
deploying your app on 10.3 or lower you could package it up just like 
you do for linux.  But 10.4 on up it looks like launchd is the way to 
go.

From Apple's website:
launchd provides faster startup through a unified framework for 
starting, stopping and managing daemons, and incorporates inetd, init, 
mach_init, System Starter and related services. Administrators have a 
single mechanism for auditing, configuring and setting resources limits 
on services.

Regards,
Todd
On May 2, 2005, at 1:38 PM, Pierre Sahores wrote:
Hello to All,
I use Rev as a deamon server (alike Apache, PostgreSQL and so on - not 
just as a CGI engine) under the linux platform in starting stack's 
instances in the Init System V way. I would be interested to know if 
anyone can say if it is possible to get the same result under the Mac 
OS X platform and if yes, how to set up Rev to be able to start it as 
a deamon application (witch engine and librairies, how to build the 
start-up adequate component) ?

Any help will be greatly appreciated. Thanks.
Best Regards,
--
Pierre Sahores
100, rue de Paris
F - 77140 Nemours
[EMAIL PROTECTED]
[EMAIL PROTECTED]
GSM:   +33 6 03 95 77 70
Pro:  +33 1 64 45 05 33
Fax:  +33 1 64 45 05 33
http://www.sahores-conseil.com/
WEB/VoD/ACID-DB services over IP
Mutualiser les deltas de productivité
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
--
Todd Higgins
ASG Systems Engineer
MICRO Technology Groupe, Inc
voice: 215-788-6811 fax: 215-788-1766
email: [EMAIL PROTECTED]  www: http://www.mtgroupe.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: To Rev or not to Rev

2005-05-02 Thread James Spencer
On May 2, 2005, at 9:28 AM, Geoff Canyon wrote:
Setting those aside, Rev lacks several characteristics most people  
consider inherent to OO. That doesn't make it bad or good,  
necessarily.

When this thread started, my reaction was because of these missing  
characteristics, I would have said that Rev is not OO except in a way  
that doesn't reflect the general benefits of OOP.  But the more I  
think about it, with the benefit of the comments here, I've come to  
the conclusion that while it is missing some OO characteristics, it  
also possesses some very significant features that are missing from  
languages that are considered (at least by some) to be more  
traditionally OO.  Specifically, the more I use Objective C with its  
dynamic messaging, which is very similar in many ways to Rev's  
messaging, the more I realize C++'s lacks in this regard.  For  
another example, one cannot write handlers except in the context of  
an object: an instance of a button, a group, a card, a stack, or  
whatever; it simply doesn't permit non-OO programming.

Having said all that, it really doesn't matter and as you say, none  
of this is, in itself, good or bad.  Rev (and it's related  
environments such as HC, SC, etc.) can't even be analyzed using  
traditional computer science analysis.  It's just different which is  
what makes it so damn great!

Spence
James P. Spencer
Rochester, MN
[EMAIL PROTECTED]
Badges??  We don't need no stinkin badges!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to start Rev by shell or startup item in the background under Mac OS X

2005-05-02 Thread Brian Yennie
Pierre,
If you just need access to port  1024, I believe it's possible to make 
root the owner of the application and have access from a GUI app... but 
I doubt the app will run without Cocoa.

I don't think anything other than the Darwin/CGI engine will run on 
MacOSX if you cannot have Cocoa or XWindows. A while back I talked to 
Tuviah about a custom Darwin engine with database external embedded and 
a fork() command for this specific task but I ended up going a 
different route.

I'd say your best (and only other option on MacOS) is to use the Darwin 
engine. Note that this is not just for CGIs - it can open regular 
stacks under XWindows. Maybe you could have some sort of XWindows stub 
libraries installed, or set the DISPLAY to something null. If you could 
suppress XWindows, it would probably work.

- Brian
Unfortunaly, this don't feet the need to be able to start the process 
in root protected mode with access to a socket port  1024. In more 
detailled words, is it a way to start a rev application from the 
Darwin shell console even if none of Cocoa nor XWindows are launched 
(darwin single user console mode start up) ?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: about Rev XML libs and XSLT files...

2005-05-02 Thread Andre Garzia
On May 2, 2005, at 2:09 PM, Jan Schenkel wrote:
I'm wondering where you would need this, since most
browsers to the job
already as a matter of course...
Sivakatirswami
One reason to do it within your application is data
security : if you display the XML in a browser, and
refer to an XSL, you can hide certain data -- but if
the user picks 'View the source' in his browser menus,
he can see the entire XML file.
Another reason to include XSL support is that it
allows for context-management server applications: the
programmer just delivers the XML, and the CGI-script
(or Rev-built web-server) applies an XSL
transformation to deliver for GPRS, WAP, PDA,...
Yes it's more work for your server or your application
if it's done beforehand, but it has its advantages.
Jan Schenkel.
Sivakatirswami,
I am looking into this because by pre-processing the XML/XSLT files, we 
can trust that even people using odd platfoms (symbian based 
smartphones, ZetaOS, etc...) will be able to see the HTML files. Also 
because I am thinking of ditching my own template engine in RevHTTPd in 
favor of XML/XSLT, thats why wanted to know if I could force the 
transformation on the Rev side.

if the Rev Team could expose the XSLT functions, then I'd be good to 
go, if it can't well, I can always create shell scripts and hook them 
with shell().

Cheers
andre

--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev Applescript

2005-05-02 Thread Marty Knapp
Hey,

I'm trying to get Rev to do an Applescript that will talk to either Mail or
Entourage (Mac) to auto-generate an email, attach several pdf files and then
send the email (with no interaction on my part). The email will always go
the the same recipient, but the content will change, so I need to be able to
generate that on the fly.

Thanks for any help.


Marty Knapp

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


Re: Prevent someone from dragging a toplevel window, or...

2005-05-02 Thread Sarah Reichelt
On 1 May 2005, at 5:44 PM, Ken Ray wrote:
(a) Prevent someone from dragging a window that is a toplevel window
(without a snapback solution of resetting the window after the drag 
is
complete); or

How about settings it's decorations to empty so there is no draggable 
title bar?
You could fake the close, max  min buttons if needed.

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


Re: Saving data in a stack ­STANDALONE

2005-05-02 Thread Sarah Reichelt
As a complete beginner with Revolution Ive found it very hard to get 
a grip
on this. Its a big stumbling block for those used to Hypercard, where 
the
IDE was taken for granted, and the concept of a standalone was 
unfamiliar.
But the ability to deliver standalones cross-platform is a major 
attraction
of Revolution  so its disappointing that such a key feature as how 
to save
user changes to a stack is hard to grasp.

I can understand that a standalone is an application, and as such 
shouldnt
modify itself  i.e. the user cant save any changes within the 
application

If you check the box in the Stacks section of Standalone settings that 
says Move substacks into individual stackfiles then you will be able 
to save all but the mainStack.

This is why people often make the mainStack a splash screen that does 
nothing except open one of the save-able sub stacks.

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


Re: Prefs and Settings - best practices

2005-05-02 Thread Chipp Walters
Mikey,
I like to store them in the user prefs area (different folder for each 
OS) as XML files. They're easy to parse, and easy to write to and allow 
for future updatability.

And, because stacks are difficult to create (on the fly) from a server, 
I generally only use them if I have to store some sort of binary data 
(logo) with pref files. If you're interested in cross-platform 
compatiblity, it's best to stay out of the registry, unless you have to 
be there (file associations).

best,
Chipp
Mikey wrote:
So is there a consensus on best-practices to handle settings for Rev
apps?  Substack?  File?  Registry?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Prefs and Settings - best practices

2005-05-02 Thread Richard Gaskin
Chipp Walters wrote:
And, because stacks are difficult to create (on the fly) from a server, 
I generally only use them if I have to store some sort of binary data 
(logo) with pref files.
What sorts of issues have you found?
This seems to work well on my BSD server:
#!mc
on startup
  -- make the stack:
  create stack tt
  -- set some props to verify it's working:
  set the destroyStack of stack tt to true
  set the uTT of stack tt to the long seconds
  -- put it away:
  set the filename of stack tt to data/test.mc
  save stack tt
  close stack tt
  -- send something back to the browser:
  put test--  the long seconds into tData
  put Content-Type: text/html  crlf \
 Content-Length: length(tData)  crlf  crlf
  put tData
end startup
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


registry saving.

2005-05-02 Thread Paul Salyers

Dear Rev Programers,
I know that the Mac don't have a registry like windows, but is there way to 
save program information in a place on the Mac where only the program has 
access to it and not prying eyes?


Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org  

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


Re: Prefs and Settings - best practices

2005-05-02 Thread Chipp Walters
Hi Richard,
For various reasons, we choose not to use MC on the server. The big one 
being it's unusual high use of resources per connection. Though Pierre 
has a nice workaround for it using Perl (or is it PHP?), we pretty much 
standarize on either MySQL or MS SQLserver.

I ran into this problem with Item Wizard launch/config files in our 
Hemingway Content Management System. Originally I had authored them as 
small read-only stacks, but then found I couldn't create them 
dynamically from the server w/out installing the MC engine, which we 
didn't want to do. I ended up re-authoring them in XML.

So, now, I think carefully about whether or not the file can be created 
in XML, and if so, I tend to use it instead of stacks. BTW, I think I 
remember Geoff Canyon ahwile ago created a STACK-XML-STACK utility. 
Pretty cool, but I couldn't figure out what I'd do with it, now I know!

best,
Chipp
Richard Gaskin wrote:
Chipp Walters wrote:
And, because stacks are difficult to create (on the fly) from a 
server, I generally only use them if I have to store some sort of 
binary data (logo) with pref files.

What sorts of issues have you found?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Podcasting

2005-05-02 Thread Jesse Sng
Hi,
Has anyone tried writing tools in Rev to support Podcasting? I'm 
interested in using Rev to automate many of the production related 
tasks in Podcasting and even automating uploads.

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


Re: registry saving.

2005-05-02 Thread Richard Gaskin
Paul Salyers wrote:
I know that the Mac don't have a registry like windows, but is there way 
to save program information in a place on the Mac where only the program 
has access to it and not prying eyes?
Some might recommend using invisible files, but for myself I find it 
disturbing when I discover hidden files apps have written to my drive, 
and none of mine do that sort of thing.

And remember that with the Windows Registry things are also wide open -- 
just do Run-regedit and the world is yours.

Maybe better would be to hide data in custom props in a stack file 
that's also used as a critical part of the program.  That way, unlike a 
standard Prefs file, if it's deleted the app won't run.

In order to have permissions to save the stack file you'll want to use 
the Preferences or Application Support folders.

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


Re: about Rev XML libs and XSLT files...

2005-05-02 Thread Chipp Walters
Hi Andre,
I looked into using XSLT a couple of years ago to do XML - XHTML 
transformations for Hemingway, and found the whole thing alarmingly 
slow, not to mention extremeley difficult to program and debug. Much 
faster to do it in PHP or ASP or even [probably] Transcript.

Perhaps things have changed.
-Chipp
Andre Garzia wrote:
I am looking into this because by pre-processing the XML/XSLT files, we 
can trust that even people using odd platfoms (symbian based 
smartphones, ZetaOS, etc...) will be able to see the HTML files. Also 
because I am thinking of ditching my own template engine in RevHTTPd in 
favor of XML/XSLT, thats why wanted to know if I could force the 
transformation on the Rev side.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Podcasting

2005-05-02 Thread Chipp Walters
Jesse,
Check out the 'record sound' command in the documentation.
Also, you may want to check out Trevor's Quicktime externals at:
http://www.mangomultimedia.com/developer/revolution/
as they may be of help in recording audio, too.
-Chipp
Jesse Sng wrote:
Hi,
Has anyone tried writing tools in Rev to support Podcasting? I'm 
interested in using Rev to automate many of the production related tasks 
in Podcasting and even automating uploads.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: registry saving.

2005-05-02 Thread Paul Salyers
At 12:11 AM 5/3/2005, you wrote:
Paul Salyers wrote:
I know that the Mac don't have a registry like windows, but is there way 
to save program information in a place on the Mac where only the program 
has access to it and not prying eyes?
Some might recommend using invisible files, but for myself I find it 
disturbing when I discover hidden files apps have written to my drive, and 
none of mine do that sort of thing.

And remember that with the Windows Registry things are also wide open -- 
just do Run-regedit and the world is yours.

Maybe better would be to hide data in custom props in a stack file that's 
also used as a critical part of the program.  That way, unlike a standard 
Prefs file, if it's deleted the app won't run.

In order to have permissions to save the stack file you'll want to use the 
Preferences or Application Support folders.
Can custom props keep things like registry keys for all the programs to 
use.  One key opens all the programs.

Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org  

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


Re: about Rev XML libs and XSLT files...

2005-05-02 Thread Jan Schenkel
--- Chipp Walters [EMAIL PROTECTED] wrote:
 Hi Andre,
 
 I looked into using XSLT a couple of years ago to do
 XML - XHTML 
 transformations for Hemingway, and found the whole
 thing alarmingly 
 slow, not to mention extremeley difficult to program
 and debug. Much 
 faster to do it in PHP or ASP or even [probably]
 Transcript.
 
 Perhaps things have changed.
 
 -Chipp
 

Ah, but then you have to manually craft a script for
each XML transformation -- and XSLT is generic and can
be done by someone who knows hardly anything about
programming.
We use it at work to dynamically create custom user
interfaces for an in-house web server that is built in
Progress -- my colleagues know hardly anything about
XSL, but they know enough XML to produce valid XML
data from the database queries.

Jan Schenkel.

Quartam - Tools for Revolution
http://www.quartam.com

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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


revSmartSave problems

2005-05-02 Thread Mark MacKenzie
Hi. I am returning to develop in Revolution after some time away.  I am 
using Rev. 2.5.1 (laterst version).  I cannot figure out how to 
implement the revSmartSave stack.  If I choose it from the 
Development:Plugins Menu, the stack is frozen and won't let me select a 
time interval.  Neither can I close the stack.  I have to use 
Cntrol/Alt/Delet to close RunRev in order to start again.

I have looked through the documentation and the list archives with no 
success. Some people appear to be able to use this plugin although they 
appear to be on Macs.  I am on Windows XP on a fast machine with plenty 
of ram and hard disk space.

All help is very much appreciated!
Mark MacKenzie
Past Ink Publishing
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: registry saving.

2005-05-02 Thread Richard Gaskin
Paul Salyers wrote:
Can custom props keep things like registry keys for all the programs to 
use.  One key opens all the programs.
If the programs were developed with Rev, yes.
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Prevent someone from dragging a toplevel window, or...

2005-05-02 Thread Ken Ray
On 5/2/05 10:12 PM, Sarah Reichelt [EMAIL PROTECTED] wrote:

 On 1 May 2005, at 5:44 PM, Ken Ray wrote:
 
 (a) Prevent someone from dragging a window that is a toplevel window
 (without a snapback solution of resetting the window after the drag
 is
 complete); or
 
 How about settings it's decorations to empty so there is no draggable
 title bar?
 You could fake the close, max  min buttons if needed.

Thanks Sarah, but unfortunately I don't have control of the topstack...

I've decided to settle for 'snapback'; it's a little odd, but acceptable.

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


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