Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Geoff Canyon


On Feb 27, 2006, at 6:37 PM, Dick Kriesel wrote:


getProp uRuggedID
  put the long id of the target into tLongID
  if word 1 of tLongID is not "stack" then
-- note: stacks do not have rugged ids
put word 1 to 3 of tLongID into tRuggedID
put offset(" of card id ",tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to tOffset + offset(space,tLongID,tOffset +  
12) \

  + 11 of tLongID after tRuggedID
  -- note: 12 is the length of " of card id "
end if
  end if
  return tRuggedID
end uRuggedID

getProp uRuggedLongID
  put the uRuggedID of the target into tRuggedLongID
  put offset(" of stack " & quote,the long id of the target) into  
tOffset
  put char tOffset to -1 of the long id of the target after  
tRuggedLongID

  return tRuggedLongID
end uRuggedLongID


Wouldn't this work as well:

getProp uRuggedID
  get the long id of the target
  return (word 1 to 4 of it && word -6 to -4 of it)
end uRuggedID

getProp uRuggedLongID
  get the long id of the target
  return (word 1 to 4 of it && word -6 to -1 of it)
end uRuggedLongID

regards,

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


Way to get lineOffset to only match at the *beginning* of a line?

2006-02-27 Thread Jim Witte

Hi,

  I want to do something like lineOffset, but I only want to match  
the target if it's at the beginning of the line.  So


lineOffset("this", theText)

where theText is:

"article about this one experiment by Dr. Jekyll
this experiment went very horribly wrong.."

would return 2, and not 1, even though the target appears in line 1.

If lineOffset could take regular expressions, I could use something  
like "^this" - but it doesn't.


  I'm using Revolution 2.0.3, if the is a feature in a later version.

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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Geoff Canyon


On Feb 27, 2006, at 2:36 PM, capellan wrote:



Hi Geoff,

This "Hacked Object oriented Transcript" reads like an
extraordinarily useful addition to the techniques
available in this platform.

In this platform, i've played mostly with vector graphics.
With the stack "PenTool", i'm able to create individual vector  
graphics,

but latter when these graphics are grouped is problematic to apply
any transformation to this group (transformations like Scale, Rotate,
Slant, Flip, fill and line color changes, line weight change, etc).

Do you think that this handler could help me with this task?


I don't think it would help. I think you probably need to do  
something like figure out what the relative positions of the graphics  
are, ungroup them, scale/transform them, then position them as you  
like and regroup them. The ungrouping/regrouping might be  
unnecessary, but I'd want to test it.




If your answer is positive, then
How difficult could be to create a group (with multiple vector  
graphics)

that works as a single gradient vector graphic object?


I think you'd have to write the code as described above. HOOT could  
help you to create the code in a way that could be applied to any  
number of groups with enclosed graphics, though.




This "Gradient vector graphic group" needs to keep constant
his color attributes when transformed. For example, if you slant,
scale, rotate, change shape, etc, the color should keep the
style of a gradient, not become distorted.

It's possible at all?


Not sure -- I'm not the graphic wizard on this list. Someone else  
might jump in with an answer.




Thanks for sharing your work!
Keep up your good work.

alejandro
--
View this message in context: http://www.nabble.com/-ANN-HOOT%3A- 
Hacked-Object-Oriented-Transcript-t1192812.html#a3154339

Sent from the Revolution - User forum at Nabble.com.

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

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



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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Geoff Canyon


On Feb 27, 2006, at 2:06 PM, Dick Kriesel wrote:

As I discussed with Mark, the problem with storing long ids is that  
they can

be brittle.  A stored long id becomes invalid when a developer moves a
control to a different group.


At least for the purposes of HOOT, the long id is only stored for the  
length of the call, so it shouldn't be a problem. The path to the  
class groups is only initialized each time the library is enabled, so  
that could cause a problem if that stack were moved I suppose.

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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Geoff Canyon
The id needs to include the stack reference, because it is a  
reference to the target object.


Based on that, it doesn't matter that the path can change, since the  
long id is only stored for the length of the call to the class group.


The class groups are referenced by name and the long id of the card  
they are on. If the path to the HOOT stack changes while the library  
is enabled, I suppose that could cause a problem, but that seems  
unlikely.


gc

On Feb 27, 2006, at 10:09 AM, Mark Wieder wrote:


Geoff-

Looks nice. I'll spend some time with this today.

Regarding the "long id" thing, Dick Kriesel and I were talking about
this last month and I have now switched my usage over to just "the
id", based on the fact that ids within a stack are unique and
immutable. You can pass ids without any problem and it's just a single
data point: you don't have to parse it for path items at all.

control pID of this stack

does the trick. The only exception I had to implement is for messages
coming from or to a stack, since the stack id changes with each new
object. But I don't think you have to worry about this with your
subclassing. And note that it *is* possible to change the id of
images, although I haven't found a need for this myself and I'm not
sure if subclassing an image makes sense.

--
-Mark Wieder
 [EMAIL PROTECTED]

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

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



___
use-revolution mailing list
use-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: Transcript and Dot Notation

2006-02-27 Thread Mark Brownell

>Mark-

>Sunday, February 26, 2006, 12:36:57 PM, you wrote:

>> Perhaps a few of you around here will find this funny, I could do
>> an implementation of OOPs with a pull-parser.  The trick to creating
>> a child object is to assign attributes of the parent object to a
>> child object. What is needed during the birthing process is an
>> allocation of memory to store the newly incarnated child and to act
>> on it independently while effecting the parent that can also have
>> global changing effects if desired. 

>Sounds like this would work for properties, but not for handlers. If I
>get you right, changing a property in the parent would then trickle
>down to the children (and granchildren, etc). So the parent class
>would actually keep track of its children, rather than the children
>keeping track of their parent.

-- 
>-Mark Wieder

Mark,

It's a trick. There is not really a relationship between the objects. There is 
just a command structure that implies an association and that gives you basic 
tools that are at best only OOPs like. Parents keeping track of the children 
works well in nature and for this ad-hoc example of inheritance.
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Dick Kriesel
On 2/27/06 6:02 PM, "wouter" <[EMAIL PROTECTED]> wrote:

> Rugged id's are a good idea but this handler will not do the trick.
> And it is difficult to deduce from this handler from where to where
> or which parts of the long id is what you call the rugged id.

For a stack, the rugged id is the long id.
For a card, the rugged id is the abbr id.
For an unplaced group, the rugged id is the abbr id.
For a control on a card, the rugged id is the concatenation of the abbr id
and the card id.

Here's a simpler and more robust handler:

getProp uRuggedID
  if word 1 of the target is "stack" then
put the long id of the target into tRuggedID
  else
put abbr id of the target into tRuggedID
put offset(" of card id ",tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to tOffset + offset(space,tLongID,tOffset + 12) \
  + 11 of tLongID after tRuggedID
  -- note: 12 is the length of " of card id "
end if
  end if
  return tRuggedID
end uRuggedID

Thanks again, Wouter.

-- Dick


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Dick Kriesel
On 2/27/06 8:11 PM, "Mark Wieder" <[EMAIL PROTECTED]> wrote:

> For
> the purposes of putting parentclass handlers in a group, you shouldn't
> need to specify a particular card - there shouldn't be any ambiguity
> to resolve. I think.

I agree: unplaced groups are good for single inheritance.

-- Dick


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Mark Wieder
Dick-

Monday, February 27, 2006, 2:06:23 PM, you wrote:

> As Scott points out, the problem with storing short ids is that they can be
> ambiguous.  A stored short id isn't sufficient to set or get a property of a
> control that appears on more than one card.

Object IDs are documented as being unique and immutable, with the
exception of images and stacks. For what I'm doing (working with
custom properties) the id by itself uniquely identifies a control
within a stack. If you're trying to get the text from a field in a
shared background group, then you'll need something more spedific. For
the purposes of putting parentclass handlers in a group, you shouldn't
need to specify a particular card - there shouldn't be any ambiguity
to resolve. I think.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Weather Widget

2006-02-27 Thread Marty Billingsley
Scott Rossi wrote:
> Some time back there was a brief discussion about building widget-y things
> in Rev.  Here's an example of a weather widget, not because it's never been
> done, but because it can be done. :-)
>
> Execute the following your message box:
>
>   go url "http://www.tactilemedia.com/download/tmweather.rev";
>
> Using Yahoo Weather RSS, the stack features a translucent window with
> Web-supplied image whose display updates every 30 seconds to show current
> temperature (F or C), weather conditions, and wind data for the designated
> location.  Accepts US Zip codes or location IDs (see
> http://weather.yahoo.com/ to find non-US location IDs).
>
> Just something I've been meaning to try for a while.  New users may find
> this useful.

Wow -- this is a nice project to show my students!  The advanced ones will
eat this up!  What other fairly simple XML files are out there to parse
using RunRev?  I sense a new set of assignments in the making.

Any pointers to other simple types of RSS would be appreciated.

Thanks,
  - marty

--
Marty Billingsley ([EMAIL PROTECTED])
The University of Chicago Laboratory Schools
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Mark Wieder
Scott-

Monday, February 27, 2006, 11:30:30 AM, you wrote:

> Actually, that's not what I meant.  Using the long name or ID provides a
> "full" path to an object (including the card the object sits on, group its
> in, etc).  I haven't used your notation above but using a "simple" object
> reference (that excludes the card reference for example) may be what causes
> the engine barf and lose track of things.  Again, YMMV, but using long
> ID/name appear to be "safer".

Well, I *do* use the semilong id (control id n of this stack) when I'm
accessing objects and haven't run into a problem yet. As a failsafe,
though, I store just the id and then when I'm ready to use it I expand
it into the semilong form and check the referenced object. And, of
course, use a special case the stack id (storing it as card id x of
stack y). IDs are documented as being unique and immutable (except for
images and stacks). Are there particular situations where this causes
problems for you?

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


RE: report object missing

2006-02-27 Thread Scott Kane
Dan Schaefer has an excellent e-book under $10.00
(I think it is still this price) that is dedicated
to printing with Rev and, as a pleased owner of the
e-book, I thoroughly recommend!

Scott Kane


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Dick Kriesel
On 2/27/06 6:37 PM, "Dick Kriesel" <[EMAIL PROTECTED]> wrote:

> A "rugged" id is a native long id stripped of any "of group id" clause.

Close, but no cigar.  (Why do people say that?)

A "rugged id" is a native long id stripped of any "of group id" clauses and
"of stack" clauses, intended for use within a single stack.

A "rugged long id" is a native long id stripped of any "of group id"
clauses, intended for use across multiple stacks.

getProp uRuggedID
  put the long id of the target into tLongID
  if word 1 of tLongID is not "stack" then
-- note: stacks do not have rugged ids
put word 1 to 3 of tLongID into tRuggedID
put offset(" of card id ",tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to tOffset + offset(space,tLongID,tOffset + 12) \
  + 11 of tLongID after tRuggedID
end if
  end if
  return tRuggedID
end uRuggedID

getProp uRuggedLongID
  put the uRuggedID of the target into tRuggedLongID
  put offset(" of stack " & quote,the long id of the target) into tOffset
  put char tOffset to -1 of the long id of the target after tRuggedLongID
  return tRuggedLongID
end uRuggedLongID


-- Dick


___
use-revolution mailing list
use-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: URL caching mystery.

2006-02-27 Thread Trevor DeVore

On Feb 27, 2006, at 5:55 PM, Alex Tweedly wrote:


but that does not match what I see - a request for the file is sent  
again when I "set the filename of player ..."


Alex,

I believe the discrepancy is because QuickTime handles the caching  
when you set the filename of a player.  Once you set the filename of  
a player object (that is using QT) then QT takes over and starts  
progressively downloading the file.  The file is stored in the QT  
cache at this point.



--
Trevor DeVore
Blue Mango Learning Systems - http://www.bluemangolearning.com
[EMAIL PROTECTED]


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


templates and instances for custom controls (was: object scripts)

2006-02-27 Thread Dick Kriesel
On 2/26/06 11:41 AM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote:

> The Object Oriented way to do this is to define a new group type:
> alertGroup, say. In the definition of the alertGroup, you include the
> original mouseUp handler. Then any time you need a group that has
> this behavior you declare it to be an alertGroup (instead of a
> generic group). In every way it acts like a normal group, but when a
> control in it is clicked, it displays a dialog with the name of the
> control. If you need to make it a warning dialog, change the class
> definition and the behavior everywhere changes.

Here's a Transcript-based technique for treating any custom control as a
template, by creating and deleting instances.  Each instance invokes
handlers stored only in the template, by executing a Transcript "call."
Here's an example:

on mouseDown
  try
call the params of the uTemplate of the target
  end try
  pass mouseDown
end mouseDown

All the system message handlers like the above are stored in the instance's
top-level script.  No component control within the instance has a script.
Every control in the instance has property uTemplate.  A template can reside
in a library, but doesn't need to.  A template can override or supplement
the instance handlers like the example above, by setting properties in the
template's uInstanceScript custom property set.  Templates and instances
refer to each other using "rugged" long ids, which are native long ids
stripped of any "of group id" clause.  Rugged ids don't fail when the
developer moves a control to a different owner.

To set that up, the developer creates an instance by sending a message to
the template, passing a reference to the group that will be the owner of the
new instance:

send "template_createInstance tGroup" to tCustomControl

That's it for the overview.  Here are most of the details:

on template_createInstance pOwner
  if there is a group pOwner then
put the uRuggedLongID of the target into tTemplate
-- note: the template can be in a library stack
copy tTemplate to group pOwner
put the uRuggedLongID of it into tInstance
set the uInstances of tTemplate to \
the uInstances of tTemplate & tInstance & cr
-- note: the uInstances can guide a developer to propagate \
--   template changes out to the instances
set the uTemplate of it to tTemplate
set the script of it to the uInstanceScript of tTemplate
repeat with i = 1 to number of controls in it
  set the uTemplate of control i of it to \
  the uRuggedLongID of control i of tTemplate
  set the script of control i of it to empty
end repeat
send "choose browse tool" to me in 0
  else
breakPoint
  end if
end template_createInstance

on template_deleteInstance
  put the uTemplate of the target into tTemplate
  if tTemplate is not empty then
put the uInstances of tTemplate into tInstances
filter tInstances without the uRuggedLongID of the target
set the uInstances of tTemplate to tInstances
  end if
end template_deleteInstance

getProp uRuggedID
  put the long id of the target into tLongID
  if word 1 of tLongID is not "stack" then
-- note: stacks do not have rugged ids
put word 1 to 3 of tLongID into tRuggedID
put offset(" of card id " & quote,tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to offset(space,tLongID,tOffset) - 1 of tLongID \
  after tRuggedID
end if
  end if
  return tRuggedID
end uRuggedID

getProp uRuggedLongID
  put the uRuggedID of the target into tRuggedLongID
  put offset(" of stack " & quote,the long id of the target) into tOffset
  put char tOffset to -1 of the long id of the target after tRuggedLongID
  return tRuggedLongID
end uRuggedLongID

getProp uInstanceScript
  lock messages
  put the uInstanceScript of the target into tInstanceScript
  put cr & the uInstanceScript[word 1 of the target] of me \
  after tInstanceScript
  unlock messages
end uInstanceScript

All the above handlers could be stored in a library, which could be called
something like libTemplate, and which I could produce if people are
interested.

Any feedback?

-- Dick


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Dick Kriesel
On 2/27/06 6:02 PM, "wouter" <[EMAIL PROTECTED]> wrote:

> Rugged id's are a good idea but this handler will not do the trick.
> And it is difficult to deduce from this handler from where to where
> or which parts of the long id is what you call the rugged id.


Thanks for catching my error, Wouter.  I forgot what the offset function
returns, and I typed that handler in without testing it.

After testing, it looks like this:

getProp uRuggedID
  put the long id of the target into tLongID
  if word 1 of tLongID is not "stack" then
-- note: stacks do not have rugged ids
put word 1 to 3 of tLongID into tRuggedID
put offset(" of card id ",tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to tOffset + offset(space,tLongID,tOffset + 12) \
  + 11 of tLongID after tRuggedID
  -- note: 12 is the length of " of card id "
end if
  end if
  return tRuggedID
end uRuggedID

A "rugged" id is a native long id stripped of any "of group id" clause.

-- Dick


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread wouter


On 27 Feb 2006, at 23:06, Dick Kriesel wrote:
-snip-


...
set the uPropertyThatRefersToARevObject of the target \
to the uRuggedID of tRevObject
...

getProp uRuggedID
  put the long id of the target into tLongID
  if word 1 of tLongID is not "stack" then
-- note: stacks do not have rugged ids
put word 1 to 3 of tLongID into tRuggedID
put offset(" of card id " & quote,tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to offset(space,tLongID,tOffset) - 1 \
  of tLongID after tRuggedID
end if
  end if
  return tRuggedID
end uRuggedID

Comments?


Rugged id's are a good idea but this handler will not do the trick.
And it is difficult to deduce from this handler from where to where
or which parts of the long id is what you call the rugged id.



-- Dick



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


Test message - please ignor

2006-02-27 Thread Bob Warren

This is just a test message.
Please ignor it.
However, regards to all.

Bob Warren

___
use-revolution mailing list
use-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: Export to pdf

2006-02-27 Thread Stephen Barncard

here's another PDF resource...:

http://www.prepressure.com/pdf/overview.htm

check 'General Information/General Information/


Hi Marty,

Actually it's not too difficult.
Just require time to code, test and fix.

Look at these references about the
PDF file format:

PDF v 1.2


PDF v 1.3 to v 1.6 (Directly from Adobe)




i could not find the PDF spec v1.1 This was a short reference
(compared with later editions) very easy to read and understand.

I'll be grateful if developers, could point me to
a functional link in the web to this old pdf specification.

Have a nice day!

alejandro


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


URL caching mystery.

2006-02-27 Thread Alex Tweedly


I'm trying to understand (or at least deal with) caching of URLs

The basics seem to work as I expected (i.e. as I interpret the docs).
First,
put "http://127.0.0.1/file1.mp3"; into blah

Then

load URL blah   puts the url into the cache
put URL blah into twill take from the cache if it's there, 
otherwise fetch from server.
if it needs to be fetched, it is 
not added to the cache

unload URL blah  removes it from the cache

BUT
set the filename of player "Player" to blah
fetches the file from the server, caches it locally and then sets the 
filename property.
I know it caches the data, because if I repeat that code again soon 
afterwards, there is no request sent to the server.


However - the two cache sets seem to be completely independent. Even if 
I do

load URL blah
  first, then
set the filename of player "Player" to blah
  the second command still sends a request, it doesn't use the copy 
cached by "load URL".


btw - the docs do say

 To pre-fetch a file from the Internet in order to speed up access to 
it, use the load command before visiting the card that holds the 
player or image that references the file's URL.


but that does not match what I see - a request for the file is sent 
again when I "set the filename of player ..."


(This is a pain to test, because you only get one try for each file and 
the it is held in the second cache ...)


Similarly, setting the filename of the player doesn't make the entry 
appear in "the cachedURLs" - and there doesn't appear to be any way to 
find out which URLs have been cached by the "set filename" commands.


Is there any way to join the two caching mechanisms ?
Or to find out what is being cached by the "set filename of player" scheme ?
  (and if necessary to clear that cache) ?


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.1/270 - Release Date: 27/02/2006

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


Re: Rev 2.7 Editor & stability problems

2006-02-27 Thread Thomas McGrath III
Please try turning off Antialiased for the image/object that you are  
having trouble with and report back if the problem goes away.

You may have to set the alwaysbuffer of the stack to false as well.

If that doesn't work can you please describe the objects further?

Thank you

Tom

On Feb 27, 2006, at 7:13 PM, J. Landman Gay wrote:


I also just posted another message concerning the use ot  the
magnification feature which is not operational either.  Could these
problems be related?  I know that they did not occur in the Rev. 2.6
edition.


I doubt they are related, but the magnification thing is definitely  
weird. That one's for Bugzilla, I think. It looks like a direct  
consequence of the new image features.


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.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: Long load times

2006-02-27 Thread Mark Talluto


On Feb 27, 2006, at 4:56 PM, Raymond Griffith wrote:


But ... (Please correct me if I'm wrong!)

Without password protection, all a user has to do is "open" the  
standalone

in a text file and he can read the scripts.


That is exactly true.  This particular stack does not contain  
anything in the secret realm so it will work for me.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Long load times

2006-02-27 Thread Raymond Griffith
But ... (Please correct me if I'm wrong!)

Without password protection, all a user has to do is "open" the standalone
in a text file and he can read the scripts.

On 2/27/06 7:45 PM, "Mark Talluto" <[EMAIL PROTECTED]> wrote:

> 
> On Feb 27, 2006, at 4:27 PM, Dave Cragg wrote:
> 
>> 
>> On 27 Feb 2006, at 23:49, Mark Talluto wrote:
>> 
>>> I have a stack that has a 45MB disk image in a custom property.
>>> When I load it into Rev 2.7, it loads instantly.  When I make a
>>> standalone out of it, it takes about 35 seconds to load.  I can
>>> load Rev and the stack in less than 10 seconds total.   This
>>> includes a number of plugins.  Why the large discrepancy?
>> 
>> Is the stack in the standalone password protected? This can
>> increase load times. It's not usually noticeable, but with a 45MB
>> stack, I guess it may become so.
>> 
> 
> That was it!  The stack is password protected.  Serious performance
> hit indeed!  Thanks to you and Jacque for helping.
> 
> 
> Mark Talluto

Raymond E. Griffith


___
use-revolution mailing list
use-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: Long load times

2006-02-27 Thread Mark Talluto


On Feb 27, 2006, at 4:27 PM, Dave Cragg wrote:



On 27 Feb 2006, at 23:49, Mark Talluto wrote:

I have a stack that has a 45MB disk image in a custom property.   
When I load it into Rev 2.7, it loads instantly.  When I make a  
standalone out of it, it takes about 35 seconds to load.  I can  
load Rev and the stack in less than 10 seconds total.   This  
includes a number of plugins.  Why the large discrepancy?


Is the stack in the standalone password protected? This can  
increase load times. It's not usually noticeable, but with a 45MB  
stack, I guess it may become so.




That was it!  The stack is password protected.  Serious performance  
hit indeed!  Thanks to you and Jacque for helping.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Long load times

2006-02-27 Thread Mark Talluto


On Feb 27, 2006, at 4:16 PM, J. Landman Gay wrote:


Does the stack have a startup handler? If so, what does it do?


Nope.


Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: Export to pdf

2006-02-27 Thread capellan

Hi Marty,

Actually it's not too difficult.
Just require time to code, test and fix.

Look at these references about the
PDF file format:

PDF v 1.2 


PDF v 1.3 to v 1.6 (Directly from Adobe)




i could not find the PDF spec v1.1 This was a short reference 
(compared with later editions) very easy to read and understand. 

I'll be grateful if developers, could point me to
a functional link in the web to this old pdf specification.

Have a nice day!

alejandro
--
View this message in context: 
http://www.nabble.com/Export-to-pdf-t1185078.html#a3155958
Sent from the Revolution - User forum at Nabble.com.

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


Re: Long load times

2006-02-27 Thread Dave Cragg


On 27 Feb 2006, at 23:49, Mark Talluto wrote:

I have a stack that has a 45MB disk image in a custom property.   
When I load it into Rev 2.7, it loads instantly.  When I make a  
standalone out of it, it takes about 35 seconds to load.  I can  
load Rev and the stack in less than 10 seconds total.   This  
includes a number of plugins.  Why the large discrepancy?


Is the stack in the standalone password protected? This can increase  
load times. It's not usually noticeable, but with a 45MB stack, I  
guess it may become so.


Dave
___
use-revolution mailing list
use-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: Transcript and Dot Notation

2006-02-27 Thread John Tregea
Dear Rob,

Thanks for the information.

Cheers

John

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Cozens
Sent: Tuesday, February 28, 2006 12:33 AM
To: How to use Revolution
Subject: Re: Transcript and Dot Notation

Hi John:

> I am not sure how Revolution ISN't already OO?

I used to feel the same way about HyperTalk: give me an OO concept, and 
I'll script something that emulates it.

The difference is, in a true OO language, those concepts are built into 
the platform when you open the box.

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


___
use-revolution mailing list
use-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: Long load times

2006-02-27 Thread J. Landman Gay

Mark Talluto wrote:
I have a stack that has a 45MB disk image in a custom property.  When  I 
load it into Rev 2.7, it loads instantly.  When I make a standalone  out 
of it, it takes about 35 seconds to load.  I can load Rev and the  stack 
in less than 10 seconds total.   This includes a number of  plugins.  
Why the large discrepancy?


My system:  Dual 2.7 Ghz G5 with 1.5 Gigs of RAM. 


Does the stack have a startup handler? If so, what does it do?

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


Re: Rev 2.7 Editor & stability problems

2006-02-27 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:

I noticed that several people are having stability problems with Rev.
2.7 and windows.  Well, I am a Mac user (Mac OSX 10.4) and have also
had several problems.

When I  create a new stack and while editing anything on it,  it will
suddenly crash and shut down the Rev. application as well as my
stack.  I found this to occur when I have another application open
such as Preview where I am cutting and pasting images from Preview
into my stack.  But it may crash even when I have no other
application open.


This is very good info, and fits a theory the team has about what may be 
causing the crash. Could you send this to <[EMAIL PROTECTED]>, they are 
tracking it over there.




I also just posted another message concerning the use ot  the
magnification feature which is not operational either.  Could these
problems be related?  I know that they did not occur in the Rev. 2.6
edition.


I doubt they are related, but the magnification thing is definitely 
weird. That one's for Bugzilla, I think. It looks like a direct 
consequence of the new image features.


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


Re: Print from TL to BR - doesn't

2006-02-27 Thread J. Landman Gay

Hershel Fisch wrote:


According tho doc. Its topLeft to rightBottom
Where its bottomRight which returns an integer when done in the message box,
but in a button returns the same error.


I'm just wondering, if I put into the message box "put topLeft" it gives me
the integer as well when I "put the bottomRight" ?
Looks like it is not only a variable ?


The "bottomRight" is a Transcript word and returns a set of coordinates. 
In the dictionary example for "print", though, it says "rightBottom". 
That one is just a variable.


The real Transcript terms, which you correctly point out, are "topLeft" 
and "bottomRight".


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


Long load times

2006-02-27 Thread Mark Talluto
I have a stack that has a 45MB disk image in a custom property.  When  
I load it into Rev 2.7, it loads instantly.  When I make a standalone  
out of it, it takes about 35 seconds to load.  I can load Rev and the  
stack in less than 10 seconds total.   This includes a number of  
plugins.  Why the large discrepancy?


My system:  Dual 2.7 Ghz G5 with 1.5 Gigs of RAM. 
___

use-revolution mailing list
use-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: Print from TL to BR - doesn't

2006-02-27 Thread Hershel Fisch
On 2/26/06 11:15 PM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:

> Hershel Fisch wrote:
>> On 2/26/06 5:31 PM, "Terry Judd" <[EMAIL PROTECTED]> wrote:
>> According tho doc. Its topLeft to rightBottom
>> Where its bottomRight which returns an integer when done in the message box,
>> but in a button returns the same error.
I'm just wondering, if I put into the message box "put topLeft" it gives me
the integer as well when I "put the bottomRight" ?
Looks like it is not only a variable ?
Hershel 
> 
> The term for getting a set of coordinates is "bottomRight". In the docs,
> "rightBottom" is just a variable name that is supposed to hold some numbers.
> 
> To print, you need to provide the numerical coordinates of the rectangle
> you want to print. Do something like this:
> 
>  put "10,10" into theTopLft
>  put the bottomRight of this cd into theBotRt -- gives "640,480" for
> example
>  print this card from theTopLft to theBotRt
> 
> See if that works.

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


Rev 2.7 Editor & stability problems

2006-02-27 Thread sandrah9
I noticed that several people are having stability problems with Rev. 2.7 and 
windows.  Well, I am a Mac user (Mac OSX 10.4) and have also had several 
problems. 

 When I  create a new stack and while editing anything on it,  it will suddenly 
crash and shut down the Rev. application as well as my stack.  I found this to 
occur when I have another application open such as Preview where I am cutting 
and pasting images from Preview into my stack.  But it may crash even when I 
have no other application open.

I also just posted another message concerning the use ot  the magnification 
feature which is not operational either.  Could these problems be related?  I 
know that they did not occur in the Rev. 2.6 edition.

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


Magnification ability does not work!

2006-02-27 Thread sandrah9
This is a request for help with the magnification tool.  I am using Rev. 2.7 on 
Mac OSX 10.4  and am trying to magnify an image so that I can make some 
corrections.  Previously, in Rev. 2.6 all I had to do was click on the control 
key while using the pencil tool and the magnification palette screen would 
appear.  According to the new Rev. 2.7 documentation, I should be able to do 
the same thing.  

However, all I get are two new screens -- the magnification panel which is 
empty and another bizarre black screen with pixels in various colors (not from 
my image) that appears to be floating in cyberspace.  It is almost as if the 
magnifcation pallete has developed a schizophrenic personality . . . leading to 
no utility whatsoever!!

Is there anything to be done?

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


externalPackages of stack revExternalLibrary (was Re: Win XP / Rev 2.7)

2006-02-27 Thread Terry Judd


After building the standalone, go to the directory
with the .exe file ; there should be a subdirectory
'Externals'. In that directory should be a file
'revxml.dll' which contain the external commands and
functions that make up the XML library.

If this file is present, you could add a button to
test which externals are available, by means of the
following script:
--
on mouseUp
  answer "ExternalPackages:" & return & \
the externalPackages of stack "revExternalLibrary"
end mouseUp
--

(The stack 'revExternalLibrary' is added by the
standalone builder to hold references to the external
packages and make sure they're loaded at startup)


Jan (or others) - Is there some way of getting the standalone builder 
to add other (3rd party) externals to revExternalLibrary so that they 
don't have to be placed at the same level as the standalone?


Terry...


Best regards,

Jan Schenkel.

Quartam Reports for Revolution



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

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

2006-02-27 Thread capellan

Hi Scott,

Excellent widget!
You had raised the bar again. :-)

Now, Do you know what could be really
useful? an installable widget player, like 
that from Yahoo. :D

If some of you is ready for releasing a multiplatform
Widget engine, i have already some widgets ideas,
that could start working this week!

Thanks a lot for sharing.
Keep Up your good work!

alejandro
--
View this message in context: 
http://www.nabble.com/Weather-Widget-t1192310.html#a3154697
Sent from the Revolution - User forum at Nabble.com.

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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread capellan

Hi Geoff,

This "Hacked Object oriented Transcript" reads like an
extraordinarily useful addition to the techniques
available in this platform.

In this platform, i've played mostly with vector graphics.
With the stack "PenTool", i'm able to create individual vector graphics,
but latter when these graphics are grouped is problematic to apply 
any transformation to this group (transformations like Scale, Rotate, 
Slant, Flip, fill and line color changes, line weight change, etc).

Do you think that this handler could help me with this task?

If your answer is positive, then 
How difficult could be to create a group (with multiple vector graphics) 
that works as a single gradient vector graphic object?

This "Gradient vector graphic group" needs to keep constant
his color attributes when transformed. For example, if you slant,
scale, rotate, change shape, etc, the color should keep the 
style of a gradient, not become distorted.

It's possible at all?

Thanks for sharing your work!
Keep up your good work.

alejandro 
--
View this message in context: 
http://www.nabble.com/-ANN-HOOT%3A-Hacked-Object-Oriented-Transcript-t1192812.html#a3154339
Sent from the Revolution - User forum at Nabble.com.

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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Dick Kriesel
On 2/27/06 11:30 AM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

>> control id pID of this stack
> 
> Actually, that's not what I meant.  Using the long name or ID provides a
> "full" path to an object (including the card the object sits on, group its
> in, etc).  I haven't used your notation above but using a "simple" object
> reference (that excludes the card reference for example) may be what causes
> the engine barf and lose track of things.

As I discussed with Mark, the problem with storing long ids is that they can
be brittle.  A stored long id becomes invalid when a developer moves a
control to a different group.

As Scott points out, the problem with storing short ids is that they can be
ambiguous.  A stored short id isn't sufficient to set or get a property of a
control that appears on more than one card.

A rugged id would avoid the brittleness and the ambiguity.

...
set the uPropertyThatRefersToARevObject of the target \
to the uRuggedID of tRevObject
...

getProp uRuggedID
  put the long id of the target into tLongID
  if word 1 of tLongID is not "stack" then
-- note: stacks do not have rugged ids
put word 1 to 3 of tLongID into tRuggedID
put offset(" of card id " & quote,tLongID) into tOffset
if tOffset > 0 then
  put char tOffset to offset(space,tLongID,tOffset) - 1 \
  of tLongID after tRuggedID
end if
  end if
  return tRuggedID
end uRuggedID

Comments?

-- Dick


___
use-revolution mailing list
use-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: Win XP / Rev 2.7

2006-02-27 Thread Rob Cozens


Sarah, et al:


 the process will be much faster if as many as
possible can report what causes problems


OK, I got off the fence and downloaded v2.7 to my TPC.

I'll give it a go this afternoon and see what happens.

One question from the download experience:  Could there be any 
correlation between crashing and the method of download?  Who (besides 
moi) downloaded the "full" XP download, and who used the Rev XP 
installer on the website?


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


___
use-revolution mailing list
use-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: Win XP/ Rev 2.7 follow-up.

2006-02-27 Thread Kevin Miller
On 27/2/06 21:24, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> Just a quick note to follow-up on issues with Win XP/Rev 2.7 that I
> experienced and am still
> experiencing. 

Hi Bryan,

We really do care a lot about this issue - which you and a handful of others
appear to be experiencing.  Could you please contact [EMAIL PROTECTED] so
we can get some more information from you, and arrange to send you a newer
test engine(s) to verify the problem has been resolved?  If you have the
time to do that, it would help us to fix this and be much appreciated.

Kind regards,

Kevin

Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

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

2006-02-27 Thread J. Landman Gay

Scott Rossi wrote:

Recently, J. Landman Gay wrote:



Some time back there was a brief discussion about building widget-y things
in Rev.  Here's an example of a weather widget, not because it's never been
done, but because it can be done. :-)




 go url "http://www.tactilemedia.com/download/tmweather.rev";




Damn, I knew I should have released mine. I've been using one I wrote
for four years. Unfortunately, it is hard-coded to my own city and I
haven't had the time to generalize it for release.



Why not release it now?  There's always more than one way to skin a cat, er,
weather feed...


It's one of those deals where it isn't cleaned up, URLs are hard-coded, 
and it is definitely a "tool" rather than a "product". And while it 
isn't as pretty as yours (nobody's stuff is), it does more, and I ain't 
sayin' what. :-P


Well, maybe I'll fix it up and put it out there. Sometime. Maybe.

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


Win XP/ Rev 2.7 follow-up.

2006-02-27 Thread bryan
Just a quick note to follow-up on issues with Win XP/Rev 2.7 that I experienced 
and am still
experiencing. 

First, although this has never been a problem in 2.6 or previous, I am running 
a dual monitor
set-up. The system is the same one I have run 2.6.1 stacks on without crashes 
for as long as it has
been out. 

I took Sarah's advice and rebuilt the two stacks I had native in 2.7. There is 
a stack running on
each monitor. All I am doing is cutting and pasting text between the stacks 
although there is also a
call to check clipboarddata and to set and get it. Other than that there is 
nothing really going on.
Some files are being parsed, read into fields. Again there has never been a 
problem and the code is
identical.

How does this bug appear? Eventually, it will happen by simply copying and 
pasting between fields.
That's it. That is all that is being done. It is a guaranteed show-stopping 
crash if I run the
stacks long enough.

Although it does not specifically relate to Xavier's note on problems with the 
script editor I think
he did mention something about cut and paste (was it drag and drop?) of text 
being an issue for him.
That is as close as I can get to ferreting out the issue.

I think the next step would be to set-up (someone at Rev that is) a dual 
monitor Win-XP system and
see if they can recreate the problem.



--

___
use-revolution mailing list
use-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: XML Library and Windows

2006-02-27 Thread Jan Schenkel
--- Karen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've tracked down the fact that RunRev 2.7 isn't
> including the revxml.dll library in with my 
> standalone, despite me asking it to in the 
> Standalone Application Settings.  
> 

Other people suffering from this problem or similar
missing externals when building for Windows using Rev
2.7, should vote for bugzilla #3357


Jan Schenkel.

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: report object missing

2006-02-27 Thread Jan Schenkel
--- Kresten Bjerg <[EMAIL PROTECTED]> wrote:
> Hi
> Its fine, if Jan Schenkel can make a buisiness out
> of selling the report-options in improved,
> professional versions. 130 Dollars I think, for the
> cheapest way.  But I an just looking for an element,
> an object type,( "report object") which is described
> in the documentation to be found in the  Object, new
> control panel, but is missing there, but necessary ,
> if one shall follow the instructions to produce a
> layout card, to implement the revReportSetup (which
> is present).
> A posting says it is "deprecated"?  whatever
> that means.  I guess all I need is one exemplary
> "report object", or a description of, whether an
> ordinary field can be used as such an object, also
> if it is going to refer to whole cards in a multiple
> cards to a page- solution
> As I am working on producing a freeware tool
> standalone, and without any profit, it seems strange
> if one shall have to pay for what the IDE promises
> to contain.
> Kresten
> 

Hi Kresten,

The 'report object' is deprecated in the sense that it
has disappeared from the tools palette, and the menu
structure. When it was introduced in Revolution 2.0,
there was no real documentation for it, so I spent
quite some time trying to make it work for me.

Unfortunately, it suffered from a number of issues and
was removed in version 2.5, as the RunRev team decided
it was better to remove features that didn't reach
their full potential and would require a significant
amount of resources to finish properly. 

RunRev Ltd has limited resources, and has to take
tough decisions on what items to spend these on -- I'm
sure they wish they had a few clones of Mark
Waddingham to make things move faster...

Their decision was also inspired by my work on Quartam
Reports -- they felt that it would benefit everyone to
let a third party move into this territory with a
professional solution.

Quartam Reports was written in 100% Transcript, but is
not based on the original 'report object' that came
with Rev 2.0 -- it started from a database-oriented
view close to FoxPro and FileMaker Pro reporting.

I'm sorry to hear it doesn't fit in your budget. On
the other hand, you have several options to produce
reports from Revolution:

- export the report as an HTML file by filling a
template html text that you created with the data ;
your user can then print the report from their
favorite web browser, but formatting is not that
precise

- export the report as an RTF file in roughly the same
manner ; this gives you better formatting options, but
your users will need Word or Pages to print the report

- layout a template stack with fields and graphics,
then fill the fields with the data from your app and
print the report template stack

Hope this helped,

Jan Schenkel.

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: openStack Initialization Issues

2006-02-27 Thread Jeanne A. E. DeVoto

At 8:34 PM -0700 2/26/2006, Arthur Urban wrote:
Is there a way I can detect when my main stack receives the 
openStack message versus when my substacks receives the message and 
pass it all the way down to the mainstack? I do once only 
initialization in my mainstack, and I can't seem to reliably detect 
when a substack is triggering the openStack message and skip over 
the init code. I've tried using the target and the me function, 
nothing seems to work. Too bad there is no openMainStack handler. 
(even using on startUp doesn't help me) Ugh...what am i missing? 
thanx!


In the alternative to Richard's suggestion, you can also check the 
target function in the handler. The target is the object that 
originally received the message, so if openStack is responding to a 
substack, the opening card of the substack is the target:


  on openStack
-- do anything you need to do for all stacks here
if the owner of the target is not me then pass openStack
-- do main stack-specific things here
  end openStack
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: XML Library and Windows

2006-02-27 Thread Jan Schenkel
--- Karen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I've tracked down the fact that RunRev 2.7 isn't
> including the  
> revxml.dll library in with my standalone, despite me
> asking it to in  
> the Standalone Application Settings.  I can copy the
> file across and  
> put it into the Externals directory, but it still
> doesn't get  
> recognised when I run my application.  Is there a
> way to force  
> Revolution to load it programmatically?
> 
> It seems to work perfectly on the Mac... :-(
> 
> Thanks,
> 
> Karen
> 

Hi Karen,

The only thing that has worked for me so far was to
explicitly add revXML to the externals of the stack.

So here's a temporary workaround:

1) Use the message box to execute the line
##
  set the externals of this stack to
"externals/revxml.dll"
##

2) After building the standalone, copy the file
'revXML.dll' from your Revolution Enterprise directory
to the 'externals' directory in your standalone
directory.

If all goes well, the XML commands and functions
should now be available. It looks like we'll have to
take a trip to Bugzilla, as the Windows standalone
builder skips quite a few files.

Hope this helped,

Jan Schenkel.

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Weather Widget

2006-02-27 Thread Scott Rossi
Recently, J. Landman Gay wrote:

>> Some time back there was a brief discussion about building widget-y things
>> in Rev.  Here's an example of a weather widget, not because it's never been
>> done, but because it can be done. :-)

>>   go url "http://www.tactilemedia.com/download/tmweather.rev";

> Damn, I knew I should have released mine. I've been using one I wrote
> for four years. Unfortunately, it is hard-coded to my own city and I
> haven't had the time to generalize it for release.

Why not release it now?  There's always more than one way to skin a cat, er,
weather feed...

Regards,

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

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


Re: Transcript and Dot Notation - the really "embarrassing" concepts IMHO

2006-02-27 Thread Marty Knapp

Mark Wieder wrote:

Rob-

Monday, February 27, 2006, 8:33:04 AM, you wrote:

  

If we all agree on everything all the time, what a dull, homogenous,
narrow-scoped group we have become.



I shudder to think what would happen if everyone agreed with me. It's
bad enough when *anyone* agrees with me...
  

So, if I agree with that, does that make me agreeable or disagreeable :)

Seriously, I think we have a pretty great list here, even if it gets 
*hot* once in a while. The big issue is how we treat each other when we 
do disagree. Passionate people feel things strongly and that can lead to 
*passionate* statements. Hopefully when the dust settles we're a little 
wiser for it.


I want to say, too, that I appreciate the help I get here. I wish I knew 
enough to offer something back more often - hopefully that will happen 
as I become more proficient at Rev development.


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Scott Rossi
Recently, Mark Wieder wrote:

>>> control pID of this stack
> 
>> I would be wary of this, from the standpoint of using object references in
>> variables.

> Yes, thanks for the warning. I don't use object numbers myself and
> did, of course, mean to type:
> 
> control id pID of this stack

Actually, that's not what I meant.  Using the long name or ID provides a
"full" path to an object (including the card the object sits on, group its
in, etc).  I haven't used your notation above but using a "simple" object
reference (that excludes the card reference for example) may be what causes
the engine barf and lose track of things.  Again, YMMV, but using long
ID/name appear to be "safer".

Regards,

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

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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Mark Wieder
Scott-

Monday, February 27, 2006, 10:54:27 AM, you wrote:

>> control pID of this stack

> I would be wary of this, from the standpoint of using object references in
> variables.  I've come across intermittent cases in complex scripts where I
> artificially created an object reference by placing something like "image
> xyz of stack abc" into variable, and the engine would sometimes read garbage
> characters in place of the object reference.  I can't explain why, and I
> don't know if long ID parses more reliably than long name (I can say I spent
> many agonizing hours trying to track this down).  In my situation, using the
> long ID appeared to fix the problem.

Yes, thanks for the warning. I don't use object numbers myself and
did, of course, mean to type:

control id pID of this stack

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Transcript and Dot Notation - the really "embarrassing" concepts IMHO

2006-02-27 Thread Mark Wieder
Rob-

Monday, February 27, 2006, 8:33:04 AM, you wrote:

> If we all agree on everything all the time, what a dull, homogenous,
> narrow-scoped group we have become.

I shudder to think what would happen if everyone agreed with me. It's
bad enough when *anyone* agrees with me...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Print from TL to BR - doesn't

2006-02-27 Thread J. Landman Gay

Terry Judd wrote:

Thanks - yep, that's what I mean but not what I get. Usually the topLeft 
coordinate prints correctly but elements to the right and bottom get 
missed (sometimes irrespective of whether they are offscreen or not). 
Calculating the 'relative' screen size and changing the printScale 
property to an appropriate value doesn't seem to help either. The best 
I've been able to manage is to print from 0,0 to the bottomRight object 
and adjust the printScale accordingly - at least all the objects are 
rendered this way. I think I've explored and exhausted all options at 
this end so it'll have to do.


Are you using card coordinates? Global coordinates won't work. If you 
try the script on a new test stack do you get the results you want?


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


Re: Weather Widget

2006-02-27 Thread J. Landman Gay

Scott Rossi wrote:

Some time back there was a brief discussion about building widget-y things
in Rev.  Here's an example of a weather widget, not because it's never been
done, but because it can be done. :-)

Execute the following your message box:

  go url "http://www.tactilemedia.com/download/tmweather.rev";

Using Yahoo Weather RSS, the stack features a translucent window with
Web-supplied image whose display updates every 30 seconds to show current
temperature (F or C), weather conditions, and wind data for the designated
location.  Accepts US Zip codes or location IDs (see
http://weather.yahoo.com/ to find non-US location IDs).

Just something I've been meaning to try for a while.  New users may find
this useful.


Damn, I knew I should have released mine. I've been using one I wrote 
for four years. Unfortunately, it is hard-coded to my own city and I 
haven't had the time to generalize it for release. This happens to me 
all the time. Half of the stuff Chipp releases has been in my private 
arsenal for years.


Well, it's my own fault. ;) Anyway, I know this stuff works. It's pretty 
cool.


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Scott Rossi
Recently, Mark Wieder wrote:

> Regarding the "long id" thing, Dick Kriesel and I were talking about
> this last month and I have now switched my usage over to just "the
> id", based on the fact that ids within a stack are unique and
> immutable. You can pass ids without any problem and it's just a single
> data point: you don't have to parse it for path items at all.
> 
> control pID of this stack
> 
> does the trick. The only exception I had to implement is for messages
> coming from or to a stack, since the stack id changes with each new
> object.

I would be wary of this, from the standpoint of using object references in
variables.  I've come across intermittent cases in complex scripts where I
artificially created an object reference by placing something like "image
xyz of stack abc" into variable, and the engine would sometimes read garbage
characters in place of the object reference.  I can't explain why, and I
don't know if long ID parses more reliably than long name (I can say I spent
many agonizing hours trying to track this down).  In my situation, using the
long ID appeared to fix the problem.

Regards,

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

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


Re: openStack Initialization Issues

2006-02-27 Thread Devin Asay


On Feb 26, 2006, at 11:14 PM, Arthur Urban wrote:




Richard Gaskin wrote:

Arthur Urban wrote:
Is there a way I can detect when my main stack receives the  
openStack message versus when my substacks receives the message  
and pass it all the way down to the mainstack? I do once only  
initialization in my mainstack, and I can't seem to reliably  
detect when a substack is triggering the openStack message and  
skip over the init code. I've tried using the target and the me  
function, nothing seems to work. Too bad there is no  
openMainStack handler. (even using on startUp doesn't help me)  
Ugh...what am i missing? thanx!


If you put your mainStack's initialization into the card script of  
your mainStack you never need to worry about substacks triggering it.
That sure is mighty clever...I might even have to do that. I'm  
surprised that there is no "official" and "correct" way to deal  
with this, but perhaps as more folks see this thread, a non- 
workaround might arise. Thank you so much for the input! :)


Don't forget the good ol' startup message handler, which executes  
when you first launch, although that only works when you compile the  
stack as a standalone. It's not terribly helpful when you're working  
in the development environment.


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


report object missing

2006-02-27 Thread Kresten Bjerg
Hi
Its fine, if Jan Schenkel can make a buisiness out of selling the 
report-options in improved, professional versions. 130 Dollars I think, for the 
cheapest way.  But I an just looking for an element, an object type,( "report 
object") which is described in the documentation to be found in the  Object, 
new control panel, but is missing there, but necessary , if one shall follow 
the instructions to produce a layout card, to implement the revReportSetup 
(which is present).
A posting says it is "deprecated"?  whatever that means.  I guess all I 
need is one exemplary "report object", or a description of, whether an ordinary 
field can be used as such an object, also if it is going to refer to whole 
cards in a multiple cards to a page- solution
As I am working on producing a freeware tool standalone, and without any 
profit, it seems strange if one shall have to pay for what the IDE promises to 
contain.
Kresten


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Mark Wieder
Geoff-

Looks nice. I'll spend some time with this today.

Regarding the "long id" thing, Dick Kriesel and I were talking about
this last month and I have now switched my usage over to just "the
id", based on the fact that ids within a stack are unique and
immutable. You can pass ids without any problem and it's just a single
data point: you don't have to parse it for path items at all.

control pID of this stack

does the trick. The only exception I had to implement is for messages
coming from or to a stack, since the stack id changes with each new
object. But I don't think you have to worry about this with your
subclassing. And note that it *is* possible to change the id of
images, although I haven't found a need for this myself and I'm not
sure if subclassing an image makes sense.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


XML Library and Windows

2006-02-27 Thread Karen

Hi,

I've tracked down the fact that RunRev 2.7 isn't including the  
revxml.dll library in with my standalone, despite me asking it to in  
the Standalone Application Settings.  I can copy the file across and  
put it into the Externals directory, but it still doesn't get  
recognised when I run my application.  Is there a way to force  
Revolution to load it programmatically?


It seems to work perfectly on the Mac... :-(

Thanks,

Karen
___
use-revolution mailing list
use-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: Win XP / Rev 2.7

2006-02-27 Thread Jan Schenkel
[Retry as I hit a key combination by accident]

--- Karen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Has anyone seen problems with inclusion of script
> libraries in Rev  
> 2.7?  I've been trying Quartam Reports and have
> included the XML  
> libraries in the standalone.  On the Mac this work
> fine, on Windows  
> Quartam can't find the XML libraries.  I've written
> to Jan on this,  
> but I'm not sure if it is a Rev problem or a Quartam
> one.  Is there  
> an easy way to tell what is in the Windows
> standalone and whether the  
> XML library made it there?
> 
> Thanks,
> 
> Karen
> 

Hi Karen,
 
Please note that I'm testing this on Win2K, so things
might be a little different on WinXP. 

After building the standalone, go to the directory
with the .exe file ; there should be a subdirectory
'Externals'. In that directory should be a file
'revxml.dll' which contain the external commands and
functions that make up the XML library.
 
If this file is present, you could add a button to
test which externals are available, by means of the
following script:
--
on mouseUp
  answer "ExternalPackages:" & return & \
the externalPackages of stack "revExternalLibrary"
end mouseUp
--

(The stack 'revExternalLibrary' is added by the
standalone builder to hold references to the external
packages and make sure they're loaded at startup)

If the above answer dialog doesn't contain 'revXML' in
its display text, then it is missing and may point to
a bug in the Rev standalone builder.

Let me know if this file is present and you still
can't get it to work.

Best regards,

Jan Schenkel.

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev 2.7 Editor & stability problems

2006-02-27 Thread Gordon Webster
No, these were actually new stacks created afresh using Rev 2.7. In the course 
of editing one of them, Rev actually crashed 4 times. It was hard to tell what 
it was I did that made it crash but it seems like it happened changing focus 
between some of the open windows - but as I said in my first email, it wasn't a 
consistent thing.

BTW: I am using a vanilla Rev 2.7 installation with no plugins or add-ons of 
any kind, so at least some fraction of the problems that users are 
experiencing, would seem to be a feature of the new release rather than some 
kind of incompatibility problem with plug-ins or older releases.

Best

Gordon

Dave Beck <[EMAIL PROTECTED]> wrote: 
Gordon,

When you are getting these crashes, are you editing a stack that was
converted from 2.6.1? Does this happen on multiple stacks or just one?

>From the info on this bug so far, it seems as though it is sensitive to
particular stacks, as opposed to configurations. That is my personal
experience so far with this problem as well.

Dave

> Like other users on this list, I also see serious stability problems with
> Rev 2.7 under WinXP. I have experienced several crashes while editing and
> testing scripts, none of which seem to have any consistent pattern. I will
> try and figure out what I was doing when the crashes occurred so that I 
> can provide more information to the list.

___
use-revolution mailing list
use-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: Win XP / Rev 2.7

2006-02-27 Thread Jan Schenkel
--- Karen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Has anyone seen problems with inclusion of script
> libraries in Rev  
> 2.7?  I've been trying Quartam Reports and have
> included the XML  
> libraries in the standalone.  On the Mac this work
> fine, on Windows  
> Quartam can't find the XML libraries.  I've written
> to Jan on this,  
> but I'm not sure if it is a Rev problem or a Quartam
> one.  Is there  
> an easy way to tell what is in the Windows
> standalone and whether the  
> XML library made it there?
> 
> Thanks,
> 
> Karen
> 

Hi Karen,

Please note that I'm testing this on Win2K, so things
might be a little different on WinXP. 

After building the standalone, go to the directory
with the .exe file ; there should be a subdirectory
'Externals'. In that directory should be a file
'revxml.dll' which cont

If this file is present, and 

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and Dot Notation

2006-02-27 Thread Karen


On 27 Feb 2006, at 15:12, Stephen Barncard wrote:


Integer Basic rocked. It was faster than FP. And with the 'Sweet
Sixteen' 6502 functions by Woz were really useful. I built a lot of
crazy gear for the movie industry with this stuff.


My old favourites were Basic XL on the old Atari 800 (showing my age)  
and Fast ST Basic on the Atari ST.  I did a very nice little Election  
Program that predicted Scottish election results on the ST. Ah, those  
were the days...


It wasn't until I found Revolution that I managed to re-capture the  
enthusiasm and enjoyment that I used to get when programming.  I can  
actually write things (well, some things), rather than struggle with  
obscure syntax.


Karen
___
use-revolution mailing list
use-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: Weather Widget

2006-02-27 Thread Thomas McGrath III

Scott,

One esthetic thing: maybe there should be a space between the number  
and the text "mph", "kph".


Tom

Looks great.

Tom

On Feb 27, 2006, at 12:22 PM, Scott Rossi wrote:


Recently, Thomas McGrath III wrote:


Here's an example of a weather widget



One question: If I switch from F to C the temp changes from 22F to
-6C which seems correct but the Wind Speed changes from 8 to 12. Is
that MPH to KPH?


Looking at Yahoo's RSS description, it appears so.

I updated the widget to include units on the wind.

  go url "http://www.tactilemedia.com/download/tmweather.rev";


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.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: report object missing

2006-02-27 Thread Karen


On 27 Feb 2006, at 15:12, Jan Schenkel wrote:


If you're looking to print reports from your Rev-based
solutions, you might be interested in Quartam
Reports for Revolution: 


I've been very impressed with Quartam Reports (although there are a  
few teething problems, so I await version 1.1 with interest).  It  
certainly makes it a lot easier to print things with Revolution than  
trying to set things up by yourself!


Karen
___
use-revolution mailing list
use-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: Weather Widget

2006-02-27 Thread Karen


On 27 Feb 2006, at 15:12, Scott Rossi wrote:

Some time back there was a brief discussion about building widget-y  
things
in Rev.  Here's an example of a weather widget, not because it's  
never been

done, but because it can be done. :-)


Very neat indeed Scott!  You always make your applications look so good.

Karen
___
use-revolution mailing list
use-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: Weather Widget

2006-02-27 Thread Scott Rossi
Recently, Thomas McGrath III wrote:

>> Here's an example of a weather widget

> One question: If I switch from F to C the temp changes from 22F to
> -6C which seems correct but the Wind Speed changes from 8 to 12. Is
> that MPH to KPH?

Looking at Yahoo's RSS description, it appears so.

I updated the widget to include units on the wind.

  go url "http://www.tactilemedia.com/download/tmweather.rev";

Regards,

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

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


A Suggestion Regarding Bugzilla

2006-02-27 Thread Rob Cozens

Morning All,

It occurs to me that, to be the kind of conscientious Revolutionist I 
descried in Re: On the Democratic Operation of Bugzilla, I must 
essentially revisit all items that have my votes, review all 
outstanding items in BZ, reallocate my existing votes, and allocate the 
majority of my "uncast" votes to outstanding issues.


A.  If I attempt to go down that road, the reality is that I will 
probably skip items in categories I don't care about.  For example:


	1. I use SDB for my database needs; so I won't be voting for 
SQL-related issues
	2. I write my own resizeStack handlers; so the Geometry Manger won't 
get my votes.


B. Viewing each bug report and enhancement request as a discrete issue 
runs counter to real-world software maintenance procedures.  Generally, 
bugs and enhancements are not addressed discretely in FIFO or some 
other ordinal method, rather they are grouped into logical working 
units.  In other words, one does not work on one particular issue in 
the Geometry Manager, then a revDB issue, then another Geometry Manager 
issue; but rather one groups all issues related to a particular 
component, evaluates the time required to address each issue in 
relation to the severity of the bug or importance of the enhancement, 
determines which of the issues will be addressed in the next update, 
and then addresses issues component-by-component.


Granted it would be more work for RRLtd, and BZ may not support it; but 
might people be encouraged to vote if they were given _groups_ of 
related issues as RRLtd would propose to address them to vote on en 
masse instead of giving thumbs or down to every single item?


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

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


Re: Rev 2.7 Editor & stability problems

2006-02-27 Thread Dave Beck

Gordon,

When you are getting these crashes, are you editing a stack that was
converted from 2.6.1? Does this happen on multiple stacks or just one?

>From the info on this bug so far, it seems as though it is sensitive to
particular stacks, as opposed to configurations. That is my personal
experience so far with this problem as well.

Dave

> Like other users on this list, I also see serious stability problems with
> Rev 2.7 under WinXP. I have experienced several crashes while editing and
> testing scripts, none of which seem to have any consistent pattern. I will
> try and figure out what I was doing when the crashes occurred so that I 
> can provide more information to the list.

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

2006-02-27 Thread Geoff Canyon

It's up:

http://www.inspiredlogic.com/hoot/HOOT.html

On Feb 26, 2006, at 11:55 AM, Dan Shafer wrote:


I'll watch for it.

On 2/26/06, Geoff Canyon <[EMAIL PROTECTED]> wrote:


Right now it supports classes but no inheritance. I should have that
complete in a few minutes, at which point I'll upload version .1


___
use-revolution mailing list
use-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: Transcript and Dot Notation - the really "embarrassing" concepts IMHO

2006-02-27 Thread Rob Cozens

Dear Dan,


In the future, I'll keep my strong opinions to myself.


Please sleep on that thought another night.

Even the best and the brightest and can have a bad day, or find the 
path that seems logical viewed differently by others.


If we all agree on everything all the time, what a dull, homogenous, 
narrow-scoped group we have become.


But I would pass along to all a thought a wise person once proposed:

"Never suspect malice if ignorance is a possibility."   :{`)

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
use-revolution mailing list
use-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: Transcript and Dot Notation

2006-02-27 Thread Rob Cozens

Hi John:


I am not sure how Revolution ISN't already OO?


I used to feel the same way about HyperTalk: give me an OO concept, and 
I'll script something that emulates it.


The difference is, in a true OO language, those concepts are built into 
the platform when you open the box.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Mikey
It's just wrong how easy it is to be an xtalk h4x0r




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


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Geoff Canyon
I've updated the HOOT web site to clarify the instructions. I should  
point out that HOOT is extremely simple to use: to set up HOOT you  
need to do six things:


1. Edit HOOT's stack script to include the messages you want your  
classes to handle.

2. Create and name the groups representing your classes.
3. Set a custom property on each group listing what messages it will  
handle.

4. Edit the group's script to handle those messages.
5. Check the installed checkbox to start using HOOT.
6. Set a custom property on the objects you want to belong to the  
classes you have set up.


http://www.inspiredlogic.com/hoot/HOOT.html

regards,

Geoff
___
use-revolution mailing list
use-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: report object missing

2006-02-27 Thread Jan Schenkel
--- Kresten Bjerg <[EMAIL PROTECTED]> wrote:
> Hi
> To create a report layout card one is supposed to go
> to objects menu,
>  new control, report object, - --- but I find no
> trace of "report object" or "report viewer" 
> . what is the secret.
> Should it just be  an ordinary fieldbut if its
> reference shall be to a whole card,
>  this doesnt seem plausible --- what am I missing?
> Kresten
> 

Hi Kresten,

The report system that shipped with Revolution 2.0 has
been deprecated, but a number of references remain in
the documentation.



If you're looking to print reports from your Rev-based
solutions, you might be interested in Quartam
Reports for Revolution: 

Quartam Reports brings the advantages of traditional
report building tools to the cross-platform world of
Revolution. It is the only tool to let you print
reports and labels while offering on-screen preview,
data grouping, aggregate functions, and much more,
through a cross-platform library with a simple API as
well as an advanced callback architecture.



Give it a whirl and see if it is the solution to your
needs. If you buy version 1.0, you get a free upgrade
to version 1.1, which is shaping up to be a solid
expansion of the feature set.

Best regards,

Jan Schenkel.

Quartam Reports for Revolution


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

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and Dot Notation

2006-02-27 Thread Stephen Barncard
Integer Basic rocked. It was faster than FP. And with the 'Sweet 
Sixteen' 6502 functions by Woz were really useful. I built a lot of 
crazy gear for the movie industry with this stuff.


sqb


I need to stop going to bed.  The best posts are while I'm sleeping.

Hey, John, stop hating on Apple FP BASIC!  Its predecessor, Integer
Basic, was used from when EPCOT Center in Disney World opened until
almost ten years later to control the spotlights during Laserphonic
Fantasy.


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Transcript and Dot Notation

2006-02-27 Thread Jim Ault
On 2/27/06 6:53 AM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:

> 01010011 0110 01110010 01110100 01101001 01101110 01100111
> 0010 01110100 01101000 01110010 0110 01110101 01100111
> 01101000 0010 01101100 01101001 01101110 01100101 01110011
> 0010 0110 01100110 0010 01100010 01101001 01101110
> 0111 01110010 0001 0010 01101001 01110011 0010
> 01110011 01100101 0000 0001 0010 01100010 01110101
> 01110100 0010 01101110 0110 01110100 0010 01110110
> 01100101 01110010 0001 0010 0111 01110010 0110
> 01100100 01110101 01100011 01110100 01101001 01110110 01100101 00101110
> 

I agree with all but your second point about formatting.

Jim Ault
Las Vegas

> On Feb 27, 2006, at 2:54 AM, Scott Kane wrote:
> 
>>> in octal on the face of the ``computer'' to initialise the ``boot-
>>> loader'' so that the machine could get started.
>> 
>> Sometimes I miss converting hex and oct into decimal.
>> I started my professional career (as opposed to my teenage
>> programming) programming Data Checker DTS cash registers.
>> The "zero report" and comparing it to other master machines
>> for the location of corruption (a common event in memory at
>> that time) was so eloquent.  
>>


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

2006-02-27 Thread Thomas McGrath III

Scott,

Nice widget!

One question: If I switch from F to C the temp changes from 22F to  
-6C which seems correct but the Wind Speed changes from 8 to 12. Is  
that MPH to KPH?


Pretty cool none the same,

Tom

On Feb 27, 2006, at 5:03 AM, Scott Rossi wrote:


Execute the following your message box:

  go url "http://www.tactilemedia.com/download/tmweather.rev";

Using Yahoo Weather RSS, the stack features a translucent window with
Web-supplied image whose display updates every 30 seconds to show  
current
temperature (F or C), weather conditions, and wind data for the  
designated

location.  Accepts US Zip codes or location IDs (see
http://weather.yahoo.com/ to find non-US location IDs).


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.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: Transcript and Dot Notation

2006-02-27 Thread Thomas McGrath III
01010011 0110 01110010 01110100 01101001 01101110 01100111  
0010 01110100 01101000 01110010 0110 01110101 01100111  
01101000 0010 01101100 01101001 01101110 01100101 01110011  
0010 0110 01100110 0010 01100010 01101001 01101110  
0111 01110010 0001 0010 01101001 01110011 0010  
01110011 01100101 0000 0001 0010 01100010 01110101  
01110100 0010 01101110 0110 01110100 0010 01110110  
01100101 01110010 0001 0010 0111 01110010 0110  
01100100 01110101 01100011 01110100 01101001 01110110 01100101 00101110


On Feb 27, 2006, at 2:54 AM, Scott Kane wrote:


in octal on the face of the ``computer'' to initialise the ``boot-
loader'' so that the machine could get started.


Sometimes I miss converting hex and oct into decimal.
I started my professional career (as opposed to my teenage
programming) programming Data Checker DTS cash registers.
The "zero report" and comparing it to other master machines
for the location of corruption (a common event in memory at
that time) was so eloquent.  

Scott


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

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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.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: Transcript and Dot Notation

2006-02-27 Thread Alex Tweedly

John Vokey wrote:


All,
I'd rather stick pins in my eyes.  Seriously:  what is gained here  
that can't be accomplished with either a) copy and paste (my  
favourite) or b) object duplication (my next favourite)?


Quote: "If I could change one thing to improve the quality of our code, 
it would be to disable the Copy/Paste button in the editor."


Now that may be an extreme position (and I can't remember where it comes 
from either :-), but I think it has a lot of merit. There's not a lot of 
perfect code in the world (*), so every time you duplicate code, you're 
actually duplicating some bugs - so when you eventually find them, 
you'll need to track down all the duplicates too.


That's why creation and use of functions, handlers and libraries is one 
of the best *long-term* productivity boosters. It can make the initial 
step take longer - to abstract out the correct functionality and put it 
into a library - but in the long run it can save you.


OO simply takes that one step further, allowing you to apply the "share 
commonality" principle more widely.



(*) even if you do have "bug-free" code, the world around you can change 
in a way that requires changes in your code - and duplicates can be a 
problem.


btw - "you" in the above paragraphs really means "me". I'm making no 
assertions about anyone else's code; I know that my code always has 
bugs, and that copy/paste has caused me a lot of heartache over the years.



--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 24/02/2006

___
use-revolution mailing list
use-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: Transcript and Dot Notation

2006-02-27 Thread Mikey
I need to stop going to bed.  The best posts are while I'm sleeping.

Hey, John, stop hating on Apple FP BASIC!  Its predecessor, Integer
Basic, was used from when EPCOT Center in Disney World opened until
almost ten years later to control the spotlights during Laserphonic
Fantasy.

Oh, and while the PDP-8's assembly language (it was the same name as
some other language - APL?  CPM?) was great (and had as many commands
as many high-level languages), it hardly compared to the VAX version,
with all of its addressing modes.
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


report object missing

2006-02-27 Thread Kresten Bjerg
Hi
To create a report layout card one is supposed to go to objects menu,
 new control, report object, - --- but I find no trace of "report object" or 
"report viewer" 
. what is the secret.
Should it just be  an ordinary fieldbut if its reference shall be to a 
whole card,
 this doesnt seem plausible --- what am I missing?
Kresten
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Dick Kriesel
On 2/27/06 4:00 AM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote:

> HOOT takes advantage of the container based inheritance that
> Revolution provides, by representing your class hierarchy as a set of
> nested groups on a card. Each group is named for the class it
> represents. Groups are nested to make the enclosed group a subclass
> of the group that contains it.

Yeah, that's the idea!  Thanks, Geoff.  I'll try it out...

-- Dick


On 2/26/06 12:35 PM, "Dick Kriesel" <[EMAIL PROTECTED]> wrote:

> Another approach distinguishes between Rev objects and domain objects, and
> creates a Rev group for each domain object, with the new group's owner being
> the domain object's class.  A domain class has a Rev group whose owner is
> the superclass.  Then single inheritance, with inherited scripts, is nearly
> free when one sends a message to any domain object's group.
> 
> A new stack, according to "Get Info" on OS X, takes 4KB on disk.  Adding
> 1000 groups makes the stack take 84KB.  That's 80 bytes per domain object.
> On my 2GHz PowerMac, that takes 8 milliseconds per domain object.
> 
> Simple, cheap, and effective, right?


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


preOpenStack ignored when opening Rev by doubleClicking a stack file

2006-02-27 Thread André . Bisseret

Hi !,
This is not actually a major problem, but I just would like understand :
In the script of one stack, on  "preOpenStack"  I have a handler that 
set the stack at the locScreen and hide fields that could have remain 
when the stack was closed.
- If Rev is already open, when doubleClick on the stack file in the 
defaultFolder, my handler works well,
- It works well also, if I open the stack by mean of the "open Stack…" 
item in the File menu
- but, if Rev is not already open, if I doubleClick on the stack file 
in the defaultFolder, then my handler does not work : it seems as if 
the "preOpenStack" message was not sent :-(

Of course, with StackRunner it is running well.
(Mac G4, OS Xn 10.2.8)
Any explanation would be welcomed.

Bests regards from Grenoble
André


___
use-revolution mailing list
use-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] HOOT: Hacked Object Oriented Transcript

2006-02-27 Thread Geoff Canyon

http://www.inspiredlogic.com/hoot/HOOT.html
Download: http://www.inspiredlogic.com/hoot/How%20It%20Works_files/ 
hoot.zip


Note this is a 0.1 release. In other words, it's a thought  
experiment. Feel free to try it out and make comments or suggestions.


regards,

Geoff

From the rushed-together web page:

HOOT is a quick implementation of many of the features a true Object- 
Oriented implementation would provide, using less than 50 lines of  
Transcript. (I’m embarrassed at  how simple it was to get this far.)


Revolution already provides:
•Encapsulation (understand that I am using these terms loosely. if  
you think too loosely to make sense, let me know)

•Inheritance -- container based rather than class based
•Polymorphism

HOOT provides:
•Classes for objects
•Inheritance -- class-based, single inheritance, to any depth
•Class variables

HOOT To-Dos:
•Handle functions in classes
•Improve management of classes



How it works:

HOOT takes advantage of the container based inheritance that  
Revolution provides, by representing your class hierarchy as a set of  
nested groups on a card. Each group is named for the class it  
represents. Groups are nested to make the enclosed group a subclass  
of the group that contains it. Other properties of the groups: color,  
size, position -- are irrelevant.


To start the library, mark the checkbox “Installed.” To disable,  
click the checkbox to uncheck it.


Each group must have a custom property called uCustomHandlers that  
contains a comma-based list of the handler messages the group will  
define.


Each group’s script should contain the handlers it needs to do its  
job. Note that native messages should be prefixed with an “x”:  
“xMouseUp,xMouseDown,” etc.


Each group’s handlers should follow this format:

on xMouseUp pID
  delete char -1 of pID
  -- do the work here
end xMouseUp___
use-revolution mailing list
use-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: Transcript and Dot Notation

2006-02-27 Thread Robert Brenstein
Well, certainly Revolution is OO-like, but it's hard for me coming 
from a strong OOD/OOP background to see it as a legitimate OO 
offering. The number one rule of encapsulation seems "broken" most 
of the time in xtalk-like languages. When I have multiple buttons on 
a card that have the same behavior, instead of each button being an 
instance of a single behavior template, the behavior is often 
divorced from the very object(s) it is meant to work with, in favor 
of residing at a "higher" level in the message hierarchy. Not only 
does this lead to "where is that piece of code?", but object 
reusability suffers, and measurably hurting code maintainability as 
well. At best I can have libraries of stand-alone code segments, not 
behavior and data wedded in structure. Further, the "objects" in 
Revolution often suffer from being tightly coupled, usually the sign 
of bad OOD, but in this case it is also a side effect of the reduced 
set of actual objects (fields, buttons, cards, etc.) that are 
available. However, I'm always surprised by what I can pull off with 
this product; a credit to it's ability to use it's own structures in 
non-traditional means! :)




Well, I kept out of this discussion so far, but this post stroke a chord.

May be instead of discussing dot notation virtues versus purity of 
Transcript, the thing to discuss first should be what true OO would 
bring to Revolution. In other words, what is missing in Rev from OO 
paradigm that would truly benefit MAJORITY of Rev users? Do we really 
need full OO stuff? May be the current pseudo-OO with some new parent 
type object and some construct parallel to get/setprop for functions 
can suffice.


Having OO stuff just for the sake of having (that is marketing) is 
pointless in my mind since IMHO Rev will never (at least not soon) 
compete directly against C++/Obj-C and others in enterprise or 
commercial development. Among its winning aspects are RAD features 
and ease of cross-platform deployment, but IMHO it is not 
particularly suitable for development done by larger teams, so some 
of advertised OO advantages are sort of moot.


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: Print from TL to BR - doesn't

2006-02-27 Thread Terry Judd

From: "J. Landman Gay" <[EMAIL PROTECTED]>
Date: 27 February 2006 3:25:08 PM GMT+11:00
To: How to use Revolution 
Subject: Re: Print from TL to BR - doesn't
Reply-To: [EMAIL PROTECTED], How to use Revolution 




Terry Judd wrote:
Has anyone got the print command using the form 'from [topleft] to 
[bottomright]' to work properly? I haven't tested this on Windows but 
on a Mac (OS 10.3, Rev 2.6 and 2.7) 'offscreen' elements aren't 
printed even though (according to the documentation) they should be.


Seems to work here okay. I'm also on OS 10.3.9; tested in Rev 2.7. 
Here's what I did, just to make sure we are talking about the same 
thing:


Created a stack 265 wide and 271 high. Put a button at the bottom, an 
image in the middle, and a field at the top.


Manually resized the stack so that only part of the top field and half 
the image were visible. The remaining half of the image and the entire 
bottom button were outside the bounds of the stack window.


Issued these commands:

open printing with dialog
print this card from 0,0 to 265,271
close printing

The resulting printout showed the entire originally-sized stack with 
all the "hidden" objects in place.


Is that what you mean?


Thanks - yep, that's what I mean but not what I get. Usually the 
topLeft coordinate prints correctly but elements to the right and 
bottom get missed (sometimes irrespective of whether they are offscreen 
or not). Calculating the 'relative' screen size and changing the 
printScale property to an appropriate value doesn't seem to help 
either. The best I've been able to manage is to print from 0,0 to the 
bottomRight object and adjust the printScale accordingly - at least all 
the objects are rendered this way. I think I've explored and exhausted 
all options at this end so it'll have to do.


Cheers,

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


Weather Widget

2006-02-27 Thread Scott Rossi
Some time back there was a brief discussion about building widget-y things
in Rev.  Here's an example of a weather widget, not because it's never been
done, but because it can be done. :-)

Execute the following your message box:

  go url "http://www.tactilemedia.com/download/tmweather.rev";

Using Yahoo Weather RSS, the stack features a translucent window with
Web-supplied image whose display updates every 30 seconds to show current
temperature (F or C), weather conditions, and wind data for the designated
location.  Accepts US Zip codes or location IDs (see
http://weather.yahoo.com/ to find non-US location IDs).

Just something I've been meaning to try for a while.  New users may find
this useful.

Regards,

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

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


RE: openStack Initialization Issues

2006-02-27 Thread Scott Kane
Richard,

> But in the last seven years I haven't written an app in which the 
> mainStack has more than one card;

That's interesting as that ability is one of the most
useful properties I've found in Rev.  It's something
RealBasic flounders on.  It has an object you can drop
on a Window that becomes the foundation for "pages".
The let down with RB is that the objects on the page
corrupt terribly (especially with database stuff and
a simple Tabbed Notebook object).  Rev on the other hand
handles it beautifully with it's stack of cards concept.

Scott


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