Re: Getting user's time from web revlet?

2010-01-20 Thread Mark Wieder
Tim-

Wednesday, January 20, 2010, 7:59:52 PM, you wrote:

> I'm working on a simple web based To Do list for some family
> members to share. Pops up items based on date. But I'm in Tokyo, 
> other users are in China and the US--it's Monday here while still 
> Sunday for you in the US. Want to pop up the items based on the 
> date of the user, whether in Asia, US or Europe.

Ah... got it, I think.

Couldn't you just let the server take care of its local date and then
convert it at the user's end when you go to display it? If this is
strictly irev scripting then that won't work because you don't know
the user's info. But if you're using a revlet (and that *is* in the
subject, after all) then you should be able to convert the server's
internet time to the user's local time (assuming the local time on
their computer is correct).

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: Getting user's time from web revlet?

2010-01-20 Thread Tim Selander
I was the original poster and this has been a very interesting 
thread, though a fair bit of it has been over my head as I don't 
know javascript, nor html, very well.


I'm working on a simple web based To Do list for some family 
members to share. Pops up items based on date. But I'm in Tokyo, 
other users are in China and the US--it's Monday here while still 
Sunday for you in the US. Want to pop up the items based on the 
date of the user, whether in Asia, US or Europe.


I found some javascript solutions on the net, and now Sarah has 
posted a very easy to understand javascript (Sarah, you're 
amazing). Now I have to figure out how to get the javascript 
result into an irev variable... looks like I'll be exploring 
cookies...


Tim Selander
Tokyo, Japan

Mark Wieder wrote:

Wednesday, January 20, 2010, 6:26:53 PM, Jim Ault wrote:


The original issue is that the browser does not send its system date
and time to the server so that a sever-side script can use it.


I think by now I've lost track of the "why" of this. By the time the
post information reaches the server wouldn't the server's date and
time be the important data points? Is there some reason the server
would need to know the browser's perspective?


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

2010-01-20 Thread Jerry J

On Jan 20, 2010, at 6:54 PM, Mark Wieder wrote:

>>> ...so put them in groups of 41 and then you only have to write 23
>>> handlers...
> 
>> Can't. 41 is one short of the Answer To Everything. :)
> 
> No problem. All you have to do is write another group of 23 new
> handlers...

But then it wouldn't be the product of two primes, so to speak...
--
Jerry Jensen

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

2010-01-20 Thread Mark Wieder
Jacque-

Wednesday, January 20, 2010, 5:16:29 PM, you wrote:

>> ...so put them in groups of 41 and then you only have to write 23
>> handlers...

> Can't. 41 is one short of the Answer To Everything. :)

No problem. All you have to do is write another group of 23 new
handlers...

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: Getting user's time from web revlet?

2010-01-20 Thread Mark Wieder
Wednesday, January 20, 2010, 6:26:53 PM, Jim Ault wrote:

> The original issue is that the browser does not send its system date
> and time to the server so that a sever-side script can use it.

I think by now I've lost track of the "why" of this. By the time the
post information reaches the server wouldn't the server's date and
time be the important data points? Is there some reason the server
would need to know the browser's perspective?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: Getting user's time from web revlet?

2010-01-20 Thread Jim Ault


On Jan 20, 2010, at 6:04 PM, Sarah Reichelt wrote:



As far as I know, the JavaScript Date object gives the browser's  
date & time.

Here is a routine I have to showing a time stamp:



The original issue is that the browser does not send its system date  
and time to the server so that a sever-side script can use it.


Your example is how to tell the browser to grab the time and date info  
available to it and display it for the single user.


If the javascript were to update a cookie record in the spot available  
for a Revlet or a web page script that gets and sets cookies, then  
that info would be available for harvesting.


The other two solutions mentioned were to ask the user to press a  
button to send that data, and the sneaky AJAX  approach which means  
you trigger a script without the user interacting to send the data  
back to the same server or another or several of them.  ( of course,  
no one uses computers to extract info like that )



Jim Ault
Las Vegas


On Jan 20, 2010, at 6:04 PM, Sarah Reichelt wrote:

On Wed, Jan 20, 2010 at 12:29 AM, Tim Selander  
 wrote:

Thanks for clearing up the .irev/revlet confusion in my head.

I've read through the thread a couple times... and it seems you  
CANNOT get

the user/browser's date and time through RevServer scripts. Correct?

Anyone have a javascript snippet they like to use to get the user's  
date and

time? thanks.


As far as I know, the JavaScript Date object gives the browser's  
date & time.

Here is a routine I have to showing a time stamp:

function showTimeStamp() {
  // show the current date & time in the divider bar
var date = new Date();
var m = date.getMinutes();
var s = date.getSeconds();
// add a zero in front of numbers < 10
if (m < 10) { m = "0" + m; }
if (s < 10) { s = "0" + s; }

// format into "d/m/h:mm:ss"
var currentDate =   date.getDate() + "/" +
(date.getMonth() + 1) + "/" +
date.getFullYear() + "" 
+
date.getHours() + ":" + m + ":" 
+ s;

$('#timestamp').text("Last step: " + currentDate);
}


The last line uses jQuery to display the time stamp in the tag with
the id "timestamp", but you can also use straight JavaScript:
document.getElementById("timestamp").innerHTML = currentDate;

Note that I have the date formatted in the English/Australian style
(d/m/y), so swap the segments around if you want American dates.

HTH,
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: Getting user's time from web revlet?

2010-01-20 Thread Sarah Reichelt
On Wed, Jan 20, 2010 at 12:29 AM, Tim Selander  wrote:
> Thanks for clearing up the .irev/revlet confusion in my head.
>
> I've read through the thread a couple times... and it seems you CANNOT get
> the user/browser's date and time through RevServer scripts. Correct?
>
> Anyone have a javascript snippet they like to use to get the user's date and
> time? thanks.

As far as I know, the JavaScript Date object gives the browser's date & time.
Here is a routine I have to showing a time stamp:

function showTimeStamp() {
  // show the current date & time in the divider bar
var date = new Date();
var m = date.getMinutes();
var s = date.getSeconds();
// add a zero in front of numbers < 10
if (m < 10) { m = "0" + m; }
if (s < 10) { s = "0" + s; }

// format into "d/m/h:mm:ss"
var currentDate =   date.getDate() + "/" +
(date.getMonth() + 1) + "/" +
date.getFullYear() + "" 
+
date.getHours() + ":" + m + ":" 
+ s;

$('#timestamp').text("Last step: " + currentDate);
}


The last line uses jQuery to display the time stamp in the tag with
the id "timestamp", but you can also use straight JavaScript:
document.getElementById("timestamp").innerHTML = currentDate;

Note that I have the date formatted in the English/Australian style
(d/m/y), so swap the segments around if you want American dates.

HTH,
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: shell

2010-01-20 Thread stephen barncard
I got it to work by pasting the whole thing into the adr line of a browser
and it filled in the appropriate URLEncoding (as browsers for some time have
done)
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/20 Alex Tweedly 

> Hershel Fisch wrote:
>
>> Thanks, but the link is dead.
>> Hershel
>>
>>
>>
> Most likely it is (as Stephen warned) a problem due to my poor choice of
> file name - the spaces confuse automatic link-clicking. Copy/paste the whole
> URL (from http: ... all the way to ... .rev) and see if that fixes it (it
> does for me).
>
> Sorry for the inconvenience, I'll pick better names next time.
>
> -- Alex.
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-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: Geometry manager

2010-01-20 Thread J. Landman Gay

Mark Wieder wrote:

Jacque-

Wednesday, January 20, 2010, 4:01:43 PM, you wrote:


I just added them up and it isn't as bad as I thought. It's only 943.


...so put them in groups of 41 and then you only have to write 23
handlers...



Can't. 41 is one short of the Answer To Everything. :)

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


Re: Geometry manager

2010-01-20 Thread J. Landman Gay

Robert Brenstein wrote:

On 20.01.10 at 18:01 -0600 J. Landman Gay apparently wrote:

Richard Gaskin wrote:

Look at the bright side:  with that many objects you'd get RSI from 
using a point-and-click solution anyway. ;)


I just added them up and it isn't as bad as I thought. It's only 943.



I would second what Richard wrote. With that many objects, there must be 
patterns so only a few central scripts are probably needed. In some 
projects, I used naming scheme to handle this. In others, I used custom 
properties in each object. Sometimes grouping comes in play, as Mark 
suggests.


There is a main stack with three (all different) cards, and 17 one-card 
substacks. Two of the substacks are very similar, each with 110 
controls. I can share those two scripts. The rest of the stacks are each 
a separate template that displays data in different layouts. Those all 
have to be resized individually. I've eliminated six substacks, such as 
the preferences substack, which can be enlarged just once during 
development and remain static. But the 943 count doesn't include those 
stacks.


The complaint came in after Windows 7 was released, and some new 
machines are apparently now shipping with monitors set to 1920 x 1080 
default resolution. The existing stacks are about half that size, which 
used to be fine but now are too small to read. It's legacy stuff that 
wasn't an issue before but it really does need to be changed.


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


Re: shell

2010-01-20 Thread Alex Tweedly

Hershel Fisch wrote:

Thanks, but the link is dead.
Hershel

  
Most likely it is (as Stephen warned) a problem due to my poor choice of 
file name - the spaces confuse automatic link-clicking. Copy/paste the 
whole URL (from http: ... all the way to ... .rev) and see if that fixes 
it (it does for me).


Sorry for the inconvenience, I'll pick better names next time.
-- Alex.

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


Re: Geometry manager

2010-01-20 Thread Robert Brenstein

On 20.01.10 at 18:01 -0600 J. Landman Gay apparently wrote:

Richard Gaskin wrote:

Look at the bright side:  with that many objects you'd get RSI from 
using a point-and-click solution anyway. ;)


I just added them up and it isn't as bad as I thought. It's only 943.



I would second what Richard wrote. With that many objects, there must 
be patterns so only a few central scripts are probably needed. In 
some projects, I used naming scheme to handle this. In others, I used 
custom properties in each object. Sometimes grouping comes in play, 
as Mark suggests.


Robert
___
use-revolution mailing list
use-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: Geometry manager

2010-01-20 Thread Mark Wieder
Jacque-

Wednesday, January 20, 2010, 4:01:43 PM, you wrote:

> I just added them up and it isn't as bad as I thought. It's only 943.

...so put them in groups of 41 and then you only have to write 23
handlers...

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: Geometry manager

2010-01-20 Thread J. Landman Gay

Richard Gaskin wrote:

Look at the bright side:  with that many objects you'd get RSI from 
using a point-and-click solution anyway. ;)


I just added them up and it isn't as bad as I thought. It's only 943.

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


Re: Geometry manager

2010-01-20 Thread J. Landman Gay

Sarah Reichelt wrote:

On Thu, Jan 21, 2010 at 7:37 AM, J. Landman Gay
 wrote:

Well, I guess the votes are in. Thanks for your comments. I'll stick with my
handwritten scripts. Problem is, I have about a thousand objects to script,
scattered over a whole suite of stacks, and I *so* do not want to do this.

Sigh.



Jacque, I have a plugin which is a bit rough, but does some of the
work of scripting all this.



Thank you. I've downloaded it, and it looks like a good compromise 
between automation and Richard's technique. Could you fix it so it reads 
my intentions as well? So I could just click one button? ;)


I still don't want to do this, but the client speaks and the programmer 
nods agreement...


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


Re: Geometry manager

2010-01-20 Thread stephen barncard
Perhaps you can offer it as a separate product?


2010/1/20 Damien Girard 

>
>
> And what I have to say, is that I re-wrote it entirely for NativeSpeak 2.0,
> and it is just awesome... (the ease of use + the resizing speed like if you
> wrote your own script + cross-platform + localizable). You will see in few
> months !
>
>
___
use-revolution mailing list
use-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: Geometry manager

2010-01-20 Thread Richard Gaskin

J. Landman Gay wrote:

Well, I guess the votes are in. Thanks for your comments. I'll stick
with my handwritten scripts. Problem is, I have about a thousand objects
to script, scattered over a whole suite of stacks, and I *so* do not
want to do this.


Look at the bright side:  with that many objects you'd get RSI from 
using a point-and-click solution anyway. ;)


Besides, with that many objects I suspect you'll find a lot of 
similarities as you go resulting in centralized handlers used by 
multiple layouts, so with any luck you'll have little code to write 
relative to the number of objects you need to handle.


Good luck -

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


Re: Modal dialog not modal... any hints?

2010-01-20 Thread Thomas McGrath III

YesOrNoYesOrNo("Are you sure you want to answer this question?","Yes")
YesOrNo the dialogData=
back from dialog




Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html






On Jan 20, 2010, at 10:38 AM, Tereza Snyder wrote:


go url "http://www.califexsoftware.com/stacks/TestModal.rev";


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


Re: DataGrid - not drawing fully in standalone - RESOLVED

2010-01-20 Thread Richard Gaskin

Thanks again to everyone who contributed to this thread.

Based on the discussion here and reviewing the options in depth with Ken 
Ray, I've submitted an enhancement request to the RQCC:



Extend behavior resolution to also happen before preOpenCard


Here are my notes submitted there:

   Currently the engine attempts to resolve all behavior
   references for all objects in a stackFile once whenever
   that stack is accessed.

   While useful, this can give rise to circumstances in
   which this causes unnecessary failure of resolution
   attempts.

   For example, if you have an instance object in a
   substack of a standalone which uses a behavior defined
   in an external stackFile library, the engine will attempt
   to resolve the behavior for the instance even before you
   open that substack, and will fail since the behavior
   object hasn't been loaded first.

   If the engine was extended to attempt behavior resolution
   just prior to preOpenCard, this failed resolution would
   have no adverse effect, since a new attempt will be made
   when that substack is actually opened.

   Not only does this avoid unnecessary resolution errors,
   it makes behavior resolution more consistent with other
   uses of object references in the engine, such as image
   references used in button icons and patterns.



Also:

Some time ago I'd already submitted a request noting that the 
resolutionError message isn't yet implemented, and have appended that 
earlier report with a suggestion for the arguments to be sent with that 
message:




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


Re: Geometry manager

2010-01-20 Thread Bob Sneidar
Just to weigh in, the fact that people can write their own scripts to do this 
should be some indication that a geometry manager CAN work for most things. Off 
the top of my head, it seems you would want to set and track the following 
things:

minimum object size (per object)
maximum object size (per object)
relative size and position (to card or other object, per object)
specific properties of an object should be capable of being relative to another 
property of another object (for instance the top of field "a" 5 pixels below 
the bottom of field "b")
exact position (to card or to other object)
effect on contents (do text and labels and graphics grow within the object?)

Every object should have a prior position property set so that any time the 
size or position of an object changes, you can revert. Also, wouldn't it be 
cool if you could make each object's size and position relative to another 
object instead of the whole card? That way you could have an anchor object and 
make every other object relative to that one, or have a cascade effect where 
each object's size and or position is relative to another's by a percent or by 
an exact number of pixels. 

That's just my "gee this seems easy" way of seeing it, and obviously it's more 
complicated than  that. But I think that the reason the geometry manager seems 
inadequate is because size and position of each object is relative only to the 
card and not to other objects. 

Anyone who has worked with old dBase code that created forms by code know the 
problems here. Remember "SAY" and "GET"? EEEK!

Bob


On Jan 20, 2010, at 11:27 AM, J. Landman Gay wrote:

> Is anyone using the geometry manager in commercial stacks? Do you find it 
> reliable? I confess that I haven't experimented with it much, I've always 
> written my own resize scripts. But I'm in a position now where I need to make 
> several large stacks with many objects into resizeable windows, and I'm 
> wondering if using the manager would be faster than writing all that code.
> 
> Any thoughts?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Setting the dgText locks Revolution

2010-01-20 Thread Trevor DeVore

On Jan 20, 2010, at 4:25 PM, Bob Sneidar wrote:

Bingo! That did the trick. So would I be correct in saying that the  
principle here is, whenever doing anything to modify the data in a  
datagrid, use send in time?


The general rule is that if the object that is running the current  
script is going to be deleted then use send in time to delete it.  
Doing so should generate an error though, not lock up Rev.


I'm not sure that is the issue here though. Your scripts are in the  
Data Grid group script so this shouldn't be an issue.


I've had issues with dragDrop causing crashes before myself though.  
For example, I do some image processing in an app when the user drops  
images onto a Data Grid in an app. This would sometimes causes crashes  
until I moved the processing outside the dragDrop event.


So is the crash caused by an error occurring during Data Grid redraw?  
Maybe. Or maybe there are some operations that can cause Rev to become  
upset during drag operations and the Data Grid exposes them. I haven't  
fully explored this yet but IIRC the crash logs I've looked at on OS X  
were complaining about the drag event loop.


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
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: Geometry manager

2010-01-20 Thread Sarah Reichelt
On Thu, Jan 21, 2010 at 7:37 AM, J. Landman Gay
 wrote:
> Well, I guess the votes are in. Thanks for your comments. I'll stick with my
> handwritten scripts. Problem is, I have about a thousand objects to script,
> scattered over a whole suite of stacks, and I *so* do not want to do this.
>
> Sigh.


Jacque, I have a plugin which is a bit rough, but does some of the
work of scripting all this.


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: Geometry manager

2010-01-20 Thread J. Landman Gay
Well, I guess the votes are in. Thanks for your comments. I'll stick 
with my handwritten scripts. Problem is, I have about a thousand objects 
to script, scattered over a whole suite of stacks, and I *so* do not 
want to do this.


Sigh.

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


Re: Setting the dgText locks Revolution

2010-01-20 Thread Bob Sneidar
Bingo! That did the trick. So would I be correct in saying that the principle 
here is, whenever doing anything to modify the data in a datagrid, use send in 
time?

Bob


On Jan 20, 2010, at 12:16 PM, Trevor DeVore wrote:

> On Jan 20, 2010, at 3:12 PM, Bob Sneidar wrote:
>> Following is code I have in the data grid object's script. Essentially am 
>> attempting to drag a value in a column to another place in the column to 
>> rearrange the values.
>> 
>> When I execute a drag and drop within a column, Revolution goes beachball on 
>> me. I originally thought it was the command to set the dgText that was 
>> causing the beachball, but no! Using GLX2 and stepping through the code, I 
>> discovered that the beachball happens when DragDrop ends after returning 
>> from the dispatch call to ProcessDrop! (see code comments)
>> 
>> Anyone have a clue?
> 
> Try calling processDrop AFTER dragDrop finishes executing.
> 
> send "processDrop theDropSource, theDropTarget" to me in 0 seconds
> 
> -- 
> Trevor DeVore
> Blue Mango Learning Systems
> ScreenSteps: http://www.screensteps.com
> Releasable Revolution Resources for Developers: 
> 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

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

2010-01-20 Thread Damien Girard

Hi Jacqueline,

The Revolution geometry manager is horrible, and multiple times it broken
entirely (all my objects disappeared !)

That's why NativeSpeak has a geometry manager (to replace rev geometry
manager and for localization/cross platform geometry).

And what I have to say, is that I re-wrote it entirely for NativeSpeak 2.0,
and it is just awesome... (the ease of use + the resizing speed like if you
wrote your own script + cross-platform + localizable). You will see in few
months !

Kind Regards,

Damien Girard
Dam-pro, France.


-Message d'origine-
De : use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] De la part de J. Landman
Gay
Envoyé : mercredi 20 janvier 2010 20:27
À : Revolution Mailing List
Objet : Geometry manager


Is anyone using the geometry manager in commercial stacks? Do you find 
it reliable? I confess that I haven't experimented with it much, I've 
always written my own resize scripts. But I'm in a position now where I 
need to make several large stacks with many objects into resizeable 
windows, and I'm wondering if using the manager would be faster than 
writing all that code.

Any thoughts?

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


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


Re: Geometry manager

2010-01-20 Thread Richard Gaskin

stephen barncard wrote:

Isn't that kind of lame that it's offered in the IDE, but the unspoken rumor
is that it doesn't work, and we're not supposed to use it, yet no-one has
ever given an exact reason why? What if it has been fixed, yet the
impression persists?


One man's lame is another man's affordance.  For simple layouts the GM 
seems to work well.  Any issues folks have had with it are an 
understandable byproduct of attempting to abstractify dynamic layout 
geometry in such a generalized way.


The old THINK Class Library (how old am I that I remember that? ) 
included a class for managing layout geometry, and with similar results. 
It's a hard task to pull off.


Given the nearly infinite variety of ways people can arrange their 
objects, compounded by the interdependencies between them as some 
objects may be relative to others which are relative to others which are 
relative to the card bounds, building a universal tool which is always 
reliable is somewhere between too complex to be worth it and impossible.


Being a gadgeteer myself I started down that road once.  Halfway into 
that dark forest of possibilities I turned back, and have been enamored 
of the relative ease and absolute control of using resizeStack handlers 
ever since.


RunRev was more ambitious than I, and their tool does a reasonably good 
job on some types of layouts.  But since it - or any generalized tool - 
won't be able to handle every possible case I can throw at it, I think 
it's useful for people to know they have options.




This is one aspect of programming that I would like to not hassle with.


It's not so bad:  once you get into a habit of writing resizeStack 
handlers it becomes second-nature, and takes only a minute or so for 
most layouts.


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


Re: Geometry manager

2010-01-20 Thread François Chaplais
It's nice to have it for simple stacks. And when it works, don't ever fix it.
cheers
François
Le 20 janv. 2010 à 20:27, J. Landman Gay a écrit :

> Is anyone using the geometry manager in commercial stacks? Do you find it 
> reliable? I confess that I haven't experimented with it much, I've always 
> written my own resize scripts. But I'm in a position now where I need to make 
> several large stacks with many objects into resizeable windows, and I'm 
> wondering if using the manager would be faster than writing all that code.
> 
> Any thoughts?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> ___



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


Re: evenodd fillRule?

2010-01-20 Thread Mark Schonewille

Brian,

I see exactly the same, in Rev 4, Mac OS X 10.5.8.

--
Best regards,

Mark Schonewille

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

TwistAWord supports Haiti. Buy a license for this word game at http://www.twistaword.net 
 and support the earthquake victims.


Op 20 jan 2010, om 21:26 heeft Brian Yennie het volgende geschreven:


This is what I get here:
http://fi.s.s3.amazonaws.com/evenodd.png


___
use-revolution mailing list
use-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: evenodd fillRule?

2010-01-20 Thread Brian Yennie

Yes, that =).

I think he's referring to the linear artifacts in the "background"  
of the

graphic (grey and purple regions on the right and left).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


Recently, Richard Gaskin wrote:


Brian Yennie wrote:

Has anyone had success using the evenodd fillRule for complex (say
5000+ points) graphics? When I do, I start to get many horizontal  
line

artifacts:

go stack url ("http://fi.s.s3.amazonaws.com/fillRule.rev";)



FWIW that stack looks good here; Mac OS 10.6.2, MBP 2.16Ghz, Rev 4.0
build 950.

BTW: Nice graphics. How did you import those?

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

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


Re: evenodd fillRule?

2010-01-20 Thread Brian Yennie

Interesting. Do you mind sending me a screenshot off-list of how it
looks on your end? It does seem to be some sort of rendering issue,  
as

I've seen the artifacts disappear while editing a group before.


Looks good:  crisp, clear lines throughout, very clean rendering.  I  
even used the pointer tool a bit to muck with it to see if I could  
see some artifacts, but it always rendered well.


This is what I get here:
http://fi.s.s3.amazonaws.com/evenodd.png

I'm on 10.6.1 with Rev 4.0 / build 950... pretty similar setup.




The original graphic is a v1 SWF =).


How did you import that?



I'm parsing SVG data generated from a SWF. If I can get it to look  
good enough, I'd like to proceed to reading the SWF directly in Rev,  
which will be yucky but doable I think. But if the rendering is a  
sticking point, probably not worth the time. Right now it looks like  
evenodd is buggy, and antialiasing is holding back the quality just a  
bit.


Here it is as SVG in a browser (NOTE: this will only work in Safari or  
FireFox, IE can't display SVG. It DOES work on the iPhone):

http://fi.s.s3.amazonaws.com/demos/arctic.html
___
use-revolution mailing list
use-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: evenodd fillRule?

2010-01-20 Thread Scott Rossi
I think he's referring to the linear artifacts in the "background" of the
graphic (grey and purple regions on the right and left).

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


Recently, Richard Gaskin wrote:

> Brian Yennie wrote:
>> Has anyone had success using the evenodd fillRule for complex (say
>> 5000+ points) graphics? When I do, I start to get many horizontal line
>> artifacts:
>> 
>> go stack url ("http://fi.s.s3.amazonaws.com/fillRule.rev";)
> 
> 
> FWIW that stack looks good here; Mac OS 10.6.2, MBP 2.16Ghz, Rev 4.0
> build 950.
> 
> BTW: Nice graphics. How did you import those?
> 
> --
>   Richard Gaskin
>   Fourth World
>   Rev training and consulting: http://www.fourthworld.com
>   Webzine for Rev developers: http://www.revjournal.com
>   revJournal blog: http://revjournal.com/blog.irv


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


Re: Setting the dgText locks Revolution

2010-01-20 Thread Trevor DeVore

On Jan 20, 2010, at 3:12 PM, Bob Sneidar wrote:
Following is code I have in the data grid object's script.  
Essentially am attempting to drag a value in a column to another  
place in the column to rearrange the values.


When I execute a drag and drop within a column, Revolution goes  
beachball on me. I originally thought it was the command to set the  
dgText that was causing the beachball, but no! Using GLX2 and  
stepping through the code, I discovered that the beachball happens  
when DragDrop ends after returning from the dispatch call to  
ProcessDrop! (see code comments)


Anyone have a clue?


Try calling processDrop AFTER dragDrop finishes executing.

send "processDrop theDropSource, theDropTarget" to me in 0 seconds

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
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: evenodd fillRule?

2010-01-20 Thread Richard Gaskin

Brian Yennie wrote:

Interesting. Do you mind sending me a screenshot off-list of how it
looks on your end? It does seem to be some sort of rendering issue, as
I've seen the artifacts disappear while editing a group before.


Looks good:  crisp, clear lines throughout, very clean rendering.  I 
even used the pointer tool a bit to muck with it to see if I could see 
some artifacts, but it always rendered well.



The original graphic is a v1 SWF =).


How did you import that?


Brian Yennie wrote:

Has anyone had success using the evenodd fillRule for complex (say
5000+ points) graphics? When I do, I start to get many horizontal
line
artifacts:

go stack url ("http://fi.s.s3.amazonaws.com/fillRule.rev";)



FWIW that stack looks good here; Mac OS 10.6.2, MBP 2.16Ghz, Rev 4.0
build 950.

BTW: Nice graphics. How did you import those?

--


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


Setting the dgText locks Revolution

2010-01-20 Thread Bob Sneidar
Had to send again because message was too big. 

Hi all. 

Following is code I have in the data grid object's script. Essentially am 
attempting to drag a value in a column to another place in the column to 
rearrange the values. 

When I execute a drag and drop within a column, Revolution goes beachball on 
me. I originally thought it was the command to set the dgText that was causing 
the beachball, but no! Using GLX2 and stepping through the code, I discovered 
that the beachball happens when DragDrop ends after returning from the dispatch 
call to ProcessDrop! (see code comments)

Anyone have a clue?

Bob


--> Data Grid Handlers
on dragStart
   put the dgDataControl of the target into theDataControl

   ## Watch out for dragging on the header
   if theDataControl is empty then pass dragStart

   ## Get Data Grid index of control that was clicked on
   put the dgDataControl of the target into theTargetLongID
   put the dgIndex of the dgDataControl of the target into theIndex

   ## Tell Data Grid to set the dragImage to the row 
   ## that theIndex is associated with
   set the dgDragImageIndex of me to theIndex

   ## Set the dragData["private"] so that drag operation
   ## begins
   set the dragData["private"] to the short name of theDataControl & space &\
 theIndex

   set the dgTrackDragReorder[theIndex] of me to true
   
end dragStart
   
on DragDrop
   -- Get the values we stored from dragStart
   put dragData["private"] into theDropSource

   -- Store the values for the target
   put the dgIndex of the dgDatacontrol of the target into theIndex
   put the short name of the dgDataControl of the target & space &\
 theIndex into theDropTarget

   -- theDropSource and theDropTarget now contain a space delimited list
   -- of the column name, the displayed row, and the data index
   -- for the source and the target

   if theDropSource = theDropTarget then
  -- Do nothing
  exit to top 
   end if

   dispatch processdrop with theDropSource, theDropTarget
end DragDrop  -- THIS BEACHBALLS REVOLUTION!!!

--> My Handlers
on processdrop theDropSource, theDropTarget
set the itemdelimiter to tab
put word 1 of theDropSource into theSourceColumn
put word 3 of theDropSource into theSourceRow
put word 1 of theDropTarget into theTargetColumn
put word 3 of theDropTarget into theTargetRow
 
if theSourceColumn = theTargetColumn then
--> *Rearrange items
-- get the data
get the dgText of me
put it into theData

-- which column
if theSourceColumn = "prifields" then
put 1 into theColumn
else
put 3 into theColumn
end if
 
-- Store the source value
put item theColumn of line theSourceRow of theData into theSourceData
 
-- Determine the repeat loop direction
if theSourceRow < theTargetRow then
-- rearrange forward
repeat with theRow = theSourceRow+1 to theTargetRow
put item theColumn of line theRow of theData into \
item theColumn of line theRow-1 of theData
end repeat
 
-- Drop the source value into the target
put theSourceData into item theColumn of line theTargetRow of 
theData
else
-- rearrange backwards
repeat with theRow = theSourceRow-1 down to theTargetRow
put item theColumn of line theRow of theData into \
item theColumn of line theRow+1 of theData
end repeat
 
-- Drop the source value into the target
put theSourceData into item theColumn of line theTargetRow of 
theData
end if
 
else
--> *Link items
end if
breakpoint
-- save the data
set the itemdelimiter to comma
set the dgText of me to theData
-- At this point theData looks good! The values for the column
-- source and target are swapped and if you step through the code
-- the data grid has been updated!
end processdrop___
use-revolution mailing list
use-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: evenodd fillRule?

2010-01-20 Thread Brian Yennie
Interesting. Do you mind sending me a screenshot off-list of how it  
looks on your end? It does seem to be some sort of rendering issue, as  
I've seen the artifacts disappear while editing a group before.


The original graphic is a v1 SWF =).


Brian Yennie wrote:

Has anyone had success using the evenodd fillRule for complex (say
5000+ points) graphics? When I do, I start to get many horizontal  
line

artifacts:

go stack url ("http://fi.s.s3.amazonaws.com/fillRule.rev";)



FWIW that stack looks good here; Mac OS 10.6.2, MBP 2.16Ghz, Rev 4.0  
build 950.


BTW: Nice graphics. How did you import those?

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

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


New RunRev based software and resources

2010-01-20 Thread David Beck


Hello,

I'd like to announce the release of new commercial product from Rotunda 
built on the RunRev platform called Volunteer Scheduler Pro. Also, in 
the spirit of Trevor DeVore, Andre Garzia, Mark Weider and others who 
graciously share their RunRev libraries, and of those who are so 
supportive and helpful on these mailing lists, we have made available 
several RunRev libraries used in both Volunteer Scheduler Pro and 
Ministry Scheduler Pro in a new RunRev resource center:


http://www.rotundasoftware.com/rev/

The new software from Rotunda is a volunteer shift scheduler that 
enables schedules to be created based on availability and provides 
online access to workers. RunRev technology is at the base of the 
components on both the client and the server. Here are some screenshots:


http://www.volunteerschedulerpro.com/screenshots.php

The calendar views on that screenshot page are among the resources that 
are available for free from the resource center mentioned above. Also, 
for those not familiar with Rotunda's popular faith-based volunteer 
scheduler, screenshots and videos showcasing that RunRev based product 
are available at http://www.ministryschedulerpro.com.


Thanks to everyone on this list for helping the RunRev community and 
platform continue to grow.


David Beck
Rotunda Software
___
use-revolution mailing list
use-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: shell

2010-01-20 Thread Hershel Fisch
Thanks, but the link is dead.
Hershel


On 1/18/10 6:36 PM, "Alex Tweedly"  wrote:

> stephen barncard wrote:
>> My info was taken from an old Nabble forum were Alex offered his stack. It
>> doesn't seem to be on his site or Rev Online anymore - perhaps you could
>> write him.
>>   
> They were on the old RevOnline (pre Rev 3.0). I had some problems
> getting stacks on the new RevOnline, but will try again soon.
> 
> In the meantime, you can find them at
> 
> http://www.tweedly.org/UDP echo server - released.rev
> http://www.tweedly.org/UDP echo client - released.rev
> 
> (please do not look at anything else on that web site. "under
> construction" wouldn't even begin to describe it ...).
> 
> -- Alex.
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-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: evenodd fillRule?

2010-01-20 Thread Richard Gaskin

Brian Yennie wrote:

Has anyone had success using the evenodd fillRule for complex (say
5000+ points) graphics? When I do, I start to get many horizontal line
artifacts:

go stack url ("http://fi.s.s3.amazonaws.com/fillRule.rev";)



FWIW that stack looks good here; Mac OS 10.6.2, MBP 2.16Ghz, Rev 4.0 
build 950.


BTW: Nice graphics. How did you import those?

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


Re: Geometry manager

2010-01-20 Thread Richmond Mathewson

On 20/01/2010 21:47, stephen barncard wrote:

Isn't that kind of lame that it's offered in the IDE, but the unspoken rumor
is that it doesn't work, and we're not supposed to use it, yet no-one has
ever given an exact reason why? What if it has been fixed, yet the
impression persists?

   
Well, if one wants to be b**chy one could point out that there are a 
fair few things

like this in the IDE;

However,

If one wants to be kind one could point out that the large number of 
good things

make the 'problematic' things look relatively insignificant;

And,

If one wants to be realistic one could point out that the Geometry 
manager is
almost unused (possibly because it is unusable???) so, frankly, hardly 
warrants

the attention of the developers - and, may, like one's appendix, be removed
without doing any real damage.

--

Much easier is to make one's stack to some fairly standard resolution (I 
normally
favour 1024 x 768) and then have a catch-all script to stop the thing if 
the end-user's

VDU is set to a lower resolution.

Quite apart from anything else; the geometry manager is just too much like
hard work.
___
use-revolution mailing list
use-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: Geometry manager

2010-01-20 Thread Richard Gaskin

Mark Wieder wrote:


Do not use the geometry manager in commercial projects. It'll cost you
money in the end. Write your own scripts.


Word.


Word ++.

Even if it saves a little time today (and after all those clicks how 
much time would that be?), if it ever goes south you'll need to not only 
write your own handlers, but also make sure Rev's libraries don't ever 
bother with those objects again.


I've written some complex layouts and the worst case I've ever had 
required less less than half the number of lines of codes as their are 
objects.  A small price to pay for the best possible performance and the 
most robust, flexible, and extensible implementation.


Duty now for the future


PS: a real time-saver for me in writing resizeStack handlers has been 
this SetRect command:



on resizeStack x,y
  -- Extend the Title field relative to the left of the card, and
  -- set the bottom to include any space needed for its contents:
  SetRect the long id of fld "Title" "","", x-20,\
 the top of fld "Title" + the formattedHeight of fld "Title"
  --
  -- Position the Body field below the Title field, and set its
  -- width and height relative to the edges of the card:
  SetRect the long id of fld "Body", "", \
 the bottom of fld "Title" + 12, x-20,y-20
end resizeStack


on SetRect pObj
   put the rect of pObj into tRect
   repeat with i = 1 to 4
 get param(i+1)
 if it is not empty then
put it into item i of tRect
 end if
   end repeat
   set the rect of pObj to tRect
end SetRect


With this handler I can have objects adjusted relative to the card or 
other objects, and I never need to write more than one line.


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


Re: Geometry manager

2010-01-20 Thread Jacques Hausser
Jacque,

I used it for a game where about 60-70 groups were concerned, to ajust the 
display (full screen) on different machines. It worked well (everything was 
locked), but it was sollicited only at the start of the game. No resizeable 
windows. In other stacks I HAD some problems and finally I resized by script...

Jacques

Le 20 janv. 2010 à 20:27, J. Landman Gay a écrit :

> Is anyone using the geometry manager in commercial stacks? Do you find it 
> reliable? I confess that I haven't experimented with it much, I've always 
> written my own resize scripts. But I'm in a position now where I need to make 
> several large stacks with many objects into resizeable windows, and I'm 
> wondering if using the manager would be faster than writing all that code.
> 
> Any thoughts?
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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

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


Re: Geometry manager

2010-01-20 Thread stephen barncard
Isn't that kind of lame that it's offered in the IDE, but the unspoken rumor
is that it doesn't work, and we're not supposed to use it, yet no-one has
ever given an exact reason why? What if it has been fixed, yet the
impression persists?

This is one aspect of programming that I would like to not hassle with.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/20 Mark Wieder 

> Mark-
>
> Wednesday, January 20, 2010, 11:33:26 AM, you wrote:
>
> > Do not use the geometry manager in commercial projects. It'll cost you
> > money in the end. Write your own scripts.
>
> Word.
>
> --
> -Mark Wieder
>  mwie...@ahsoftware.net
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] Open Office 3.2.0rc3 Mac PPC

2010-01-20 Thread Richmond Mathewson

Don't believe what they tell you; it is available here:

http://mirror.unlogisch.ch/ooopackages.good-day.net/pub/OpenOffice.org/MacOSX/3.2.0rc3_20100115/
___
use-revolution mailing list
use-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: Geometry manager

2010-01-20 Thread Mark Wieder
Mark-

Wednesday, January 20, 2010, 11:33:26 AM, you wrote:

> Do not use the geometry manager in commercial projects. It'll cost you
> money in the end. Write your own scripts.

Word.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: Geometry manager

2010-01-20 Thread Mark Schonewille

Jacque,

Do not use the geometry manager in commercial projects. It'll cost you  
money in the end. Write your own scripts.


--
Best regards,

Mark Schonewille

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

TwistAWord supports Haiti. Buy a license for this word game at http://www.twistaword.net 
 and support the earthquake victims.


Op 20 jan 2010, om 20:27 heeft J. Landman Gay het volgende geschreven:

Is anyone using the geometry manager in commercial stacks? Do you  
find it reliable? I confess that I haven't experimented with it  
much, I've always written my own resize scripts. But I'm in a  
position now where I need to make several large stacks with many  
objects into resizeable windows, and I'm wondering if using the  
manager would be faster than writing all that code.


Any thoughts?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



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


Re: Geometry manager

2010-01-20 Thread stephen barncard
It seems to be more stable now, as long as one locks the objects down. I've
been cautiously using it on 3-5 objects.  I still don't always trust it (or
myself) to not blow it and I back up more often while using geometry. One
can end up with a mess if not careful.


-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/20 J. Landman Gay 

> Is anyone using the geometry manager in commercial stacks? Do you find it
> reliable? I confess that I haven't experimented with it much, I've always
> written my own resize scripts. But I'm in a position now where I need to
> make several large stacks with many objects into resizeable windows, and I'm
> wondering if using the manager would be faster than writing all that code.
>
> Any thoughts?
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Geometry manager

2010-01-20 Thread J. Landman Gay
Is anyone using the geometry manager in commercial stacks? Do you find 
it reliable? I confess that I haven't experimented with it much, I've 
always written my own resize scripts. But I'm in a position now where I 
need to make several large stacks with many objects into resizeable 
windows, and I'm wondering if using the manager would be faster than 
writing all that code.


Any thoughts?

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


evenodd fillRule?

2010-01-20 Thread Brian Yennie
Has anyone had success using the evenodd fillRule for complex (say  
5000+ points) graphics? When I do, I start to get many horizontal line  
artifacts:


go stack url ("http://fi.s.s3.amazonaws.com/fillRule.rev";)

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


[ANN] revIgniter v1.1b

2010-01-20 Thread Ralf Bitter

revIgniter v1.1b has been released. What's new?

This version (1.1b) includes a new library, which lets you generate
calendars with one line of code. Your calendars can be formatted at will
through the use of a calendar template, allowing 100% control over every
aspect of its design. In addition, you can pass data to your calendar
cells.

URI Routing has been modified so that routes will now run in the order
of the keys of the routes array.

Info and download at: http://www.revigniter.com/


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


Re: Re-2: constant in the docs

2010-01-20 Thread stephen barncard
I miss stuff all the time.
you are not alone
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/20 

> Stephen,
> Mark,
>
> thanks. Sometimes i do not see the wood for the trees.
>
> Regards,
>
> Matthias
>
>
> ___
> use-revolution mailing list
> use-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: constant in the docs

2010-01-20 Thread Michael Kann
using 4.0:

put the constantNames into fld 1

--- On Wed, 1/20/10, Mark Schonewille  wrote:

> From: Mark Schonewille 
> Subject: Re: constant in the docs
> To: "How to use Revolution" 
> Date: Wednesday, January 20, 2010, 11:14 AM
> Hi Matthias,
> 
> Yes, that's old and obsolete.
> 
> Instead, open the dictionary. I have it disaply in column
> lay-out (see preferences). In the most left column, there is
> a list starting with All, followeed by Library, Object and
> Language. If you open the Language branch, you will see an
> item Constant. Click on it and you will see almost all of
> the constants that are available. I believe that a few
> constants are missing.
> 
> --
> Best regards,
> 
> Mark Schonewille
> 
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> 
> TwistAWord supports Haiti. Buy a license for this word game
> at http://www.twistaword.net and support the earthquake
> victims.
> 
> Op 20 jan 2010, om 18:05 heeft runrev260...@m-r-d.de
> het volgende geschreven:
> 
> > Hi,
> > 
> > the built in dictionary and also the online dictionary
> shows the following last sentence
> > 
> > "Tip: To see a list of built-in constants, open the
> Documentation window, click Revolution Dictionary, and
> choose "Constants" from the menu at the top of the window"
> > 
> > Does anyone know, what Documentation windows and what
> menu i shall open? Is this an error in the docs?
> > 
> > Regards,
> > 
> > Matthias
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

__
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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re-2: constant in the docs

2010-01-20 Thread runrev260805
Stephen,
Mark,

thanks. Sometimes i do not see the wood for the trees.

Regards,

Matthias


___
use-revolution mailing list
use-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: Modal dialog not modal... any hints? A winner!

2010-01-20 Thread Jacques Hausser

Le 20 janv. 2010 à 17:47, Tereza Snyder a écrit :

> 
> Excellent! And stupid of me, too.  You proposed this as a solution before and 
> I dismissed it out of hand.
> 


Very glad for you, and congratulations to Malte ! And Richard's advice about 
the decorations is quite judicious (as ever).

Jacques

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

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


Re: constant in the docs

2010-01-20 Thread Mark Schonewille

Hi Matthias,

Yes, that's old and obsolete.

Instead, open the dictionary. I have it disaply in column lay-out (see  
preferences). In the most left column, there is a list starting with  
All, followeed by Library, Object and Language. If you open the  
Language branch, you will see an item Constant. Click on it and you  
will see almost all of the constants that are available. I believe  
that a few constants are missing.


--
Best regards,

Mark Schonewille

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

TwistAWord supports Haiti. Buy a license for this word game at http://www.twistaword.net 
 and support the earthquake victims.


Op 20 jan 2010, om 18:05 heeft runrev260...@m-r-d.de het volgende  
geschreven:



Hi,

the built in dictionary and also the online dictionary shows the  
following last sentence


"Tip: To see a list of built-in constants, open the Documentation  
window, click Revolution Dictionary, and choose "Constants" from the  
menu at the top of the window"


Does anyone know, what Documentation windows and what menu i shall  
open? Is this an error in the docs?


Regards,

Matthias


___
use-revolution mailing list
use-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: constant in the docs

2010-01-20 Thread stephen barncard
"Dictionary" in the toolbar ,   Language:Constants
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/20 

> Hi,
>
> the built in dictionary and also the online dictionary shows the following
> last sentence
>
> "Tip: To see a list of built-in constants, open the Documentation window,
> click Revolution Dictionary, and choose "Constants" from the menu at the top
> of the window"
>
> Does anyone know, what Documentation windows and what menu i shall open? Is
> this an error in the docs?
>
> Regards,
>
> Matthias
>
>
> ___
> use-revolution mailing list
> use-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


constant in the docs

2010-01-20 Thread runrev260805
Hi,

the built in dictionary and also the online dictionary shows the following last 
sentence

"Tip: To see a list of built-in constants, open the Documentation window, click 
Revolution Dictionary, and choose "Constants" from the menu at the top of the 
window"

Does anyone know, what Documentation windows and what menu i shall open? Is 
this an error in the docs?

Regards,

Matthias 


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


Fake dialog box

2010-01-20 Thread Richmond Mathewson
Sometime last year I uploaded a stack called URLANSWER.rev to my 
previous website
that then hosed itself - being a clever chap I do not seem to have kept 
a back up;
I would be extremely grateful if somebody has downloaded it and they 
could send me a zipped

copy.

sincerely, Richmond Mathewson.
___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Richmond Mathewson

On 20/01/2010 18:43, Tereza Snyder wrote:

On Jan 20, 2010, at 10:15 AM, Richmond Mathewson wrote:

   

On 20/01/2010 16:40, Tereza Snyder wrote:
 

On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:


   

Have you tried the alternative syntax

go stack "AskYesOrNo" as modal

 

Yes. Same result. Poop.

t



   

"modal stack "Custom Answer Dialog""

straight from the documentation!!!
 


yes….

Look up "go" in the documentation. It's perfectly legitimate.


t


   

I did, and "over here" on my PPC Mac I'm getting a modal window with GO
as well . . .

tell me what I am missing (joined this discussion rather late; chopping 
logs for the fire).

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


Stack on Vacation in Hawaii?

2010-01-20 Thread Michael Kann
I went to download an interesting looking stack by Jim Bufalini, but got no 
satisfaction. 

Here's the link:

http://revonline2.runrev.com/stack/267/Install-Rev-CGI--1-1

Might someone have the stack they can send me?

Thanks,

Mike







  
___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Richmond Mathewson

On 20/01/2010 16:40, Tereza Snyder wrote:

On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:

   

Have you tried the alternative syntax

go stack "AskYesOrNo" as modal
 


Yes. Same result. Poop.

t


   

modal stack "SUBB"

or

open stack "SUBB" as modal

HOWEVER, in both cases unless you
set the stack controls to no title bar
you will get a modal window with a drag-bar.

The modal stack will open centred over the main stack.

A chap called Oliver has written a warning (2009-10-12; don't understand 
how you read that date)

about this messing up the message path:

"Doing so will cause messages such as preOpenStack, openStack, 
preOpenCard and openCard to be sent to the dialog, and if these are not 
handled, they will be sent to the main application, causing it to 
execute code."


Personally I would go for something else, as it avoids these sort of 
complications.


I would set up a title-bar-less substack and make sure that it contained 
a script to centre it in
a preOpenCard script and another script so that when the end-user 
mouse-clicked outwith the

substack rect the substack would remain at the front.
___
use-revolution mailing list
use-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: Normal video DVD's with Rev applications on them?

2010-01-20 Thread Colin Holgate

On Jan 20, 2010, at 11:35 AM, Colin Holgate wrote:

> Having said all that, there was a shockwave update today, and it may have 
> broken the DVD-Video ability! I'll ask the authorities.

False alarm, I was looking at the wrong link. Here's my test, you can put in 
any DVD-Video and it might do something, but it would only do the right thing 
if you're using the Criterion This Is Spinal Tap DVD-Video:

http://xfiles.funnygarbage.com/~colinholgate/dcr/stdvd.html


___
use-revolution mailing list
use-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: Modal dialog not modal... any hints? A winner!

2010-01-20 Thread Tereza Snyder

On Jan 20, 2010, at 10:41 AM, Malte Pfaff-Brill wrote:

> Changes its mode I wanted to say.
> 
> Sorry for the confusion. Anyway, if I comment out the set the visible line 
> the problem disappears.
> 
> Cheers,


Excellent! And stupid of me, too.  You proposed this as a solution before and I 
dismissed it out of hand.

Thank you again!


t___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Richard Gaskin

Malte wrote:

you set the visible of the stack to false on preOpenStack. Thus it closes 
immediately.


Good catch.  Setting the decorations may also affect this, as it causes 
the window to be reinitialized.  Since the decorations is a persistent 
property this shouldn't normally need to be set more than once.


But oddly enough, the stack shows modal here as it is.  :\

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


Re: Modal dialog not modal... any hints?

2010-01-20 Thread Tereza Snyder

On Jan 20, 2010, at 10:15 AM, Richmond Mathewson wrote:

> On 20/01/2010 16:40, Tereza Snyder wrote:
>> On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:
>> 
>>   
>>> Have you tried the alternative syntax
>>> 
>>> go stack "AskYesOrNo" as modal
>>> 
>> 
>> Yes. Same result. Poop.
>> 
>> t
>> 
>> 
>>   
> "modal stack "Custom Answer Dialog" "
> 
> straight from the documentation!!!


yes…. 

Look up "go" in the documentation. It's perfectly legitimate.


t




-- 
Tereza Snyder
Califex Software, Inc.





___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Malte Pfaff-Brill
Changes its mode I wanted to say.

Sorry for the confusion. Anyway, if I comment out the set the visible line the 
problem disappears.

Cheers,

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


Re: Modal dialog not modal... any hints?

2010-01-20 Thread Malte Pfaff-Brill
Hi T,

you set the visible of the stack to false on preOpenStack. Thus it closes 
immediately.

Cheers,

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


Re: Normal video DVD's with Rev applications on them?

2010-01-20 Thread Colin Holgate

On Jan 20, 2010, at 9:30 AM, David Bovill wrote:

> Is it that you have
> already done this with Director - are there some plugins that can be used?


Yes, I made a Director file to access the Criterion version of This Is Spinal 
Tap (I programmed the CD-ROM version). It runs inside a browser using the 
standard Shockwave plugin, that about 60% of people have. Installed.

The neat part is that the video appears within the shockwave movie, it's not 
invoking VLC or some other way to overly another application. It just uses the 
systems default DVD player technology. Not sure if Rev could do a similar 
thing, at least inside browsers.

Having said all that, there was a shockwave update today, and it may have 
broken the DVD-Video ability! I'll ask the authorities.


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

2010-01-20 Thread René Micout
Thank you
René

Le 20 janv. 2010 à 17:09, Shao Sean a écrit :

> Thanks to Malte and Trevor I was able to get a few things working correctly 
> in the external and want to share a sneak peek of a new feature - toolbar 
> blob :-)
> 
> http://shaosean.tk/images/ssMacWindows5.png
> 
> 
> -Sean
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Richmond Mathewson

On 20/01/2010 16:40, Tereza Snyder wrote:

On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:

   

Have you tried the alternative syntax

go stack "AskYesOrNo" as modal
 


Yes. Same result. Poop.

t


   

"modal stack "Custom Answer Dialog" "

straight from the documentation!!!

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


Re: sneak peek

2010-01-20 Thread Mark Schonewille

*drool*

--
Best regards,

Mark Schonewille

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

TwistAWord supports Haiti. Buy a license for this word game at http://www.twistaword.net 
 and support the earthquake victims.


Op 20 jan 2010, om 17:09 heeft Shao Sean het volgende geschreven:

Thanks to Malte and Trevor I was able to get a few things working  
correctly in the external and want to share a sneak peek of a new  
feature - toolbar blob :-)


http://shaosean.tk/images/ssMacWindows5.png


-Sean



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


sneak peek

2010-01-20 Thread Shao Sean
Thanks to Malte and Trevor I was able to get a few things working  
correctly in the external and want to share a sneak peek of a new  
feature - toolbar blob :-)


http://shaosean.tk/images/ssMacWindows5.png


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


Re: Modal dialog not modal... any hints?

2010-01-20 Thread Tereza Snyder

On Jan 20, 2010, at 9:11 AM, Richard Gaskin wrote:

> Tereza Snyder wrote:
> 
>> On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:
>> 
>>> Have you tried the alternative syntax
>>> 
>>> go stack "AskYesOrNo" as modal
>> 
>> 
>> Yes. Same result. Poop.
> 
> Ah - you're missing a poop handler.  Just put this in your dialog stack:
> 
> on poop
>  do "What I want you to do"
>  pass poop
> end poop
> 
> Passing poop is important, because otherwise it can clog the system and take 
> up unnecessary resources.

hahaha! 


> But seriously, tedious as it is it may be time to try this the other way 
> around:
> 
> First, see if you can replicate this in isolation.  That is, make a simple 
> stack with nothing but a Cancel button so you can close it, and see if your 
> modal command works there.


OK . I made a test stack, copied the dialog stack, and made a few modifications 
for testing. Usually when I do this, the problem disappears. The error is 
obvious. I am humiliated. This time, the error persists! That doesn't mean it 
isn't humiliatingly obvious, though.

Who can be the first find the horrid, obvious, trivial error?

go url "http://www.califexsoftware.com/stacks/TestModal.rev";

t


-- 
Tereza Snyder
Califex Software, Inc.





___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Richard Gaskin

Tereza Snyder wrote:


On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:


Have you tried the alternative syntax

go stack "AskYesOrNo" as modal



Yes. Same result. Poop.


Ah - you're missing a poop handler.  Just put this in your dialog stack:

on poop
  do "What I want you to do"
  pass poop
end poop

Passing poop is important, because otherwise it can clog the system and 
take up unnecessary resources.



But seriously, tedious as it is it may be time to try this the other way 
around:


First, see if you can replicate this in isolation.  That is, make a 
simple stack with nothing but a Cancel button so you can close it, and 
see if your modal command works there.


If it does, try adding in additional script from the stack that fails 
until this new one fails too.


If this simple dialog fails, then at least you know the problem is with 
a script elsewhere in your setup.


Alternatively, you can comment out everything in your existing stack and 
uncomment a few lines at a time until the error shows itself again.


It may also be useful to review and libraries, frontScripts, or 
backScripts which may be active to see if you have anything there which 
may be causing this.


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


Windows Registry setting - to install fonts

2010-01-20 Thread Adrian Williams
It seems I need to address the Windows Registry to install a font. And again to 
uninstall it.
To do this I would like to understand what components are required. I've 
narrowed it down to:

Root Key: HKEY_LOCAL_MACHINE

Key: \Software\Microsoft\Windows NT\CurrentVersion\Fonts\

Name (arbitrary name to identify this font?): myFont_S180

Value (actual filename of the font, or should that be Menu Name [My Font] ?): 
MyFont.otf

Value Type: REG_SZ

Write Entry

Can anyone confirm these are the required components?
And what if I have multiple fonts?

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


validate XML against schema

2010-01-20 Thread viktoras d.
how do you "usually" validate XML against schema in Rev? I know there is 
a function RevXMLValidateDTD, but it validates against DTD, not 
schema... Or should I convert my XML schemas to DTDs prior to validation?


Viktoras
___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Tereza Snyder

On Jan 20, 2010, at 8:22 AM, Robert Brenstein wrote:

> Have you tried the alternative syntax
> 
> go stack "AskYesOrNo" as modal


Yes. Same result. Poop.

t


-- 
Tereza Snyder
Califex Software, Inc.





___
use-revolution mailing list
use-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: Normal video DVD's with Rev applications on them?

2010-01-20 Thread David Bovill
Thanks Colin - that's the sort of thing I was thinking - but I'm not clear
what your are saying here with regard to Director? Is it that you have
already done this with Director - are there some plugins that can be used?

I would have thought that we could get Rev to Script both the PC and the OSX
built in DVD players, but also it should be possible to directly control DVD
play back with VLC or Mplayer scripted from Rev - and so a revWeb plugin?

2010/1/20 Colin Holgate 

> On Jan 20, 2010, at 4:33 AM, David Bovill  wrote:
>
>  Printing something on the cover is maybe all
>> that is needed - but embedding some hidden assets in the DVD may be part
>> of
>> the fun here.
>>
>
>
> I hope that if a request came up on a Director email list, and the best
> answer to the request was for Rev to be used instead of Director, I would
> tell them to use Rev!
>
> Here we have the opposite situation. One of Director's abilities us that it
> can control the DVD-Video in your computer. You can make an interactive
> activity that includes the DVD quality video from any DVD-Video disc, not
> just ones that have files copied onto the ROM part of the disc.
>
> It also works in a browser. You could do a site that had bonus features
> even for old titles, and directly control the associated
> DVD.___
>
> use-revolution mailing list
> use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Robert Brenstein

On 20.01.10 at 07:50 -0600 Tereza Snyder apparently wrote:

 > Hi Tereza


 That explains nothing, but could perhaps be an ad hoc solution 
(since I cannot reproduce the problem, I cannot test it). Try to 
modify your script as follows:


 function YesOrNo pQuestion, pDefaultAnswer
  set the dialogData to empty -- to be sure

 >  set the Question of stack "AskYesOrNo"  to pQuestion

  set the DefaultAnswer of stack "AskYesOrNo" to pDefaultAnswer
  modal "AskYesOrNo"
  wait until the dialogData <> empty
  return the dialogData
 end YesOrNo

 ... I cross my fingers



I will try this approach and see if it works, as I attempt to 
isolate the problem today. At least, using an answer dialog, I was 
able to release the standalone for testing yesterday.


Thanks to all for the input.

from crazyland,

tereza


Have you tried the alternative syntax

go stack "AskYesOrNo" as modal

Robert
___
use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Tereza Snyder
I originally reported:

 The stack "AskYesOrNo" is intended to do what you'd expect: it displays 
 the question with "yes" or "no" and returns "yes" or "no" in the dialog 
 data. However, when I call this handler, it returns empty before it even 
 displays the dialog. If I insert a "put" statement AFTER the "modal" 
 statement, the putted text is visible in the message box while the dialog 
 is on the screen, and statements in the caller of the YesOrNo function are 
 executed before I exit the dialog.
 
 In other words, "modal" seems broken. Before I start making test stacks, 
 has anyone encountered this before? Could there be a bug in the dialog 
 scripts that causes the dialog to fail silently?
>>> 

Jacques wrote:
> 
>> Do you have something else than filling fields with the custom properties 
>> and setting the dialogData in the scripts of "AskYesOrNo" ?

so I wrote:
> 
> 
> In preopenstack I move buttons around to suit the platform and default value, 
> and I arrange to return the default value on returnkey. But I do nothing 
> unusual. I've had to revert to using an answer dialog--which works--but I 
> wish my own dialog would work! This is old code that worked for years that I 
> revived for this project (I wanted my own look-and-feel). Convinces  me I 
> really AM losing my grip!

Phil Davis wrote:

> So you call YesOrNo() from preOpenStack? If so, I bet that's the problem. 
> Hide your mainStack in preOpenStack, and call AskYesOrNo() in openStack 
> (after the stack window has been drawn, even if invisible). And before 
> calling AskYesOrNo() be sure the modal stack is visible.

I didn't report clearly that the preopenstack handler in question is in the 
dialog. The YesOrNo() function is called in the course of normal business ("Are 
you sure you want to set xx to yy?").

Malte wrote:

> is your stacks visible false by chance? If you call a modal stack that is 
> hidden (visible set to false by any script) it closes immediately.

The problem isn't that it closes immediately, but that execution continues past 
the modal statement even while the dialog is visible awaiting input. If I do 
this:

> modal "AskYesOrNo"
> put "back from dialog"

I can see "back from dialog" in the message box while the modal stack is still 
awaiting input.

Klaus contributed, about an app he wrote:

> I saw the "Answer dialog" flashing and the app quit, without leaving time to 
> click the "OK" button!
> NOTHING else involved that could have caused this anomaly!
> 
> Unfortunately this is not reproducable, but it happens, which makes it 
> difficult to stay mentally sane :-D

And I agree!



On Jan 20, 2010, at 5:11 AM, Jacques Hausser wrote:

> Hi Tereza
> 
> That explains nothing, but could perhaps be an ad hoc solution (since I 
> cannot reproduce the problem, I cannot test it). Try to modify your script as 
> follows:
> 
> function YesOrNo pQuestion, pDefaultAnswer
>  set the dialogData to empty -- to be sure
>  set the Question of stack "AskYesOrNo"  to pQuestion
>  set the DefaultAnswer of stack "AskYesOrNo" to pDefaultAnswer
>  modal "AskYesOrNo"
>  wait until the dialogData <> empty   
>  return the dialogData
> end YesOrNo
> 
> ... I cross my fingers


I will try this approach and see if it works, as I attempt to isolate the 
problem today. At least, using an answer dialog, I was able to release the 
standalone for testing yesterday.

Thanks to all for the input.

from crazyland,

tereza




-- 
Tereza Snyder
Califex Software, Inc.





___
use-revolution mailing list
use-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: Normal video DVD's with Rev applications on them?

2010-01-20 Thread Colin Holgate
On Jan 20, 2010, at 4:33 AM, David Bovill   
wrote:



Printing something on the cover is maybe all
that is needed - but embedding some hidden assets in the DVD may be  
part of

the fun here.



I hope that if a request came up on a Director email list, and the  
best answer to the request was for Rev to be used instead of Director,  
I would tell them to use Rev!


Here we have the opposite situation. One of Director's abilities us  
that it can control the DVD-Video in your computer. You can make an  
interactive activity that includes the DVD quality video from any DVD- 
Video disc, not just ones that have files copied onto the ROM part of  
the disc.


It also works in a browser. You could do a site that had bonus  
features even for old titles, and directly control the associated DVD. 
___

use-revolution mailing list
use-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: Modal dialog not modal... any hints?

2010-01-20 Thread Jacques Hausser
Hi Tereza

That explains nothing, but could perhaps be an ad hoc solution (since I cannot 
reproduce the problem, I cannot test it). Try to modify your script as follows:

function YesOrNo pQuestion, pDefaultAnswer
  set the dialogData to empty -- to be sure
  set the Question of stack "AskYesOrNo"  to pQuestion
  set the DefaultAnswer of stack "AskYesOrNo" to pDefaultAnswer
  modal "AskYesOrNo"
  wait until the dialogData <> empty
  return the dialogData
end YesOrNo

... I cross my fingers

Jacques

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

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


Re: Modal dialog not modal... any hints?

2010-01-20 Thread Klaus Major
Hi all,

I also had some troubles in the past with a script NOT halting while a modal 
stack was displayed.

...
## After downloading some files from the internet...
answer "Update complete! The app will be shut down..."
quit
...

I saw the "Answer dialog" flashing and the app quit, without leaving time to 
click the "OK" button!
NOTHING else involved that could have caused this anomaly!

Unfortunately this is not reproducable, but it happens, which makes it 
difficult to stay mentally sane :-D


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Normal video DVD's with Rev applications on them?

2010-01-20 Thread David Bovill
2010/1/20 Josh Mellicker 

> My personal opinion is that doing anything with a physical DVD in 2010 is
> kind of like starting a horse buggy company in 1900. Before too long, a
> physical DVD will seem as quaint as an audio CD is today
>

Yep - can I quote you on this :) I need as many facts, figures and quotes as
possible to convince these guys that their business model is dead.

Since the pitch is to a DVD distribution company, and is in essence a
strategy towards moving them from their existing distribution based model
onto a community model - the idea is to get people who purchase the DVD to
join the community / go online. Printing something on the cover is maybe all
that is needed - but embedding some hidden assets in the DVD may be part of
the fun 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: ON-Rev Docs (was Re: Getting user's time from web revlet?)

2010-01-20 Thread Medard
stephen barncard  wrote:

> When is Revolution going to [snip]

+1

What about "The Missing Manual for On-Rev" ?

;-)


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