Re: Wow - punching holes in stacks!

2008-05-15 Thread J. Landman Gay

Ken Ray wrote:



On 5/15/08 11:35 PM, "Jim Sims" <[EMAIL PROTECTED]> wrote:


On May 16, 2008, at 6:29 AM, Scott Rossi wrote:


Now THAT is a cool bug. :-)

(Works in 2.8.1 as well.)

I wonder if this is an intel machine only thing?
I cannot get it here with Rev 2.9 and my PPC G4 10.5.2 Mac.


An I can't get it with Rev 2.8.1 on an Intel MacBookPro running Leopard...


I got it on an Intel iMac running Rev 2.9 and OS 10.4.11. Pretty cool 
when it happens.


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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Ken Ray



On 5/15/08 11:35 PM, "Jim Sims" <[EMAIL PROTECTED]> wrote:

> 
> On May 16, 2008, at 6:29 AM, Scott Rossi wrote:
> 
>> 
>> Now THAT is a cool bug. :-)
>> 
>> (Works in 2.8.1 as well.)
> 
> I wonder if this is an intel machine only thing?
> I cannot get it here with Rev 2.9 and my PPC G4 10.5.2 Mac.

An I can't get it with Rev 2.8.1 on an Intel MacBookPro running Leopard...

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


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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Joe Lewis Wilkins
I didn't get it with a MacPro with Leopard and a 30" monitor. Just  
filled the screen with nothing and the button - under 2.9.


Joe Wilkins

On May 15, 2008, at 9:35 PM, Jim Sims wrote:



On May 16, 2008, at 6:29 AM, Scott Rossi wrote:



Now THAT is a cool bug. :-)

(Works in 2.8.1 as well.)


I wonder if this is an intel machine only thing?
I cannot get it here with Rev 2.9 and my PPC G4 10.5.2 Mac.

sims


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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Jim Sims


On May 16, 2008, at 6:29 AM, Scott Rossi wrote:



Now THAT is a cool bug. :-)

(Works in 2.8.1 as well.)


I wonder if this is an intel machine only thing?
I cannot get it here with Rev 2.9 and my PPC G4 10.5.2 Mac.

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Scott Rossi
Recently, David Bovill wrote:

> creating a new stack adding a button with this script and clicking on
> it works here:
> 
> on mouseUp
> set the backgroundcolor of me to blue
> set the ink of me to blend
> set the blendlevel of this stack to 5
> set the rect of this stack to the screenrect
> end mouseUp

Now THAT is a cool bug. :-)

(Works in 2.8.1 as well.)

Even more interesting is after resizing the button I get what appears to be
an offset shadow from the button text, which might be generated by the
window¹s shadow routine (?).

  http://www.tactilemedia.com/download/bug_sample.jpg

This could almost be a feature ‹ resizable window mask. :-)

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Re: Significant Rev 2.9 problem handling Quicktime, and slowness

2008-05-15 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote:

> I updated from Rev 2.7.4 to Rev 2.9.0 and then made a few small changes to a
> stack I had created with Rev 2.7.4.
> ... 
> In Rev 2.9.0, however, the long absolute path won¹t work in the standalone on
> the other computers.   I have to modify the absolute path to convert it to
> the short relative path format.
> ... 
> Not only that, the stack itself now takes a long time to load up (several
> minutes) when it is opened, and so does the standalone, whether on Mac or
> Windows.

Stephen:

Are you using a function/handler to set the filepaths in your stack/s?  What
is the code?  Also, how big are your video files?

The above "long load time" issue sounds suspiciously like an "accessing over
the network" situation (accessing the source from the network as opposed to
from the local drive).  Try renaming some of your content locally on your
test systems and see if your stack/s are able to find the files (of course
you'll have to update the filepaths in your stack/s).

Also, have you upgraded QuickTime lately?  Apple continues to make changes
to the architecture, one of which removed all Flash playback capability
completely, so there's a slight possibility that something may be amiss with
QT and your content.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Significant Rev 2.9 problem handling Quicktime, and slowness

2008-05-15 Thread Stgoldberg
I’m not sure if the following 2 problems were addressed in the forum, but 
hope that someone can help: 
I updated from Rev 2.7.4 to Rev 2.9.0 and then made a few small changes to a 
stack I had created with Rev 2.7.4. The stack was working fine under 2.7.4 (I’
m working on a Mac desktop with OS X 10.4.11 with 8 mg RAM).   The following 
problems then occurred:

I have a folder that nests both a stack and a movie folder.   The movies in 
the movie folder   are referred to in the stack through the Quicktime player on 
one of the cards. I put the file path to the movie in the Quicktime player 
Property Inspector.   In Rev 2.7.4, I simply left the long absolute path to the 
movie within the player, never changing it.   For some reason, this still 
worked well in the standalone, even when the standalone was run on a different 
Mac 
or Windows (Vista) computer.   The movies showed up.

In Rev 2.9.0, however, the long absolute path won’t work in the standalone on 
the other computers.   I have to modify the absolute path to convert it to 
the short relative path format.   While this method now works in the 
standalone, 
it doesn’t work in the stack itself.   As soon as I create the short relative 
path, the Quicktime player goes blank in the stack (whether using 2.7.4 or 
2.9.0).   Is this a significant change in the way Rev 2.9.0 works?

Not only that, the stack itself now takes a long time to load up (several 
minutes) when it is opened, and so does the standalone, whether on Mac or 
Windows.
Thus there are two problems:
1.   The absolute and relative paths appear to act differently in 2.7.4 than 
in 2.9.0. (the 2.74 way was more desirable since one didn’t have to shorten 
the absolute path to create the standalone).
2.   After working with the stack in 2.9.0 it appears that the stack and 
standalone take a lot longer to open than it did when I just had 2.7.4.   Now, 
if 
I go back to using 2.7.4 to build a standalone on the same stack that was 
altered in 2.9.0, it too is now associated with a long opening time of the both 
the stack and standalone. (The stack is structured as one Mainstack and 4 
substacks.   The only change I made was adding an extra card to the end of each 
stack).

Does the above indicate some intrinsic problem with 2.9.0?   Does 2.9.0 
somehow damage a stack that previously was created in 2.7.4?   Any advice would 
be 
greatly appreciated, since I have many stacks created in 2.7.4 and I’m 
wondering whether or not to continue working with them in 2.9.0.   Thanks very 
much.
Stephen Goldberg
[EMAIL PROTECTED]   



**
Wondering what's for Dinner Tonight? Get new twists on family 
favorites at AOL Food.
  
(http://food.aol.com/dinner-tonight?NCID=aolfod000301)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Defining locals or constants

2008-05-15 Thread Trevor DeVore

On May 15, 2008, at 7:00 PM, David Bovill wrote:

Make it easier for the community to document, vote, comment and  
organise
these issues. As an example  - I would vote on this, but I find that  
either
due to the upgrade to 2.9 or the fact that I have not filed a bug  
report in
a few months - I've lost my login - it would take me 5 minutes to  
dig out -

but that's too much.


Hey David -

I'm not trying to be confrontational here but 5 minutes to find your  
login info (which can be saved by your browser for future trips to  
QCC) seems like a small sacrifice to make in order to log information  
on a bug that is important to you.



Its just too many steps relying on limited feedback and
resources from RunRev - the list is really the only thing that works  
because
of the choice of Bugzilla and the lack of easy integrate feedback  
integrated
into the environment - a Revolution IDE should have "crowd sourcing"  
built

in.


I think that regardless of what improvements could be made to the  
Quality Control Center it is important to use the system that we  
actually have. It is by no means inadequate for the task at hand and  
can be used to get information to the development team on how to  
improve the product. I know from experience that the folks at Rev look  
at the reports and fix them when possible. And their responsiveness to  
reports in QCC over the last few months has greatly improved as well.  
I hope that just because there are some lingering bugs that may have  
the wrong status or haven't been publicly addressed people don't  
abandon the system entirely.


One more thing to add relating to this and the RunRevLive conference  
(excellent by the way) I just returned from earlier this week. I have  
never walked away from one of the Revolution conferences as confident  
in the company as I did this one. There were a number of people from  
the company there that we (the attendees) could stop in the hall and  
chat with about all things Rev. I think 2.9 created a lot of positive  
momentum for Revolution as a development tool and the company seems to  
be in a position to build on that momentum. If you have stuff you want  
to see fixed or improved then I think now is the best time ever to let  
them know about it.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Wow - punching holes in stacks!

2008-05-15 Thread Noel
I've tried all sorts of manipulations with the screen and button and 
I haven't seen any issues.  This is on Vista.


Could be an Apple only issue.

 - Noel

At 05:49 PM 5/15/2008, you wrote:

A caveat to that - select the button and it becomes visible again, resize
the stack and it creates the hole.

Terry...


On 16/5/08 9:46 AM, "Terry Judd" <[EMAIL PROTECTED]> wrote:

> Interesting - I followed your recipe before and didn't see the effect but
> your stack 'works' here for me on 10.4.11 (Intel) with Rev 2.9.
>
> Terry...
>
>
> On 16/5/08 9:22 AM, "David Bovill" <[EMAIL PROTECTED]> wrote:
>
>> 2008/5/15 Sarah Reichelt <[EMAIL PROTECTED]>:
>>
>>>
>>> Doesn't seem to work for me on Leopard.
>>
>>
>> I'll try it on leopard over here... for now here is a link - type:
>>
>> go url "
>>> http://handlers.rev-co.de/attachment/wiki/blendLevel/hole.rev?format=raw";
>>>
>>
>> into the message box. You should see a simple stack with one button and a
>> transparent hole where the button should be.
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your 
subscription

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

--
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187

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

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


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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Terry Judd
A caveat to that - select the button and it becomes visible again, resize
the stack and it creates the hole.

Terry...


On 16/5/08 9:46 AM, "Terry Judd" <[EMAIL PROTECTED]> wrote:

> Interesting - I followed your recipe before and didn't see the effect but
> your stack 'works' here for me on 10.4.11 (Intel) with Rev 2.9.
> 
> Terry...
> 
> 
> On 16/5/08 9:22 AM, "David Bovill" <[EMAIL PROTECTED]> wrote:
> 
>> 2008/5/15 Sarah Reichelt <[EMAIL PROTECTED]>:
>> 
>>> 
>>> Doesn't seem to work for me on Leopard.
>> 
>> 
>> I'll try it on leopard over here... for now here is a link - type:
>> 
>> go url "
>>> http://handlers.rev-co.de/attachment/wiki/blendLevel/hole.rev?format=raw";
>>> 
>> 
>> into the message box. You should see a simple stack with one button and a
>> transparent hole where the button should be.
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Terry Judd
Interesting - I followed your recipe before and didn't see the effect but
your stack 'works' here for me on 10.4.11 (Intel) with Rev 2.9.

Terry...


On 16/5/08 9:22 AM, "David Bovill" <[EMAIL PROTECTED]> wrote:

> 2008/5/15 Sarah Reichelt <[EMAIL PROTECTED]>:
> 
>> 
>> Doesn't seem to work for me on Leopard.
> 
> 
> I'll try it on leopard over here... for now here is a link - type:
> 
> go url "
>> http://handlers.rev-co.de/attachment/wiki/blendLevel/hole.rev?format=raw";
>> 
> 
> into the message box. You should see a simple stack with one button and a
> transparent hole where the button should be.
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187

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


Re: TABLE CONTROL

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 9:10 AM, RevList <[EMAIL PROTECTED]> wrote:
> Has anyone developed a Table Control that has adjustable columns?  I find
>  this a very limiting characteristic of the table field.

Chipp Walters has a plugin that gives you this functionality.
Go to this page

and when you get to the downloads page, look for altFldHeader.

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 9:22 AM, David Bovill <[EMAIL PROTECTED]> wrote:
> 2008/5/15 Sarah Reichelt <[EMAIL PROTECTED]>:
>
>
>  >
>  > Doesn't seem to work for me on Leopard.
>
>
>  I'll try it on leopard over here... for now here is a link - type:
>
>  go url "
>  > http://handlers.rev-co.de/attachment/wiki/blendLevel/hole.rev?format=raw";
>  >
>
>  into the message box. You should see a simple stack with one button and a
>  transparent hole where the button should be.
>

No, I see a stack with a mauve button. Both stack & button are
slightly transparent, but that's it.
Clicking the button changes nothing but the stack rect.

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread David Bovill
2008/5/15 Sarah Reichelt <[EMAIL PROTECTED]>:

>
> Doesn't seem to work for me on Leopard.


I'll try it on leopard over here... for now here is a link - type:

go url "
> http://handlers.rev-co.de/attachment/wiki/blendLevel/hole.rev?format=raw";
>

into the message box. You should see a simple stack with one button and a
transparent hole where the button should be.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Defining locals or constants

2008-05-15 Thread Terry Judd
On 16/5/08 9:00 AM, "David Bovill" <[EMAIL PROTECTED]> wrote:

> resources from RunRev - the list is really the only thing that works because
> of the choice of Bugzilla and the lack of easy integrate feedback integrated
> into the environment - a Revolution IDE should have "crowd sourcing" built
> in.

How about adtoptin the 'tag cloud' metaphor that is popular with social
bookmarking sites. The 'hotter' the bug the more prominence it has in the
feedback interface. Hard to ignore something when it's jumping out at you in
36 point text!

Terry...

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


TABLE CONTROL

2008-05-15 Thread RevList
Has anyone developed a Table Control that has adjustable columns?  I find
this a very limiting characteristic of the table field.

Stewart.


Notice of Confidentiality:
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review re-transmission dissemination or other use of or
taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error please contact the sender immediately by return electronic
transmission and then immediately delete this transmission including all
attachments without copying distributing or disclosing same.


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


Re: Defining locals or constants

2008-05-15 Thread David Bovill
2008/5/15 Mark Schonewille <[EMAIL PROTECTED]>:

> So, what do we do about it? Can we do anything?


Make it easier for the community to document, vote, comment and organise
these issues. As an example  - I would vote on this, but I find that either
due to the upgrade to 2.9 or the fact that I have not filed a bug report in
a few months - I've lost my login - it would take me 5 minutes to dig out -
but that's too much. Its just too many steps relying on limited feedback and
resources from RunRev - the list is really the only thing that works because
of the choice of Bugzilla and the lack of easy integrate feedback integrated
into the environment - a Revolution IDE should have "crowd sourcing" built
in.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RevBrowswer and backdrop???

2008-05-15 Thread John Patten
Hello All!

I have a little project that uses the RevBrowser calls. I would like to use the 
backdrop to eliminate the user desktop while viewing the revBrowser window.

When I implement the BackDrop call I lose my revBrowser window. I have tried 
calling backdrop before and after a RevBrowser call. Is it not possible to use 
the backdrop call and the RevBrowser call together?

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


Re: CGI Setup

2008-05-15 Thread J. Landman Gay

Chris Young wrote:

Thank you Sarah, I have seen that.
So if I want to use my Linux server, ( which is hosted
at GoDaddy.com )
Do I need to download the Linux version of RunRev,
 ( does it matter what version? )  and how do I put in
my
registration info?  Do I Have to have some type of
special
access to the server or will it run without needed
that info?


The latest version of the Linux engine used to be 2.6.1 (which still 
works fine.) Now that 2.9 is released, you should be able to use that 
one too, though I haven't actually tried it yet. The important part is 
that you use the standalone engine, not the one from the app the IDE 
uses. You can find the standalone engines in the main Rev program folder 
on your hard drive, inside a folder called Runtime. You should already 
have all those engines, since they are included with your Revolution 
installation.


The standalone engines don't need a registration code. Just copy the 
right one to your cgi-bin folder on the server.


Sometimes your scripts need to specify -ui in the declaration line, but 
again, I'm not sure if that is still the case when using the standalone 
engines. (I really need to get cleared up on that; does anyone know?) In 
other words, you may need to do something like this in your text file 
script:


#! revolution -ui

When I get some time (which at this point is dubious) I'll do some 
tests. I need to update the links on that CGI web page too.


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


Re: CGI Setup

2008-05-15 Thread Andre Garzia
Hello Chris,

Use your linux version. To install it follow the following steps. I
assume you're running 2.9.0

Step #1: Pick the Linux engine from inside
/2.9.0-gm-1/Runtime/Linux/x86-32/ the engine is called Standalone, I
advise to rename it on your server to 'revolution'.

Step #2: Copy this engine to your cgi-bin folder and set the
permissions on the file to 755.

Ready! Pronto! You're good to go. =)

After that, you can follow the wonderful CGI tutorial by Jacque and if
you're further interested, explore my RevOnRockets package <
http://www.andregarzia.com/revonrockets >

cheers
andre

On Thu, May 15, 2008 at 10:47 AM, Chris Young <[EMAIL PROTECTED]> wrote:
> I'm looking for some help setting up a RunRev CGI.
>
> I have both a windows server and a linux server I
> could use.
> Which ever would be easier or work better.
>
> But I'm not sure what to download and FTP to the
> server.
> Most places explain to download a file but the links
> all point
> to a RunRev Download that doesn't exist anymore.
> Is there a serial number or License code needed for
> this
> server software?
>
> Any help?
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



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


Re: integrating rsync with Rev

2008-05-15 Thread Sarah Reichelt
On Thu, May 15, 2008 at 6:26 AM, Josh Mellicker <[EMAIL PROTECTED]> wrote:
> I'm working on a project that requires robust downloading abilities that
> include syncing remote and local directories, checking for newer files on
> the server, and compressing files during downloading to speed transfer.
>
>  I have written this code in Revolution but I'm not altogether happy with
> some aspects, notably the fact that "background" downloading via libURL is
> not completely in the background, slowing down responsiveness, and even
> missing mouseUps at times.
>
>  Luckily, there is a GPL'd shell app called "rsync" that is amazing! It does
> all this and much more, including the ability to only transfer the changed
> portion of files! (something it would take a while to script reliably in Rev
> and would need a serverside counterpart)
>
>  Has anyone worked with rsync? I feel anyone using Rev to
> upload/download/sync files should investigate using rsync in lieu of
> commands like "libURLdownloadtoFile", "put" or "load".
>
>  Anyway, rsync is easy (from Terminal), but I am having a hard time getting
> started with using shell commands in Rev.
>

I haven't used rsync Josh, but if it is easy in the Terminal, then it
will be easy in Rev. Just call the same shell commands you used in the
Terminal.
As an example, if I want to get a detailed directory listing in
Terminal, I use:   ls -la
In Rev, I would use:  put shell("ls -la") into fld "Listing"

I see from the man page that rsync does both local & remote file
transfers. Can it be used to do uploads to a web site instead of FTP?
It seems that the web host would need to be running an rsync server
and I have no idea whether that is common or not.

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


Re: CGI Setup

2008-05-15 Thread Nicolas Cueto
> Do I need to download the Linux version of RunRev,
>  ( does it matter what version? )  and how do I put in
> my
> registration info?

The engines can be downloaded from Rev's ftp site:

ftp://ftp.runrev.com/pub/revolution/downloads/engines/

For linux, there seems to be only one version.

As for your registration info, it is not required for running
the RunRev engine with cgi scripts.

> Do I Have to have some type of
> special
> access to the server

I don't understand "special access" but...

Setting up Rev for cgi can be difficult -- Jacque's guide
is very useful -- but not because of Rev. Usually the
problem is either with one's own lack of experience
(eg, setting permissions) or, worse yet, the webhost
company. Myself, I had to switch webhost companies
when a RunRev-cgi setup I had had working perfectly for
years suddenly stopped when the webhost company did
"something" at their end. A tech-member of the company
and I exchanged emails for a while to try to resolve it,
but no go. So, I switched companies.

In other words, part of your learning curve for Rev+CGI
might be beyond your control. So, keep that in mind
when things don't seem to be working as easily as
they apparently ought to.

However, once you do get it working, Rev itself makes it
ofcourse quite simple.

Good luck.

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


Re: CGI Setup

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 7:07 AM, Chris Young <[EMAIL PROTECTED]> wrote:
> Thank you Sarah, I have seen that.
>  So if I want to use my Linux server, ( which is hosted
>  at GoDaddy.com )
>  Do I need to download the Linux version of RunRev,
>   ( does it matter what version? )  and how do I put in
>  my
>  registration info?  Do I Have to have some type of
>  special
>  access to the server or will it run without needed
>  that info?

I can't really help you there. I have just used it locally on OS X
computer. I have just taken the engine from my registered copy of Rev
and not had to enter any new registration info. I would just find the
Linux engine and see what happens if you upload it.

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 7:21 AM, David Bovill <[EMAIL PROTECTED]> wrote:
> Well creating a new stack adding a button with this script and clicking on
>  it works here:
>
>  on mouseUp
>  > set the backgroundcolor of me to blue
>  > set the ink of me to blend
>  > set the blendlevel of this stack to 5
>  > set the rect of this stack to the screenrect
>  > end mouseUp
>  >
>
>  You need to resize the stack to get the redraw. Only tested on OSX Tiger and
>  2.9. If you still need a stack - I can upload it.


Doesn't seem to work for me on Leopard.

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Noel

I just tried it on a Windows Vista machine, and I'm not seeing any issues.

Can you upload your stack so I know I'm doing the same as yourself?

 - Noel

At 03:21 PM 5/15/2008, you wrote:

Well creating a new stack adding a button with this script and clicking on
it works here:

on mouseUp
> set the backgroundcolor of me to blue
> set the ink of me to blend
> set the blendlevel of this stack to 5
> set the rect of this stack to the screenrect
> end mouseUp
>

You need to resize the stack to get the redraw. Only tested on OSX Tiger and
2.9. If you still need a stack - I can upload it.

2008/5/15 Scott Rossi <[EMAIL PROTECTED]>:

> Recently, David Bovill wrote:
>
> > Is this just a 2.9 thing or did I miss it before?
> >
> >
> >1. create a stack
> >2. Place a button or any control on the card
> >3. Give the control a background fill colour
> >4. Set the ink of the button to blend - no need to move the slider to
> set
> >a blendlevel
> >5. select stack properties and set the blendlevel of the stack with
> the
> >slider
> >
> > Any level of stack blend above I think 2 immediately punches a whole
> right
> > through the stack. Interestingly this works for regular polygons as well
>  -
> > but not if anti-aliased is selected.
>
> Hi David:
>
> I tried what you describe above and I don't get the same results.  The only
> thing the blendLevel of a stack *should* do is set its overall opacity --
> unless you designate an image to act as a mask for the stack, a single
> control shouldn't have any bearing on the stacks appearance.  At least, not
> usually.  You may have discovered some unexpected behavior, which could be
> interesting.  Would it possible to post a sample stack somewhere to look
> at?
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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


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


Re: Defining locals or constants

2008-05-15 Thread Mark Schonewille

So, what do we do about it? Can we do anything?

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 15-mei-2008, om 23:33 heeft Mark Wieder het volgende geschreven:


Mark-


Which bug should be fixed first?


All of mine, of course 

Seriously, though, I'm not so much concerned with getting this one  
fixed
since I do have workarounds for it. They're just awkward and I'd  
like not to
have to resort to them. But I *am* appalled that this bug (and  
others) still
has a status of "new" two years after it was confirmed (and even  
that was

some two years after I filed it).

--
 Mark Wieder
 [EMAIL PROTECTED]



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


Re: Defining locals or constants

2008-05-15 Thread Mark Wieder
Mark-

> Which bug should be fixed first?

All of mine, of course 

Seriously, though, I'm not so much concerned with getting this one fixed 
since I do have workarounds for it. They're just awkward and I'd like not to 
have to resort to them. But I *am* appalled that this bug (and others) still 
has a status of "new" two years after it was confirmed (and even that was 
some two years after I filed it).

-- 
 Mark Wieder
 [EMAIL PROTECTED] 



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


Re: Wow - punching holes in stacks!

2008-05-15 Thread David Bovill
Well creating a new stack adding a button with this script and clicking on
it works here:

on mouseUp
> set the backgroundcolor of me to blue
> set the ink of me to blend
> set the blendlevel of this stack to 5
> set the rect of this stack to the screenrect
> end mouseUp
>

You need to resize the stack to get the redraw. Only tested on OSX Tiger and
2.9. If you still need a stack - I can upload it.

2008/5/15 Scott Rossi <[EMAIL PROTECTED]>:

> Recently, David Bovill wrote:
>
> > Is this just a 2.9 thing or did I miss it before?
> >
> >
> >1. create a stack
> >2. Place a button or any control on the card
> >3. Give the control a background fill colour
> >4. Set the ink of the button to blend - no need to move the slider to
> set
> >a blendlevel
> >5. select stack properties and set the blendlevel of the stack with
> the
> >slider
> >
> > Any level of stack blend above I think 2 immediately punches a whole
> right
> > through the stack. Interestingly this works for regular polygons as well
>  -
> > but not if anti-aliased is selected.
>
> Hi David:
>
> I tried what you describe above and I don't get the same results.  The only
> thing the blendLevel of a stack *should* do is set its overall opacity --
> unless you designate an image to act as a mask for the stack, a single
> control shouldn't have any bearing on the stacks appearance.  At least, not
> usually.  You may have discovered some unexpected behavior, which could be
> interesting.  Would it possible to post a sample stack somewhere to look
> at?
>
> Thanks & Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: CGI Setup

2008-05-15 Thread Chris Young
Thank you Sarah, I have seen that.
So if I want to use my Linux server, ( which is hosted
at GoDaddy.com )
Do I need to download the Linux version of RunRev,
 ( does it matter what version? )  and how do I put in
my
registration info?  Do I Have to have some type of
special
access to the server or will it run without needed
that info?

Sorry perhaps I'm missing something.. the instructions
on the site make it sound so simple.
Perhaps I'm just confused.

Chris
--- Sarah Reichelt <[EMAIL PROTECTED]> wrote:

> On Fri, May 16, 2008 at 6:47 AM, Chris Young
> <[EMAIL PROTECTED]> wrote:
> > I'm looking for some help setting up a RunRev CGI.
> >
> >  I have both a windows server and a linux server I
> >  could use.
> >  Which ever would be easier or work better.
> >
> >  But I'm not sure what to download and FTP to the
> >  server.
> >  Most places explain to download a file but the
> links
> >  all point
> >  to a RunRev Download that doesn't exist anymore.
> >  Is there a serial number or License code needed
> for
> >  this
> >  server software?
> >
> >  Any help?
> 
> 
> You need Jacque's wonderful CGI tutorial
>
.
> 
> Cheers,
> Sarah
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and
> manage your subscription preferences:
>
http://lists.runrev.com/mailman/listinfo/use-revolution
> 

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


Re: Wow - punching holes in stacks!

2008-05-15 Thread Scott Rossi
Recently, David Bovill wrote:

> Is this just a 2.9 thing or did I miss it before?
> 
> 
>1. create a stack
>2. Place a button or any control on the card
>3. Give the control a background fill colour
>4. Set the ink of the button to blend - no need to move the slider to set
>a blendlevel
>5. select stack properties and set the blendlevel of the stack with the
>slider
> 
> Any level of stack blend above I think 2 immediately punches a whole right
> through the stack. Interestingly this works for regular polygons as well  -
> but not if anti-aliased is selected.

Hi David:

I tried what you describe above and I don't get the same results.  The only
thing the blendLevel of a stack *should* do is set its overall opacity --
unless you designate an image to act as a mask for the stack, a single
control shouldn't have any bearing on the stacks appearance.  At least, not
usually.  You may have discovered some unexpected behavior, which could be
interesting.  Would it possible to post a sample stack somewhere to look at?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Re: CGI Setup

2008-05-15 Thread Sarah Reichelt
On Fri, May 16, 2008 at 6:47 AM, Chris Young <[EMAIL PROTECTED]> wrote:
> I'm looking for some help setting up a RunRev CGI.
>
>  I have both a windows server and a linux server I
>  could use.
>  Which ever would be easier or work better.
>
>  But I'm not sure what to download and FTP to the
>  server.
>  Most places explain to download a file but the links
>  all point
>  to a RunRev Download that doesn't exist anymore.
>  Is there a serial number or License code needed for
>  this
>  server software?
>
>  Any help?


You need Jacque's wonderful CGI tutorial
.

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


Wow - punching holes in stacks!

2008-05-15 Thread David Bovill
Is this just a 2.9 thing or did I miss it before?


   1. create a stack
   2. Place a button or any control on the card
   3. Give the control a background fill colour
   4. Set the ink of the button to blend - no need to move the slider to set
   a blendlevel
   5. select stack properties and set the blendlevel of the stack with the
   slider

Any level of stack blend above I think 2 immediately punches a whole right
through the stack. Interestingly this works for regular polygons as well  -
but not if anti-aliased is selected.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: LiveResizing (was Re: "movestack" sent continuously!)

2008-05-15 Thread Sarah Reichelt
>  Actually there's a similar situation with resizeStack - in the earlier days
>  of Rev/MetaCard, resizeStack was sent continuously on Windows/Linux, but not
>  on Mac. Now, in order to get continual resizeStack messages on OS X, you
>  need to set the "liveResizing" of the stack to true.
>
>  Along these lines, I think it might be good to have liveResizing default to
>  "true" for new stacks instead of "false" - otherwise it makes resizing look
>  "old" on OS X. In fact the IDE itself doesn't even default to
>  liveResizing=true. This hasn't been filed as a bug report AFAIK.

I agree that the IDE should have live-resizing, but not that
live-resizing should be on by default. I always roll my own resizing
handlers as I don't trust the Geometry manager. When testing, it is
much better to have live-resizing off, so if I have made a mistake,
there is only one resizeStack message sent, not hundreds. Once I know
I have it right, then I turn on live-resizing.

I guess my preferred option would be to have the standalone builder
turn on live-resizing for every resizable stack.

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


CGI Setup

2008-05-15 Thread Chris Young
I'm looking for some help setting up a RunRev CGI.

I have both a windows server and a linux server I
could use.
Which ever would be easier or work better.

But I'm not sure what to download and FTP to the
server.
Most places explain to download a file but the links
all point
to a RunRev Download that doesn't exist anymore.
Is there a serial number or License code needed for
this
server software?

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


Re: Defining locals or constants

2008-05-15 Thread Malte Brill

Mark wrote recently

>Which bug should be fixed  first?

That is really a problem. Even though I am pretty happy with the 2.9  
release there are those little things that catch you as they do not  
work reliably / not as expected / not as documented or not at all. My  
special friend at the moment is SSL and I really pray to get that  
fixed. Don´t get me wrong I love the environment (even though with the  
game stuff I am pushing Rev to its limits by now, as the whole  
graphics rendering and audio stuff is falling short compared with  
other environments), so I am really curious what the future brings.  
Rev lets me do cool stuff, I appreciate that, however it could always  
improve.


1 € cents worth (due to inflation)

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


Re: Defining locals or constants

2008-05-15 Thread Mark Schonewille

Hi Mark,

Sure, you are right, this bughancement should be fixed as quickly as  
possible.


Problem is, there are a lot of such bugs, such as the incorrect window  
bounding rects, non-functional SSL, a slightly messed up standalone  
builder, a broken revPrintField command, the almost-impossibility to  
create custom cursors, incomplete driver names and other problems with  
drivers, problems with serial ports, a failing getResources function,  
problems with copying backgrounds, and remaining problems with the  
debugger.


All these bugs are of the category "come on team, how difficult can  
this be?" and date back to 2003 and earlier. Which bug should be fixed  
first? More important: how to motivate RunRev Ltd to actually do  
something about this? Even the 1.5 year long beta testing programming  
didn't solve this problem. What to do?


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Color Converter does what it says. Download it at 
http://economy-x-talk.com/cc.html

On 15 mei 2008, at 21:03, Mark Wieder wrote:


Ben-

Since bz #1241 has been sitting around in "New" status for over four  
years
now, I changed its severity from enhancement to normal. Maybe that  
will keep

it from falling off the bug radar.

C'mon team... it's not that hard to implement evaluation of rvalues at
compile time...

--
Mark Wieder
[EMAIL PROTECTED]



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


Re: Defining locals or constants

2008-05-15 Thread Mark Wieder
Ben-

Since bz #1241 has been sitting around in "New" status for over four years 
now, I changed its severity from enhancement to normal. Maybe that will keep 
it from falling off the bug radar.

C'mon team... it's not that hard to implement evaluation of rvalues at 
compile time...

-- 
 Mark Wieder
 [EMAIL PROTECTED] 



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


Re: PRINTING IN RUNREV 2.9

2008-05-15 Thread Hugh Senior

Hi Leonardo,

The new print routines should allow you to do this with a bit of fiddling, 
but for simplicity you may wish to consider saving the htmlText of the field 
to a printme.html file (perhaps saved to the temp directory and deleted on 
closeStack), then launch it for the user to print from their browser. That's 
the technique we use for the Scripter's Scrapbook and is, of course, 
compatible with all versions of Revolution.


/H


I don't know if anyone knows whether it is possible to print and entire
scrolling field in Revolution 2.9. I've not been able to do it with
Revolution 2.5.1. The idea is to be able to print the entire scrolling
field, including that which is not visible in the card on the screen. (If
anyone knows how to do it in 2.5.1 I would also like to know.)

Any help with this is greatly appreciated.

All the best,

Leonardo Wild 


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


Re: Defining locals or constants

2008-05-15 Thread Stephen Barncard

By the way, Ken, is a new 2.9 stackrunner on the way?


sqb
--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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


Re: Defining locals or constants

2008-05-15 Thread Ken Ray

> constant WorldRadius = WorldConstant/pi
> 
> local LocalVar = WorldRadius * 2
>> 
> 
> 
> That is initialise a local variable or constant to the result of a
> calculation. I can use a "preOpenStack" message to trigger a script but
> this is not always appropriate and clumsy - is there a simpler way?

Well, you could do this kind of workaround I learned from Teresa Snyder:

constant WorldConstant = 25000
constant WorldRadius ="[[WorldConstant/pi]]"

on answerTenTimesWorldRadius
  put 10 * merge(WorldRadius) into tResult
  answer tResult
end answerTenTimesWorldRadius

Don't know if this makes it any easier or harder, but just providing an
option...

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


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


LiveResizing (was Re: "movestack" sent continuously!)

2008-05-15 Thread Ken Ray
>> This has been changed in Rev 2.9, to make Mac OS X consistent with
>> Windows. The docs are wrong.
> 
> And fragmentary!
> 
> Did not know that this had been working this way on windows before.

Actually there's a similar situation with resizeStack - in the earlier days
of Rev/MetaCard, resizeStack was sent continuously on Windows/Linux, but not
on Mac. Now, in order to get continual resizeStack messages on OS X, you
need to set the "liveResizing" of the stack to true.

Along these lines, I think it might be good to have liveResizing default to
"true" for new stacks instead of "false" - otherwise it makes resizing look
"old" on OS X. In fact the IDE itself doesn't even default to
liveResizing=true. This hasn't been filed as a bug report AFAIK.

Opinions?

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


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


Re: Defining locals or constants

2008-05-15 Thread David Bovill
Yes - because I do not want to have to deal with the different situations in
which the handler is called, and initialise the variables properly. For
instance when I call a custom property of an object in another stack, which
may or may not be "open" - it could simply be loaded into memory. In these
cases I want the variable to be initialised when the script is called and
not necessarily when a stack is opened.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Defining locals or constants

2008-05-15 Thread Colin Holgate

At 3:35 PM +0100 5/15/08, Ben Rubinstein wrote:

I can use a "preOpenStack" message to trigger a script but
this is not always appropriate and clumsy - is there a simpler way?


Is there really any practical difference between these two:

local LocalVar = sqrt(10)

on openstack
   do  thingsthatneedthatvariable
end

and:

local LocalVar

on preOpenStack
   LocalVar = sqrt(10)
end

on openstack
   do  thingsthatneedthatvariable
end

If you could define and set variables like you can in many other 
languages, those lines would have to run on preOpenStack anyway, 
otherwise you can run into issues, where a handler is called before 
the variable is set.

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


Re: Defining locals or constants

2008-05-15 Thread Ben Rubinstein

On 15/5/08 10:47, David Bovill wrote:

Is there an easy way to do this type of thing:

constant WorldRadius = WorldConstant/pi

local LocalVar = WorldRadius * 2


That is initialise a local variable or constant to the result of a
calculation. I can use a "preOpenStack" message to trigger a script but
this is not always appropriate and clumsy - is there a simpler way?


http://quality.runrev.com/qacenter/show_bug.cgi?id=1241

vote vote vote...

- Ben

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


Re: Defining locals or constants

2008-05-15 Thread Mark Schonewille

Hi David,

What you want is not possible. You have to use a function and can't  
use this function to define a local variable in the way you want.


function someFunction
  return 6
end someFunction

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 15-mei-2008, om 12:21 heeft David Bovill het volgende geschreven:


Not as far as I can see:

local SomeLocal = testFunction()

function testFunction
return 6
end testFunction

Will not compile here?




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


Re: Defining locals or constants

2008-05-15 Thread David Bovill
Not as far as I can see:

local SomeLocal = testFunction()

function testFunction
return 6
end testFunction

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


Re: Defining locals or constants

2008-05-15 Thread Ian Wood

Wouldn't a function do the trick?

Ian

On 15 May 2008, at 10:47, David Bovill wrote:


Is there an easy way to do this type of thing:

constant WorldRadius = WorldConstant/pi

local LocalVar = WorldRadius * 2

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


Defining locals or constants

2008-05-15 Thread David Bovill
Is there an easy way to do this type of thing:

constant WorldRadius = WorldConstant/pi

local LocalVar = WorldRadius * 2
>


That is initialise a local variable or constant to the result of a
calculation. I can use a "preOpenStack" message to trigger a script but
this is not always appropriate and clumsy - is there a simpler way?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: "movestack" sent continuously!

2008-05-15 Thread Klaus Major

Dag Mark,

thanks for testing!


Hi Klaus,

This has been changed in Rev 2.9, to make Mac OS X consistent with  
Windows. The docs are wrong.


And fragmentary!

Did not know that this had been working this way on windows before.


Best,

Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


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


Re: "movestack" sent continuously!

2008-05-15 Thread Mark Schonewille

Hi Klaus,

This has been changed in Rev 2.9, to make Mac OS X consistent with  
Windows. The docs are wrong.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 15-mei-2008, om 11:03 heeft Klaus Major het volgende geschreven:


Hi all,

looks like something has changed (again and silently) in 2.9?

From the docs:
...
The moveStack message is sent after(!) the movement is finished.
...

But on OS X it is apparently being sent continuously!
Can someone confirm this?

Simply create a new stack and put this into the stackscript:

on movestack
  put the loc of this stack
end movestack

And you will probably see the loc being updated in realtime in the  
msg.


Not a big thing, although we have an "activity logging" (including  
"movestack")
in our current project and this way the log is being written to  
disk quite often

and unecessarily.

This has been working as the docs state in earlier versions
I do not like this surprises, at least not in Rev :-)


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de



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


"movestack" sent continuously!

2008-05-15 Thread Klaus Major

Hi all,

looks like something has changed (again and silently) in 2.9?

From the docs:
...
The moveStack message is sent after(!) the movement is finished.
...

But on OS X it is apparently being sent continuously!
Can someone confirm this?

Simply create a new stack and put this into the stackscript:

on movestack
  put the loc of this stack
end movestack

And you will probably see the loc being updated in realtime in the msg.

Not a big thing, although we have an "activity logging" (including  
"movestack")
in our current project and this way the log is being written to disk  
quite often

and unecessarily.

This has been working as the docs state in earlier versions
I do not like this surprises, at least not in Rev :-)


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


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