Focus, Text and foundChunk

2006-10-11 Thread Richmond Mathewson
Unable to perform a do-it-yourself frontal lobotomy I
compensated by going a "bit potty" with the 4th
incarnation of my Text Focus stack -

feel free to join me at "the funny farm":

http://members.maclaunch.com/richmond/Text
Focus.rev.zip

and

http://tech.groups.yahoo.com/group/richmondsrrr/

HINT #1: some of us, of a certain age, may remember
those films
that featured songs with bouncing balls along the top.

HINT #2: "Crazy People" with Dudley Moore and Daryl
Hannah.

(Oh Boy, how low can one sink?)

sincerely, Richmond Mathewson



"Philosophical problems are confusions arising owing to the fluidity of 
meanings users attach to words and phrases."
   Mathewson, 2006


Send instant messages to your online friends http://uk.messenger.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


Real-time stack updating

2006-10-11 Thread Richard Miller

Here's the scenario.

Stack 1 is a main stack that acts as a startup file. It's an .exe.

Stack 1 opens a separate Stack 2 (a .rev stack). Stack 2 performs all  
the main functionality of our program.


Stack 2 checks our server (when it first starts up) to see if there  
is a more recent version available for update. If so, it begins the  
update process. At the end of the process, this stack shuts itself  
down and starts up a sub-stack of Stack 1. Stack 2's properties have  
the DestroyStack set to true. I'm not aware how any handler in Stack  
2 might still be running after it has issued the "close" function to  
itself.


Stack 1's "update file" substack does the following:

1. Deletes Stack 2
2. Downloads a new Stack 2
3. Starts new Stack 2

The problem is that, when this new Stack 2 starts up, it does not  
initially show the updated data. However, simply quitting it and  
restarting it DOES now show the updated data.


I'm not sure what more I need to do so that the first startup of this  
new Stack 2 will show the updated data.


Thanks.
Richard Miller
Imprinter Technologies
___
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 noob questions

2006-10-11 Thread Malte Brill

Hi all,

I´m playing a bit with XML in rev at the moment. It seems I don´t get  
it from the docs. Any tuts on how to do useful things with Revs XML lib?


Example:



 Default
 
  55514
  /skin/top.jpg
 
 
  55515
  /skin/pattern.jpg
 
 
myField
45,78,90
 


What I want to do now is to display in a field:

Title: Default
image ID 55514: /skin/top.jpg
image ID 55515: /skin/pattern.jpg
field myField: 45,78,90

Any hints and codeSnippets much appreciated.

All the best,

Malte

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


Re: Real-time stack updating

2006-10-11 Thread Mark Schonewille

Hi Richard,

How do you trigger the script that reads and displays the data? If  
you do that from a startup handler, it may bot work. If you have  
lockmessages set to true at some point and trigger the script from a  
(pre)openstack handler, it may not work.


Why don't you check for the update on startup, before opening the  
second stack, and download the update before reading the data? Just  
keep the entire updating process in stack one. This is faster and  
more secure because it will even work if the second stack contains a  
critical bug.


Best,

Mark

--

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

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


Op 11-okt-2006, om 13:33 heeft Richard Miller het volgende geschreven:


Here's the scenario.

Stack 1 is a main stack that acts as a startup file. It's an .exe.

Stack 1 opens a separate Stack 2 (a .rev stack). Stack 2 performs  
all the main functionality of our program.


Stack 2 checks our server (when it first starts up) to see if there  
is a more recent version available for update. If so, it begins the  
update process. At the end of the process, this stack shuts itself  
down and starts up a sub-stack of Stack 1. Stack 2's properties  
have the DestroyStack set to true. I'm not aware how any handler in  
Stack 2 might still be running after it has issued the "close"  
function to itself.


Stack 1's "update file" substack does the following:

1. Deletes Stack 2
2. Downloads a new Stack 2
3. Starts new Stack 2

The problem is that, when this new Stack 2 starts up, it does not  
initially show the updated data. However, simply quitting it and  
restarting it DOES now show the updated data.


I'm not sure what more I need to do so that the first startup of  
this new Stack 2 will show the updated data.


Thanks.
Richard Miller
Imprinter Technologies



___
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: Real-time stack updating

2006-10-11 Thread Richard Miller

Hi Mark,

We actually have two programs that have similar updating processes.  
Both of these are downloaded by our users from our web site.


This second program has three possible substacks, any one of which  
may have an update waiting for download. We could have gone with an  
automatic update process that occurs at startup, but the thought was  
to give our users the option to update at their convenience. With  
this second program, one of the substacks is a fair bit larger and  
not something we necessarily wanted to force a user to wait for upon  
startup. So an "update" button simply becomes visible on the opening  
page of the main stack at startup if an update is available.


To answer your first questions, there's no preopenstack handler  
involved and no lockmessages command used anywhere. The sequence of  
commands is:


(From inside stack 2.. the .rev stack)

Close this stack
Open stack 1

(From inside stack 1 the .exe stack)
Delete stack 2
Download new stack 2
Open stack 2

Thanks.
Richard



On Oct 11, 2006, at 8:13 AM, Mark Schonewille wrote:


Hi Richard,

How do you trigger the script that reads and displays the data? If  
you do that from a startup handler, it may bot work. If you have  
lockmessages set to true at some point and trigger the script from  
a (pre)openstack handler, it may not work.


Why don't you check for the update on startup, before opening the  
second stack, and download the update before reading the data? Just  
keep the entire updating process in stack one. This is faster and  
more secure because it will even work if the second stack contains  
a critical bug.


Best,

Mark

--

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

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


Op 11-okt-2006, om 13:33 heeft Richard Miller het volgende geschreven:


Here's the scenario.

Stack 1 is a main stack that acts as a startup file. It's an .exe.

Stack 1 opens a separate Stack 2 (a .rev stack). Stack 2 performs  
all the main functionality of our program.


Stack 2 checks our server (when it first starts up) to see if  
there is a more recent version available for update. If so, it  
begins the update process. At the end of the process, this stack  
shuts itself down and starts up a sub-stack of Stack 1. Stack 2's  
properties have the DestroyStack set to true. I'm not aware how  
any handler in Stack 2 might still be running after it has issued  
the "close" function to itself.


Stack 1's "update file" substack does the following:

1. Deletes Stack 2
2. Downloads a new Stack 2
3. Starts new Stack 2

The problem is that, when this new Stack 2 starts up, it does not  
initially show the updated data. However, simply quitting it and  
restarting it DOES now show the updated data.


I'm not sure what more I need to do so that the first startup of  
this new Stack 2 will show the updated data.


Thanks.
Richard Miller
Imprinter Technologies



___
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


Comma in file names thwarting URLdecode(the files)

2006-10-11 Thread Mark Powell
Sure this has to be a simple question but I can't find anything about it
in docs or forum.

-The long files function returns a comma-delimited list of attributes.  
-With URLdecode, a file name with comma skews item delimiting.
-Without URLdecode, a file name with percentage sign skews delimiting.
-Checking 'number of items' seems to be OS-dependent (last item empty on
Windows?!)

What am I missing?  How can I reliably derive a Windows-OS file name
from 'the files'?

Mark Powell
mark_powell (at symbol) symantec.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


Using 'for each' to modify a container

2006-10-11 Thread Mark Powell
I want to use the 'for each' form of the repeat loop, but don't know how
to use it to modify data within a container.  For example:

repeat for each line thisLine in vContainer
  put doSomeFunction(item -2 of thisLine) into item -2 of thisLine
  --how do I get the change back into vContainer?
end repeat

Thanks!

Mark Powell
mark_powell (at symbol) symantec.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: Using 'for each' to modify a container

2006-10-11 Thread Malte Brill

hi Mark,

try this:

repeat for each line thisLine in vContainer
  put thisLine into tLine
  put doSomeFunction(item -2 of thisLine) into item -2 of tLine
  put tLine &cr after tContainer
end repeat
delete char -1 of tContainer
put tContainer into vContainer

Hope that helps,

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


Re: XML noob questions

2006-10-11 Thread Ken Ray
On 10/11/06 7:09 AM, "Malte Brill" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I´m playing a bit with XML in rev at the moment. It seems I don´t get
> it from the docs. Any tuts on how to do useful things with Revs XML lib?
> 
> Example:
> 
> 
> 
>   Default
>   
>55514
>/skin/top.jpg
>   
>   
>55515
>/skin/pattern.jpg
>   
>   
>  myField
>  45,78,90
>   
> 
> 
> What I want to do now is to display in a field:
> 
> Title: Default
> image ID 55514: /skin/top.jpg
> image ID 55515: /skin/pattern.jpg
> field myField: 45,78,90
> 
> Any hints and codeSnippets much appreciated.

OK, here's the basics you'll need:

1) First you need to take the XML data and convert it to a "tree" structure
that the revXML DLL can parse. Here's an example (assuming this xml data
above is in a variable called "tData"):

  put revCreateXMLTree(tData,true,true,false) into tTree

"tTree" in this case is an XML "tree" identifier - a way you can address
individual nodes in an XML tree structure. The parameters other than the
first one control whether to allow parsing of badly formatted XML, whether
you want to really create a tree or just parse the XML to check for errors,
and whether or not you want to get messages as its parsing the tree.

2) Once you have the tree parsed, you can then address individual nodes
using "node paths", which are /-delimited according to the parent/child
relationship of the nodes, and starting with "/" as the root of the tree.
You use revXMLNodeContents to get at the data between open/close tags. So
this:

  put revXMLNodeContents(tTree,"/skin/title")

will get you the string "Default".

3) If you want the names of particular children of a node, you need to use
revXMLChildNames, which will return the names of the children of a node. So
this:

  put revXMLChildNames(tTree,"/skin",return,,false)

would give you a return-delimited list of children of the  node:

  title
  image
  image
  field

4) If children have the same name (like "image", above), you reference the
node by putting the index number of the node in square brackets after the
name of the node. So to get the children of the first image node, you'd do:

  put revXMLChildNames(tTree,"/skin/image[1]",return,,false)

and for the second:

  put revXMLChildNames(tTree,"/skin/image[2]",return,,false)

That should hopefully get you started...


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

P.S. If you need an all-Transcript solution for XML parsing, or are working
with the XML from RSS feeds (among other things), then you might want to
check out my XML Library:

  http://www.sonsothunder.com/products/xmllib/xmllib.htm  

___
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: Comma in file names thwarting URLdecode(the files)

2006-10-11 Thread Mark Schonewille

Hi Mark,

The docs explain it all. The detailed/long files function returns a  
return delimited list with comma delimited items on each line. The  
first item is urlencoded. You can set the itemdelimiter to comma and  
put urldecode(item x of line y of the detailed files). However, you  
can also put line y of the files. The files function (without  
detailed or long) is not urlencoded.


The last item of each line contains the file and creator types of the  
respective file. If the file doesn't have a file and creator type,  
this item is empty. On windows, files don't have this information and  
are therefore empty. On Mac OS X, some files have and some others  
don't have this info.


Best,

Mark

--

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

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


Op 11-okt-2006, om 14:45 heeft Mark Powell het volgende geschreven:

Sure this has to be a simple question but I can't find anything  
about it

in docs or forum.

-The long files function returns a comma-delimited list of attributes.
-With URLdecode, a file name with comma skews item delimiting.
-Without URLdecode, a file name with percentage sign skews delimiting.
-Checking 'number of items' seems to be OS-dependent (last item  
empty on

Windows?!)

What am I missing?  How can I reliably derive a Windows-OS file name
from 'the files'?

Mark Powell
mark_powell (at symbol) symantec.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: Real-time stack updating

2006-10-11 Thread Mark Schonewille

Hi Richard,

The info you provided doesn't make anything clear, because it says  
nothing about how your scripts work. If I understand your original  
post correctly, the problem is not the updating or downloading of the  
stacks, but the inability to access the data. So, what triggers the  
script that reads the data? Can you post the handler which calls this  
script, for a start?


Mark

--

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

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


Op 11-okt-2006, om 14:33 heeft Richard Miller het volgende geschreven:


Hi Mark,

We actually have two programs that have similar updating processes.  
Both of these are downloaded by our users from our web site.


This second program has three possible substacks, any one of which  
may have an update waiting for download. We could have gone with an  
automatic update process that occurs at startup, but the thought  
was to give our users the option to update at their convenience.  
With this second program, one of the substacks is a fair bit larger  
and not something we necessarily wanted to force a user to wait for  
upon startup. So an "update" button simply becomes visible on the  
opening page of the main stack at startup if an update is available.


To answer your first questions, there's no preopenstack handler  
involved and no lockmessages command used anywhere. The sequence of  
commands is:


(From inside stack 2.. the .rev stack)

Close this stack
Open stack 1

(From inside stack 1 the .exe stack)
Delete stack 2
Download new stack 2
Open stack 2

Thanks.
Richard




___
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: Using 'for each' to modify a container

2006-10-11 Thread Bill Marriott
You shouldn't try to change the tires while the car is moving, and you 
shouldn't try to modify the entity being used as the basis of a repeat loop.

For example, if you were to say

repeat with i = 1 to 20
end repeat

you shouldn't try to modify i within the loop.

If you say

repeat for each line theLine in myVariable
end repeat

you shouldn't try to modify myVariable within the loop.

There are probably many possibilities for your solution, but I would 
probably do it this way:

put empty into newContainer
repeat for each line thisLine in vContainer
  put doSomeFunction(item -2 of thisLine) into item -2 of thisLine
  put thisLine & return after newContainer
end repeat
put char 1 to -2 of newContainer into vContainer

Mark Powell wrote:
>  I want to use the 'for each' form of the repeat loop, but don't know how
>  to use it to modify data within a container.  For example:
>
>  repeat for each line thisLine in vContainer
>put doSomeFunction(item -2 of thisLine) into item -2 of thisLine
>--how do I get the change back into vContainer?
>  end repeat 



___
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: [OT] Installing SheepShaver (was Re: Classic Emulators)

2006-10-11 Thread Ken Ray
On 10/9/06 7:34 PM, "Jim Carwardine" <[EMAIL PROTECTED]>
wrote:

> Hi Ken... I created the .dmg file and put it in my SS folder.  I mounted it
> in the SS GUI but when I start SS and bring up OS 9, the .dmg isn't there.
> Is there something more I need to do?  Jim

Hmm that's odd - works here for me (but then again, I'm using OS 8.5 in my
SS since I don't have OS 9 install disks I can use). What size was the
volume of the .dmg you were trying to mount?

Here' s the steps I took (maybe there's some difference between what you did
and what I did - I'm on 10.4.7, BTW):

1) Launch Disk Utility.

2) Click on the "New Image" button in the toolbar.

3) In the sheet that's displayed, navigate to the SS folder, and save it as
"Test", with the size as "40MB", Encryption is "none", and Format is
"read/write disk image". Disk Utility will create the image file "Test.dmg",
and mount it on the desktop.

4) In Disk Utility, select the Test.dmg image and click the Eject button.

5) Quit Disk Utility.

6) Launch SS GUI.

7) On the Volumes tab, click "Add..." and select "Test.dmg"

8) Click "Start" to run SS. It should mount the volume "Test" on the
desktop.

If for some reason it doesn't, you might want to try going into Disk Utility
and reformatting the DMG as "Mac OS (Standard)" instead of "Mac OS
(Extended)". Perhaps that might help...


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: How to start this project...

2006-10-11 Thread Adrian Williams

Hi Jacqueline,

I realise now the selectedChunk is certainly the wrong way to go!

But from your jpg example, I'm not sure you even need all of this. Is 
this a simple text substitution? If so, I think I'd just use a 
"keydown" handler to see what the user has typed, and replace the 
character with the substitution character you actually want to 
display.
Yes. I want to detect what the user typed and replace it from an 
"input" list and "output" list.


Even easier, it seems to me, would be to just assign the cursive font 
to the field and bypass the whole issue. The user's typing would 
automatically be cursive.

Unfortunately not.
Entering ab, in my graphic 
...http://www.clubtype.co.uk/revDev-abc/abc-rev.jpg

you see that a to b has a join.
The b is the standard keyboard 'b'
Now if the User enters c, another (non-standard) b is required 
somewhere else in
the font. There will be about 1,400 characters in  a Unicode font. Far 
more than the
standard single-byte 255 character standard. Accessing the Unicode 
characters is another issue.
For now, I just need the ability to detect and replace  
-as-the-user-types.


The c, having only a space after it, does not yet require any joining 
stroke.


Hope that clarifies...
Adrian
__
Club Type
http://www.clubtype.co.uk
[EMAIL PROTECTED]




--
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



___
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 noob questions

2006-10-11 Thread Malte Brill

Thanks Ken! That helps a lot.

All the best,

Malte

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


Re: Real-time stack updating

2006-10-11 Thread Richard Miller

Hi Mark,

I solved the problem by initiating everything from the standalone.  
The problem had to do with the stack (the one being updated)  
remaining in memory even though its destroystack was true, it had  
been closed, and "the openstacks" showed no sign of it.


Thanks for your help.

Richard


On Oct 11, 2006, at 9:25 AM, Mark Schonewille wrote:


Hi Richard,

The info you provided doesn't make anything clear, because it says  
nothing about how your scripts work. If I understand your original  
post correctly, the problem is not the updating or downloading of  
the stacks, but the inability to access the data. So, what triggers  
the script that reads the data? Can you post the handler which  
calls this script, for a start?


Mark

--

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

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


Op 11-okt-2006, om 14:33 heeft Richard Miller het volgende geschreven:


Hi Mark,

We actually have two programs that have similar updating  
processes. Both of these are downloaded by our users from our web  
site.


This second program has three possible substacks, any one of which  
may have an update waiting for download. We could have gone with  
an automatic update process that occurs at startup, but the  
thought was to give our users the option to update at their  
convenience. With this second program, one of the substacks is a  
fair bit larger and not something we necessarily wanted to force a  
user to wait for upon startup. So an "update" button simply  
becomes visible on the opening page of the main stack at startup  
if an update is available.


To answer your first questions, there's no preopenstack handler  
involved and no lockmessages command used anywhere. The sequence  
of commands is:


(From inside stack 2.. the .rev stack)

Close this stack
Open stack 1

(From inside stack 1 the .exe stack)
Delete stack 2
Download new stack 2
Open stack 2

Thanks.
Richard




___
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


Constrain position of substack

2006-10-11 Thread Roger . E . Eller
Can the movement of a substack be confined within the rectangle of an 
object of the mainstack when the substack is dragged by its title bar?

Roger Eller <[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


HTML detection

2006-10-11 Thread jbv
Hi list,

Does anyone have a simple piece of code to detect if
some text contains html tags ?

I thought of maintening a list of all possible html tags
and chacking if the text contains any of them, but I
have the feeling that there might be a simpler and / or
more elegant solution...

Thanks,
JB

___
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: Using 'for each' to modify a container

2006-10-11 Thread Jim Ault


On 10/11/06 6:34 AM, "Bill Marriott" <[EMAIL PROTECTED]> wrote:

> You shouldn't try to change the tires while the car is moving, and you
> shouldn't try to modify the entity being used as the basis of a repeat loop.
> 
> For example, if you were to say
> 
> repeat with i = 1 to 20
> end repeat
> 
> you shouldn't try to modify i within the loop.
> 
> If you say
> 
> repeat for each line theLine in myVariable
> end repeat
> 
> you shouldn't try to modify myVariable within the loop.
> 
> There are probably many possibilities for your solution, but I would
> probably do it this way:
> 
> put empty into newContainer
> repeat for each line thisLine in vContainer
>   put doSomeFunction(item -2 of thisLine) into item -2 of thisLine
>   put thisLine & return after newContainer
> end repeat
> put char 1 to -2 of newContainer into vContainer

Actually, I try to avoid changing the value returned by the 'for each'
--original version
> put empty into newContainer
> repeat for each line thisLine in vContainer
>   put doSomeFunction(item -2 of thisLine) into item -2 of thisLine
>   put thisLine & return after newContainer
> end repeat
> put char 1 to -2 of newContainer into vContainer
>
--my preference is 
> put empty into newContainer
> repeat for each line thisLine in vContainer
   put doSomeFunction(item -2 of thisLine)&cr after newContainer
> end repeat
> put char 1 to -2 of newContainer into vContainer

I think the reason that 'for each' is so fast is that it scans the
"vContainer" memory space, returns those characters, and is not meant to be
modified.  My experience is that it is unpredictable to rely on the changed
value of 'thisLine'

Further, I don't reuse the name 'thisLine' in the next instance of a repeat
for each loop in the *same handler*, but change the name to avoid conflict,
such as 'thisline', 'thisline1', 'thisLine2'.  Again, unpredictable results
occasionally.

Jim Ault
Las Vegas


___
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


Problem with copied files in filemager. How do I solve this?

2006-10-11 Thread William de Smet

Hi there,

Hi there,

I'm trying to make a little filemanager in which it is possible to
copy files from one folder to another. I used FTP commander by Andre
Garzia as a startingpoint.

I use defaultfolder on one side and on the other side a browse button
(just like FTP commander).
I managed to get the file copied but then it appears to be just a textfile.
What am I doing wrong?

Code:
on mouseUp
 put fld "current folder" into tserver
 put "binfile:/" & fld "data folder" into tfolder
 put the hilitedLines of fld "local file list" into tLines
 repeat for each item tFile in tLines
   put line tFile of fld "local file list" into tFileName
   --delete last char of tFilename
   put tServer & tFileName into tServerPath
   put tFolder & "/" & tfilename into tFolderPath
   answer tServerPath & cr & tFolderPath
   put  URL tServerPath into URL tFolderPath
 end repeat
 refreshdatafilelist
end mouseUp

Like I said it's code based upon FTP manager.

I checked the documentation and the suggested to use revCopyFile
"folder/file.txt","folder/"

I tried to  change the code but nothing seems to work.
I am kinda stuck now.
Any suggestions are welcome!

greetings,

William de Smet
___
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: Constrain position of substack

2006-10-11 Thread Scott Rossi
Recently, [EMAIL PROTECTED] wrote:

> Can the movement of a substack be confined within the rectangle of an
> object of the mainstack when the substack is dragged by its title bar?

I believe the only way to do this is to create your own title bar and script
it, which is pretty easy to do.  Look in the list archives for custom drag
routines.  You may also want to look at our Drag Sample stack that
illustrates constraining.  In your message box:

  go url "http://www.tactilemedia.com/download/drag_sample.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


Re: Comma in file names thwarting URLdecode(the files)

2006-10-11 Thread Jim Ault
On 10/11/06 5:45 AM, "Mark Powell" <[EMAIL PROTECTED]> wrote:

> Sure this has to be a simple question but I can't find anything about it
> in docs or forum.
> 
> -The long files function returns a comma-delimited list of attributes.
> -With URLdecode, a file name with comma skews item delimiting.
> -Without URLdecode, a file name with percentage sign skews delimiting.
> -Checking 'number of items' seems to be OS-dependent (last item empty on
> Windows?!)
> 
> What am I missing?  How can I reliably derive a Windows-OS file name
> from 'the files'?
> 
Part 1 -- last item in xTalk

Caution about the 'last item' being empty.
xTalk counts items this way:

answer the number of items in "red,green,blue" --3
answer the number of items in "red,green,blue,,brown" --5
answer the number of items in "red,green,blue," --3

answer the number of items in ("red,green,blue,,"&null) --4

thus if I don't control the data source, I always use the form

repeat for each item ITM in (itemString &null)

end repeat

The type and creator is always used on Mac OS 9 and earlier, but is optional
for backward compatibility on Mac OSX, and never used in Windows.  Any cross
platform app has to accommodate this, so last item is an issue.
--
Part 2
--tab delimited with commas in the file name
on mouseDoubleUp
  put the detailed files into detailedList
  put urlencode(the files) into tempEncoded
  replace "%0D%0A" with cr in tempEncoded
  filter tempEncoded without empty
  get tempEncoded  -- < for some reason this is necessary
  repeat for each line LNN in it
replace LNN with LNN & tab in detailedList
  end repeat
  put urlDecode(detailedList) into goodList
  set the itemdel to tab
  repeat for each line LNN2 in goodList
get item 2 of LNN2
replace comma with tab in it
put item 1 of LNN2 &tab & it &cr after newList
  end repeat
  delete char -1 of newList
  put newList
  --tab delimited with commas in the file name
end mouseDoubleUp

Hope this helps

Jim Ault
Las Vegas



___
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 noob questions

2006-10-11 Thread Eric Chatonet

Hi Malte,

As usual, Ken gave you a perfect private crash course but you could  
also be interested in Sarah's XMLdemo1.rev, a great tutorial.

http://www.troz.net/Rev/tutorials.php

Best Regards from Paris,
Eric Chatonet

Le 11 oct. 06 à 14:09, Malte Brill a écrit :


Hi all,

I´m playing a bit with XML in rev at the moment. It seems I don´t  
get it from the docs. Any tuts on how to do useful things with Revs  
XML lib?


Example:



 Default
 
  55514
  /skin/top.jpg
 
 
  55515
  /skin/pattern.jpg
 
 
myField
45,78,90
 


What I want to do now is to display in a field:

Title: Default
image ID 55514: /skin/top.jpg
image ID 55515: /skin/pattern.jpg
field myField: 45,78,90

Any hints and codeSnippets much appreciated.

All the best,

Malte


 
--

http://www.sosmartsoftware.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


Re: Problem with copied files in filemager. How do I solve this?

2006-10-11 Thread Mark Schonewille

Hoi William,

Depending on what you are copying, you have to set the file type  
before creating a file:


set the filetype to "GIFf"
put url x into url y

You might try setting the filetype to "" and see if that  
works for you.


Groeten,

Mark

--

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

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


Op 11-okt-2006, om 17:44 heeft William de Smet het volgende geschreven:


Hi there,

Hi there,

I'm trying to make a little filemanager in which it is possible to
copy files from one folder to another. I used FTP commander by Andre
Garzia as a startingpoint.

I use defaultfolder on one side and on the other side a browse button
(just like FTP commander).
I managed to get the file copied but then it appears to be just a  
textfile.

What am I doing wrong?

Code:
on mouseUp
 put fld "current folder" into tserver
 put "binfile:/" & fld "data folder" into tfolder
 put the hilitedLines of fld "local file list" into tLines
 repeat for each item tFile in tLines
   put line tFile of fld "local file list" into tFileName
   --delete last char of tFilename
   put tServer & tFileName into tServerPath
   put tFolder & "/" & tfilename into tFolderPath
   answer tServerPath & cr & tFolderPath
   put  URL tServerPath into URL tFolderPath
 end repeat
 refreshdatafilelist
end mouseUp

Like I said it's code based upon FTP manager.

I checked the documentation and the suggested to use revCopyFile
"folder/file.txt","folder/"

I tried to  change the code but nothing seems to work.
I am kinda stuck now.
Any suggestions are welcome!

greetings,

William de Smet


___
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: HTML detection

2006-10-11 Thread Mark Schonewille

Hi JB,

Any correct html file contains  and the htmlText property  
always contains  and  even if the owner of the property is  
empty. A text that doesn't contain the < and > characters isn't an  
html text. Of course, once you have modified that text using a script  
or if you have only a small part of the html code, these "rules" no  
longer apply.


Best,

Mark

--

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

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


Op 11-okt-2006, om 17:38 heeft jbv het volgende geschreven:


Hi list,

Does anyone have a simple piece of code to detect if
some text contains html tags ?

I thought of maintening a list of all possible html tags
and chacking if the text contains any of them, but I
have the feeling that there might be a simpler and / or
more elegant solution...

Thanks,
JB



___
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


Is this weird or is it me?

2006-10-11 Thread Lars Brehmer
I just wrestled with a problem, finally solving it by trying  
something that in my opinion shouldn't be necessary, but why this was  
necessary makes no sense to me whatsoever.  Can anyone explain this?


Two buttons, one right behind the other one.  When the one in front  
is visible and disabled, it's "rollover" icon, which I do with  
mouseEnter and mouseLeave, is disabled - so far so good - , but if it  
is clicked on anyway, the script of the button behind it is  
executed!  After a lot of cursing and dumfoundedness, I tried moving  
it so it is NOT in front of the second one and it behaves as expected  
- disabled.  OK, so put it behind the second one, and in all relevant  
scripts hide the one that is now in front so my purpose is served,  
but why is this necessary?  Why does clicking on a disabled button  
cause the script of another button to run?


Just very, very curious!

Cheers,

Lars
___
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: Is this weird or is it me?

2006-10-11 Thread Klaus Major

Hi Lars,

I just wrestled with a problem, finally solving it by trying  
something that in my opinion shouldn't be necessary, but why this  
was necessary makes no sense to me whatsoever.  Can anyone explain  
this?


Two buttons, one right behind the other one.  When the one in front  
is visible and disabled, it's "rollover" icon, which I do with  
mouseEnter and mouseLeave, is disabled - so far so good - , but if  
it is clicked on anyway, the script of the button behind it is  
executed!  After a lot of cursing and dumfoundedness, I tried  
moving it so it is NOT in front of the second one and it behaves as  
expected - disabled.  OK, so put it behind the second one, and in  
all relevant scripts hide the one that is now in front so my  
purpose is served, but why is this necessary?  Why does clicking on  
a disabled button cause the script of another button to run?


Just very, very curious!


just guessing, but maybe a disabled button/object is treated as if it  
was invisible?


So clicking in that area will simply pass the click and hit the  
button behind the disabled

button in your case.


Cheers,

Lars


Regards

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

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


Re: Is this weird or is it me?

2006-10-11 Thread Ken Ray
On 10/11/06 11:55 AM, "Lars Brehmer" <[EMAIL PROTECTED]> wrote:

> I just wrestled with a problem, finally solving it by trying
> something that in my opinion shouldn't be necessary, but why this was
> necessary makes no sense to me whatsoever.  Can anyone explain this?

Yes, it's a bug (IMHO)... :-)

The reason I say this is that the button's "opaque" property should control
(once again, IMHO) whether mouse clicks are trapped. Since a disabled button
has its opaque property still "true" means that it should continue to trap
mouse clicks. The fact that it doesn't tells me it's a bug.

So unless there's some dissenting opinion on this, I'd recommend logging
this as a bug in Bugzilla.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Is this weird or is it me?

2006-10-11 Thread Eric Chatonet

Hi Lars,

Normal behavior:
You have just to consider that when a control is disabled, it's  
exactly as it did not exist :-)


Le 11 oct. 06 à 18:55, Lars Brehmer a écrit :

I just wrestled with a problem, finally solving it by trying  
something that in my opinion shouldn't be necessary, but why this  
was necessary makes no sense to me whatsoever.  Can anyone explain  
this?


Two buttons, one right behind the other one.  When the one in front  
is visible and disabled, it's "rollover" icon, which I do with  
mouseEnter and mouseLeave, is disabled - so far so good - , but if  
it is clicked on anyway, the script of the button behind it is  
executed!  After a lot of cursing and dumfoundedness, I tried  
moving it so it is NOT in front of the second one and it behaves as  
expected - disabled.  OK, so put it behind the second one, and in  
all relevant scripts hide the one that is now in front so my  
purpose is served, but why is this necessary?  Why does clicking on  
a disabled button cause the script of another button to run?


Just very, very curious!

Cheers,

Lars-


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.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


Re: Constrain position of substack

2006-10-11 Thread Roger . E . Eller
> Recently, [EMAIL PROTECTED] wrote:
> 
>> Can the movement of a substack be confined within the rectangle of an
>> object of the mainstack when the substack is dragged by its title bar?
> 
> I believe the only way to do this is to create your own title bar and 
script
> it, which is pretty easy to do.  Look in the list archives for custom 
drag
> routines.  You may also want to look at our Drag Sample stack that
> illustrates constraining.  In your message box:
> 
>  go url "http://www.tactilemedia.com/download/drag_sample.rev";
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design

Thanks Scott! Your drag_sample.rev contained exactly what I needed.

Kind regards,
Roger Eller <[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: Is this weird or is it me?

2006-10-11 Thread Trevor DeVore

On Oct 11, 2006, at 10:02 AM, Ken Ray wrote:

So unless there's some dissenting opinion on this, I'd recommend  
logging

this as a bug in Bugzilla.


I would like to dissent :-)  I think if a control is disabled it  
should not receive events regardless of the opaque property.  It is  
disabled meaning it shouldn't do anything.  This is a handy way to  
turn off interface elements.


--
Trevor DeVore
Blue Mango Learning Systems - 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


Re: Is this weird or is it me?

2006-10-11 Thread Eric Chatonet

Hi Ken,

I agree and disagree at the same time:
A disabled button is a disabled button regardless of any of its other  
properties.

But, when it's disabled, should it not exist as it's the case now.
I think you are right: the answer is no :-)

Best Regards from Paris,
Eric Chatonet

Le 11 oct. 06 à 19:02, Ken Ray a écrit :


On 10/11/06 11:55 AM, "Lars Brehmer" <[EMAIL PROTECTED]> wrote:


I just wrestled with a problem, finally solving it by trying
something that in my opinion shouldn't be necessary, but why this was
necessary makes no sense to me whatsoever.  Can anyone explain this?


Yes, it's a bug (IMHO)... :-)

The reason I say this is that the button's "opaque" property should  
control
(once again, IMHO) whether mouse clicks are trapped. Since a  
disabled button
has its opaque property still "true" means that it should continue  
to trap

mouse clicks. The fact that it doesn't tells me it's a bug.

So unless there's some dissenting opinion on this, I'd recommend  
logging

this as a bug in Bugzilla.

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


 
--

http://www.sosmartsoftware.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


Re: Constrain position of substack

2006-10-11 Thread Ken Ray
On 10/11/06 10:45 AM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

> Recently, [EMAIL PROTECTED] wrote:
> 
>> Can the movement of a substack be confined within the rectangle of an
>> object of the mainstack when the substack is dragged by its title bar?
> 
> I believe the only way to do this is to create your own title bar and script
> it, which is pretty easy to do.

Agreed. The reason is that you don't get an event when dragging the titlebar
until you have finished dragging. You can always "snap back" your stack to
the proper location after the mouse is up, but it looks funky, IMHO.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


CGI for Slide show

2006-10-11 Thread Sivakatirswami

Has anyone done a CGI that runs a slide  show?

basically you have a folder of images, user clicks "Next" or "Previous"
and the CGI drives a new image and text into the same screen.

If this could be an embedded object, great, otherwise, a complete web
screen built from a template or something... the only caveat is
of course, Rev has no session variables... so how do we store the users'
current place in the slide show? If user ONE is flipping through the
slide show and is on slide 5 and user TWO is flipping through the slide
show and is  on slide 8, where  does  that information live? I suppose
one could generate a hidden input variable on the  fly, embed this in
the page as a input if we want to use POST or  as a GET parameter
in the cgi "next" button which is passed to the CGI in $QUERY or
possibly we save cookie info?

I recall some mentioned a few years back about someone successfully
embedding stuff in a web page with CGI; I can also use  iFrame which is
considered non-standard,  and deprecated
(I don't know why... it works fine...I use it now.)
Or push the show to a new top window which contains the entire
presentation and no other elements.

I see lots of ways of doing this pretty easily, but
before digging into it I just wanted to check before re-inventing the
wheel.

TIA

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/

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


Re: Re: Is this weird or is it me?

2006-10-11 Thread Malte Brill
If this behaviour is changed, it will break quite a few stacks of  
mine. Not sure if it is a bug or not. I got used to it and exploit  
it. :-)


So unless there's some dissenting opinion on this, I'd recommend  
logging

this as a bug in Bugzilla.


All the best,

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


Re: CGI for Slide show

2006-10-11 Thread Jan Schenkel
--- Sivakatirswami <[EMAIL PROTECTED]> wrote:
> Has anyone done a CGI that runs a slide  show?
> 
> basically you have a folder of images, user clicks
> "Next" or "Previous"
> and the CGI drives a new image and text into the
> same screen.
> 
> If this could be an embedded object, great,
> otherwise, a complete web
> screen built from a template or something... the
> only caveat is
> of course, Rev has no session variables... so how do
> we store the users'
> current place in the slide show? If user ONE is
> flipping through the
> slide show and is on slide 5 and user TWO is
> flipping through the slide
> show and is  on slide 8, where  does  that
> information live? I suppose
> one could generate a hidden input variable on the 
> fly, embed this in
> the page as a input if we want to use POST or  as a
> GET parameter
> in the cgi "next" button which is passed to the CGI
> in $QUERY or
> possibly we save cookie info?
> 
> I recall some mentioned a few years back about
> someone successfully
> embedding stuff in a web page with CGI; I can also
> use  iFrame which is
> considered non-standard,  and deprecated
> (I don't know why... it works fine...I use it now.)
> Or push the show to a new top window which contains
> the entire
> presentation and no other elements.
> 
> I see lots of ways of doing this pretty easily, but
> before digging into it I just wanted to check before
> re-inventing the
> wheel.
> 
> TIA
> 
> Sivakatirswami
> 

Hi Swami,

While I can't give you a cgi script, here's my idea on
how I'd tackle this: put a form in the resulting html
file, with a hidden field that contains the current
slide number.



http://example.com/cgi-bin/slideshow.rev";
method="POST">
... the normal stuff that includes the image ...







Your cgi will receive the 'currentImage' and 'action'
parameters and will be able to determine what to do
next. For more complete control, you could also add a
hidden input that has the slideshow images directory.

Hope this gets you started,

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: CGI for Slide show

2006-10-11 Thread David Bovill

I guess it depends how good you want it to look i the browser. If you want
really good results you need to use one of the open source DHTML or Flash
based slied shows. You can also use QuickTime and send it XML - not just
SMIL. But as far as i know these are not designed out of the box to send
back where in the slide show the user is. For that you would need to hack
the Flash or javascript.

Take a look at lightbox:
http://www.huddletogether.com/projects/lightbox2/My guess is that the
best soltion is to get lightbox to send back the user
position to a CGI or to set a cookie.
___
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: Is this weird or is it me?

2006-10-11 Thread Ken Ray
On 10/11/06 12:10 PM, "Trevor DeVore" <[EMAIL PROTECTED]> wrote:

> On Oct 11, 2006, at 10:02 AM, Ken Ray wrote:
> 
>> So unless there's some dissenting opinion on this, I'd recommend
>> logging
>> this as a bug in Bugzilla.
> 
> I would like to dissent :-)  I think if a control is disabled it
> should not receive events regardless of the opaque property.  It is
> disabled meaning it shouldn't do anything.  This is a handy way to
> turn off interface elements.

Actually what I mean is that it shouldn't act like it doesn't exist... if
you click on a disabled opaque button, it shouldn't pass the click to things
behind it...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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


Resizestack: sending and passing problem

2006-10-11 Thread David Bovill

Spent hours trying to track this down...

 send "resizeStack" to card 1

Could not get it to work.

Then tried this. Create a blank stack - on the card script add:

on mouseUp
   beep
   pass mouseUp
end mouseUp

And put an empty button on a card. Clicking on the button gives you a very
pleasing beep. But put this script in the button:

on mouseUp
   send "mouseUp" to card 1
end mouseUp

And you get an error! Remove the "pass mouseUp" from the card script and
everything works.

OK - so my problem is how do you send "resizeStack" messages. I don"t want
to not pass this message?
___
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: Using 'for each' to modify a container

2006-10-11 Thread Bill Marriott
Hi Jim,

> I think the reason that 'for each' is so fast is that it scans the
> "vContainer" memory space, returns those characters, and is not meant to 
> be
> modified.  My experience is that it is unpredictable to rely on the 
> changed
> value of 'thisLine'

Wow, this is very interesting to me. I just checked the documentation 
(2.6.1) on the "for each chunkType labelVariable" for of repeat, and was 
astonished to find:

>>>
Important! You cannot change the labelVariable in a statement inside the 
loop. Doing so will cause a script error. You can change the content of the 
container, but doing so will probably produce unexpected results.
<<<

Ya learn something new every day! Sounds kind of cheesy to me, though. Why 
wouldn't it be identical to

repeat with i = 1 to the number of chunkType in theContainer
  put chunkType i of theContainer into labelVariable
  -- do stuff
end repeat

Your explanation is plausible, but if it is so then why permit ("You can 
change...") changing the contents of the container itself within the loop? 
That would seem to cause an even bigger problem.

BTW, I set up a button with the following script:

on mouseUp
  put empty into newContainer
  repeat for each line thisLine in fld 1
put thisline & "***" into thisLine
put thisLine & return after newContainer
  end repeat
put char 1 to -2 of newContainer into fld 1
end mouseUp

Which not only didn't generate a script error but worked perfectly as 
"expected." Is the bug in the documentation, or that it doesn't generate a 
script error, or that for each doesn't let you modify the labelVariable?

And I'm *really* concerned about the second part of your report

> Further, I don't reuse the name 'thisLine' in the next instance of a 
> repeat
> for each loop in the *same handler*, but change the name to avoid 
> conflict,
> such as 'thisline', 'thisline1', 'thisLine2'.  Again, unpredictable 
> results
> occasionally.

Surely THAT is a definite bug?! Have other people experienced this? Are you 
able to reproduce it? Is there a bug on it already filed? I do this all the 
time and I'd have to update a lot of code to fix it.

This would suggest to me that maybe I shouldn't use "i" more than once in a 
handler as the control variable for a repeat as well (something I always do, 
unless nesting the loops of course).

I won't even get into the idea of declaring the labelVariable as a global!

> --my preference is
> put empty into newContainer
>   repeat for each line thisLine in vContainer
>   put doSomeFunction(item -2 of thisLine)&cr after newContainer
> end repeat
> put char 1 to -2 of newContainer into vContainer 



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


[OT] AJAX to Overtake Flash?

2006-10-11 Thread Scott Rossi
Not sure whether to laugh, or cry (or both).

http://weblog.infoworld.com/techwatch/archives/008259.html

On an unrelated note, I find it interesting to have come across several
products that have gone the way of the net-enabled app, in terms of help,
add-ons and even primary user interaction.  A big one is Adobe's Bridge,
which is slow and something of a behemoth, but Adobe appears to be moving
away from the "local HTML pages" model and toward the "beyond the browser"
model.  Even product sales are handled within the app, instead of an HTML
storefront.

Fun stuff.

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: HTML detection

2006-10-11 Thread Bill Marriott
Well, HTML is always supposed to begin with  and end with . 
But, if you're talking about Rev html-esque fragments, they don't follow the 
rule above. However, theHTMLtext of a field always begins with  and ends 
with  even if the content of the field is blank (and even if you set 
theHTMLtext of the field to "stuff").

I suppose that you could say something like:

If "" & the text of fld 1 & "" = theHTMLtext of fld 1 then
  -- it's not formatted
else
  -- it's formatted
end if

Is that what you're looking for?

> Does anyone have a simple piece of code to detect if
> some text contains html tags ?
>
> I thought of maintening a list of all possible html tags
> and chacking if the text contains any of them, but I
> have the feeling that there might be a simpler and / or
> more elegant solution...



___
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: Is this weird or is it me?

2006-10-11 Thread Trevor DeVore

On Oct 11, 2006, at 11:03 AM, Ken Ray wrote:

Actually what I mean is that it shouldn't act like it doesn't  
exist... if
you click on a disabled opaque button, it shouldn't pass the click  
to things

behind it...


Ah.  I could see how you could make an argument either way but like  
Malte I have come to rely on the current behavior.


--
Trevor DeVore
Blue Mango Learning Systems - 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


Re: Resizestack: sending and passing problem

2006-10-11 Thread Mark Schonewille

Hi David,

The correct way is to create a resizeStack handler like this:

on resizeStack
  modResizeStack
  pass resizeStack
end resizeStack

on modResizeStack
  -- do stuff here
end modResizeStack

and a button would contain a script like

on mouseUp
  modResizeStack
end mouseUp

Now, you can call the modResizeStack handler without worrying about  
an error. If the only reason for passing the resizeStack message is  
you using the geometry manager, you don't really need to pass the  
resizeStack message and the following would be sufficient:


on resizeStack
  revUpdategeometry
  -- do stuff here
end resizeStack

Now you could safely call the resizeStack handler using

on mouseUp
  resizeStack
end mouseUp

If you don't want to change your scripts at the risk of breaking  
them, you can prevent the error from popping up by means of a try  
control structure:


on mouseUp
  try
resizestack
  end try
end mouseUp

As a rule, all message send by a script, need to be handled in  
another script. Messages that are triggered by an event, such as an  
actual mouseClick or mouseMove, can go unhandled. (This is different  
from HyperCard, where all messages recognised as valid HyperTalk can  
go unhandled).


Best,

Mark

--

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

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


Op 11-okt-2006, om 23:57 heeft David Bovill het volgende geschreven:


Spent hours trying to track this down...

 send "resizeStack" to card 1

Could not get it to work.

Then tried this. Create a blank stack - on the card script add:

on mouseUp
   beep
   pass mouseUp
end mouseUp

And put an empty button on a card. Clicking on the button gives you  
a very

pleasing beep. But put this script in the button:

on mouseUp
   send "mouseUp" to card 1
end mouseUp

And you get an error! Remove the "pass mouseUp" from the card  
script and

everything works.

OK - so my problem is how do you send "resizeStack" messages. I  
don"t want

to not pass this message?



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


Re: Re: Is this weird or is it me?

2006-10-11 Thread Sarah Reichelt

On 10/12/06, Malte Brill <[EMAIL PROTECTED]> wrote:

If this behaviour is changed, it will break quite a few stacks of
mine. Not sure if it is a bug or not. I got used to it and exploit
it. :-)



Same for me. I use the behaviour to have a button that explains why
the visible button is disabled. I put a transparent button underneath
the main button. If the main button is enabled, the transparent button
never gets clicked. If the main button is disabled, the transparent
button can tell the user why. People WILL click on a disabled button
just in case it might possibly work :-)

If you don't want this to happen, then disable the second button as well.

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


How about an E-Sellerate plug-in?

2006-10-11 Thread Greg Smith

Does anyone know about any development along these lines?

Thanks,

Greg Smith
___
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: Using 'for each' to modify a container

2006-10-11 Thread Jim Ault
On 10/11/06 3:05 PM, "Bill Marriott" <[EMAIL PROTECTED]> wrote:
> Hi Jim,
>> I think the reason that 'for each' is so fast is that it scans the
>> "vContainer" memory space, returns those characters, and is not meant to
>> be
>> modified.  My experience is that it is unpredictable to rely on the
>> changed
>> value of 'thisLine'
> 
> Wow, this is very interesting to me. I just checked the documentation
> (2.6.1) on the "for each chunkType labelVariable" for of repeat, and was
> astonished to find:
> 
> Important! You cannot change the labelVariable in a statement inside the
> loop. Doing so will cause a script error. You can change the content of the
> container, but doing so will probably produce unexpected results.
> <<<
(disclaimer.. I do not have assembler programming, or other low-level
experience, so what follows in an amateur discussion)

I believe this stems from the way memory registers are managed.  The very
tiny bit of C and Pascal programming I read meant I had to first learn how
to manage anything I created, finally releasing it back to the operating
system.  The penalty was mucho errors and unexpected results.

My guess is that Rev is allowing speed in cases where they do not have to
munger variables in memory, therefore you cannot reliably 'redefine' them on
the fly.  A loop counter may be an offset index that is pre-set when the
loop starts, thus very fast, but not to be changed during execution.  Kinda
like re-indexing a database.

 
> Ya learn something new every day! Sounds kind of cheesy to me, though. Why
> wouldn't it be identical to
> 

> repeat with i = 1 to the number of chunkType in theContainer
>   put chunkType i of theContainer into labelVariable
>   -- do stuff
> end repeat
The  'to the number of'   useage is much, much slower, thus not identical

> Your explanation is plausible, but if it is so then why permit ("You can
> change...") changing the contents of the container itself within the loop?
> That would seem to cause an even bigger problem.
> 
> BTW, I set up a button with the following script:
> 
> on mouseUp
>   put empty into newContainer
>   repeat for each line thisLine in fld 1
> put thisline & "***" into thisLine
> put thisLine & return after newContainer
>   end repeat
> put char 1 to -2 of newContainer into fld 1
> end mouseUp
> 
> Which not only didn't generate a script error but worked perfectly as
> "expected." Is the bug in the documentation, or that it doesn't generate a
> script error, or that for each doesn't let you modify the labelVariable?
The error probably depends on what other operations are being done in the
memory stack of Rev.  Here 'memory stack' is the area of computer memory
registers the system reserves for Rev to use.   If nothing requires Rev to
'move' memory locations, then your labelVariable will be in the same
location the next time you want to access it.

Its like the coffee cup on your desk.  You reach for it without looking, and
all is well, unless someone pushed it closer to you when you were not
looking.

> And I'm *really* concerned about the second part of your report
> 
>> Further, I don't reuse the name 'thisLine' in the next instance of a
>> repeat
>> for each loop in the *same handler*, but change the name to avoid
>> conflict,
>> such as 'thisline', 'thisline1', 'thisLine2'.  Again, unpredictable
>> results
>> occasionally.
> 
> Surely THAT is a definite bug?! Have other people experienced this? Are you
> able to reproduce it? Is there a bug on it already filed? I do this all the
> time and I'd have to update a lot of code to fix it.
> 
> This would suggest to me that maybe I shouldn't use "i" more than once in a
> handler as the control variable for a repeat as well (something I always do,
> unless nesting the loops of course).
> 
> I won't even get into the idea of declaring the labelVariable as a global!
All I can say is that you are getting a tradeoff...
memory registers + speed vs controlled variables and definitions

>> --my preference is
>> put empty into newContainer
>>   repeat for each line thisLine in vContainer
>>   put doSomeFunction(item -2 of thisLine)&cr after newContainer
>> end repeat
>> put char 1 to -2 of newContainer into vContainer 


___
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: Comparison of Multimedia

2006-10-11 Thread Luis

Hiya,

Ok, I'll get the feelers out on QT: I'll get back to you as soon as I  
get word back.


Cheers,

Luis.

On 11 Oct 2006, at 5:02, GregSmith wrote:



Luis:

Anything you can dig up regarding the future of QuickTime on iPods  
is of
definite interest to me. And, as far as QuickTime development  
software goes,
VideoClix seems to be holding its own while other companies are  
floundering,
(TotallyHip seems to be more of a consullting firm, now, than a  
software
producer).  iShell also has had to regroup and is now under the  
flagship of

another company.  All this news beats me.

Thanks again,

Greg Smith



Luis-24 wrote:


If you're looking to the iPod market:

Ever the cheapo me... Look at this: http://www.apple.com/quicktime/
tutorials/creatingvideo.html
QT pro is $30.

There are rumours about (and with the new releases having games and
all!) that the firmware may be updated to support QT VR, adding
interactivity to QT files on the iPods... (VideoClix probably has
it's own QT codec for this). Lemme know and I'll try to dig up more
info if you like.

Need to sleep now.

Cheers,

Luis.


On 11 Oct 2006, at 0:21, Luis wrote:


Hiya,

From their site:

VideoClix 2.9 Lite & Updates For: Short video Blogs
Quicktime
$ 49 US

VideoClix 2.9 Edu For: Educational use & Podcasts
Quicktime, AVI, Mpeg1 & 4, DV
$ 249 US

VideoClix 2.9 Pro For: Commercial use
Quicktime, AVI, Mpeg1 & 4, Flash, DV
$ 699 US

VideoClix OEM License
$ 9995 US

Are you nuts! Or loaded? (Are you married?... ;)

The interface looks very simple, but it doesn't look like it
couldn't be done with Revolution and the EnhancedQT External (have
a look at: http://www.runrev.com/spotlight_on/alida1.php to see
what I mean. No EQT, but then again, he didn't need it). Revolution
and EQT could be used to create your own 'creator'. The export
formats would probably be doable with Media Cleaner (now Autodesk
Cleaner, I think it's $500) or some other app.
I haven't tried it, and at those prices... Although the Commercial
licence isn't too bad considering others around. Norpath and
QuickMedia are roughly half the price. It really depends what your
target markets are.
I'd opt for the cheap end, and if I find I'm rolling in it I'd
invest in a broader market by purchasing, possibly, such an app.
But man, $9995 just for rebranding?! I'm sure with Revolution, EQT
and some other apps you could do it for a fraction of the cost.
Even though I do like Norpath, a lot, it still falls short for some
other things I want to do (MIDI panning for example. It has it, but
not 'controllable'). I'd easily be able to do the same as
VideoClix, and then work on the export formats with some other app
(probably find a freebie somewhere in Sourceforge).
Kagi integration would be cool, but then there are other ways to
integrate payment systems. Like I said, I'd start small and work up
from there.

Download the trial and see. But really test the trial and see what
support you get for any issues you crop up with. After that, well,
it's your money!
But at first glance, looking at the capabilities of the other apps,
it doesn't tempt me at the moment, it's too specific, and the
projects I have lined up need greater flexibility and facilities.

I'm sure more experienced Transcript coders than me on this list
would be able to drum up something similar (dang! There goes
another idea...).

Let me know what you think!

Cheers,

Luis.


On 10 Oct 2006, at 22:53, GregSmith wrote:



Luis:

Now that we're discussing various multimedia software, what about
VideoClix?
If it had Kagi KRM, I'd buy it today.  The thing about VideoClix
is, again,
no forum, not much apparent support, no demo at all and a high
price tag.
Now, how do they expect to get customers that way?  Although,
every review
is favorable and Apple, itself, (herself, himself), uses this
QuickTime
dedicated software.  Now, just casually considering all of the
stuff it
allows you to do inside the QuickTime container, and how universal
QuickTime
is becoming, (imagine dispensing training solutions via iPods), I
can even
imagine being able to put together a rather primitive adventure
game, just
by using this app.  What do you know or think about it?

Greg Smith



___
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




--
View this message in context: http://www.nabble.com/Re%3A- 
Comparison-of-Multimedia-tf2417422.html#a6749941

Sent from the Revolution - User mailing list archive 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-revolu

Re: Comparison of Multimedia

2006-10-11 Thread Luis

That is cheap!

Cheers,

Luis.


On 11 Oct 2006, at 6:50, Dan Shafer wrote:

I haven't used this product in some time and I'm not recommending  
it but it
might be worth evaluation by some of the folks who are interested  
in doing

multimedia work for which Rev is either overkill or not suited.

MovieWorks;

http://www.movieworks.com

I know a couple of folks who swear by it for creating interactive  
multimedia
and it has a decent price tag. IIRC, the docs are good and there  
are strong

tutorials. I know it's in use by a number of schools.
--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.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



___
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: [OT] AJAX to Overtake Flash?

2006-10-11 Thread Luis



Problem I see is the wire (even the one in 'wireless'): Once the wire  
is down, so is the app.
Nobody expects a hard disk to fail, but they do. No one wants the  
'wire' to fail, but it does.


Sorry, I just realised I'm going nowhere with this...!

Cheers,

Luis.



On 11 Oct 2006, at 23:11, Scott Rossi wrote:


Not sure whether to laugh, or cry (or both).

http://weblog.infoworld.com/techwatch/archives/008259.html

On an unrelated note, I find it interesting to have come across  
several
products that have gone the way of the net-enabled app, in terms of  
help,
add-ons and even primary user interaction.  A big one is Adobe's  
Bridge,
which is slow and something of a behemoth, but Adobe appears to be  
moving
away from the "local HTML pages" model and toward the "beyond the  
browser"
model.  Even product sales are handled within the app, instead of  
an HTML

storefront.

Fun stuff.

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



___
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: [OT] Installing SheepShaver (was Re: Classic Emulators)

2006-10-11 Thread Sarah Reichelt

On 9/28/06, Ken Ray <[EMAIL PROTECTED]> wrote:

On 9/27/06 6:53 PM, "Jim Carwardine" <[EMAIL PROTECTED]>
wrote:

> Actually, I'm having trouble understanding how to install SheepShaver as
> well.  The web site assumes a certain level of technical savvy I don't have.
> Ken, can you give us a 6 line primer on how to find such things as the OS
> ROMs, etc?... Jim

Here's the steps I followed (found this on the Ambrosia Software Web Board -
watch the line breaks) - it's a bit more than 6 lines though :





Many thanks Ken for compiling this guide. I followed up and have now
got to the stage where I have to install Mac OS. It rejects my OS 9.1
CD, so I've dug up an old 8.5 installer which I will try next.

What OS is anyone else using?
If I install 8.5, can I then update to 9.x?

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


Re: [OT] Installing SheepShaver (was Re: Classic Emulators)

2006-10-11 Thread Jim Carwardine
Hi Ken... In your original instructions you didn't mention clicking Start in
the SS GUI.  I did that and the .dmg mounted right away... Jim


on 10/11/06 11:19 AM, Ken Ray wrote:

> On 10/9/06 7:34 PM, "Jim Carwardine" <[EMAIL PROTECTED]>
> wrote:
> 
>> Hi Ken... I created the .dmg file and put it in my SS folder.  I mounted it
>> in the SS GUI but when I start SS and bring up OS 9, the .dmg isn't there.
>> Is there something more I need to do?  Jim
> 
> Hmm that's odd - works here for me (but then again, I'm using OS 8.5 in my
> SS since I don't have OS 9 install disks I can use). What size was the
> volume of the .dmg you were trying to mount?
> 
> Here' s the steps I took (maybe there's some difference between what you did
> and what I did - I'm on 10.4.7, BTW):
> 
> 1) Launch Disk Utility.
> 
> 2) Click on the "New Image" button in the toolbar.
> 
> 3) In the sheet that's displayed, navigate to the SS folder, and save it as
> "Test", with the size as "40MB", Encryption is "none", and Format is
> "read/write disk image". Disk Utility will create the image file "Test.dmg",
> and mount it on the desktop.
> 
> 4) In Disk Utility, select the Test.dmg image and click the Eject button.
> 
> 5) Quit Disk Utility.
> 
> 6) Launch SS GUI.
> 
> 7) On the Volumes tab, click "Add..." and select "Test.dmg"
> 
> 8) Click "Start" to run SS. It should mount the volume "Test" on the
> desktop.
> 
> If for some reason it doesn't, you might want to try going into Disk Utility
> and reformatting the DMG as "Mac OS (Standard)" instead of "Mac OS
> (Extended)". Perhaps that might help...
> 
> 
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [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

-- 

www.TalentSeeker.ca   www.HiringSmart.ca/ns   www.KeepingTheBest.ca/ns


Own Your Future Consulting Services Limited,
23 Shoal Cove Road, Seabright, Nova Scotia, Canada.  B3Z 3A9
Phone: 902-823-2339. Fax: 902-823-2139





___
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: HTML detection

2006-10-11 Thread Chipp Walters

Bill,
That wouldn't work as there are more than one  in a field with multiple cr's.

JBV, I think I would need more information about what you're trying to
do. If you're talking about strict HTML, then of course as previously
mentioned, checking for " wrote:

I suppose that you could say something like:

If "" & the text of fld 1 & "" = theHTMLtext of fld 1 then
  -- it's not formatted
else
  -- it's formatted
end if

___
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: [OT] Installing SheepShaver (was Re: Classic Emulators)

2006-10-11 Thread Jim Carwardine
Hi Sarah... I've installed 9.0 easily in SS following Kens easy steps as he
outlined.  You shouldn't have any problems as long as you se a generic copy
as Ken suggests... Jim


on 10/11/06 10:00 PM, Sarah Reichelt wrote:

> On 9/28/06, Ken Ray <[EMAIL PROTECTED]> wrote:
>> On 9/27/06 6:53 PM, "Jim Carwardine" <[EMAIL PROTECTED]>
>> wrote:
>> 
>>> Actually, I'm having trouble understanding how to install SheepShaver as
>>> well.  The web site assumes a certain level of technical savvy I don't have.
>>> Ken, can you give us a 6 line primer on how to find such things as the OS
>>> ROMs, etc?... Jim
>> 
>> Here's the steps I followed (found this on the Ambrosia Software Web Board -
>> watch the line breaks) - it's a bit more than 6 lines though :
> 
> 
> 
> 
> Many thanks Ken for compiling this guide. I followed up and have now
> got to the stage where I have to install Mac OS. It rejects my OS 9.1
> CD, so I've dug up an old 8.5 installer which I will try next.
> 
> What OS is anyone else using?
> If I install 8.5, can I then update to 9.x?
> 
> Cheers,
> Sarah
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

-- 

www.TalentSeeker.ca   www.HiringSmart.ca/ns   www.KeepingTheBest.ca/ns


Own Your Future Consulting Services Limited,
23 Shoal Cove Road, Seabright, Nova Scotia, Canada.  B3Z 3A9
Phone: 902-823-2339. Fax: 902-823-2139





___
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: Is this weird or is it me?

2006-10-11 Thread Ken Ray
On 10/11/06 5:23 PM, "Trevor DeVore" <[EMAIL PROTECTED]> wrote:

> On Oct 11, 2006, at 11:03 AM, Ken Ray wrote:
> 
>> Actually what I mean is that it shouldn't act like it doesn't
>> exist... if
>> you click on a disabled opaque button, it shouldn't pass the click
>> to things
>> behind it...
> 
> Ah.  I could see how you could make an argument either way but like
> Malte I have come to rely on the current behavior.

I think where I'm coming from is that none of the other xTalks I've used
(HyperCard, SuperCard, Oracle Media Objects, etc.) behave this way, so to me
it seems "wrong". I wouldn't want to suggest that it should be changes to
break other people's code, but perhaps some way to make it not do that (a
new global property, a new object property, etc.) would be nice.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: [OT] AJAX to Overtake Flash?

2006-10-11 Thread Scott Rossi
Recently, Luis wrote:

>> On an unrelated note, I find it interesting to have come across
>> several products that have gone the way of the net-enabled app, in terms of
>> help, add-ons and even primary user interaction.

> Problem I see is the wire (even the one in 'wireless'): Once the wire
> is down, so is the app.
> Nobody expects a hard disk to fail, but they do. No one wants the
> 'wire' to fail, but it does.

If the wire fails, your app is not down; your access to the latest and
greatest content is delayed.  It doesn't make sense to store an entire help
system online. The more intelligent system stores a version locally and
updates the local version as needed.  If the apps completely relied on the
wire, then there would be a problem, but the wire simply provides a means to
keep your local content in synch with the latest version.  So yes, your
content is only as recent as the latest net update, but you always have
access to *some* content, though it may not be the version that was
published yesterday.

And even if the wire is not available, you still can't shop anywhere,
regardless of what mechanism is used to drive the store.

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: [OT] AJAX to Overtake Flash?

2006-10-11 Thread Josh Mellicker
The future is that browsers will cache a lot of data so web apps can  
be used offline. Hehehehe (laughing trailing off into an echo)



On Oct 11, 2006, at 6:30 PM, Scott Rossi wrote:


Recently, Luis wrote:


On an unrelated note, I find it interesting to have come across
several products that have gone the way of the net-enabled app,  
in terms of

help, add-ons and even primary user interaction.



Problem I see is the wire (even the one in 'wireless'): Once the wire
is down, so is the app.
Nobody expects a hard disk to fail, but they do. No one wants the
'wire' to fail, but it does.


If the wire fails, your app is not down; your access to the latest and
greatest content is delayed.  It doesn't make sense to store an  
entire help
system online. The more intelligent system stores a version locally  
and
updates the local version as needed.  If the apps completely relied  
on the
wire, then there would be a problem, but the wire simply provides a  
means to
keep your local content in synch with the latest version.  So yes,  
your
content is only as recent as the latest net update, but you always  
have

access to *some* content, though it may not be the version that was
published yesterday.

And even if the wire is not available, you still can't shop anywhere,
regardless of what mechanism is used to drive the store.

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


___
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: [OT] Installing SheepShaver (was Re: Classic Emulators)

2006-10-11 Thread Ken Ray
On 10/11/06 8:21 PM, "Jim Carwardine" <[EMAIL PROTECTED]>
wrote:

> Hi Sarah... I've installed 9.0 easily in SS following Kens easy steps as he
> outlined.  You shouldn't have any problems as long as you se a generic copy
> as Ken suggests... Jim

I've amended my web page that describes everything step by step to make it
easier for others to get started:

  http://www.sonsothunder.com/devres/revolution/tips/env006.htm

>> Many thanks Ken for compiling this guide. I followed up and have now
>> got to the stage where I have to install Mac OS. It rejects my OS 9.1
>> CD, so I've dug up an old 8.5 installer which I will try next.
>> 
>> What OS is anyone else using?

I'm using 8.5 for the same reason.

>> If I install 8.5, can I then update to 9.x?

Sure - in the same manner as you'd update an old Mac running 8.5... ;-)


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Using 'for each' to modify a container

2006-10-11 Thread Ken Ray
On 10/11/06 5:05 PM, "Bill Marriott" <[EMAIL PROTECTED]> wrote:

>> Wow, this is very interesting to me. I just checked the documentation
> (2.6.1) on the "for each chunkType labelVariable" for of repeat, and was
> astonished to find:
> 
 
> Important! You cannot change the labelVariable in a statement inside the
> loop. Doing so will cause a script error. You can change the content of the
> container, but doing so will probably produce unexpected results.
> <<<
> 
> Ya learn something new every day! Sounds kind of cheesy to me, though. Why
> wouldn't it be identical to
> 
> repeat with i = 1 to the number of chunkType in theContainer
>   put chunkType i of theContainer into labelVariable
>   -- do stuff
> end repeat

Because in the example you cite above, every time through the loop, Rev has
to count the number of  until it reaches the desired location.
Take a look at this "Script C" from this tip from a while back for more
info:

  Increasing Script Performance, Part I
  http://www.sonsothunder.com/devres/revolution/tips/scrp005.htm

in fact the other tips in this series are equally important:

  Increasing Script Performance, Part II
  http://www.sonsothunder.com/devres/revolution/tips/scrp006.htm

  Increasing Script Performance, Part III
  http://www.sonsothunder.com/devres/revolution/tips/scrp007.htm

> Your explanation is plausible, but if it is so then why permit ("You can
> change...") changing the contents of the container itself within the loop?
> That would seem to cause an even bigger problem.
> 
> BTW, I set up a button with the following script:
> 
> on mouseUp
>   put empty into newContainer
>   repeat for each line thisLine in fld 1
> put thisline & "***" into thisLine
> put thisLine & return after newContainer
>   end repeat
> put char 1 to -2 of newContainer into fld 1
> end mouseUp
> 
> Which not only didn't generate a script error but worked perfectly as
> "expected." Is the bug in the documentation, or that it doesn't generate a
> script error, or that for each doesn't let you modify the labelVariable?

It's not the "loop variable" that is problematic to change, it's the
container. So in this:

  repeat for each line tLine in tData

you can manipulate tLine to your hearts content, but not tData. tData has
already been examined, parsed, and put into memory in known places so
iteration through the loop can go lightning fast... if you attempt to change
tData you throw a wrench in the works.

> And I'm *really* concerned about the second part of your report
> 
>> Further, I don't reuse the name 'thisLine' in the next instance of a
>> repeat
>> for each loop in the *same handler*, but change the name to avoid
>> conflict,
>> such as 'thisline', 'thisline1', 'thisLine2'.  Again, unpredictable
>> results
>> occasionally.

I personally haven't ever encountered this. I have always been able to reuse
the loop variable without problem...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: Using 'for each' to modify a container

2006-10-11 Thread J. Landman Gay

Bill Marriott wrote:


And I'm *really* concerned about the second part of your report

Further, I don't reuse the name 'thisLine' in the next instance of a 
repeat
for each loop in the *same handler*, but change the name to avoid 
conflict,
such as 'thisline', 'thisline1', 'thisLine2'.  Again, unpredictable 
results

occasionally.


Surely THAT is a definite bug?! Have other people experienced this? Are you 
able to reproduce it? Is there a bug on it already filed? I do this all the 
time and I'd have to update a lot of code to fix it.


For what it's worth, I do it all the time too and have never had a 
problem. I think maybe the original poster was just being cautious.


The first part though, about not changing the contents of a loop 
variable, does give unexpected results though I hardly ever get an 
actual script error. Usually I just get scrambled variables.


--
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: Using 'for each' to modify a container

2006-10-11 Thread Bill Marriott
> you can manipulate tLine to your hearts content, but not tData. tData has
> already been examined, parsed, and put into memory in known places so
> iteration through the loop can go lightning fast... if you attempt to 
> change
> tData you throw a wrench in the works.

But Ken, that's exactly what the documentation says is NOT to be done (and 
should generate a script error).

My first post assumed what you said (ok to manipulate tLine, not to 
manipulate tData), but it seems the reality is opposite. Weird, huh? :) 



___
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: Is this weird or is it me?

2006-10-11 Thread Mark Wieder
Ken-

I'm with Trevor (and some other folks, too, I guess). If you disabled
a control and it *still* swallowed mouseclicks then that wouldn't
exactly be disabled, no? It makes perfect sense to me that if you
click on a disabled control then the mouseclick gets passed down the
chain to the next visible and enabled object (card or button or
whoever catches it first).

-- 
-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: Is this weird or is it me?

2006-10-11 Thread Ken Ray
On 10/11/06 10:41 PM, "Mark Wieder" <[EMAIL PROTECTED]> wrote:

> I'm with Trevor (and some other folks, too, I guess). If you disabled
> a control and it *still* swallowed mouseclicks then that wouldn't
> exactly be disabled, no?

I guess it depends on how you define "disabled"... I don't define disabled
as "transparent", but "inert". Meaning that it acts like any other button
you click that is disabled - nothing happens.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: CGI for Slide show

2006-10-11 Thread Mark Wieder
Jan-

I'd probably opt for something even simpler - this will show a slide
for five seconds, then move on to the next. No programming needed:










-- 
-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: XML noob questions

2006-10-11 Thread Martin Blackman

Sorry to crash the topic but has anyone noticed that the memory usage
required after a 'revcreatexmltree' is about 16 times the size on
disk? Does this sound right to those who may have more understanding
of the internal workings?

On 11/10/06, Eric Chatonet <[EMAIL PROTECTED]> wrote:

Hi Malte,

As usual, Ken gave you a perfect private crash course but you could
also be interested in Sarah's XMLdemo1.rev, a great tutorial.
http://www.troz.net/Rev/tutorials.php

Best Regards from Paris,
Eric Chatonet

Le 11 oct. 06 à 14:09, Malte Brill a écrit :

> Hi all,
>
> I´m playing a bit with XML in rev at the moment. It seems I don´t
> get it from the docs. Any tuts on how to do useful things with Revs
> XML lib?
>
> Example:
>
> 
> 
>  Default
>  
>   55514
>   /skin/top.jpg
>  
>  
>   55515
>   /skin/pattern.jpg
>  
>  
> myField
> 45,78,90
>  
> 
>
> What I want to do now is to display in a field:
>
> Title: Default
> image ID 55514: /skin/top.jpg
> image ID 55515: /skin/pattern.jpg
> field myField: 45,78,90
>
> Any hints and codeSnippets much appreciated.
>
> All the best,
>
> Malte


--
http://www.sosmartsoftware.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


___
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: Using 'for each' to modify a container

2006-10-11 Thread Ken Ray
On 10/11/06 10:21 PM, "Bill Marriott" <[EMAIL PROTECTED]> wrote:

>> you can manipulate tLine to your hearts content, but not tData. tData has
>> already been examined, parsed, and put into memory in known places so
>> iteration through the loop can go lightning fast... if you attempt to
>> change
>> tData you throw a wrench in the works.
> 
> But Ken, that's exactly what the documentation says is NOT to be done (and
> should generate a script error).

Wow... haven't gotten any script errors or any scrambled data... oh well, I
guess I'm just lucky...
 
> My first post assumed what you said (ok to manipulate tLine, not to
> manipulate tData), but it seems the reality is opposite. Weird, huh? :)

Actually when I reread the statement:

>>>
Important! You cannot change the labelVariable in a statement inside the
loop. Doing so will cause a script error. You can change the content of the
container, but doing so will probably produce unexpected results.
<<<

It sounds like you shouldn't maniuplate either...


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [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: CGI for Slide show

2006-10-11 Thread Stephen Barncard

Yes, I used this technique for years with my slide shows for CSN, etc.

Works great. No server side stuff at all. I used Hypercard to create 
the HTML text files to drive this.


example:
http://barncard.com/gd.html

I used this system until Open Source app Gallery got real good.

The problem is that it generates a lot of text files to do the job, 
but for a few galleries, it worked great.


With the  CSN site it got way out of hand with thousands of photos. 
The flaw is relying on the file system to do this.




Jan-

I'd probably opt for something even simpler - this will show a slide
for five seconds, then move on to the next. No programming needed:










--
-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



--
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: Using 'for each' to modify a container

2006-10-11 Thread Stephen Barncard
Yes! I wouldn't mess around "behind rev's back" like that- especially 
with 'binaries'.


sqb



It sounds like you shouldn't maniuplate either...

Ken Ray


--
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: Threads

2006-10-11 Thread Dar Scott


On Oct 5, 2006, at 12:46 PM, Andrew wrote:

What kind of communication?
  "Do this and let me know when you are finished."
  "Do this, show progress, and let me know when you are finished."
  Bidirectional message queue.
  Send messages to a thread in 'send' style.


My initial idea would be that when you send a message you could do  
so indicating it should be run it it's own thread (or in an  
existing thread that you know the name of). By default each object  
(button, field, card etc) would have a mutex that you must hold to  
update it's attributes or to run any of its handlers (this would be  
acquired automatically). It would be possible to do finer grained  
locking if the programmer took the trouble to code it. The  
automatic acquisition of locks would be dependent on some global  
property (that might also be used to permit the creation of threads  
in the first place) so there would be no overhead for non-threaded  
stacks.


I think something like that might work, however I wonder what the  
right way would be to make this fit into the Revolution way of things  
and to ward off potential problems.


It might start off simple, perhaps between sort of between a thread  
and a process in which a library script is used to create a thread  
and messages (like with send) are sent back and forth.  The shared  
resources might be added based on that.  Same with accessing objects.


That is far from being able to access anything the home thread could,  
so folks might think that too weak.


Dar

--
***
Dar Scott
Dar Scott Consulting  and  Dar's Lab
Lab, office, home:  +1 505 299 9497
Fax:call above first
Skype:  send me a note first

http://www.swcp.com/dsc
Computer programming
***


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


Re: CGI for Slide show

2006-10-11 Thread Sivakatirswami
Yes, one wants to avoid thousands of small .html files, maintenance and 
future change

requests would become a nightmare. iView does that and it scares me...

I would like to see the data repository be nothing more than.

/GreatNewSlideShowFolder/
fooPhoto1.jpg
fooPhoto1Caption.txt
fooPhoto2.jpg
fooPhoto2Caption.txt

(A model I'm already using on a front end of the production process, where
photo shoots are coming in remote correspondents and I
run script over the folder and bingo: web page...

I'm thinking iFrame should work.

(the slide show wants to be embedded in the web page
if at all possible)

I've heard iFrame was deprecated, but it works really well.
I am also using now an iFrame that calls a Rev CGI which
returns a small html chunk.

For all the hype that AJAX gets... I don't see how this
differs from AJAX. (please enlighten me there if you care  to...)
Anyway you cook it, your web server must

a) get a request
b)  run a some process ("CGI") and
c) return data to the client/browser

whether some of that process resides client side or server side doesn't 
seem to

change the equation all that much.. but I'm a total NOOB about AJAX...

Anyway... iFrame is so simple:


src="/cgi-bin/buildTakaIndex.cgi">




I'm thinking I can take this model and drive a slide show through a 
bigger rect on the web page.


Comments?

Sivakatirswami



Stephen Barncard wrote:

Yes, I used this technique for years with my slide shows for CSN, etc.

Works great. No server side stuff at all. I used Hypercard to create the 
HTML text files to drive this.


example:
http://barncard.com/gd.html

I used this system until Open Source app Gallery got real good.

The problem is that it generates a lot of text files to do the job, but 
for a few galleries, it worked great.


With the  CSN site it got way out of hand with thousands of photos. The 
flaw is relying on the file system to do this.




Jan-

I'd probably opt for something even simpler - this will show a slide
for five seconds, then move on to the next. No programming needed:










--
-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





--
Om shanti
(In  Peace)

Sivakatirswami
www.himalayanacademy.com

Get Hinduism Today Digital Edition. It's Free!
http://www.hinduismtoday.com/digital/
___
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


Multimedia Software and Required Players

2006-10-11 Thread Greg Smith
One thing that seems to be a rule is that the less expensive the  
multimedia software is, the more likely you will need a "player"  
application to run the files.  Only the most expensive software seems  
to allow building true executables.


Out of all of the QuickTime authoring software I've had the pleasure  
to investigate, MovieWorks is the best value, but the QuickTime  
movies it generates are not interactive.  The "player" documents that  
it generates are interactive, very much so, but they do require both  
a player application and QuickTime to work.  And I don't think there  
is any way to copy protect these "applications".  I also have no idea  
how you would integrate an e-commerce solution from within.


Ezedia produces similar results with similar limitations.  Anybody  
have specific experiences with either of these apps?


Greg Smith
___
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: Is this weird or is it me?

2006-10-11 Thread Jim Ault
On 10/11/06 8:47 PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:

> On 10/11/06 10:41 PM, "Mark Wieder" <[EMAIL PROTECTED]> wrote:
> 
>> I'm with Trevor (and some other folks, too, I guess). If you disabled
>> a control and it *still* swallowed mouseclicks then that wouldn't
>> exactly be disabled, no?
> 
> I guess it depends on how you define "disabled"... I don't define disabled
> as "transparent", but "inert". Meaning that it acts like any other button
> you click that is disabled - nothing happens.
> 

I always thought of disabled as not-responding-to-clicks, like in the early
days of dialog boxes when nothing was transparent.  In the xTalk way of
things, if you still think the way I do, disable only applies to the running
of the script, not the clickable item... thus swallowing the mouse click.

I guess the way to do this is to put a transparent enabled button over the
disabled button if you want to swallow the mouse clicks...
then disable the transparent button and enable the visible button

...or write

if the button overMe is disabled then exit mouseup

Jim Ault
Las Vegas



___
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: Using 'for each' to modify a container

2006-10-11 Thread Jim Ault
Hello, Jacque,

On 10/11/06 8:14 PM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:

> Bill Marriott wrote:
> 
>> And I'm *really* concerned about the second part of your report
>> 
>>> Further, I don't reuse the name 'thisLine' in the next instance of a
>>> repeat
>>> for each loop in the *same handler*, but change the name to avoid
>>> conflict,
>>> such as 'thisline', 'thisline1', 'thisLine2'.  Again, unpredictable
>>> results
>>> occasionally.
>> 
>> Surely THAT is a definite bug?! Have other people experienced this? Are you
>> able to reproduce it? Is there a bug on it already filed? I do this all the
>> time and I'd have to update a lot of code to fix it.
> 
> For what it's worth, I do it all the time too and have never had a
> problem. I think maybe the original poster was just being cautious.
> 
I am the original poster, and I will explain a bit more.  I have several
apps that do some intense data parsing, error checks, and reformatting.   At
some point during the development a few months ago I was trying to chase a
set of bugs in a handler that were very elusive.

My standard repeat form evolved to:

repeat for each line LNN in varList
  put item 1 to 2 of LNN & cr after newVarList
end repeat
delete char -1 of newVarList

and, like you, reused my choice of LNN.  Cool beans.  However...in one long
handler...

Using Variable Watcher and some test variables, I saw 'LNN' change the way
you would expect, then later, strangely, it held some garbage characters,
and thus the bug(s).  The failure was not always the same, but it did fail
before the end of the process.  By not reusing LNN each time, the problem
has not returned.

My current system is to use LNN1, LNN2, LNN3, etc.  The reason I use all
caps is to remind me not to change the variable,
but rather recast ( eg. get LNN) so I could change the value.

You are right about 'just being cautious'.  I have too much to accomplish to
go through the 'strange debug' again.

Jim Ault
Las Vegas



___
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