Re: Arrays as custom properties?

2006-03-18 Thread John Tregea

Thanks Richard, I will explore this some more...

Richard Gaskin wrote:

> I already have a number of arrays stored in global variables and
> want to store each complete array as a custom property of the
> group. I realise I could repeat through the structure of the
> array and transfer each array element to a corresponding element
> in the group's custom property, but hoped to be able to "plonk"
> the array into the custom property.

Array elements are distinct entities, equating to individual custom 
properties.  You can, however, set all of the members of a custom 
property set to an array, and you can have any number of custom 
property sets in each object.


See the Transcript dictionary entry for the customProperties property 
for more


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Arrays as custom properties?

2006-03-18 Thread Richard Gaskin

> I already have a number of arrays stored in global variables and
> want to store each complete array as a custom property of the
> group. I realise I could repeat through the structure of the
> array and transfer each array element to a corresponding element
> in the group's custom property, but hoped to be able to "plonk"
> the array into the custom property.

Array elements are distinct entities, equating to individual custom 
properties.  You can, however, set all of the members of a custom 
property set to an array, and you can have any number of custom property 
sets in each object.


See the Transcript dictionary entry for the customProperties property 
for more


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Arrays as custom properties?

2006-03-18 Thread John Tregea

Thanks Scott,

I already have a number of arrays stored in global variables and want to 
store each complete array as a custom property of the group. I realise I 
could repeat through the structure of the array and transfer each array 
element to a corresponding element in the group's custom property, but 
hoped to be able to "plonk" the array into the custom property.


I will check my use of the word "the"...

---

Scott Rossi wrote:

Recently, John Tregea wrote:

  

I have been looking to see if I can set an array as a custom property of
a group.
... I get an error message on execution that says "bad index expression"



Yes, you need to define an index for the array.  Perhaps you mean something
like this:

  set the myAccess["password"] of group "A" to gMyAccess

To retrieve:

  get the myAccess["password"] of group "A"

Also, I believe a custom property must always be prefaced by "the".

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: Arrays as custom properties?

2006-03-18 Thread Scott Rossi
Recently, John Tregea wrote:

> I have been looking to see if I can set an array as a custom property of
> a group.
> ... I get an error message on execution that says "bad index expression"

Yes, you need to define an index for the array.  Perhaps you mean something
like this:

  set the myAccess["password"] of group "A" to gMyAccess

To retrieve:

  get the myAccess["password"] of group "A"

Also, I believe a custom property must always be prefaced by "the".

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


Arrays as custom properties?

2006-03-18 Thread John Tregea

Hi Weekend Warriors,

I have been looking to see if I can set an array as a custom property of 
a group. Well actually four arrays as four different custom 
properties... I have tried the following alternatives.


set myAccess of group "A" to gMyAccess (works for a table of delimited 
data but not an array)


set customproperties[myAccess] of group "A" to gMyAccess

set custompropertyset "myArray" to gMyAccess


None of these appear to work. I get an error message on execution that 
says "bad index expression"


I would REALLY appreciate any help/alternatives/etc.

Thanks in advance

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


Mind mapping in Rev ?

2006-03-18 Thread Kresten Bjerg
On 3/17/06 6:20 PM, "Kresten Bjerg"  wrote:

>> Has anyone been experimenting with implementing elementary mind-mapping
>>functions in Rev ?

Rick replied: 

>Yes, I have, although I'd have to emphasize elementary.

>A user creates graphic objects like ovals to represent concepts, and
>connects them using the mouse to draw arrows.  When the user moves the mouse
>over a concept graphic, the graphic changes color, and a field appears
it connects change color and show their custom text.  When the user clicks
>custom text, it's unlocked and selected, so the user can edit it.  When the
>user moves a graphic that has arrows to it or from it, the arrows move too.

>What do you want?

>By the way, according to conceptDraw.com, which offers a product called
>MINDMAP 4, Mind Mapping® and Mind Map® are registered trademarks of the
>Buzan Organization.

->- Dick

___

Hi Dick


(An awfully long response to short question:)

Your description sounds as close as it could be to what we am looking for.

A thought mapping device, idea-mapping, association-mapping, concept-mapping 
tool, -  trademarks politely avoided.
I dont know, to which extent such a facility has been fabricated as integrated 
with a system which affords a fourth, a temporal dimension, a temporal 
perspective 
This is at least my goal- to create an auto-phenomenalogical *IT logbook - 
program, which can make the iBook worthy of its name, but which can fit as well 
inside the MIT 100 dollars laptop

The autophenomenalogical method, as I have been developping it through the last 
ten years ,is for me the merging of my two main professional fields : Theories 
of personality  and qualitative research methods in psychology. (which I both 
have been teaching in the Department of Psychology, at the University of 
copenhagen) and my speciality: Domestic Information Dynamics,as explored 
empirically in an experimental appartment  through decades, and intensfied 
after my early retirement (as I could get no moral or financial support for the 
future of my domestic laboratory) 
The tool, the construction of which took its start in 1996, with the relatively 
new  Hypercard,  was based on the idea of taking the millenial traditions of 
handwritten and drawn diaries into the third millennium, where pens are 
becoming scarser and IT tools more forcefull.


With the advent of revolution, to which we transferred our result from the 
hypercard version, we have been unfolding the vision of a toolset for e-diary, 
an autocommunicative device, build upon the cognitive psychology-knowledge of 
the divion of labour between the two cerebral hemispheres.
So parallel to the text-universe we create a glyf-universe, - and instead of 
using Icons, - as does for example "Inspiration", we create glyfs as ascii 
characters in fonts. preliminary 12 fonts, with in all only app 450 prototypes.
We have created a minimal handfull of glyphs, and many of them are lousy. But 
in launching the machine as cross-cultural and cross-platform freeware, we 
expect to start a feed-back process, so we can have the freewareb 
proto-glyf-library grow and mature to the needs of young and old, rich and 
poor, unlearned and learned, moslem,jew,cristian, buddhist, Tao or what did I 
forget?male or female
So, well,newness,complexity, informational overload and social challenges makes 
the individual a sailor, navigating each day ,over the diurnal strait from 
wake-up to falling asleep. We think the citizens, as basically lonely captains 
through ever new informational waters, winds, storms, downpours,Ice and 
Bureaucratic icebergs, chemical submarines,etc  needs a personal empirical 
logbook of the phenomena encountered, hopefully helping to insight, hindsight 
and foresight, and hopefully becoming a means of democratic documentary 
power-to-the people - up against buraucracies, authorities, exploiters and 
pushers, they encounter. 
So, when you ask me, what I need  it has two kinds of answers.

Answer 1 (ending with a question)
The Phenomenalog v. 16.2.3, as of March 11 2006  contains a set of 20 
memo-buttons, linked to text&glyph-fields.
We need to arrange a way for standaloneusers to easy  distribute and  link such 
buttons and their aliases on a daycard the size of 9 windows, buttons 
themselves as background buttons, their aliases as tied to the stable or 
changing views from the bridge that day, and the diachronical diurnal 
positioning of phenomena in a non-textual, temporal glyf-dimension with a 
10-minute precision.

So I am interested in knowing, whether you feel it wortwhile to let us share 
your knowledge, as we offer to share ours with you.
As a pensioned researcher at the age of 70 it is easy for me to insist on the 
freeware clause. But you may be in need of cash flow. The only offer I can give 
is to give you due credit in the credits of the Phenomenalog.
(You know you can inspect the preliminary format of the credits in the early 
version of the software, whic

Re: switch

2006-03-18 Thread John Tregea

Dear Jim, Chipp and James,

I thought it must be something like that but tend to call 'temporary' 
variables 'local' variables, so I didn't guess the connection.


Thanks for the clarification.

Regards

John (Duh...) T

Jim Ault wrote:

Many on the list use the aforementioned naming convention.
This is especially important in groups, like Fourth World.

Ahh, but I am stuck in the past and my ways... thus.
I prefer not to use this style, so my offerings will have a different look.
I do use the gGlobalName convention.
Also, every list of lines I use is whateverList
array is whateverArr

When I create a path name to refer to files or servers I use "pathh" because
in VB 'path' is a reserved word, in which I also do programming
then pathhFN is the (path name + file name)
and fpathhFN is the ("file:" +path name + file name)
so that I can do the following:

put the defaultfolder into pathh
if the last char of pathh is not "/" then put "/" after pathh

put the files into fileList
put line 1 of the fileList into FN
if ".txt" is in FN then put pathh & FN into pathhFN

put "file:"&pathhFN into fpathhFN

put "Mary had a lamb" into url fpathhFN

answer folder "Choose the folder please"
put it into pathh
if the last char of pathh is not "/" then put "/" after pathh
put "file:"&pathh into fpathh
put the detailed files into fileList
put empty into appendedContents
repeat for each line LNN in fileList
   if LNN contains ".txt" then
   --write the directory and file name to a variable
  put cr & cr & pathh & ",  " & LNN) & " --" after appendedContents
   --now write the contents of the file on the next lines
  put cr & url (fpathh&LNN) after appendedContents
   end if
end repeat
--now write a new file that is appendedContents
put appendedContents into url (fpathh&"appndMalarky.txt")

Lots of fun, and lots of choices.  And it's Saturday night :-)

Jim Ault
Las Vegas


On 3/18/06 7:39 PM, "John Tregea" <[EMAIL PROTECTED]> wrote:

  

Hi,

Just a question regarding the form many of you use for naming variables.
I see a lot of variable names starting with 't' and wondered what it
indicates. I use 'g' as a prefix for my global variables but that is all.

John (Ready to say "Duh"...) T

Klaus Major wrote:


Hi Liam,

  

what am I doing wrong here

put fld "total" into ttotal
  put fld "paymenttype" into tpayment
##!!  switch "tpayment"


## No quotes, since this is a variable!
  

  case "credit"
 ## if tpayment contains "credit" then put ttotal into fld "CreditDb"


## If tpayment = "credit" then it also contains "credit"! :-)
  

##exit switch


BREAK
  

case "cash"
##if tpayment contains "cash" then put ttotal into fld "cash2"


## See above
  

##exit switch


break
  

end switch


this should work:
...
  put fld "total" into ttotal
  put fld "paymenttype" into tpayment
  switch tpayment
  case "credit"
put ttotal into fld "CreditDb"
break
  case "cash"
put ttotal into fld "cash2"
break
  end switch
...

Hope that helps.

  

Liam Lambert
[EMAIL PROTECTED]
IRELAND


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


  

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




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


  

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


Problem building standalones with substacks in Rev 2.7

2006-03-18 Thread Stgoldberg
Recently, using Revolution 2.7 (I'm not sure if the problem is related to the
version or something else) on my Mac running OS X, I have noted the following
problem in trying to build a standalone:

I first built a main stack, then decided that since I wanted to save data in
the standalone, created a substack to it, and in the Standalone Application
setting, checked off "Move substacks into individual stack files". The
standalone built fine.   However, when I went back and checked off the 
"Create folder
for stackfiles" option (naming the folder "data") the standalone would not
build, instead delivering an error message.   The strange thing is that I 
went
back and unchecked the "Create folder for stackfiles" option and the program
would still not build a standalone.   I've repeated this several times to be 
sure
that this is where the problem arose.   Can anyone suggest what may be the
problem?   I've made sure to name the stack, substack, and folder 
differently.

Perhaps it may relate to the fact that I originally created two mainstacks,
and then set one stack as the main stack through the command "set the 
mainstack
of stack 'B' to 'A'   but I have not experienced this difficulty before   in
rev 2.6 using the same command.   Again, the problem may not relate to the
version, but to something I'm doing wrong.

In addition, I've note that under rev 2.7, when one builds a standalone,
there is a separate folder created in the Windows folder titled 
"Externals".  
What is that for?   Thanks.
Steve Goldberg
___
use-revolution mailing list
use-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: [REQ] Testers needed

2006-03-18 Thread Ken Ray
On 3/18/06 1:35 AM, "Sean Shao" <[EMAIL PROTECTED]> wrote:

> In the next few days I will be finishing up development and internal testing
> of a custom listbox object and will be needing testers.

Sounds great, Sean! Count me in...

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

2006-03-18 Thread Jim Ault
Many on the list use the aforementioned naming convention.
This is especially important in groups, like Fourth World.

Ahh, but I am stuck in the past and my ways... thus.
I prefer not to use this style, so my offerings will have a different look.
I do use the gGlobalName convention.
Also, every list of lines I use is whateverList
array is whateverArr

When I create a path name to refer to files or servers I use "pathh" because
in VB 'path' is a reserved word, in which I also do programming
then pathhFN is the (path name + file name)
and fpathhFN is the ("file:" +path name + file name)
so that I can do the following:

put the defaultfolder into pathh
if the last char of pathh is not "/" then put "/" after pathh

put the files into fileList
put line 1 of the fileList into FN
if ".txt" is in FN then put pathh & FN into pathhFN

put "file:"&pathhFN into fpathhFN

put "Mary had a lamb" into url fpathhFN

answer folder "Choose the folder please"
put it into pathh
if the last char of pathh is not "/" then put "/" after pathh
put "file:"&pathh into fpathh
put the detailed files into fileList
put empty into appendedContents
repeat for each line LNN in fileList
   if LNN contains ".txt" then
   --write the directory and file name to a variable
  put cr & cr & pathh & ",  " & LNN) & " --" after appendedContents
   --now write the contents of the file on the next lines
  put cr & url (fpathh&LNN) after appendedContents
   end if
end repeat
--now write a new file that is appendedContents
put appendedContents into url (fpathh&"appndMalarky.txt")

Lots of fun, and lots of choices.  And it's Saturday night :-)

Jim Ault
Las Vegas


On 3/18/06 7:39 PM, "John Tregea" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Just a question regarding the form many of you use for naming variables.
> I see a lot of variable names starting with 't' and wondered what it
> indicates. I use 'g' as a prefix for my global variables but that is all.
> 
> John (Ready to say "Duh"...) T
> 
> Klaus Major wrote:
>> Hi Liam,
>> 
>>> what am I doing wrong here
>>> 
>>> put fld "total" into ttotal
>>>   put fld "paymenttype" into tpayment
>>> ##!!  switch "tpayment"
>> ## No quotes, since this is a variable!
>>>   case "credit"
>>>  ## if tpayment contains "credit" then put ttotal into fld "CreditDb"
>> ## If tpayment = "credit" then it also contains "credit"! :-)
>>> ##exit switch
>> BREAK
>>> case "cash"
>>> ##if tpayment contains "cash" then put ttotal into fld "cash2"
>> ## See above
>>> ##exit switch
>> break
>>> end switch
>> 
>> this should work:
>> ...
>>   put fld "total" into ttotal
>>   put fld "paymenttype" into tpayment
>>   switch tpayment
>>   case "credit"
>> put ttotal into fld "CreditDb"
>> break
>>   case "cash"
>> put ttotal into fld "cash2"
>> break
>>   end switch
>> ...
>> 
>> Hope that helps.
>> 
>>> Liam Lambert
>>> [EMAIL PROTECTED]
>>> IRELAND
>> 
>> 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
>> 
>> 
> ___
> use-revolution mailing list
> use-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: switch

2006-03-18 Thread James Spencer


On Mar 18, 2006, at 9:39 PM, John Tregea wrote:


Hi,

Just a question regarding the form many of you use for naming  
variables. I see a lot of variable names starting with 't' and  
wondered what it indicates. I use 'g' as a prefix for my global  
variables but that is all.


John (Ready to say "Duh"...) T


See http://www.fourthworld.com/embassy/articles/scriptstyle.html for  
a good set of guidelines which answer, among other things, your  
question but the short answer:


t = temporary or local variable
p = parameter
k = constant
s = static (or script local in xTalk)

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

"Badges??  We don't need no stinkin badges!"

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

2006-03-18 Thread Chipp Walters
I use the t prefix to denote 'temporary' and make my code easier for me 
to read. I use 'p' for a parameter, 'l' for a local variable, and as you 
do, 'g' for global.


-Chipp

John Tregea wrote:

Hi,

Just a question regarding the form many of you use for naming variables. 
I see a lot of variable names starting with 't' and wondered what it 
indicates. I use 'g' as a prefix for my global variables but that is all.


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

2006-03-18 Thread John Tregea

Hi,

Just a question regarding the form many of you use for naming variables. 
I see a lot of variable names starting with 't' and wondered what it 
indicates. I use 'g' as a prefix for my global variables but that is all.


John (Ready to say "Duh"...) T

Klaus Major wrote:

Hi Liam,


what am I doing wrong here

put fld "total" into ttotal
  put fld "paymenttype" into tpayment
##!!  switch "tpayment"

## No quotes, since this is a variable!

  case "credit"
 ## if tpayment contains "credit" then put ttotal into fld "CreditDb"

## If tpayment = "credit" then it also contains "credit"! :-)

##exit switch

BREAK

case "cash"
##if tpayment contains "cash" then put ttotal into fld "cash2"

## See above

##exit switch

break

end switch


this should work:
...
  put fld "total" into ttotal
  put fld "paymenttype" into tpayment
  switch tpayment
  case "credit"
put ttotal into fld "CreditDb"
break
  case "cash"
put ttotal into fld "cash2"
break
  end switch
...

Hope that helps.


Liam Lambert
[EMAIL PROTECTED]
IRELAND


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



___
use-revolution mailing list
use-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: Making the move...

2006-03-18 Thread Ken Ray
On 3/18/06 2:00 PM, "Marielle Lange" <[EMAIL PROTECTED]> wrote:

> Hi Mark,
> 
> Any chance to see you post the relevant code on this list?
> 
> I read the ECMI document but don't remember the part describing
> conventions for describing the API in a way similar to the one
> outlined in the javadoc.

It's not similar to javadoc, but the method for describing the API to the
handlers in a library at documented in the uRIP["interface"] property of the
ECMI specifications.

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


switch

2006-03-18 Thread liamlambert

Thanks
Liam Lambert
[EMAIL PROTECTED]
IRELAND


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

2006-03-18 Thread Klaus Major

Hi Liam,


what am I doing wrong here

put fld "total" into ttotal
  put fld "paymenttype" into tpayment
##!!  switch "tpayment"

## No quotes, since this is a variable!

  case "credit"
 ## if tpayment contains "credit" then put ttotal into fld "CreditDb"

## If tpayment = "credit" then it also contains "credit"! :-)

##exit switch

BREAK

case "cash"
##if tpayment contains "cash" then put ttotal into fld "cash2"

## See above

##exit switch

break

end switch


this should work:
...
  put fld "total" into ttotal
  put fld "paymenttype" into tpayment
  switch tpayment
  case "credit"
put ttotal into fld "CreditDb"
break
  case "cash"
put ttotal into fld "cash2"
break
  end switch
...

Hope that helps.


Liam Lambert
[EMAIL PROTECTED]
IRELAND


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


switch

2006-03-18 Thread liamlambert


what am I doing wrong here

put fld "total" into ttotal
  put fld "paymenttype" into tpayment

  switch "tpayment"
  case "credit"
  if tpayment contains "credit" then put ttotal into fld "CreditDb"
exit switch

case "cash"
if tpayment contains "cash" then put ttotal into fld "cash2"
exit switch

end switch

Liam Lambert
[EMAIL PROTECTED]
IRELAND


___
use-revolution mailing list
use-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: Making the move...

2006-03-18 Thread Geoff Canyon


On Mar 17, 2006, at 1:20 PM, Mark Wieder wrote:


...sure there is. You have to roll your own, but it's not that much
transcript code. My libraries generate their own documentation through
a javadoc-like mechanism. Check out, for example, my ArchiveSearch
plugin on revonline and open the libDispatcher library. Click on the
API button.


I strive to make my functions/handlers small enough that a single  
line of documentation is sufficient. Actually size isn't so much of a  
factor as the single-purpose aspect. If a function or handler has a  
single purpose, generally it can be described in a single sentence.  
Then I include that line as a comment after the definition:


on setupHOOTClasses -- creates an array (sMessageArray) of the  
messages each class can receive

on startHOOT -- initializes HOOT and sets it as a front script

Then there are the handlers that are self-explanatory:

on stopHOOT
on hideNavigator

I've never seen a hundred-line routine that wouldn't be better as  
five twenty-line routines, each of which could be documented with a  
line of code. Perhaps even ten ten-line routines.


regards,

gc
___
use-revolution mailing list
use-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: DRM for Images and Text in Stacks

2006-03-18 Thread sims

At 9:10 PM +0100 3/18/06, sims wrote:

oes that not prevent someone from opening it up in the IDE?

   Maybe. Try typing this into the message box and see what happens:


   edit script of stack "MyProtectedProject"


Ummm...oh, I see what you mean.

Back to the drawing board.

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


Re: DRM for Images and Text in Stacks

2006-03-18 Thread sims

In a message dated 3/18/06 7:20:17 AM, sims <[EMAIL PROTECTED]> writes:

At 11:40 PM -1000 3/17/06, Sivakatirswami wrote:

see a drop dead simple option to block viewing of substacks in the IDE...


If you place in the stack script of one of these files you are sending
'out into the world'  (iow - not an in-house production file that you
might use later for working on)   the following script:

if the environment is "development" then quit

does that not prevent someone from opening it up in the IDE?

   Maybe. Try typing this into the message box and see what happens:


   edit script of stack "MyProtectedProject"

Not much...

Message execution error:
Error description: Chunk: can't find stack

ciao,
sims

European Rev Conference  2006
www.techietours.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: Making the move...

2006-03-18 Thread Marielle Lange

Hi Mark,

Any chance to see you post the relevant code on this list?

I read the ECMI document but don't remember the part describing  
conventions for describing the API in a way similar to the one  
outlined in the javadoc. Is it possible for you to cut & paste the  
relevant excerpt on this list... or give pointers to page numbers if  
too long?


Many thanks,
Marielle

 


Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED],

Homepage
http://homepages.widged.com/mlange/
Easy access to lexical databaseshttp:// 
lexicall.widged.com/
Supporting Education Technologists  http:// 
revolution.widged.com/wiki/


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


Re: Integrating Revolution and Flash

2006-03-18 Thread Marielle Lange

Pradeep, Pierre,

In fact, you can now play flash content via javascript... for free.  
That's an open source project called AFLAX. This stands for "Ajax  
Library for the Adobe Flash Platform". Check out the demos at: http:// 
www.aflax.org/demos.htm


Marielle


Hi Pradeep,

First, i would say yes, as long as flash can be handled trough  
javascript calls we can bind to transcript handlers (i do that* all  
the time, for my own *.js stored/used as global vars from inside my  
rev-based web applications servers).
Second, i would recommand to use AJAX (prototype.js framework and  
accessories) as long as AJAX let us code all what can be managed  
from within flash without making us depend from the Macromedia  
proprietary solution.


Just as a small example illustration of the AJAX potential www2.sahores-conseil.com/puzzle.html>


 


Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED],

Homepage
http://homepages.widged.com/mlange/
Easy access to lexical databaseshttp:// 
lexicall.widged.com/
Supporting Education Technologists  http:// 
revolution.widged.com/wiki/


___
use-revolution mailing list
use-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: DRM for Images and Text in Stacks

2006-03-18 Thread Cubist
In a message dated 3/18/06 7:20:17 AM, sims <[EMAIL PROTECTED]> writes:
>At 11:40 PM -1000 3/17/06, Sivakatirswami wrote:
>>see a drop dead simple option to block viewing of substacks in the IDE...
>
>If you place in the stack script of one of these files you are sending
>'out into the world'  (iow - not an in-house production file that you
>might use later for working on)   the following script:
>
>if the environment is "development" then quit
>
>does that not prevent someone from opening it up in the IDE?
   Maybe. Try typing this into the message box and see what happens:

   edit script of stack "MyProtectedProject"
___
use-revolution mailing list
use-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: Positioning the message box ?

2006-03-18 Thread J. Landman Gay

Francis Nugent Dixon wrote:


In all events, under Stack Runner,  both the :

show message box

and the

put "xxx" into message box

are both inoperative ! Not a message box on the horizon !


The message box is an IDE-only component that is not included when you 
build a standalone, so StackRunner does not have it. You can build your 
own message display and put it into your stack as a substack.


--
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: Search Script

2006-03-18 Thread Stephen Barncard

Why don't you just try CMD-F in the IDE?


Hi Everyone,

Has anyone made the RR version of handler that was "SearchScript" in
HyperCard? I tried to convert it, but my script opened up all the 
script windows at
the same time. That was a royal pain. Maybe you could just tell me 
how to open a

script, edit it and then go on to the next script window that has a search
string.

Joe,
Orlando, FL


--
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: Positioning the message box ?

2006-03-18 Thread Stephen Barncard

I don't think we're supposed to have a message box with a 'standalone'

sqb



In all events, under Stack Runner,  both the :

show message box

and the

put "xxx" into message box

are both inoperative ! Not a message box on the horizon !



--
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: More Videograbber issues

2006-03-18 Thread Richard Miller

Jack,

Try any  of the ones here:

www.morgan-multimedia.com

I've tried many different codec's. This one is highly compatible with  
the player object in Rev, designed for the PC, provides great  
compression (and numerous options to balance compression versus  
quality), and yields high-quality video.


Best,
Richard Miller
Imprinter Technologies


On Mar 18, 2006, at 12:55 PM, Jack Rarick wrote:

I want to first thank Richard Miller for his quick and accurate  
response

to my issue of using Firewire with videograbber. Richard pointed out
that one of the parameters needed to be changed to DirectX. Again,  
thank

you.

Now, can anyone point me in the direction of the best Codec to use?
Compression is NOT an issue. Quality of the video is. I am moving an
application from the Mac to the PC and need to be able to bring in  
video
in high quality using generic equipment. Any DV Firewire camera and  
and

PC with a Firewire port.  I'm trying to write a very basic app that
compares just a little to iMovie on the Mac.

Any and all ideas will be very appreciated.

Thanks in advance,

Jack Rarick
Braintree Athletic Systems
___
use-revolution mailing list
use-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


Search Script

2006-03-18 Thread LunchnMeets
Hi Everyone,

Has anyone made the RR version of handler that was "SearchScript" in 
HyperCard? I tried to convert it, but my script opened up all the script 
windows at 
the same time. That was a royal pain. Maybe you could just tell me how to open 
a 
script, edit it and then go on to the next script window that has a search 
string.

Joe,
Orlando, FL

___
use-revolution mailing list
use-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: Get a handler from a script

2006-03-18 Thread Geoff Canyon


On Mar 17, 2006, at 9:18 PM, Geoff Canyon wrote:


So change the statement below to:

  if (word 1 of L is among the items of \
  "on,function,getprop,setprop,--on,--function,--getprop,--setprop"  
and...etc.) \

  or (word 1 of L is "--" and \
  word 2 of L is among the items of "on,function,getprop,setprop"  
and...etc.)



I rewrote this to handle numerous options. This has been lightly tested.

It should handle all three forms of comments: -- # /*...*/

It should handle all cases where there isn't intervening text, so:

--on myHandler
# function myFunction

/*getProp myProp
end myProp*/

/* setProp myProp
end myProp */

The script editor _hates_ the structure I used. If you format this in  
the script editor, the indentation will be all out of whack. I've  
corrected it here I think (for clarity).


  put 0 into tLineNumber
  put false into tEnteredHandler
  repeat for each line L in tText -- tText is the script
  add 1 to tLineNumber
  get word 1 of L
  if it is among the items of "--,#,/*" then
  put 3 into tHandlerWord
  get word 2 of L
  else
  put 2 into tHandlerWord
  end if
  if char 1 of it is "#" then delete char 1 of it
  if char 1 to 2 of it is among the items of "--,/*" then delete  
char 1 to 2 of it

  if tEnteredHandler and it is "end" then
  get word tHandlerWord of L
  if char -2 to -1 of it is "*/" then delete char -2 to -1  
of it

  if it is tHandlerName then
  put tLineNumber into tEndLineNumber
  exit repeat
  end if
  else if it is among the items of "on,function,getprop,setprop"  
and \

 word tHandlerWord of L is tHandlerName then
  put tLineNumber into tStartLineNumber
  put true into tEnteredHandler
  end if
  end repeat

As before:

-- if tEnteredHandler is false, we didn't find the handler
-- if tEnteredHandler is true, tStartLineNumber is where it starts,
-- tEndLineNumber is where it ends
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


More Videograbber issues

2006-03-18 Thread Jack Rarick
I want to first thank Richard Miller for his quick and accurate response
to my issue of using Firewire with videograbber. Richard pointed out
that one of the parameters needed to be changed to DirectX. Again, thank
you.

Now, can anyone point me in the direction of the best Codec to use? 
Compression is NOT an issue. Quality of the video is. I am moving an
application from the Mac to the PC and need to be able to bring in video
in high quality using generic equipment. Any DV Firewire camera and and
PC with a Firewire port.  I'm trying to write a very basic app that
compares just a little to iMovie on the Mac.

Any and all ideas will be very appreciated.

Thanks in advance,

Jack Rarick
Braintree Athletic Systems
___
use-revolution mailing list
use-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: Making the move...

2006-03-18 Thread Mark Wieder
Lynn-

Saturday, March 18, 2006, 6:33:05 AM, you wrote:

> Another piece of software that is Japanese is --- the Ruby language.

Ah... you beat me to it. I was going to chime in about Ruby.

> Lynn Fredricks
> Worldwide Business Operations
> Runtime Revolution, Ltd

...love the new sig...

-- 
-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: Draw spokes on a wheel

2006-03-18 Thread Jim Hurley


Message: 11
Date: Fri, 17 Mar 2006 18:32:17 -0800
From: Dick Kriesel <[EMAIL PROTECTED]>
Subject: Re: Draw spokes on a wheel
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="US-ASCII"

On 3/17/06 2:24 PM, "Mark Talluto" <[EMAIL PROTECTED]> wrote:

 One things is for sure, I owe each of you a drink of your choice 
at the RevCon

 in Monterey this year.


With positive reinforcement like that, I'll do even better:

on mouseUp
  drawAstig 50,200,225,2
end mouseUp

on drawAstig pSpokeRadiusInner,pSpokeRadiusOuter,pLabelRadius,pLineSize
  go url "http://home.infostations.net/jhurley/StopTurtles.rev";
  start using stack "stopTurtles" -- note: thanks, Jim Hurley
  create stack
  set the width of it to 600
  set the height of it to 600
  go to it
  lock screen
  set the textSize of the templateField to 16
  set the margins of the templateField to 1,7,0,0
  startTurtle
  setH 75 -- note: set heading
  repeat with i = 1 to 24
penUp
forward pSpokeRadiusInner
penDown
forward pSpokeRadiusOuter - pSpokeRadiusInner
penUp
if i mod 2 = 0 then
  forward pLabelRadius - pSpokeRadiusOuter
  label i div 2
  set the width of last field to the formattedWidth of last field
  set the height of last field to the formattedHeight of last field
  back pLabelRadius
else
  back pSpokeRadiusOuter
end if
right 15
  end repeat
  stopTurtle
  set the lineSize of last graphic to pLineSize
  unlock screen
end drawAstig

RevConWest is sounding better and better...


-- Dick


Dick,

Ah, ha, A TG pro. Thanks.

My apologies to all for not responding in order to the posts on this 
thread.  I get the  digest version of the list--it comes all at once. 
It has become a bit overwhelming recently. So much, so fast. I have 
only the vaguest idea of what's going on.


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


Resources Page - Submit Your Updates Now

2006-03-18 Thread Lynn Fredricks
Hi all,

An update is coming on the Resources & Support page REAL SOON NOW. If you
have a contribution of the following type, please email me directly and
offlist with the following information:

Website Name:

Website URL:

Website/Resource Description: (keep it under 100 words)

If information is not in English, identify the language. We can include
foreign language descriptions of any language our staff understands (or that
we can figure out what it says).

Here are the sections -

Externals and IDE Add-on Developers
Free Learning Resources
Revolution User Groups
Revolution News
Coursework and Training

There is a separate consultants page that was updated with the website a few
weeks ago. After a number of pages that havent seen updates in a while are
updated, all user submitted resources will get put on a regular review
schedule so that they stay fresh and up-to-date.

Any links that are on the current Resource & Support page that go nowhere or
havent been updated in years may get tossed out.

Be aware that submissions will be edited to fit the overall presentation of
the site. If your site is hugely devoted to other topics it may not make the
cut.

Final item - I need these over the weekend to be sure they get in this
update. If you miss out, just be patient. A proper form will go up as part
of the update, so order shall prevail and refreshing will happen on a
regular schedule.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd


___
use-revolution mailing list
use-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: Draw spokes on a wheel

2006-03-18 Thread Jim Hurley


Message: 21
Date: Sat, 18 Mar 2006 00:20:45 -0800
From: Mark Talluto <[EMAIL PROTECTED]>
Subject: Re: Draw spokes on a wheel
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


On Mar 17, 2006, at 10:26 PM, Dick Kriesel wrote:


 You're welcome.  You didn't note whether it worked for you.  Did it?


It worked very well.  I did end up using Malte's solution because I
was able to modify it easily enough to have it rotate as needed.  I 
will be tinkering with the turtle graphics that Jim has developed.  I 
learned a lot from all the solutions indeed!  Thx again!



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com



Mark,

And to modify the TG handler to rotate the spokes:

on mouseUp
  startTurtle
  put 12 into tNumSpokes
  put 100 into tLengthSpokes
  repeat with tAngle = 0 to 358 step 2
seth tAngle --Short for setHeading
repeat 360/tNumSpokes
  fd tLengthSpokes
  bk tLengthSpokes
  left 360/tNumSpokes
end repeat
stopTurtle
cleanPts
unlock screen
--This last line is only necessary in Mac OSX.
--Kevin tells me that this screen refresh problem in OSX will be 
fixed in 2.7.1 
  end repeat

end mouseUp

For fun and games with rolling you may  want to look at:

go url " http://home.infostations.net/jhurley/Rolling.rev";

Run Rev has expressed an interest in implementing TG in Revolution. 
Be nice to have a new control, a turtle control (multiple turtles 
like multiple graphic objects) that responds to the TG vocabulary.


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


Re: imagedata in Word XML

2006-03-18 Thread Rob Cozens


Gordy, et al:

Well, even though you decode the information from the WordML file, now 
you have a binary representation of a PNG or JPEG, etc., and that is 
not in a format proper for imageData, which is an array of 4-byte 
integers, each integer representing one pixel.  You will have to 
base-64 decode the information in the WordML file and then read it in 
as if you were reading an image file off a disk, etc.  This will 
decompress the information that is encoded in the file and then you 
can use the result as imageData.




Are you sure the result should be used as the imageData of an image 
rather than its text?


I don't know exactly what is stored in WordML; but my understanding is 
that the text of an image is the actual binary content of the image 
file, while the imageData is a Rev-proprietary representation of the 
image as currently displayed.


Rob Cozens
CCW, Serendipity Software Company

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

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

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


Re: Rev 2.7 needs to close

2006-03-18 Thread Rob Cozens


Hi Stephen,


We may have 2 bug numbers for the same bug...

sqb: 
clicking or dragging text randomly fatally crashes rev. Sometimes core 
dump dialog appears.

*Confirmed with 2 apple debug dumps sent to runrev.

Rob: 


is this possible?



Yes...my mistake:

I checked under Standalone Editor before logging 3395; but 3359 is 
listed under OS Crash Logs.


Also I was listing the problem for WinXP and 3359 listed the platform 
as OSX.


Is 3359 restricted to the Script Editor, or do you see the problem with 
field text as well?


I'll add a comment to 3395 cross-referencing 3359 [interesting 
coincidental digit transposition, eh?].  Perhaps you should also enter 
a cross reference to 3395 at 3359?


Rob Cozens
CCW, Serendipity Software Company

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

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

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


RE: Making the move...

2006-03-18 Thread Lynn Fredricks
Hi Chipp,

Yes, this is a very relevant list, though some things have changed at bit.

> He gave 3 reasons for this:
> 
> 1) The culture. Great software is typically created by a 
> small group of only a few developers-- not the Japanese way 
> of throwing manpower at a problem. Furthurmore, typcially 
> good developers are not very social and can be obstinate 
> (duh!), which again flys against the culture. And, the 
> program all night when on a roll, then sleep all day type 
> would never fly in a Japanese corporation.

There is a growing "studio" mentality in Japan and also, the weirdness that
is family owned business. A few years ago, a merger between Sega and Bandai
failed because Bandai is a family run business, and Sega is more mainstream
(actually they have a more hardcore, no prisoners culture comparable to
Oracle).

What Chipp is referring to above is interesting because, it rarely happens
in the office but it can happen in incremental improvements happening on the
"floor" -- where suits rarely go. A surprising amount of those incremental
improvemetns come from the floor.


> 2) It is very difficult for startup companies to begin in 
> Japan. There are huge incorporation fees, plus it's almost 
> impossible to go public, so it's difficult to find investors, 
> Because the 'equity' of a software startup is not 'tangible', 
> it's very difficult to get banks to become involved, and a 
> good banking relationship is very important to startups.

This has gotten better in some ways, worse in others. When the Japanese
bubble economy popped, quite a few banks simply closed, merged or were
bought out. While there is now a VC climate in Japan, I don't think its
really made up for the hard times.

At one time simple incorporation stamp cost you $10K. Now it is possible to
get by with much less, or create a foreign subsidiary without the huge paid
in capital requirements of yore.

> 3) Lastly, the best computer languages were based in English, 
> and very different from the way Japanese read and write.

And in addition, the computer industry was dominated by the NEC 9800
platform, which was close but not quite the same as the AT architecture here
- dominated as in Microsoft made versions of DOS and Windows for it. Id say
this is one of the reasons why the Mac maintained a foothold longer in Japan
than in other places - the mainstream x86 architecture had to compete with
the NEC platform.

> I imagine much of this has changed in the past 10 years or so 
> since we last talked, but I still believe many of his 
> concerns have some validity. Of course, as recently as a 
> couple of years ago, I toured a new CG Manga studio where 
> people slept on the floor under the desks in makeshift 
> tent-beds and generally had a more 'western' feel like many 
> game studios do today.

Yes, and I think there is a certain infectiousness to this as well, esp in
creative industries.

> Of course, as they say, the proof is in the pudding. And, 
> we've yet to see any big mainstream programs come out of 
> Japan. But, there are some. 
> I believe Shade 3D is a Japanese program (Lynn, you may know 
> about this?).

Yes, and while it is a great product, the mid-market (and up) marketspace
for 3D applications, as a vertical market, has been in a total bloodbath for
years -- and its gotten much worse with the acquisition of Alias. Shade is
an excellent example. Its quite good, esp if you come from a CAD or
architecture background. E-frontier, makers of Shade, acquired Curious Labs
(makers of Poser) now little over two years ago, and they are making some of
those famous Japanese improvements to Shade to adapt to the US market. They
also have a good US staff that really know the 3D industry here.

Another piece of software that is Japanese is --- the Ruby language.

My first company did a lot of work with early Japanese game companies (back
in the Super Nintendo days) and while the underlying software was incredibly
fast (written mostly in assembly, with very little of that wimpy C or C++
stuff ;-)) - it seemed that almost all the games were exactly the same,
except for some funny graphics and backstory.

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd



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


Positioning the message box ?

2006-03-18 Thread Francis Nugent Dixon

Hi Sarah,

Using "show" seems to be the problem. If you just do something like:

set the rect of stack "Message box" to 137,554,538,696
put "Here I am"

it will stay in the right place.

As you suggested, this works, BUT under Dreamcard development.

Unfortunately under Stack Runner (both Mac and PC), not only
does this not work, but it blows my script on the command "set".
even when preceded by a :

 show message box

In all events, under Stack Runner,  both the :

show message box

and the

put "xxx" into message box

are both inoperative ! Not a message box on the horizon !

In the doc, nothing specifies that the functions are only for
developing applications. Would this be a bug (shudder !) ?

However - thanks for the suggestions

-Francis

"Nothing should ever be done for the first time !"
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


The long answer on when to use a function vs command

2006-03-18 Thread Francis Nugent Dixon

Geoff,

I thought your article was excellent also ..

Thanks

-Francis

"Nothing should ever be done for the first time !"



I wrote an article about this. It's at:

http://inspiredlogic.com/articles/functions.html

It gives several examples.



___
use-revolution mailing list
use-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 a switch control structure

2006-03-18 Thread Klaus Major

Bonjour Girard,


Hi all,

I have got this script, and I have got a problem.

put "1" into toto
switch toto
 case toto > 1
 answer ">1"
 break
case toto < 1
 answer "<1"
 break
case toto = 1
 answer "=1"
 break
end switch

The problem is that none of these case is executed. Problably I  
have forget something, but I don't know what.


this will work:

put "1" into toto
switch
## without toto, since in this case we have an EXPRESSION
## and not a VALUE that has to be evaluated...
 case toto > 1
 answer ">1"
 break
case toto < 1
 answer "<1"
 break
case toto = 1
 answer "=1"
 break
end switch

Check the docs for a deeper explanation of "why" :-)


Regards,

Girard Damien


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


Problem with a switch control structure

2006-03-18 Thread Girard Damien

Hi all,

I have got this script, and I have got a problem.

put "1" into toto
switch toto
 case toto > 1
 answer ">1"
 break
case toto < 1
 answer "<1"
 break
case toto = 1
 answer "=1"
 break
end switch

The problem is that none of these case is executed. Problably I have  
forget something, but I don't know what.


Regards,

Girard Damien
___
use-revolution mailing list
use-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: DRM for Images and Text in Stacks

2006-03-18 Thread sims

At 12:39 AM -1000 3/18/06, Sivakatirswami wrote:

if the environment is "development" then quit


With one app I...
placed QuickTime videos into a  userprop inside of individual files
that had the above script.

I then had an app open that file, grab the userprop, and create a QT 
video as a temporary file.


Then the appropriate player object played that video and when it was 
finished playing the app would then delete that temp file.


Seemed to keep everything well hidden, maybe not 100% foolproof
but what is?;-)

ciao,
sims

European Rev Conference  2006
www.techietours.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: DRM for Images and Text in Stacks

2006-03-18 Thread sims

On Mar 18, 2006, at 12:27 AM, sims wrote:


At 11:40 PM -1000 3/17/06, Sivakatirswami wrote:

see a drop dead simple option to block viewing of substacks in the IDE...


If you place in the stack script of one of these files you are sending
'out into the world'  (iow - not an in-house production file that you
might use later for working on)   the following script:

if the environment is "development" then quit

does that not prevent someone from opening it up in the IDE?


mmm. I'm reviewing  all the memos to date on this and see you 
already mentioned this.


OK yes, I think this is "doable"   I will try it. I wonder how 
hackable this could be from inside the IDE if one were to place that 
line into just the script of the substack "library"




ciao,
sims


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

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


___
use-revolution mailing list
use-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: DRM for Images and Text in Stacks

2006-03-18 Thread Sivakatirswami


On Mar 18, 2006, at 12:27 AM, sims wrote:


At 11:40 PM -1000 3/17/06, Sivakatirswami wrote:
see a drop dead simple option to block viewing of substacks in the  
IDE...


If you place in the stack script of one of these files you are sending
'out into the world'  (iow - not an in-house production file that you
might use later for working on)   the following script:

if the environment is "development" then quit

does that not prevent someone from opening it up in the IDE?


mmm. I'm reviewing  all the memos to date on this and see you already  
mentioned this.


OK yes, I think this is "doable"   I will try it. I wonder how  
hackable this could be from inside the IDE if one were to place that  
line into just the script of the substack "library"





ciao,
sims


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


Re: DRM for Images and Text in Stacks

2006-03-18 Thread sims

At 11:40 PM -1000 3/17/06, Sivakatirswami wrote:

see a drop dead simple option to block viewing of substacks in the IDE...


If you place in the stack script of one of these files you are sending
'out into the world'  (iow - not an in-house production file that you
might use later for working on)   the following script:

if the environment is "development" then quit

does that not prevent someone from opening it up in the IDE?

ciao,
sims

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


Re: DRM for Images and Text in Stacks

2006-03-18 Thread Sivakatirswami
1) The "bad guys" are in my "dream world" are other owners of the Rev  
IDE, which has in this future world, become as ubiquitous as Acrobat  
Professional. It implies that Rev actually does become wildly  
popular... In that  world, not all will be as scrupulous as our  
current obviously rapidly growing group of Rev users. The "bad guys"  
are people in need of content for their projects or web sites who use  
our content. It's already happening... with images from our web sites  
now, which is fine because we own it all. Within 72 hours  of going  
live with "http://www.himalayanacademy.com/resources/books/dws/"; the  
site was indexed by Google, hit on by users to browse and others took  
images which started appearing on other servers, which was fine in  
this case because we owned it all. "Bad" implies that these people   
are "criminals" but actually we don't think like that at all, we tend  
to deploy stuff rather freely and it looks that way to everyone and  
so they take it and re use it and we never do much about it...   
"share with the world" model.. It save an enormous amount of mental  
reestate that would other wise be invested in protection and yet  
still be able to draw some "lines" inside the media itself where  
users see "can't go there..."


2) Yes, all the options  for encryption and storing the media  
externally are all there. But I would still


a) like to be able to have the media in the stack and
	b) see a drop dead simple option to block viewing of substacks in  
the IDE...


because i) encrypt, decrypt and display is sluggish, of course  you  
script around even that by unpacking media in advance of display..  
but then  ii) CMS starts to get  complicated if  you separate the  
media from the stack. it gets back to use of mental re-estate  
invested in the "protection" business. It's just so "neat" to have  
it  all in the stack. This makes it very portable, and, side benefit:  
scripting the  presentation to an amazingly "baby" simple set of  "Go  
Next Card" handlers with a few transitions. Or, if one is in a "do it  
all on one card" mood.., then hide and show  handlers...


Anyway, thanks for all the solutions.. I've put in my feature  
request, something as brainless as "set security" in the IDE, check  
that box for the substack and that's the beginning and end of  time  
and effort in the protection business. 'til  then all  your good  
ideas are in my tool box... I'll try some.


Sivakatirswami
Himalayan Academy Publications
www.HimalayanAcademy.com,
www.HinduismToday.com


On Mar 17, 2006, at 8:28 AM, Mark Talluto wrote:


On Mar 17, 2006, at 8:57 AM, Stephen Barncard wrote:

Why can't you protect the access online to the files on a secure  
server rather than try to protect the media? Who or what are the  
'bad guys'??


sqb



Can the files be outside the application in a "data" folder  
perhaps?  If so, you could just encrypt them with a setup app.   
Your player or media app would then import the encrypted file,  
decrypt it, and then show it.  All the while, the download media is  
encrypted and safe.


___
use-revolution mailing list
use-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: Draw spokes on a wheel

2006-03-18 Thread Mark Talluto


On Mar 17, 2006, at 10:17 PM, Jim Ault wrote:

Happy you found a solution... and I will be tuning in to see what  
you come

up with and add it to my Syntax Lib !!



I ended up going back to Malte's solution and borrowed your ideas of  
setting up the variables for quick manipulation.  The hybrid result  
is coming out real nice.  I will even have it rotating in a day or so  
in my application when I get back from a conference this weekend.  My  
test stack shows it all works very nicely.  Thanks again for your help!



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

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


Re: Draw spokes on a wheel

2006-03-18 Thread Mark Talluto


On Mar 17, 2006, at 10:26 PM, Dick Kriesel wrote:


You're welcome.  You didn't note whether it worked for you.  Did it?


It worked very well.  I did end up using Malte's solution because I  
was able to modify it easily enough to have it rotate as needed.  I  
will be tinkering with the turtle graphics that Jim has developed.  I  
learned a lot from all the solutions indeed!  Thx again!



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

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