Re: Better than tables, better than delimited lines?

2005-04-21 Thread Sarah Reichelt
These all make sense to me in what I am doing but I want a visual 
field to do my testing and was wondering if there is a better 
recommended way to handle many calls to a field by line first then 
first three items and then finally by last three to seven items? 
Again, I used to use comma delimited items with CR delimited lines in 
a text document but that was rather cumbersome with a few thousand 
lines. I eventually split it up to be easier to read through and fix 
errant key entries and action items.

The filter command should be able to do what you want very quickly e.g.
filter fld "Data" with myKey1 & comma & myKey2 & comma & myKey3 & comma 
& "*"
will give you only the lines that start with the 3 specified keys.
Then you can loop through a subset of the original data.

While custom properties may be faster, I prefer to do my initial 
development with the data in a visible and easily editable form. Even 
later on, I still find that this is often the best way as retrieving & 
setting the data is rarely the speed limiting step.

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


Re: number of substacks- practical limits

2005-04-21 Thread Eric Chatonet
Hi Kurt,
You can open as much script windows or property palettes as you want... 
Don't you?
To do this there are not thousands of stacks (or substacks) in the IDE.
Think of such an architecture to solve your problem:
Create a template substack (only one!) and clone it on the fly when 
needed :-)
And keep your main stack as a container.
Best regards,

Le 22 avr. 05, à 04:49, Kurt Kaufman a écrit :
Assuming that an individual substack consists of a single card 
containing perhaps 7 or 8 fields, each with <5 KB of text, plus a few 
pop-up menus and buttons, how many substacks can be associated with a 
single mainstack?  Only one substack would be open at any given point, 
but I might have as many as 2000 substacks.
Right now, I have a single data stack with about 800 cards.  Trouble 
is, only one person can access the data at a time.  Would it be 
possible, if the data was divided by substack rather than by card, for 
more than one person to access the different substacks concurrently?

I guess another way of expressing this would be to say that the 
equivalent of a db "record" would be a substack rather than a card.
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

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


Re: HC sort container.

2005-04-21 Thread Stephen Barncard
Because it was added in v2.0 or so...late in the game...
sqb
If HC had a sort command then why were there so many sort externals 
floating around?

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


Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
Richard,
I haven't tried your suggestion yet but it seems to solve the problem.  
Thanks very much for your help!

Varen
On Apr 21, 2005, at 10:47 PM, Richard Gaskin wrote:
Varen Swaab wrote:
Richard
After further research I suppose what I'm asking is whether the  
EditMenus property for a stack can be disabled so a stack doesn't  
resize when it's menu bar is changed from true to false and from  
false to true. So that the EditMenus property has only the effect to  
show the menu bar and not change the Vscroll property of objects.
I'm a bit sleep-deprived today, so forgive me if I seem slow. It seems  
that you want:

- The menubar showing on Windows within the stack
- The menus to appear in the system's menubar on Mac
- The menus will not appear in the stack on Mac
- The stack will not scroll on Mac
Do I have that right?
Ordinarily, here's what happens:
--  <
| File Edit Help |  <- menu grp  |
||   |
||   |-- stack height
|   (content region) |   |
||   |
-- <-
The stack height includes the menubar on non-Mac systems.  In apps  
that conform to the HIG recommendations for Windows the only thing in  
the menugroup region are the menus, so Rev is safe to crop that when  
displaying the stack on Mac OS.

If the stack is not cropped then on Mac OS you'll have the menus  
appearing both in the stack and in the system's menu bar; I'm fairly  
confident that's not what you're looking for, correct?

I'm guessing that the missing piece in the description here is that  
you have non-menu elements in the menu bar region -- is that correct?

If it is you can override the normal HIG-compliant behavior by simply  
hiding the menugroup on Mac OS, and setting the editMenus property to  
true:

 on preOpenStack
   if the platform is "MacOS" then
 hide grp "myMenuGroup"
 set the editMenus of this stack to true
   end if
 end preOpenStack
Chipp had a similar situation and reported this worked just fine:


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


Re: General approach question

2005-04-21 Thread Richard Gaskin
J. Landman Gay wrote:
On 4/21/05 6:38 PM, Richard Gaskin wrote:
Cards may seem more "natural" to someone coming from HyperCard because 
with HC you had no choice:  it had neither arrays nor custom 
properties to store them in, and the built-in sort command only worked 
on cards; you had to use an external for anything else.
Aw, it isn't *that* bad. You can sort containers in HC; as a matter of 
fact, Rev's "sort" command is taken verbatim from HyperCard. "Sort lines 
of..." "sort words of..." etc. Compatibility and all.
My bad.  I must have been living in the past -- remember, I moved to 
SuperCard the day it was release in May '89.

If HC had a sort command then why were there so many sort externals 
floating around?

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


Re: General approach question

2005-04-21 Thread J. Landman Gay
On 4/21/05 6:38 PM, Richard Gaskin wrote:
Cards may seem more "natural" to someone coming from HyperCard because 
with HC you had no choice:  it had neither arrays nor custom properties 
to store them in, and the built-in sort command only worked on cards; 
you had to use an external for anything else.
Aw, it isn't *that* bad. You can sort containers in HC; as a matter of 
fact, Rev's "sort" command is taken verbatim from HyperCard. "Sort lines 
of..." "sort words of..." etc. Compatibility and all.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Image Library question

2005-04-21 Thread xbury . cs
Hi Varen

I think the issue is this...

http://support.runrev.com/bugdatabase/show_bug.cgi?id=2449

Not the first or last time. You'll find some solutions and answers to your 

questions there I hope...

Im writing a library to avoid the issue altogeter and have both images and
any references reassigned to unique ids but library images are always a
big job...

cheers
Xavier

On 22.04.2005 07:47:05 use-revolution-bounces wrote:
>Hi everyone,
>
>I'm working on an application which has about 25 .png files imported
>via the image library. We recently discovered an aesthetic  problem
>with the images which required me to import new images into the stack's
>library.
>
>When I imported the new images I noticed some wrong images being used
>in the various button states even though I'm sure the images were being
>called correctly. I have several button states I'm working with,
>mouseEnter, mouseClick, etc.  In a seemingly random pattern some button
>images have been replaced by very old images I'd imported into, and
>deleted from the application weeks ago.
>
>In other cases, the thumbnail in the Image Library was of a totally
>different image than the actual imported image, but when viewed in the
>stack the image was correct.
>
>For example, when I mouse over a button an image appears that I deleted
>from the application in February. I haven't seen or used this image in
>a long time but BANG there it is!!  fI know the image number is being
>called is correctly and the image appears correctly in the stack, but
>not in the button.
>
>Has anyone ever seen this problem before? It seems that there is an
>image cache that isn't properly cleared when images are deleted, or
>something else is going on.
>
>BTW, I even created a new substack, imported the new images, and the
>same problem happens.
>
>Any help or ideas are appreciated.
>
>Varen
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Image Library question

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote:
I'm working on an application which has about 25 .png files imported via 
the image library. We recently discovered an aesthetic  problem with the 
images which required me to import new images into the stack's library.

When I imported the new images I noticed some wrong images being used in 
the various button states even though I'm sure the images were being 
called correctly. I have several button states I'm working with, 
mouseEnter, mouseClick, etc.  In a seemingly random pattern some button 
images have been replaced by very old images I'd imported into, and 
deleted from the application weeks ago.
Sounds like an ID conflict.  If you set the ID property of imported 
images to an arbitrarily high number (anywhere in the range between 
1 and 20 should be fine) the problem should go away.

I beleieve there's a discussion of reserved ID ranges in the docs 
somewhere, but IIRC all of them are well below 1.

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


Re: Menu Bar Blues

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote:
Richard
After further research I suppose what I'm asking is whether the 
EditMenus property for a stack can be disabled so a stack doesn't resize 
when it's menu bar is changed from true to false and from false to true. 
So that the EditMenus property has only the effect to show the menu bar 
and not change the Vscroll property of objects.
I'm a bit sleep-deprived today, so forgive me if I seem slow. It seems 
that you want:

- The menubar showing on Windows within the stack
- The menus to appear in the system's menubar on Mac
- The menus will not appear in the stack on Mac
- The stack will not scroll on Mac
Do I have that right?
Ordinarily, here's what happens:
--  <
| File Edit Help |  <- menu grp  |
||   |
||   |-- stack height
|   (content region) |   |
||   |
-- <-
The stack height includes the menubar on non-Mac systems.  In apps that 
conform to the HIG recommendations for Windows the only thing in the 
menugroup region are the menus, so Rev is safe to crop that when 
displaying the stack on Mac OS.

If the stack is not cropped then on Mac OS you'll have the menus 
appearing both in the stack and in the system's menu bar; I'm fairly 
confident that's not what you're looking for, correct?

I'm guessing that the missing piece in the description here is that you 
have non-menu elements in the menu bar region -- is that correct?

If it is you can override the normal HIG-compliant behavior by simply 
hiding the menugroup on Mac OS, and setting the editMenus property to true:

 on preOpenStack
   if the platform is "MacOS" then
 hide grp "myMenuGroup"
 set the editMenus of this stack to true
   end if
 end preOpenStack
Chipp had a similar situation and reported this worked just fine:

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


Image Library question

2005-04-21 Thread Varen Swaab
Hi everyone,
I'm working on an application which has about 25 .png files imported 
via the image library. We recently discovered an aesthetic  problem 
with the images which required me to import new images into the stack's 
library.

When I imported the new images I noticed some wrong images being used 
in the various button states even though I'm sure the images were being 
called correctly. I have several button states I'm working with, 
mouseEnter, mouseClick, etc.  In a seemingly random pattern some button 
images have been replaced by very old images I'd imported into, and 
deleted from the application weeks ago.

In other cases, the thumbnail in the Image Library was of a totally 
different image than the actual imported image, but when viewed in the 
stack the image was correct.

For example, when I mouse over a button an image appears that I deleted 
from the application in February. I haven't seen or used this image in 
a long time but BANG there it is!!  fI know the image number is being 
called is correctly and the image appears correctly in the stack, but  
not in the button.

Has anyone ever seen this problem before? It seems that there is an 
image cache that isn't properly cleared when images are deleted, or 
something else is going on.

BTW, I even created a new substack, imported the new images, and the 
same problem happens.

Any help or ideas are appreciated.
Varen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: arrowKey modifier?

2005-04-21 Thread Erik Hansen

--- Ken Ray <[EMAIL PROTECTED]> wrote:

> If I'm reading you correctly, you just trap the
> message, get the direction
> of the arrowkey and process accordingly. 

> on arrowKey pDir
>   if the shiftKey is down then put 10 into
tIncr
>   else put 1 into tIncr
>   put the selectedObject into tObj
>   if tObj <> "" then
> switch pDir
> case "left"
>   set the left of tObj to (the left of tObj
> - tIncr)
>   break
> case "right"
>   set the left of tObj to (the left of tObj
> + tIncr)
>   break
> case "up"
>   set the top of tObj to (the top of tObj -
> tIncr)
>   break
> case "down"
>   set the top of tObj to (the top of tObj +
> tIncr)
>   break
> end switch
>   else
> pass arrowkey
>   end if
> end arrowKey
> 
> Is this what you're looking for?

yes it is, thanks.
it just wasn't working with the shiftKey before.
wouldn't go to the arrowkey handler, now OK.

my solution uses the loc, but i like your 
lefts, tops approach better, the move commnd
takes
a x,y input so i just go with the loc for now
for consistancy.

incidently, this is a nice intro to the case,
break
control structure! 

Erik Hansen

[EMAIL PROTECTED]http://www.erikhansen.org

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


Re: Simple Scoping Question

2005-04-21 Thread Erik Hansen

--- Scott Rossi <[EMAIL PROTECTED]> wrote:
> Recently, Erik Hansen  wrote:
> 
> >> ... to initialize stuff, placing the init
> >> scripts in the first card of
> >> your main stack causes the scripts to
> >> run only when the main stack is
> >> opened (preOpenStack, openStack, openCard,
> >> etc).
> >
> > and if any of your mainstack cards
> > may be deleted?
> 
> First I would question if this is really need
> to build your stack this way.
> But in any event, you could prohibit deletion
> of the first card.  Or
> consider relegating your deletable cards to a
> substack.  Or place your init
> scripts in the mainstack and manage by window
> name accordingly.  Or you can
> go through all substacks and place blocking
> handlers in each (open
> preOpenStack, end preOpenstack, etc).
> 
> Lots of options...

thanks,
maybe that "splash" stack could 
do the init job, then beat it.

Erik Hansen

[EMAIL PROTECTED]http://www.erikhansen.org



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


Re: Initial Caps in Table Fields

2005-04-21 Thread Thomas McGrath III
Actually it is only the upper most top left table field that wants to 
capitalize the first letter. The ones below it will stay lower case if 
I typed it that way.

This is weird to me?
Tom
On Apr 21, 2005, at 11:17 PM, Thomas McGrath III wrote:
Hey, does anyone know WHY 'table fields' keep initial capitalizing 
each word when I tab out of that field?

Is there a way to turn this off? I need exact names in the table.
TOm
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Macintosh PowerBook G-4 OSX 10.3.8, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 
2.5

Advanced Media Group
Thomas J McGrath III
[EMAIL PROTECTED]

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


Better than tables, better than delimited lines?

2005-04-21 Thread Thomas McGrath III
Hello all,
I am playing with tables for  a database driven interface.
I used to use comma delimited items with CR delimited lines in a text 
document. Is there a better way to do this, I am trying with a table 
field.
The interface needs three criteria (Key columns one two and three) and 
then anywhere from three to seven actions chosen based on outside 
criteria.

My db looks like this:
key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5
key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5 , 
action6 , action7
key1 , key2 , key3 , action1 , action2 , action3 , action4
key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5
key1 , key2 , key3 , action1 , action2 , action3
key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5, 
action6
key1 , key2 , key3 , action1 , action2 , action3 , action4 , action5
etc...
(May be up to 6,000 lines more at most)

My outside criteria would be like this:
If the checked of preference one is 4 then go through each line until 
key1 & key2 & key3 match these three keys and do action number 4 of 
that line
(where key1 is pressed first and key2 is pressed next and key three is 
pressed last. once that is done the system will check the preference 
item and pick the action item of that sequence of keys and act upon 
it.)
-or-
if there are only three action items then do number three if this 
criteria X has been met.
-or-
if there are more than three action items then do numbers 4 to end (5, 
6 or 7) singularly back to back.

These all make sense to me in what I am doing but I want a visual field 
to do my testing and was wondering if there is a better recommended way 
to handle many calls to a field by line first then first three items 
and then finally by last three to seven items? Again, I used to use 
comma delimited items with CR delimited lines in a text document but 
that was rather cumbersome with a few thousand lines. I eventually 
split it up to be easier to read through and fix errant key entries and 
action items.

Thanks in advance,
Tom

Thomas J McGrath III
[EMAIL PROTECTED]
412-831-3094
220 Drake Road
Bethel Park, PA 15102
<*)) >=<
"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!"
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Initial Caps in Table Fields

2005-04-21 Thread Thomas McGrath III
Hey, does anyone know WHY 'table fields' keep initial capitalizing each 
word when I tab out of that field?

Is there a way to turn this off? I need exact names in the table.
TOm
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
Richard
After further research I suppose what I'm asking is whether the 
EditMenus property for a stack can be disabled so a stack doesn't 
resize when it's menu bar is changed from true to false and from false 
to true. So that the EditMenus property has only the effect to show the 
menu bar and not change the Vscroll property of objects.

Thanks
Varen
On Apr 21, 2005, at 5:57 PM, Richard Gaskin wrote:
Varen Swaab wrote:
To make a Mac app look like a Windows app just clear the menuGroup 
property of the stack (uncheck the checkbox you set labeled "Set as 
Menu Bat on Mac OS").
Richard,
If I uncheck this checkbox then the menu will stay in the stack 
window in Mac OS and not move to the top of the screen.
I'm trying to figure out how to move the stack and to the top of the 
screen in Mac OS but resize the window when it does.
I don't understand:  if you don't crop the stack then the menu bar 
will be showing in the window.  Is that what you want, the menus in 
two places?

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


Re: Simple Scoping Question

2005-04-21 Thread Scott Rossi
Recently, Scott Rossi  wrote:

> Or you can go through all substacks and place blocking handlers in each (open
> preOpenStack, end preOpenstack, etc).

Actually the following is a little more clear:

 on preOpenStack
 end preOpenStack

 on openStack
 end openStack

Etc.

These are placed in your substacks if you store your init scripts in your
mainstack.

Regards,

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

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


Re: Simple Scoping Question

2005-04-21 Thread Scott Rossi
Recently, Erik Hansen  wrote:

>> ... to initialize stuff, placing the init
>> scripts in the first card of
>> your main stack causes the scripts to
>> run only when the main stack is
>> opened (preOpenStack, openStack, openCard,
>> etc).
> 
> and if any of your mainstack cards
> may be deleted?

First I would question if this is really need to build your stack this way.
But in any event, you could prohibit deletion of the first card.  Or
consider relegating your deletable cards to a substack.  Or place your init
scripts in the mainstack and manage by window name accordingly.  Or you can
go through all substacks and place blocking handlers in each (open
preOpenStack, end preOpenstack, etc).

Lots of options...

Regards,

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

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


number of substacks- practical limits

2005-04-21 Thread Kurt Kaufman
Assuming that an individual substack consists of a single card 
containing perhaps 7 or 8 fields, each with <5 KB of text, plus a few 
pop-up menus and buttons, how many substacks can be associated with a 
single mainstack?  Only one substack would be open at any given point, 
but I might have as many as 2000 substacks.
Right now, I have a single data stack with about 800 cards.  Trouble 
is, only one person can access the data at a time.  Would it be 
possible, if the data was divided by substack rather than by card, for 
more than one person to access the different substacks concurrently?

I guess another way of expressing this would be to say that the 
equivalent of a db "record" would be a substack rather than a card.

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


Re: line number in a for each repeat

2005-04-21 Thread Sarah Reichelt
On 22 Apr 2005, at 8:35 AM, Thomas McGrath III wrote:
Thanks, I did not know that the lineoffset would slow it down. In my 
case i only have between 3 to 18 items to work with so speed should 
not be affected. i will revisit my code and look at a counter method.

If you have a long list, it is faster to use repeat for each with a 
separate loop counter. If you know that the list will never be long, it 
is probably more efficient to use a standard counted loop e.g. repeat 
with x = 1 to 18

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


Re: Simple Scoping Question

2005-04-21 Thread Erik Hansen

--- Scott Rossi <[EMAIL PROTECTED]> wrote:


> ... to initialize stuff, placing the init
> scripts in the first card of
> your main stack causes the scripts to
> run only when the main stack is
> opened (preOpenStack, openStack, openCard,
> etc).

and if any of your mainstack cards
may be deleted?

Erik Hansen

[EMAIL PROTECTED]http://www.erikhansen.org

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


Re: Menu Bar Blues

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote:

To make a Mac app look like a Windows app just clear the menuGroup 
property of the stack (uncheck the checkbox you set labeled "Set as 
Menu Bat on Mac OS").

Richard,
If I uncheck this checkbox then the menu will stay in the stack window 
in Mac OS and not move to the top of the screen.

I'm trying to figure out how to move the stack and to the top of the 
screen in Mac OS but resize the window when it does.
I don't understand:  if you don't crop the stack then the menu bar will 
be showing in the window.  Is that what you want, the menus in two places?

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


Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab
Sorry, there was a major typo in my previous post which changed the 
meaning of my question...

I meant to say:
"I'm trying to figure out how to move the stack and to the top of the 
screen in Mac OS but ***NOT*** resize the stack window when it does."


On Apr 21, 2005, at 5:48 PM, Varen Swaab wrote:
Richard,
If I uncheck this checkbox then the menu will stay in the stack window 
in Mac OS and not move to the top of the screen.

I'm trying to figure out how to move the stack and to the top of the 
screen in Mac OS but resize the window when it does.

There must be a way to stop resizing the window.
Thanks
Var
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Menu Bar Blues

2005-04-21 Thread Varen Swaab

To make a Mac app look like a Windows app just clear the menuGroup 
property of the stack (uncheck the checkbox you set labeled "Set as 
Menu Bat on Mac OS").
Richard,
If I uncheck this checkbox then the menu will stay in the stack window 
in Mac OS and not move to the top of the screen.

I'm trying to figure out how to move the stack and to the top of the 
screen in Mac OS but resize the window when it does.

There must be a way to stop resizing the window.
Thanks
Var
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Menu Bar Blues

2005-04-21 Thread Richard Gaskin
Varen Swaab wrote:
I'm making a menu bar for a cross-platform application.
I can place the menu bar and it shows properly, that's good, but when I 
check the option to "Set as Menu Bar on Mac OS" all the images and 
controls on the stack slide up to fill the space where the menu bar was. 
I'd like the menu bar to show in the normal places in each platform 
without the window resizing to adjust for each platform (my design calls 
for this approach).

This happens even if I uncheck the option to slide down objects when the 
menu bar is first created.

How can I have a menu bar on MacOS without all the images and controls 
sliding up?
The default behavior is for any group assigned as the stack's menuGroup 
to have its contents displayed in the Mac menu bar, and the stack is 
cropped and scrolls up to hide it so the appearance is very much what 
you'd expect to see in a typical Mac app.

To make a Mac app look like a Windows app just clear the menuGroup 
property of the stack (uncheck the checkbox you set labeled "Set as Menu 
Bat on Mac OS").

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


Menu Bar Blues

2005-04-21 Thread Varen Swaab
I'm making a menu bar for a cross-platform application.
I can place the menu bar and it shows properly, that's good, but when I 
check the option to "Set as Menu Bar on Mac OS" all the images and 
controls on the stack slide up to fill the space where the menu bar 
was. I'd like the menu bar to show in the normal places in each 
platform without the window resizing to adjust for each platform (my 
design calls for this approach).

This happens even if I uncheck the option to slide down objects when 
the menu bar is first created.

How can I have a menu bar on MacOS without all the images and controls 
sliding up?

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


Re: General approach question

2005-04-21 Thread Richard Gaskin
Mark Smith wrote:
I have an app for keeping track of stock and futures trades. The data is 
effectively a list of days, each day containing a list of open trades, 
one per line, with the details as items in each line. Currently, I have  
this data in an array, with the keys being the date of each day, and 
each element containing that day's open trades. I store the array in a 
custom property set. This all works perfectly well, so I'm not about to 
change it, but I can't help feeling that this is not a particularly 
'natural' way to do it in Rev.
If it's Transcript and it works, IMO it's "natural". :)
Some things are more convenient when stored in fields on cards, but 
arrays and even simple tab-delimited lists have their own conveniences too.

Cards may seem more "natural" to someone coming from HyperCard because 
with HC you had no choice:  it had neither arrays nor custom properties 
to store them in, and the built-in sort command only worked on cards; 
you had to use an external for anything else.

One thing to remember with storing data in fields is the object 
overhead.  Every object has a certain amount of overhead associated with 
it.  It's usually just a few bytes, but it can add up with large numbers 
of fields and/or cards.

I had a similar decision to make recently for an app I'm working on.  As 
a test case I used a tab-delimited list of Congressional contact info -- 
8 fields, with each line under 1k.  As a text file it's 64k, but 
imported into a stack (8 bg fields per card, 530 cards) it's nearly 
double at 122k.

On such a small dataset the size difference was negligible, so I decided 
to do some stress testing:  I used ten copied of the source data, giving 
me 5300 records.  As cards the performance was quite acceptable, but 
saving was slow.

So I decided to see just how slow it would get and I ran a larger data 
set with 100 copies of my source file.  It would have been 53,000 cards, 
but I'll never know:  after several long minutes it still wasn't done so 
I aborted the import.  God only knows what might have happened if I had 
waited and then tried to save. :)

The inventor of the engine, Scott Raney, once recommended to me to use 
stacks with only about 5,000 cards, and if you need more you'll get 
better performance using a database like Valentina for storage and 
retrieval.

But Dr. Raney overlooked the beauty and simplicity of his own custom 
properties.  I've worked on projects with tens of thousands of custom 
properties with narry a blink.

For a small data set like yours you could go either way. But if you're 
enjoying the convenience of transfering an array to properties and back 
in just one line each, there's no need to fix what's working. :)

For some other thoughts on use stack file properties for storage see:

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


Re: Simple Scoping Question

2005-04-21 Thread David Burgun
The problem with the archives is that
a) responses here are very fast (in other words, y'all make it easy),
and the culture is permissive
b) Honestly, the archive search tools are not as easy to use
c) Most of the responses are not so complicated as to discourage the
responders from telling the noobs to RTFA and
d) The lack of manuals means that most of the issues are from noobs,
who don't know about the archives, or aren't used to using them before
asking questions first.
I agree and and not only this, but also for a newbie it isn't always 
obvious what terms to seach for. For instance I had a problem that 
was to do with not knowing how to handle preOpenStack, openStack and 
closeStack. However, the code worked fine until I added a menubar. 
Both are areas that:

1)  Crash or make the IDE unuable.
2)  Are not documented in any detail (that I can find).
3)  Take a lot of time to debug.
Given all this, I spent ages trying to figure out what was wrong with 
the menubar handling, it was only once I starting asking questions 
did I follow the trail and let to the real problem.

Thanks again, I think it would be almost impossible to learn RunRev 
in any realistic time-frame without this list.

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


Re: line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
Thanks, I did not know that the lineoffset would slow it down. In my 
case i only have between 3 to 18 items to work with so speed should not 
be affected. i will revisit my code and look at a counter method.

This started out because I have set a goal for myself to both optimize 
my code using my own functions for common tasks and to also comment the 
heck out of my code. Something I have grown slack in doing lately. The 
last two projects i did were successful and did turn into products but 
I was not completely satisfied with my work. The one project made use 
of a Flash front end that then ran my Rev app after an intro video done 
out of house. The other involved using a commercial software that Rev 
was the front end. It used Portfolio as an image library and used Rev 
as a sign in and guide to using the software.

This project is actually a prototype of software we are developing for 
use in smart phones and PDAs. We design it  quickly for features and 
for viewing on a laptop with a data projector and then we send the 
project with a specifications sheet to our engineers who then have to 
match what we have done in a real phone. I have to be very careful that 
we don't put things in that can't be done in 'real' life on a phone. 
But that is what I'm good at so it's actually a lot of fun. I know that 
rev can handle this and once I get this first one finished I should 
then be able to add 'features' to it with ease. The Director programmer 
always seemed to leave out this ability. I wanted to change one icon 
and it took five days for him to get it back to us. I would have put 
the icons in a folder and allowed us to dump new ones in anytime we 
needed to.

Well, Thanks again
Tom
On Apr 21, 2005, at 5:47 PM, Brian Yennie wrote:

I did end up using the lineoffset and that works for what I am doing, 
but this would have been the way I did it before in SuperCard.
That'll work, but keep in mind it mostly defeats the speed of "for 
each". Incrementing a counter would preserve the speed advantage over 
other structures.

Thomas McGrath III wrote:
PS.. I have decided to take on our Director programmer after reading 
the threads about Adobe buying MM out. Before I felt that he had a 
lot of time invested and although I knew I could do this I didn't 
want to push him out. Now however I figured that it was a good time 
to 'recreate' in REV what he has been doing in MM Director for the 
past two years. I know REV can handle it especially since we are no 
longer posting a live version straight on the web of our software.
I'd be interested to learn how that comes out.  Please keep me posted.
--
 Richard Gaskin
 Fourth World Media Corporation
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Adding text to fields

2005-04-21 Thread Nicolas Cueto
Gordon,
(B
(BHere's how I was taught to do it:
(B
(Bon doScrollCheck
(B  ---MAKE SURE FIELDS ARE SCROLLED TO MAX SO READER CAN VIEW MSG
(B  put the formattedHeight of field "fWhatever" into tHeight
(B  set the scroll of field "fWhatever" to tHeight
(Bend doScrollCheck
(B
(BCheers,
(BNicolas Cueto
(B___
(Buse-revolution mailing list
(Buse-revolution@lists.runrev.com
(Bhttp://lists.runrev.com/mailman/listinfo/use-revolution

Re: Adding text to fields

2005-04-21 Thread Björnke von Gierke
set the vscroll of field "yourfield" to the formattedheight of field 
"yourfield"

On Apr 21 2005, at 23:58, Gordon Webster wrote:
Dear Revvers
This is probably a very simple question, but when I'm
adding text to a scrolled field, how do I make it
autoscroll down so that it's always showing the last
line of added text?
Best
Gordon

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


Adding text to fields

2005-04-21 Thread Gordon Webster
Dear Revvers

This is probably a very simple question, but when I'm
adding text to a scrolled field, how do I make it
autoscroll down so that it's always showing the last
line of added text?

Best

Gordon

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


Re: line number in a for each repeat

2005-04-21 Thread Brian Yennie
Yes that would work. I forgot because I am not used to the (new to me) 
repeat for each and was more concerned if there was a way built into 
the repeat that did it. I was so concerned that I forgot that I could 
role my own.
Yah- many other languages supply a way to fetch the "key" as well as 
the value in these sort of structures, so it was a reasonable 
expectation! I guess since "for each" is sequential, it's easy enough 
to do without...

I did end up using the lineoffset and that works for what I am doing, 
but this would have been the way I did it before in SuperCard.
That'll work, but keep in mind it mostly defeats the speed of "for 
each". Incrementing a counter would preserve the speed advantage over 
other structures.

PS.. I have decided to take on our Director programmer after reading 
the threads about Adobe buying MM out. Before I felt that he had a lot 
of time invested and although I knew I could do this I didn't want to 
push him out. Now however I figured that it was a good time to 
'recreate' in REV what he has been doing in MM Director for the past 
two years. I know REV can handle it especially since we are no longer 
posting a live version straight on the web of our software.
Good luck!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: line number in a for each repeat

2005-04-21 Thread Richard Gaskin
Thomas McGrath III wrote:
PS.. I have decided to take on our Director programmer after reading the 
threads about Adobe buying MM out. Before I felt that he had a lot of 
time invested and although I knew I could do this I didn't want to push 
him out. Now however I figured that it was a good time to 'recreate' in 
REV what he has been doing in MM Director for the past two years. I know 
REV can handle it especially since we are no longer posting a live 
version straight on the web of our software.
I'd be interested to learn how that comes out.  Please keep me posted.
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
Yes that would work. I forgot because I am not used to the (new to me) 
repeat for each and was more concerned if there was a way built into 
the repeat that did it. I was so concerned that I forgot that I could 
role my own.

I did end up using the lineoffset and that works for what I am doing, 
but this would have been the way I did it before in SuperCard.

PS.. I have decided to take on our Director programmer after reading 
the threads about Adobe buying MM out. Before I felt that he had a lot 
of time invested and although I knew I could do this I didn't want to 
push him out. Now however I figured that it was a good time to 
'recreate' in REV what he has been doing in MM Director for the past 
two years. I know REV can handle it especially since we are no longer 
posting a live version straight on the web of our software.

Thanks
tom
On Apr 21, 2005, at 5:00 PM, Brian Yennie wrote:
Thomas,
You can always just add your own counter to the loop:
put 0 into lineNumber
repeat for each line x in theKeys
add 1 to lineNumber
...
end repeat
HTH
- Brian
I'm afraid that gets me "three" and not the line number 3 which is 
what I needed.

I am now trying to use the lineoffset on the global using the short 
name of the target with the global list of images.

Thank you
On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote:
Recently, Thomas McGrath III  wrote:
repeat for each line x in theKeys
 if  x = theKey then -- after the third sweep it comes to x = 
three

   -- this is where I need the actual line number that three is 
in
theKeys global which in this case is 3
put line x into theblend -- doesn't work
--put the line number of x of theKeys into theblend -- doesn't work
 put x into theBlend
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

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

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


Re: line number in a for each repeat

2005-04-21 Thread Brian Yennie
Thomas,
You can always just add your own counter to the loop:
put 0 into lineNumber
repeat for each line x in theKeys
add 1 to lineNumber
...
end repeat
HTH
- Brian
I'm afraid that gets me "three" and not the line number 3 which is 
what I needed.

I am now trying to use the lineoffset on the global using the short 
name of the target with the global list of images.

Thank you
On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote:
Recently, Thomas McGrath III  wrote:
repeat for each line x in theKeys
 if  x = theKey then -- after the third sweep it comes to x = 
three

   -- this is where I need the actual line number that three is 
in
theKeys global which in this case is 3
put line x into theblend -- doesn't work
--put the line number of x of theKeys into theblend -- doesn't work
 put x into theBlend
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

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


R: Re: replaceText in Rev cgi

2005-04-21 Thread carambola
Rev cgi is great also on the windows platform... I fixed all the problems 
and now it works!
Ciao Paolo
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
I'm afraid that gets me "three" and not the line number 3 which is what 
I needed.

I am now trying to use the lineoffset on the global using the short 
name of the target with the global list of images.

Thank you
On Apr 21, 2005, at 4:28 PM, Scott Rossi wrote:
Recently, Thomas McGrath III  wrote:
repeat for each line x in theKeys
 if  x = theKey then -- after the third sweep it comes to x = 
three

   -- this is where I need the actual line number that three is in
theKeys global which in this case is 3
put line x into theblend -- doesn't work
--put the line number of x of theKeys into theblend -- doesn't work
 put x into theBlend
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: line number in a for each repeat

2005-04-21 Thread Scott Rossi
Recently, Thomas McGrath III  wrote:

> repeat for each line x in theKeys
>  if  x = theKey then -- after the third sweep it comes to x = three
> 
>-- this is where I need the actual line number that three is in
> theKeys global which in this case is 3
> put line x into theblend -- doesn't work
> --put the line number of x of theKeys into theblend -- doesn't work

 put x into theBlend

Regards,

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

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


line number in a for each repeat

2005-04-21 Thread Thomas McGrath III
I am confused
can someone help me Thanks
I have a for each repeat statement in my script. The global  "theKeys" 
holds a list of valid images that can be clicked.
If it is a valid key/image then I want to find out what line it is on 
in that global since I have a field that I want to highlight that name 
on that matches the global.

the target is the image short named three
 global theKeys -- (contains image names "one(cr) two(cr) three(cr) 
four(cr)" etc.)

  if the short name of the target is among the lines of theKeys then -- 
(yes, the target key is "three")
put the short name of the target into thekey -- now contains "three"
repeat for each line x in theKeys
  if  x = theKey then -- after the third sweep it comes to x = three

-- this is where I need the actual line number that three is in 
theKeys global which in this case is 3
		put line x into theblend -- doesn't work
		--put the line number of x of theKeys into theblend -- doesn't work

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


Re: New substacks are black

2005-04-21 Thread Varen Swaab
Thanks, you're absolutely correct, the color was inherited from the 
mainstack. I'm not sure I would have figured that out myself even if I 
spent a day on the problem. I'm grateful for this discussion to help 
with problems like this!!

Varen
On Apr 21, 2005, at 1:07 PM, Devin Asay wrote:
On Apr 21, 2005, at 1:29 PM, Varen Swaab wrote:
Hi all,
Here is a problem that is probably something really stupid that I'm 
doing, just can't figure out what.

In my application when I create a new substack the window comes up 
black. There is no color property in the inspector, the window is 
just black. I can change the color of the window by adding a color 
property but it seems it shouldn't open black in the first place.

Probably related, I've noticed that whenever I have a dialog window 
open it also is in black.

Var,
Objects in Revolution inherit properties from their parents objects. 
In the case of substacks (and dialogs are just specialized substacks), 
the parent is the mainstack. Check the backgroundColor prop of the 
mainstack. It's probably been set to black. If it isn't that, then 
somehow the default background color for the engine got set to black, 
it which case I'm out of my depth.

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


Re: New substacks are black

2005-04-21 Thread Devin Asay
On Apr 21, 2005, at 1:29 PM, Varen Swaab wrote:
Hi all,
Here is a problem that is probably something really stupid that I'm 
doing, just can't figure out what.

In my application when I create a new substack the window comes up 
black. There is no color property in the inspector, the window is just 
black. I can change the color of the window by adding a color property 
but it seems it shouldn't open black in the first place.

Probably related, I've noticed that whenever I have a dialog window 
open it also is in black.

Var,
Objects in Revolution inherit properties from their parents objects. In 
the case of substacks (and dialogs are just specialized substacks), the 
parent is the mainstack. Check the backgroundColor prop of the 
mainstack. It's probably been set to black. If it isn't that, then 
somehow the default background color for the engine got set to black, 
it which case I'm out of my depth.

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


Re: New substacks are black

2005-04-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Okay, sounds like the background color of the main stack is black.  
This is inherited by the substacks (and thus the dialog boxes) of that 
stack unless you explicitly specify a background color of the 
substacks.

On Apr 21, 2005, at 3:29 PM, Varen Swaab wrote:
Hi all,
Here is a problem that is probably something really stupid that I'm 
doing, just can't figure out what.

In my application when I create a new substack the window comes up 
black. There is no color property in the inspector, the window is just 
black. I can change the color of the window by adding a color property 
but it seems it shouldn't open black in the first place.

Probably related, I've noticed that whenever I have a dialog window 
open it also is in black.

Any help would be appreciated.
Var
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

iD8DBQFCaAPG7aqtWrR9cZoRAolbAJ9etO8QE42Z5i9doiF9TE6H8zHpGwCeJGw6
xsYQRy9sAaZ7eKkYEPHVack=
=tN75
-END PGP SIGNATURE-

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


New substacks are black

2005-04-21 Thread Varen Swaab
Hi all,
Here is a problem that is probably something really stupid that I'm 
doing, just can't figure out what.

In my application when I create a new substack the window comes up 
black. There is no color property in the inspector, the window is just 
black. I can change the color of the window by adding a color property 
but it seems it shouldn't open black in the first place.

Probably related, I've noticed that whenever I have a dialog window 
open it also is in black.

Any help would be appreciated.
Var
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


closeStackRequest and closeStack problems

2005-04-21 Thread David Burgun
Hi,
I have the following scripts in CARD script of Card 1 - this is to 
avoid problems when doing saves etc. in the IDE.

If I run the Stack, click the dirty button and then click the window 
close box, I get the following events:

closeStackRequest
closeStack
And it saves as Planned - ALWAYS
If I run the Stack, click the dirty button and then click the OK 
button, I ge the following events:

closeStack the FIRST time I run it from an IDE reload.
If I re-open the Stack, click the Dirty button and then the OK button 
I do NOT get the closeStack message! But the Stack closes.

Is this something to do with having the Handlers in the Card Script 
rather than the Stack Script?

Does anyone know how to get around this problem or what I am doing wrong?
Thanks a lot
Dave
open openStack
set the destroyStack of this stack to true
set cpStackSaved of this stack = false
set cpStackDirty of this stack = false
set cpStackSaveStack of this stack = true
end openStack

on closeStack
if cpStackSaved of this stack = false then
   if cpStackDirty of this stack = true then
   save this stack
  set the cpStackSaved of this stack to true
  set the cpStackDirty of this stack to false
end if
end if
end closeStack
on closeStackRequest
if cpStackSaveStack of this stack = false then
  if cpStackDirty of this stack = true then
answer "Save this Stack?" with "No" or "Yes"
if it is "Yes" then
  set the cpStackSaved of this stack to true
  set the cpStackDirty of this stack to false
end if
  end if
end if
pass closeStackRequest
end closeStackRequest
and this script on an OK button
on mouseUp
  close this stack
end mouseUp
and on a "Dirty" Button
  set cpStackDirty of this stack it true
on mouseUp
set the

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


Re: Slider thumbPosition crazy values

2005-04-21 Thread Dennis Brown
Thanks Eric,
Setting the Value Format for the slider let me see that the slider does 
not increase in unit values of the scale marker even though the scroll 
distance on bar click is set to 1.  I guess the units were close 
because of the sizing I applied to the object so that it appeared that 
it was advancing by 1.  In the Variable watcher it said the value of SQ 
was 3, but if SQ=3 statement would evaluate false --I got real 
confused.  Got to watch out for that property with scrollbars.

Dennis
On Apr 21, 2005, at 1:59 PM, Eric Chatonet wrote:
Hi Dennis,
Your problem is with the numberFormat property:
By default, the numberFormat property is set to 0.##.
BUT (see the docs) the numberFormat of newly created scrollbars is set 
to empty.
So you have a scrollbar whose behaviour accords with default 
numberFormat value and another with scrollbars  default numberFormat 
values.
And the current numberformat value is applied when you perform any 
calculation (addition in your case).

Le 21 avr. 05, à 19:17, Dennis Brown a écrit :
I am really baffled debugging what should be a non-problem, but I 
must be missing something basic.  I was trying to debud why my script 
would not work and I worked it down to this symptom.

I made two sliders that go from 1 to 44, increment 1, show value.  
The first one "startQ" works as expected.  The second one "endQ" 
behaves in a strange way.

  put the thumbPosition of scrollbar "startQ" into SQ --starting 
quarter
  put the thumbPosition of scrollbar "endQ" into EQ --ending quarter
  put SQ && EQ -- displays 2 2
  put SQ +0 && EQ +0  -- displays 2 1.9375

every click on the first slider advances the thumbPosition by 1
every click on the second slider advances the thumbPosition by 
0.9375, but displays as an integer.

I made the second slider by copy/paste the first slider.  Then I 
tried deleting that slider and dragging a fresh slider to the card to 
make the second one, but it still acts the same.  I checked every 
inspector basic parameter, and both are identical.

What is going on?
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

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


Re: Slider thumbPosition crazy values

2005-04-21 Thread Mark Talluto
On Apr 21, 2005, at 10:54 AM, Dennis Brown wrote:
Thanks Mark,
I also just "fixed" the problem by putting a script into the sliders 
(slider 1 also started generating crazy values the more I tested it).

on mouseup
  set thumbPosition of me to round( thumbposition of me)
end mouseup
So I can fix it, but it still doesn't explain why I should have to fix 
it.

I just tried:   put round(SQ+0) && round(EQ+0) as well and it worked.  
I thought it might have something to do with the numberFormat property, 
but found that the slider still added up with decimals at times.  Maybe 
the slider's internal value is super accurate while it does rounding to 
the nearest whole number visually.

Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: CSS

2005-04-21 Thread Dan Shafer
Thanks for the kind words. Reviewers seem to be very hot or very cold 
on it.

you've read it once more than I have!
On Apr 20, 2005, at 10:09 PM, Sivakatirswami wrote:
And Dan, as an owner of HTML Utopia... I want to thank you... without 
your book I don't think I could have made the bridge from the Cretan 
Era to the CSS era. Read I three times cover to cover and  still refer 
to it regularly.

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


Re: Slider thumbPosition crazy values

2005-04-21 Thread Eric Chatonet
Hi Dennis,
Your problem is with the numberFormat property:
By default, the numberFormat property is set to 0.##.
BUT (see the docs) the numberFormat of newly created scrollbars is set 
to empty.
So you have a scrollbar whose behaviour accords with default 
numberFormat value and another with scrollbars  default numberFormat 
values.
And the current numberformat value is applied when you perform any 
calculation (addition in your case).

Le 21 avr. 05, à 19:17, Dennis Brown a écrit :
I am really baffled debugging what should be a non-problem, but I must 
be missing something basic.  I was trying to debud why my script would 
not work and I worked it down to this symptom.

I made two sliders that go from 1 to 44, increment 1, show value.  The 
first one "startQ" works as expected.  The second one "endQ" behaves 
in a strange way.

  put the thumbPosition of scrollbar "startQ" into SQ --starting 
quarter
  put the thumbPosition of scrollbar "endQ" into EQ --ending quarter
  put SQ && EQ -- displays 2 2
  put SQ +0 && EQ +0  -- displays 2 1.9375

every click on the first slider advances the thumbPosition by 1
every click on the second slider advances the thumbPosition by 0.9375, 
but displays as an integer.

I made the second slider by copy/paste the first slider.  Then I tried 
deleting that slider and dragging a fresh slider to the card to make 
the second one, but it still acts the same.  I checked every inspector 
basic parameter, and both are identical.

What is going on?
Amicalement,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

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


Re: Slider thumbPosition crazy values

2005-04-21 Thread Dennis Brown
Thanks Mark,
I also just "fixed" the problem by putting a script into the sliders 
(slider 1 also started generating crazy values the more I tested it).

on mouseup
  set thumbPosition of me to round( thumbposition of me)
end mouseup
So I can fix it, but it still doesn't explain why I should have to fix 
it.

Dennis
On Apr 21, 2005, at 1:38 PM, Mark Talluto wrote:
On Apr 21, 2005, at 10:17 AM, Dennis Brown wrote:
I am really baffled debugging what should be a non-problem, but I 
must be missing something basic.  I was trying to debud why my script 
would not work and I worked it down to this symptom.

I made two sliders that go from 1 to 44, increment 1, show value.  
The first one "startQ" works as expected.  The second one "endQ" 
behaves in a strange way.

  put the thumbPosition of scrollbar "startQ" into SQ --starting 
quarter
  put the thumbPosition of scrollbar "endQ" into EQ --ending quarter
  put SQ && EQ -- displays 2 2
  put SQ +0 && EQ +0  -- displays 2 1.9375

every click on the first slider advances the thumbPosition by 1
every click on the second slider advances the thumbPosition by 
0.9375, but displays as an integer.

I made the second slider by copy/paste the first slider.  Then I 
tried deleting that slider and dragging a fresh slider to the card to 
make the second one, but it still acts the same.  I checked every 
inspector basic parameter, and both are identical.

What is going on?

Hi Dennis,
I just tried you situation and all behaved as it should.  Give this a 
try and see what happens.  I did the following in the scroll bar 
scripts:

--SCROLLBAR ONE
on scrollbarDrag lValue
  global SQ
  put lValue into SQ
end scrollbarDrag
--SCROLLBAR TWO
on scrollbarDrag lValue
  global EQ
  put lValue into EQ
end scrollbarDrag
--IN A BUTTON
on mouseUp
  global SQ, EQ
  put (SQ+0) && (EQ+0)
end mouseUp

Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Slider thumbPosition crazy values

2005-04-21 Thread Mark Talluto
On Apr 21, 2005, at 10:17 AM, Dennis Brown wrote:
I am really baffled debugging what should be a non-problem, but I must 
be missing something basic.  I was trying to debud why my script would 
not work and I worked it down to this symptom.

I made two sliders that go from 1 to 44, increment 1, show value.  The 
first one "startQ" works as expected.  The second one "endQ" behaves 
in a strange way.

  put the thumbPosition of scrollbar "startQ" into SQ --starting 
quarter
  put the thumbPosition of scrollbar "endQ" into EQ --ending quarter
  put SQ && EQ -- displays 2 2
  put SQ +0 && EQ +0  -- displays 2 1.9375

every click on the first slider advances the thumbPosition by 1
every click on the second slider advances the thumbPosition by 0.9375, 
but displays as an integer.

I made the second slider by copy/paste the first slider.  Then I tried 
deleting that slider and dragging a fresh slider to the card to make 
the second one, but it still acts the same.  I checked every inspector 
basic parameter, and both are identical.

What is going on?

Hi Dennis,
I just tried you situation and all behaved as it should.  Give this a 
try and see what happens.  I did the following in the scroll bar 
scripts:

--SCROLLBAR ONE
on scrollbarDrag lValue
  global SQ
  put lValue into SQ
end scrollbarDrag
--SCROLLBAR TWO
on scrollbarDrag lValue
  global EQ
  put lValue into EQ
end scrollbarDrag
--IN A BUTTON
on mouseUp
  global SQ, EQ
  put (SQ+0) && (EQ+0)
end mouseUp

Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Slider thumbPosition crazy values

2005-04-21 Thread Dennis Brown
I am really baffled debugging what should be a non-problem, but I must 
be missing something basic.  I was trying to debud why my script would 
not work and I worked it down to this symptom.

I made two sliders that go from 1 to 44, increment 1, show value.  The 
first one "startQ" works as expected.  The second one "endQ" behaves in 
a strange way.

  put the thumbPosition of scrollbar "startQ" into SQ --starting quarter
  put the thumbPosition of scrollbar "endQ" into EQ --ending quarter
  put SQ && EQ -- displays 2 2
  put SQ +0 && EQ +0  -- displays 2 1.9375
every click on the first slider advances the thumbPosition by 1
every click on the second slider advances the thumbPosition by 0.9375, 
but displays as an integer.

I made the second slider by copy/paste the first slider.  Then I tried 
deleting that slider and dragging a fresh slider to the card to make 
the second one, but it still acts the same.  I checked every inspector 
basic parameter, and both are identical.

What is going on?
Dennis
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: replaceText in Rev cgi

2005-04-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
2.5 has *been* out for Linux.  It's the other *NIX platforms where Rev 
has been coming up short -- BSD, Solaris, Irix, etc.

On Apr 21, 2005, at 11:30 AM, paolo wrote:
Hi JB
may I ask you where did you get a rev 2.5 engine cgi Linux?
I thought there was only the rev 2.0 engine cgi available is there 
a new engine cgi also for mac and windows?

I should install the cgi rev engine on a FirstClass server. In MACOX  
it works fine  ... I put the engine on the cgi-bin folder and tht's 
it!  However it does not work on Windows XP.
I got " HTTP  InternalError 500 from the browser" when I tried to run 
an Hello World script.
Any suggestions?

Paolo Mazza
Venerdì, 15 Apr 2005, alle 21:44 Europe/Rome, jbv ha scritto:
Hi all,
I just noticed that the replaceText function doesn't
work in Rev 2.5 cgi Linux...
Is there a rational explanation to this ?
Is that because the engine has not the Revolution GUI and commands 
that address the GUI will error?

PS : I just finished a cgi script that generates on the fly
PDF files (from 1 to 30 pages) with complex layouts
featuring data from a MySQL DB, and it takes less than
a fraction of a second... I'm so happy...:-)

Actually rev cgi is great .. I have benn using for a while on Linux 
servers.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


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

iD8DBQFCZ9h77aqtWrR9cZoRAhk9AKCHX75e4hXleif6xZsYBniEynYoEQCght/v
A+Y9hgr1cwacxlRJ6Y1DuDQ=
=y6mh
-END PGP SIGNATURE-

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


Re: OT: Adobe kills Director

2005-04-21 Thread Mikey
I'm with you, Richrad.  Who cares?  Director is old and redundant.  It
hasn't been innovative in quite a while.


-- 
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: replaceText in Rev cgi

2005-04-21 Thread paolo
Hi JB
may I ask you where did you get a rev 2.5 engine cgi Linux?
I thought there was only the rev 2.0 engine cgi available is there 
a new engine cgi also for mac and windows?

I should install the cgi rev engine on a FirstClass server. In MACOX  
it works fine  ... I put the engine on the cgi-bin folder and tht's it! 
 However it does not work on Windows XP.
I got " HTTP  InternalError 500 from the browser" when I tried to run 
an Hello World script.
Any suggestions?

Paolo Mazza
Venerdì, 15 Apr 2005, alle 21:44 Europe/Rome, jbv ha scritto:
Hi all,
I just noticed that the replaceText function doesn't
work in Rev 2.5 cgi Linux...
Is there a rational explanation to this ?
Is that because the engine has not the Revolution GUI and commands that 
address the GUI will error?

PS : I just finished a cgi script that generates on the fly
PDF files (from 1 to 30 pages) with complex layouts
featuring data from a MySQL DB, and it takes less than
a fraction of a second... I'm so happy...:-)

Actually rev cgi is great .. I have benn using for a while on Linux 
servers.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: General approach question

2005-04-21 Thread Mikey
It's the beauty of RR and SC and HC before it - the language lets you
do things a zillion different ways, and the environment lets you do
things a zillion different ways, too.

If the volume of trades that you are tracking isn't enormous, then who
cares?  Do what's easy.  Don't think of a stack as a database, think
of it however you want to.  Personally I would probably put one trade
per card, but that's just me.

-- 
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Unicode Displaying in Runtime Revolution #2

2005-04-21 Thread Trevor DeVore
On Apr 20, 2005, at 10:30 PM, Marisa K. wrote:
Hi Trevor,
Thank you agian for your suggestion. You are right about the database 
of UTF-8. :-)

However, I've tried on that, too, but the result is the same!!
I wrote script as:
on openCard
 global tID
 set the unicodeText of fld testDB to uniEncode( revDataFromQuery (, 
return, tID, "SELECT cityLocalName FROM POSTAL_CODE_TABLE"),"utf8")
end openCard

Am I doing sth wrong with the script? Also, I used to try on ;
Hmm, this worked in a test I did last night using MySQL on some UTF8 
encoded data.  The only difference is that I used cursors 
(revQueryDatabase and revDatabaseColumnNamed).  Perhaps try that and 
see if it changes results at all.  I'm not sure why it would but you 
never know.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-21 Thread Mikey
The problem with the archives is that
a) responses here are very fast (in other words, y'all make it easy),
and the culture is permissive
b) Honestly, the archive search tools are not as easy to use
c) Most of the responses are not so complicated as to discourage the
responders from telling the noobs to RTFA and
d) The lack of manuals means that most of the issues are from noobs,
who don't know about the archives, or aren't used to using them before
asking questions first.

In the 4D community we have a tool called Monkeywerks, which is very
easy to use, and returns results quickly and completely, with
excerpts.  In addition, most of the repeat issues are complex, and
thus the monkey gets referrals.

-- 
http://taoofrunrev.blogspot.com
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


General approach question

2005-04-21 Thread Mark Smith
Here's a question, as much philosophical as practical, and I wonder 
what the list makes of it.

I have an app for keeping track of stock and futures trades. The data 
is effectively a list of days, each day containing a list of open 
trades, one per line, with the details as items in each line. 
Currently, I have  this data in an array, with the keys being the date 
of each day, and each element containing that day's open trades. I 
store the array in a custom property set. This all works perfectly 
well, so I'm not about to change it, but I can't help feeling that this 
is not a particularly 'natural' way to do it in Rev. My background is 
in Hypercard, and I would always have done this by having a stack with 
a card for each day, rather than using arrays and custom property sets. 
I'm wondering if I chose the approach I did simply because as a 
non-professional, I perceived that approach as being more like what a 
pro would do, when perhaps the multiple-cards approach would be more 
'natural' in Rev. I'm pretty sure that having a card for each day 
(approx. 260 trading days per annum) would carry a pretty small memory 
overhead, and searching and sorting always seems to be pretty quick 
using cards...and it would be using the native architecture of a Rev 
stack. I'd be interested to know how people here are making these 
choices.

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


Re: playing video on PCs

2005-04-21 Thread Klaus Major
Hi X,
Na Klaus,
Sorry to hear that! ;)
I thought I had found the "right" stuff ;)
I'll send you what I find as I find it. Sorry if it's obsolete news ;)
Don't worry, it's the thought that counts... ;-)
Why is it that the programmers that implement this cannot document it
or make it clear for the users I wonder?
Well they are definitvely lacking a "Jeanne"!!! :-)
It could have been worse, actually...
(Anyone ever tried the "rsa demo stack" in Revonline from a certain 
"tuvman"? ;-)

cheerios
Xavier
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Simple Scoping Question

2005-04-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Now if only more people would read the archives *before* posting the 
questions, the list would have more answers to fewer questions 
(allowing time for things to catch up...)

On Apr 20, 2005, at 9:28 PM, J. Landman Gay wrote:
We try to answer questions here before they've been asked. It saves 
time and spooks the competition. ;)
- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCZ6lC7aqtWrR9cZoRAvA7AJ9H8U4X1LRJiHhUWtdpWITZSCdOPQCdGorv
XPvRC1RMLqGfUjFcJqLO+zU=
=+Sof
-END PGP SIGNATURE-

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


Re: playing video on PCs

2005-04-21 Thread xbury . cs
Na Klaus,

Sorry to hear that! ;)
I thought I had found the "right" stuff ;)

I'll send you what I find as I find it. Sorry if it's obsolete news ;)

Why is it that the programmers that implement this cannot document it 
or make it clear for the users I wonder?

cheerios
Xavier



On 21.04.2005 14:48:55 use-revolution-bounces wrote:
>Hi Xavier,
>
>> Klaus,
>>
>>> This does indeed shed some light on the (for me) mysterious
>>> mciSendString stuff... :-)
>>
>> I just [re-]discovered yesterday that there's a full mcistring
>> tutorial in
>> the
>> metacard tools. MCtools stack -> Tools Menu -> Last item ->
>> Tools.metacard.com
>> and click on the mci demo...
>
>tell me something new! ;-)
>
>As you might have guessed, i knew this one already, but cannot say that
>it does
>shed much light on the (for me still) mysterious mciSendString stuff...
>:-)
>
>OK, i could open and close my cd tray after reading through this, which
>is
>almost "magic", for sure :-D
>
>> cheers
>> Xavier
>
>Regards
>
>Klaus Major
>[EMAIL PROTECTED]
>http://www.major-k.de
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: playing video on PCs

2005-04-21 Thread Klaus Major
Hi Xavier,
Klaus,
This does indeed shed some light on the (for me) mysterious
mciSendString stuff... :-)
I just [re-]discovered yesterday that there's a full mcistring 
tutorial in
the
metacard tools. MCtools stack -> Tools Menu -> Last item ->
Tools.metacard.com
and click on the mci demo...
tell me something new! ;-)
As you might have guessed, i knew this one already, but cannot say that 
it does
shed much light on the (for me still) mysterious mciSendString stuff... 
:-)

OK, i could open and close my cd tray after reading through this, which 
is
almost "magic", for sure :-D

cheers
Xavier
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: playing video on PCs

2005-04-21 Thread xbury . cs
Klaus,

>This does indeed shed some light on the (for me) mysterious
>mciSendString stuff... :-)

I just [re-]discovered yesterday that there's a full mcistring tutorial in 
the
metacard tools. MCtools stack -> Tools Menu -> Last item -> 
Tools.metacard.com

and click on the mci demo... 

cheers
Xavier


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


Re: playing video on PCs

2005-04-21 Thread Klaus Major
Hi Marie,
At 1:08 PM +0200 4/21/05, Signe Marie Sanne wrote:
I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be 
found either in User spaces under "sms", or under Programming. If 
anyone finds out how to avoid flickering in closeVideo, I would be 
grateful to get the scripts.

--
Signe Marie Sanne
Many thanks for doing this!
Yeah, great stack, thanks a lot!
This does indeed shed some light on the (for me) mysterious 
mciSendString stuff... :-)

Grazzi hafna,
sims
Best from germany
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: playing video on PCs

2005-04-21 Thread sims
At 1:08 PM +0200 4/21/05, Signe Marie Sanne wrote:
I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be 
found either in User spaces under "sms", or under Programming. If 
anyone finds out how to avoid flickering in closeVideo, I would be 
grateful to get the scripts.

--
Signe Marie Sanne
Many thanks for doing this!
Grazzi hafna,
sims
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: playing video on PCs

2005-04-21 Thread Signe Marie Sanne
Signe Marie Sanne skrev:
sims skrev:
I need to play video on both OS X and Windows machines which will
for the most part be business computers - corporate office machines.
The Mac part I can figure out and will be able to use QuickTime.
Some PC machines will not have QuickTime installed and will not want
to install QT. I need some advice on what format/codec to use for
these non-QT machines.

Hello Sims
Just mail me off the list if you would like to get a small stack showing 
how to play mpeg files with mciSendString. Any others are also welcome 
to do the same. The stack is not fully overhauled to go RevOnLine, but 
it contains the necessary scripts to get started.
I just uploaded the stack "mciMpegVideo" to RevOnLine. It can be found 
either in User spaces under "sms", or under Programming. If anyone finds out 
how to avoid flickering in closeVideo, I would be grateful to get the scripts.

--
Signe Marie Sanne
1. amanuensis/Senior lecturer
Romansk institutt   Tlf.+47 55 58 21 27
Øisteins gt. 1  Epost:  [EMAIL PROTECTED]
Universitetet i Bergen
http://www.hf.uib.no/hfolk/mlab/Info/sms.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Thanks! Was Simple Scoping Question

2005-04-21 Thread David Burgun
Hi,
I would just like to say thanks to everyone that helped me resolve 
this problem! It is obviosuly FUNDAMENTAL to the whole RunRev 
experience, but I had missed it. I have had the IDE crashing all over 
the place and all kinds of weird behavour for ages, now that I've 
fixed the the whole RunRev exxperience is MUCH more pleasant.

There really does need to be some better documentation for RunRev, I 
was really walking in the dark when I was trying to get this to work. 
Maybe there is some but I just can't find it. Another problem is the 
error reporting, sometimes script errors cause the IDE to hang with 
the error window NOT displayed. The only way out of this is to quit 
the IDE, which flashes ALL the error boxes up on the screen then 
quits before you can see where the error is!

Without this list I would have still been at it and probably wouldn't 
have come up with as good a solution.

Thanks again and All the Best
Dave

Recently, David Burgun  wrote:
 I hadn't realized that the openStack handler gets called when doing a
 > Save. What is the recommended action for handle this
 > I could do one of three things:
 1.  Check if myStackFileName is empty and if so skip the "start uisng"
 2.  Check the Stack Name for "revSaving" and if so skip the "start uisng"
 3.  Check if in "development" moce and if so  skip the "start uisng"
 I suppose I need similar tests in preOpenStack and closeStack?
 Can anyone tell me the best thing to do under this condition?
If your openStack handler is only supposed to apply to your main stack, then
place the openStack handler in the script of the *first card* of your main
stack (this goes for any initialization handlers since they are only called
when the first card is opened).  Any subsequent opening/closing of stacks
will not trigger the init handler/s.
If your openStack handler must apply to any substacks of your main stack,
you can do as you suggest above: check the stack's name, for development
mode, etc.
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Adobe kills Director

2005-04-21 Thread Richard Gaskin
Alex Shaw wrote:
usually try not to get to caught up in these sort of things but i saw 
this quote from a ex-Macromedia worker (unconfirmed) on slashdot..

"Adobe will kill off Director within 3 years."
But Macromedia was likely to kill it off themselves in 3 or 4 years 
anyway. Think about it:  With Flash getting ever more powerful by leaps 
and bounds eachc year, in three years' time there would have been too 
much overlap in features to warrant keeping both going as competing 
products.

Yep, we can expect lots of FUD in the coming months
(Macrobe can shoot themselves in the foot for all I care, but if they 
harm Fireworks I'll make such a scene at the shareholders' meeting you 
folks may read about it in the papers )

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


OT: Adobe kills Director

2005-04-21 Thread Alex Shaw
hi
usually try not to get to caught up in these sort of things but i saw 
this quote from a ex-Macromedia worker (unconfirmed) on slashdot..

"Adobe will kill off Director within 3 years."
Good thing the revolution has all ready started :)
regards
alex
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Globals confusion

2005-04-21 Thread Kaveh Bazargan
At 8:28 am +0200 21/4/05, [EMAIL PROTECTED] wrote:
>make a little handler in your stack that says
>
>on putGlobal what
> do "global" && what
> do "put" && what
>end putGlobal
>
>That should help.

Certainly does. This is what I was missing. At any point I can make a
variable global, then access it. So the variable is there, but not
accessible till I make it global. Thanks. :-)
-- 

Kaveh Bazargan
http://www.river-valley.com/
http://www.holographer.org/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution