Re: matchChunk to find fontNames

2005-06-23 Thread Eric Chatonet

Hi Claudi,

I would not use matchText but would go straight on with 2 repeat  
loops to parse the html text:

one with the fontNames: if tFont is in tText...
Another one with tag styles: if i is in tText...
Less, less elegant :-( but should do the job :-)

Best Regards from Paris,

Eric Chatonet.


Le 23 juin 05 à 00:29, Claudi Cornaz a écrit :

I am trying to implement a text menu and need to find all the  
fontNames
and text attributes in the selectedChunk first to update my menu  
and afterwards

to handle the choice.
As long as all the text has all the same attributes (bold / italic  
etc) it's no problem

but I need also to find all the attributes when it's mixed.

I have been trying to get the instances of  font face=  xxx -  
xxx [Size=yy] [color=#ZZ]
to extract all the parts like, the fontname, the size and the color  
if applicable with matchChunk.


I start to understand regex a little bit, but I still did not got  
it to work just right.


Here is what I got sofar to get the whole font face tag:
  matchChunk(tText, (font face=\[A-z\- ]+\), tStart, tEnd)

Some fontNames have spaces or - in theire name but if I add them to  
the regex like in the above example
the end goes on to far like: Stone Sans OS ITC TT-Bold  
color=#FFzeker/font . . .   . . . etc


I tried to change the regex part with a $ at the end so it should  
stop at the  char.

  matchChunk(tText, (font face=\[A-z\- ]+\$), tStart, tEnd)

Well, no dice, now it finds nothing no more so obviously I am doing  
something wrong.

How should this be done?

Sugestions for a better way to find all the style runs are of  
course very welcome as well,
since I just thought of this way to do it, in fact after quite  
some thought this came as best solution
to my mind,  but wether this is the best way to do it, well  
probably not.


Anyway  much thanks in advance and all help appreciated




So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: The sheet effect

2005-06-23 Thread Yves COPPE


Le 22 juin 05, à 23:37, Éric Miclo a écrit :


Hello,

So I'll post it.

Concerning the drawer window it's a little bit more stange:

First create a stack and let's call it Main and a substack called 
Sub.


If you set a button's script to:

on mouseUp
  drawer stack Sub
end mouseUp

when clicked nothing happens.

If you set another button's script to:

on mouseUp
  show stack Sub
end mouseUp

it appears as a drawer with the drawer effect.

If you click on the first button the drawer is closed with the drawer 
effect and reopens but just popping without the drawer effect.


I'll submit both of them.




Thank you.

Greetings.

Yves COPPE
[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: Food Fight - Rev Name Space

2005-06-23 Thread John Ridge
on 22/6/05 8:42 pm,  Ken Ray wrote :

Were you thinking of some formal [ANN]? I have no problem doing that; just
wanted to know what you were thinking...

**

Why not? It sounds like a potentially big issue that every scripter needs to
know about, so [ANN] is appropriate.
-- 


___
use-revolution mailing list
use-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: compileIt for revolution?

2005-06-23 Thread MisterX
whatever happened to the old metacard externals example (in the examples
in the MCTools menu.)?

It had lots of stuff - no explanations but it demoed a lot of good stuff...

cheers
Xavier 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Alex Tweedly
 Sent: Thursday, June 23, 2005 03:23
 To: How to use Revolution
 Subject: Re: compileIt for revolution?
 
 Richard Gaskin wrote:
 
  Derek Bump wrote:
 
  If one who knows C and could figure out some sort of Transcript 
  wrapper, then it would be possible.  There are many freeware and 
  public domain compilers out there, but finding one that 
 successfully 
  compiles DLLs for Revolution is seemingly difficult.  I've been 
  trying for a few months now, but with my limited knowledge 
 of C I end 
  up running into errors.
 
  I am working on this project, but the *confusing* Externals SDK 
  doesn't help.
 
 
  What aspects have you found confusing?
 
 This is only a start 
 
 -  Doesn't say which compilers should work (tells me some 
 that won't - but doesn't say which ones will - and in 
 particular, doesn't say which free ones will :-)
 
 (It kind of implies that many of them will, maybe even most 
 of them - but a short list of a few that are expected to work 
 would eliminate that as a possible explanation for troubles run into)
 
 -  Includes a number of examples which are fragments of C 
 code, without any comments describing the interface being 
 provided, and without showing the corresponding Transcript
 
 - Include samples like XSetArray which is a function using 
 the built-in SetArray - but its parameters are never 
 explained, and still something of a mystery.
 
 - It doesn't include a tiny, simple example; I'd like to 
 see a very simple example - e.g. return the string hello 
 program - in a separate directory. Not doing OS specific 
 GetComputerName, not calling QT, not  just a very, very 
 simple example. With a correspondingly simple Rev stack, and 
 step-by-step instructions (not as detailed as I sent to this 
 list, but some kind of here's the first thing to do instructions). 
 
 - it intermingles things which are (apart from exceptional 
 cases) fixed with things which are your own, without 
 distinguishing clearly - e.g. There are two header files 
 you'll need to #include, XCmdGlue.h and external.h. ... But 
 there is no external.h file included in the distribution - 
 it means the header file for your code, which will be 
 anything but external.h
 
 In fact, the distribution includes article.c and article.h - 
 what should happen is that article.c should #include the 
 article.h - but it doesn't, it #includes external.h - which 
 is non-existent, so you're guaranteed a compile failure at 
 step 1. Not likely to inspire confidence.
 
 - it uses examples where the C functions are named with 
 leading underscores - when prepended underscores was 
 described above as (one of
 ) the reason(s)  why the Borland compiler won't work
 
 - it includes extra functions that aren't referenced or used 
 (as far as I can tell). e.g. XGetVar and XGetArray are in 
 convolve_and_life.c - but I can't find anywhere they're used.
 
  I wonder if a Rev tool set up for writing C, generating the 
 make file, 
  and running GCC would address a lot of this with very 
 little effort
 
 
 -- 
 Alex Tweedly   http://www.tweedly.net
 
 
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.323 / Virus Database: 267.7.8/22 - Release Date: 
 17/06/2005
 
 ___
 use-revolution mailing list
 use-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: compileIt for revolution?

2005-06-23 Thread Mark Wieder
Dan-

Wednesday, June 22, 2005, 8:38:36 PM, you wrote:

DS I have a hard time seeing where you and I disagree here. I think
DS we're saying the same thing differently.

Ah... that may be. But I'm pushing *for* a generic external interface,
and you're arguing against it.

-- 
-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: Principles for User-Interface Design

2005-06-23 Thread Martin Baxter

Marielle Lange wrote:

Let's not start some arguing. Simple question: how many of you swear at your
computer. What platform are you using? If you happen to use different
platforms, how often do you swear when using each one of them



Right, few things are more boring than platform wars. I can honestly say 
that I swear at all my computers regularly, every day (24/7/365 - I take 
a day off in leap years) I swear at them for different reasons, but I 
detest them all equally.


Once upon a time I had one computer and we had a mutually-supportive 
love affair and we were faithful to one another. But we grew old. Now I 
have a computer for every day of the week and they are all cheating on 
me behind my back. They are always dialling some server I know nothing 
about (and talking dirty I suspect). Sometimes they won't let me in 
without a password, and other times they just won't communicate with me 
in any way at all. Computers are from Venus, Men are from the funny-farm.


Martin Baxter

___
use-revolution mailing list
use-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: matchChunk to find fontNames

2005-06-23 Thread Marielle Lange
Hi Claudi,

You are on the right track... but you need to tune your regular expressions a
bit.

Problem 1: $ means end of the line (not end of the chunk)

Problem 2: \ works with perl and unixy languages. I found it not to work with
revolution. I usually use font face=  quote  . Possibly \ is ok in the
most recent versions.

Info: sometimes, it's a better strategy to list the characters that you don't
want rather than the characters that may occur. For this use [^], where ^ means
none of the single character that follows.
font face=\([^\]+)\
(replace each _\_ with _  quote  _ if this doesn't work)

Some fontNames have spaces or - in theire name but if I add them to the
regex like in the above example
the end goes on to far like: Stone Sans OS ITC TT-Bold
color=#FFzeker/font . . .   . . . etc

I tried to change the regex part with a $ at the end so it should stop
at the  char.
   matchChunk(tText, (font face=\[A-z\- ]+\$), tStart, tEnd)

Well, no dice, now it finds nothing no more so obviously I am doing
something wrong. How should this be done?

Sugestions for a better way to find all the style runs are of course
very welcome as well, since I just thought of this way to do it, in fact
after  quite some  thought this came as best solution to my mind,  but wether
this is the best way to do it, well probably  not.

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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Marielle Lange
 My dictionary of 61,000 words comes in at 592 K--similar
 to yours in size. The problem is that it includes a lot of words I've
 never heard of. For example the dictionary begins with the following:

 aardvark, aardwolf, aba, abaca, abacist, aback, abacus, abaft, abalone,
 abamp, abampere, abandon, abandoned, abase, abash, abate, abatement,
 abatis, abattoir, abaxial, abb, abba, abbacy, abbatial

Well, FRELI won't help you there. It's got those too. Too bad we can't
write a regex that means take out everything obscure.

In the lexicall website, some databases have information about frequency and you
have the possibility to enter a range of values of your choosing... you can
select words to have a minimum frequency (trick these unusual words have a
frequency of -1 or 0; if you take all words with a frequency under 10 you are
pretty safe).

If you use the url below, you will directly get to see the list of words which
have a frequency of 10 or more.

http://lexicall.org/repository/results.php?mtd_file=data%2F2_words%2Fenglish%2Fdb_mrc.mtdflds%5B1%5D=WORDminvals%5B5%5D=10submit=Submit

Make you enter it as a continuous line in your browser, the 500 words limit has
been removed and will remain so for a week, so you will see the full list on
your screen. Be patient - 10262 words.

In the query above, the 10 corresponds to the minimum frequency value. You can
try with higher and lower values and see when you get the list that best suits
your needs.

Marielle
___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Marielle Lange
OTH, allowing ``a=4'' as a shorthand for ``put 4 into a'' harms
nobody, and meets with the expediency criterion; just don't require
it.

Hi John,

I do often write myVar = x. But I like the fact that there is a different logic
for properties and variables.
set the width to 100
put 100 into myVar

You would loose this with the x = 4 syntax.

Marielle

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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Eric Chatonet

Hi Marielle,

I am curious... So I had a look ;-)
In fact, if you strip repeated words in your list, it is 5065 words  
long.


Le 23 juin 05 à 12:08, Marielle Lange a écrit :

If you use the url below, you will directly get to see the list of  
words which

have a frequency of 10 or more.

http://lexicall.org/repository/results.php?mtd_file=data%2F2_words% 
2Fenglish%2Fdb_mrc.mtdflds%5B1%5D=WORDminvals%5B5% 
5D=10submit=Submit


Make you enter it as a continuous line in your browser, the 500  
words limit has
been removed and will remain so for a week, so you will see the  
full list on

your screen. Be patient - 10262 words.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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 to learn C programming (was: compileIt for revolution?)

2005-06-23 Thread Alejandro Tejada
on Wed, 22 Jun 2005 
Richard Gaskin wrote:

 With only 27 keywords in the language, the learning
 requirement for implementing those sorts of 
 algorithms in C is arguably much lower, and 
 there are infinitely more resources available to get
 one started with C than with CompileItSpeak.

For example, i've read this book written
by Mike Westerfield, for ORCA C in Apple II
and i like his writing style... :-D

Learn to program in C

http://www.byteworks.org/resume/samples/ltp.pdf

But i've been not able to run his examples 
in any gnu compiler for windows. :-((

al

Visit my site:
http://www.geocities.com/capellan2000/



 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.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: Principles for User-Interface Design

2005-06-23 Thread Dave Cragg

On 23 Jun 2005, at 09:43, Martin Baxter wrote:


Marielle Lange wrote:

Let's not start some arguing. Simple question: how many of you  
swear at your

computer. What platform are you using? If you happen to use different
platforms, how often do you swear when using each one of them




Right, few things are more boring than platform wars. I can  
honestly say that I swear at all my computers regularly, every day  
(24/7/365 - I take a day off in leap years) I swear at them for  
different reasons, but I detest them all equally.


Once upon a time I had one computer and we had a mutually- 
supportive love affair and we were faithful to one another. But we  
grew old. Now I have a computer for every day of the week and they  
are all cheating on me behind my back. They are always dialling  
some server I know nothing about (and talking dirty I suspect).  
Sometimes they won't let me in without a password, and other times  
they just won't communicate with me in any way at all. Computers  
are from Venus, Men are from the funny-farm.




I see you lead an interesting life, Martin. :)

I also dislike all my computers, but it's nothing compared to my  
feelings for printers.


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


Re: the := operator (affectation)

2005-06-23 Thread Dennis Brown

John,

Of course you realize that if the = assignment operator was allowed  
in Transcript put would all but disappear from scripts.  Who wants  
to type putinto vs =.  Put would go the way of button vs btn.  I find  
myself reversing my opinion on this one.  = would make a nice  
shorthand notation.  I was just concerned that the syntax would be  
ambiguous to people or compiler.  If not, then why not have more  
compact scripts that are just as readable --just fix all the stupid  
little bugs before spending more than a day on this.


Dennis

On Jun 22, 2005, at 11:47 PM, John Vokey wrote:

It is fascinating to note that in R (GNU's S) the operator evolved  
from ``-'' to ``='' despite the ambiguity of the latter (R has  
both assignment operators (- and -), but still simple ``='' won  
out.  Why?  Well, as with the letter ``e'' in English, nobody wants  
to type 2 characters for the most common operation of assignment;  
make the rarer cases clumsy, not the most common; hence ``=='' for  
``is equal to (logical)''.  I (tried to, anyway) taught Pascal for  
years; the two most common complaints were, in order, the  
assignment operator (i.e., ``:= is just stupid''), and ``that  
stupid semi-colon''.  Often pristine syntax has to take a back-seat  
to expedience.


OTH, allowing ``a=4'' as a shorthand for ``put 4 into a'' harms  
nobody, and meets with the expediency criterion; just don't require  
it.  Similarly, no Basic compiler or interpreter ever had any  
problem discriminating logical statements from assignments, nor did  
programmers; it was a false purity that Pascal was promoting.   
Indeed, we exploited it: a=b*(c=2)+d*(c2), which to any Basic  
programmer (except those in which false meant -1, but simple  
accommodations in code fixed that), transparently means: a is  
assigned the value of b given c has the value of 2, otherwise, a is  
assigned the value of d.


On 22-Jun-05, at 4:51 PM, [EMAIL PROTECTED]  
wrote:




Yep

On Jun 22, 2005, at 8:01 AM, Jon wrote:






Dan Shafer wrote:





(I always found the whole ==, +=, :=, == syntax mess pretty ugly.
I  love the elegance of put 32 into x.)






Elegance, verbosity.  Poe-tay-toe, poe-tah-toe...






- JRV
--
There are 10 kinds of people:  those who understand binary, and  
those who don't


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

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



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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Jim Hurley


Message: 8
Date: Wed, 22 Jun 2005 21:41:08 -0500
From: J. Landman Gay [EMAIL PROTECTED]
Subject: Re: ANN Daily Crytoquote--my misspelling
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii; format=flowed

On 6/22/05 8:39 PM, Jim Hurley wrote:


 My dictionary of 61,000 words comes in at 592 K--similar
 to yours in size. The problem is that it includes a lot of words I've
 never heard of. For example the dictionary begins with the following:

 aardvark, aardwolf, aba, abaca, abacist, aback, abacus, abaft, abalone,
 abamp, abampere, abandon, abandoned, abase, abash, abate, abatement,
 abatis, abattoir, abaxial, abb, abba, abbacy, abbatial


Well, FRELI won't help you there. It's got those too. Too bad we can't
write a regex that means take out everything obscure.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

--


Jacque,

What an enterprising person (not me) would do is take the text of 
several books and create a fequency-of-occurence list using Scott's 
algorithm, and then delete all words in the dictionary which don't 
have the necessary frequency.


By encorporating you compression suggestion, the decoder stack 
dropped from 800K to 200K. RR is blazingly fast at decompression.


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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Jim Hurley


Message: 18
Date: Wed, 22 Jun 2005 21:53:01 -0700
From: Mark Wieder [EMAIL PROTECTED]
Subject:  Re: use-revolution Digest, Vol 21, Issue 133
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

Jim-

Wednesday, June 22, 2005, 5:57:53 PM, you wrote:

JH It should be red because it is still a coded letter like all the rest
JH of the coded letters in red.

Interesting. Mine start out blue. Then when I try out a letter the
corresponding letters all turn black. Double-clicking on it restores
the encrypted letter, but then I have some letters in blue (the ones I
haven't tried yet)and some in red (those that I've rejected).

--
-Mark Wieder
 [EMAIL PROTECTED]



Mark,

Now I understand you.

I suspect I used a message box routine to initially set the color of 
the encoded field to red. Funny that didn't stick to the download. 
You might try setting them to red initially and see if it behaves as 
expected.


I may repost the stack. There is also a problem if one drops a 
character onto a space by accident. And the size of the decoder 
substack can be cut by 75% using the compression suggestion of 
Jacque's.


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: Resources to learn C programming

2005-06-23 Thread Alex Tweedly

Alejandro Tejada wrote:



For example, i've read this book written
by Mike Westerfield, for ORCA C in Apple II
and i like his writing style... :-D

Learn to program in C

http://www.byteworks.org/resume/samples/ltp.pdf

But i've been not able to run his examples 
in any gnu compiler for windows. :-((


 

Haven't seen that one. But in general my favourite writer's style is 
that of Donald Alcock, in his Illustrating ... series. I had the good 
fortune to work for him (as a summer job while at university - I learnt 
more in that 2 months than in most of the rest of the 4 years :-)  That 
was when he was a civil engineer more than he was an author - but even 
then his writing style was unique and just plain fun.


Writing in the first person, informal style for a reference manual for a 
stress analysis package was something of a breakthrough.  And his 
insistence that hand-lettered text (almost calligraphy) was easier to 
read than printed text, and made the info easier to understand, was not 
something I was likely to learn in a university CS course.


So I would definitely recommend Illustrating C.

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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 22/06/2005

___
use-revolution mailing list
use-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: compileIt for revolution?

2005-06-23 Thread Rob Cozens

Dan, et al,



programming language that is everything to everyone is nothing to
anyone.


Not if it does the job.  (You'd really like to switch between different 
programming environments to create bits and pieces of an 
application?)  Isn't C a programming language that is everything to 
everyone?  Is there something one cannot program in C alone?


Why would any Transcript scriptor want to write externals in C or Pascal if 
she could use Transcript syntax instead?


I think I've mentioned this before: Dan, I believe you, like moi, have 
suggested to C programmers new to Transcript that they will find 
Transcript's verbose syntax to be greatly more productive in terms of 
lines of code needed to accomplish a given task.  So why would you want to 
use a different, less productive programming language to write 
externals?  Would you feel the same if you had to write externals in 
Assembler or machine code?


Rob Cozens

Wisdom entereth not into a malicious mind,
and science without conscience is but the ruin of the soul.

-- François Rabelais (c. 1494-1553) 


___
use-revolution mailing list
use-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: compileIt for revolution?

2005-06-23 Thread Rob Cozens

Richard, et al:

So instead CompileIt! had its own unique syntax and hundreds of symbols 
one could use to implement things that were algorithmically very much like 
one would do in Pascal or C. Of course this required a whole other level 
of knowledge, and for those symbols related to the Mac Toolbox it also 
required the dozen-volume set of Inside Mac books, and/or the more 
efficient Think Library (which came with Think C)


Are you talking about the same CompileIt! (Rev 2.6.1) I used for 
years?  There was very little difference between HyperTalk and CompileIt! 
syntax, except for things HyperTalk didn't support: variable typing, record 
structures, system call glue.


My experience is that it is easily an order of magnitude more efficient to 
write externals in CompileIt! than C or Pascal--and I have professional 
experience programming in both other languages.  If you are programming Mac 
Toolbox calls, you _will_ have to consult Inside Macintosh regardless of of 
the language you use.  But one doesn't have to consult a dozen volumes 
unless one is implementing _all_ Toolbox calls.  If I want to tap into Mac 
Program-to-Program Communications, for example, I need one volume: 
Interprocess Communication.


Finally, CompileIt! does not have hundreds of symbols to complete its 
function...it includes hundreds of symbols that are _already_ defined in 
Inside Macintosh.  If you're programming in another language, you will have 
to define the same symbols in an include file.


I'm really sorry your experience with CompileIt! was such that you didn't 
get it.


Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy

Every so often something strange happens on a stretch of Gulf coast 
shoreline.  Fish, crabs, and shrimp all but throw themselves into the arms, 
baskets, and hand nets of people wading in the beach surf...  In a few 
hours a single person can collect a hundred pounds of shrimp... Gulf folks 
call it a ''jubilee.''  The reality, at least for the sea's creatures, is 
less jubilant.  They aren't presenting themselves as gifts to man but 
trying desperately to escape suffocation.


 -- Ocean's End 


___
use-revolution mailing list
use-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: compileIt for Revolution?

2005-06-23 Thread Mikey
 Try not to get your knickers in a twist. In case you haven't noticed,
 hypertalk/transcript is clearly a Pascal derived language, they just got rid 
 of
 begin/end, loosely typed it, and made the operator of affectation verbose.
ROTFL/  OMG that's funny.  Don't forget scoping, and the overarching
paradigm of cards, backgrounds, stacks scripts, properties, and
messages and an inheritence path, and the vocabulary, and the fact
that nobody could describe what it was, and the fact that it was
originally intended to be interpreted not compiled, and therefore DO,
and oh hell.  You weren't serious so I don't have to add anything
here.  I mean - really - I was pretty sure xTalk was inspired by
COBOL's verbose syntax and...and...choking on my beverage/ .  Now
that I look at it, I'm having a hard time telling the difference
between BASIC and LISP and APL.  ROTFL/  Dude, you slay me.

Ok, now in case you were serious (and if you were I'm sorry for
laughing and making fun of your post) xTalk is now a legacy language
type with expectations and conventions and philosophy.  I'm reasonably
sure that := doesn't fit that philosophy, nor does a=b.  If you want
compact, you need to go somewhere else.  xTalk is intentionally
verbose.  Philosophically, I like it that way.  It means that it is
much easier for me to read someone else's code, especially since most
of you can't write an intelligent comment in your code to save your
lives.

I'm going to stop reading this thread now before I REALLY get flamed.
-- 
http://taoofrunrev.blogspot.com
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revCopyFile under Tiger

2005-06-23 Thread Chris Sheffield

Thanks all.

I probably will end up using the put method, as I intend to compress  
the files anyway.  I was just curious about revCopyFile, and whether  
or not there was some way to suppress that audio.  Sounds like there  
isn't, at least not right now.  There must be some way of doing it,  
though, since you can disable those sounds as Devin explained (which  
I found right after I posted my initial message).


Anyway, not a big deal, just kind of annoying if you have to copy  
several files right in a row.


Thanks again,
Chris


On Jun 22, 2005, at 5:44 PM, Sarah Reichelt wrote:

When using revCopyFile under 10.4.1, I'm getting the annoying  
sound that plays whenever you move/copy a file or folder to  
another location in the Finder.  In my opinion, revCopyFile should  
not play that sound, but I'm sure it does just cause it uses  
system services to do the copy.


Anyone found a way to make that sound not play?  Preferably  
without having to disable something in the OS.  What I'm doing is  
making a little backup utility, and copying files like that with  
that sound playing possibly hundreds of times is going to be  
*really* annoying, to say the least.





AFAIK, revCopyFile uses AppleScript which calls the Finder, thereby  
producing the Finder noises. Copying using put URL ... into URL ...  
as Jacque suggested would get rid of this noise but might cause  
permissions problems.


A further untested suggestion would be to use the shell command,  
which I think is cp:

get shell(cp sourceFile destinationFile)

This MIGHT copy OS X bundles and I think it will preserve any  
permissions.


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



--
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
--


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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Jim Hurley


Message: 9
Date: Thu, 23 Jun 2005 11:08:45 +0100
From: Marielle Lange [EMAIL PROTECTED]
Subject: Re: ANN Daily Crytoquote--my misspelling
To: use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-15


 My dictionary of 61,000 words comes in at 592 K--similar
 to yours in size. The problem is that it includes a lot of words I've
 never heard of. For example the dictionary begins with the following:



 aardvark, aardwolf, aba, abaca, abacist, aback, abacus, abaft, abalone,
 abamp, abampere, abandon, abandoned, abase, abash, abate, abatement,
 abatis, abattoir, abaxial, abb, abba, abbacy, abbatial



Well, FRELI won't help you there. It's got those too. Too bad we can't
write a regex that means take out everything obscure.


In the lexicall website, some databases have information about 
frequency and you

have the possibility to enter a range of values of your choosing... you can
select words to have a minimum frequency (trick these unusual words have a
frequency of -1 or 0; if you take all words with a frequency under 10 you are
pretty safe).

If you use the url below, you will directly get to see the list of words which
have a frequency of 10 or more.

http://lexicall.org/repository/results.php?mtd_file=data%2F2_words%2Fenglish%2Fdb_mrc.mtdflds%5B1%5D=WORDminvals%5B5%5D=10submit=Submit

Make you enter it as a continuous line in your browser, the 500 
words limit has

been removed and will remain so for a week, so you will see the full list on
your screen. Be patient - 10262 words.

In the query above, the 10 corresponds to the minimum frequency value. You can
try with higher and lower values and see when you get the list that best suits
your needs.

Marielle



Marielle,

This looks interesting. I tried your link, but my computer choked. I 
run on a 56K modem.


With the little bit I did get, there were a lot of duplicates. (This 
would be easy to filter out though.)


Is there some place that I can download the file without having to 
display it in the browser?


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


Printing Scripts PAINFUL

2005-06-23 Thread Mikey
OK, ladies, I'm trying to print a script.  However, on my printer the
text winds up big (like 14 pt. plus), and it overruns the left margin,
making the script unreadable.  Suggestions?
-- 
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Can't see movies on rev site

2005-06-23 Thread Kaveh Bazargan
I am trying to look at the tutorial movies on the runrev site. I am using
Tiger on OS X, and Quicktime Pro 7.0.1. I have downloaded and istalled the
Ensharpen codec, but I hear only sound. There is no picture. I have tried
looking through Revolution Online, but same problem.

Any ideas?
-- 

Kaveh Bazargan
http://www.river-valley.com/
http://www.holographer.org/
___
use-revolution mailing list
use-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: Can't see movies on rev site

2005-06-23 Thread Eric Chatonet

Hi Kaveh,

Did you restart?
Don't know but can help :-)

Le 23 juin 05 à 17:01, Kaveh Bazargan a écrit :

I am trying to look at the tutorial movies on the runrev site. I am  
using
Tiger on OS X, and Quicktime Pro 7.0.1. I have downloaded and  
istalled the
Ensharpen codec, but I hear only sound. There is no picture. I have  
tried

looking through Revolution Online, but same problem.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: compileIt for revolution?

2005-06-23 Thread Jim Bufalini
Guess I'll add my two cents.

I'm a newbie to Rev (Revolution) but worked over 25 years in Rev
(Revelation), another similar, high-typed, extensible, flexible, run as you
program, script language. It's an implementation of Pick on the PC. I was
considered an expert. I also owned a company and employed programmers.

I too, have heard these discussions hundreds of times, over the years.

Speed of execution rarely relates to code, or the language, or whether it's
compiled, or in pcode or whatever. It always has to do with data, whether
the data is in arrays, or a database, or whatever object. Any language can
add 2 to 2 instantly, regardless of the syntax.

You don't get speed by changing languages, or writing lengthy workarounds,
or complaining about your tools. You get speed by designing, in advance, the
layout of your data.

This requires straight thinking. 1. Know what you are setting out to
accomplish before you type one character of code (what are your client's
(your) goals?). 2. Layout and optimize the data you are going to access
BEFORE writing any code. How are you indexing the data? Is it real indexing
or organization? 3. Now write your code. If you find yourself writing
spaghetti code, STOP, go back to step 1.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan Shafer
Sent: Wednesday, June 22, 2005 12:12 PM
To: How to use Revolution
Subject: Re: compileIt for revolution?


This whole discussion has been revealing and intriguing to me.

My favorite programming language is Smalltalk. But before it was
possible to create UIs for Smalltalk without writing code, I found it
cumbersome. When a product called WindowBuilder came along, I felt
like we'd achieved the ultimate development environment. In many
ways, I still think that. Smalltalk had other problems,
unfortunately, that made it great to code in, difficult to impossible
to deploy.

Then my second favorite language was Python. The GUI-building tools
for Python are pathetic to non-existent. But the language is powerful
and elegant and extends naturally. If the PythonCard project I was
engaged in before I discovered Revolution had been on a fast track or
complete, odds are I'd have never used Rev.

Now I favor Transcript and RunRev. Building UIs is all but painless
and 95% of what I want or need to do in creating apps is simple
inside the elegance of Transcript. But Transcript isn't  object-
oriented.

Two aphorisms came to mind as I read this entire thread again today.

One is, No good programmer uses only one tool for everything.

The other is, It's a poor workman who blames his tools.




~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
 From http://www.shafermedia.com/revolutionbooks.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: Printing Scripts PAINFUL

2005-06-23 Thread Steve Bonham

M,

Have you selected: View  Wrap long script lines ?

...and under preferences you can choose font and size for scripts. It 
may be set to default- which may be causing the printing prob.


S


OK, ladies, I'm trying to print a script.  However, on my printer the
text winds up big (like 14 pt. plus), and it overruns the left margin,
making the script unreadable.  Suggestions?
--
http://taoof4d.blogspot.com
http://4dwishlist.blogspot.com
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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



--


--
Steve Bonham
Director, Faculty Technology Development Laboratory
Center for Excellence in Teaching - Georgia Southern University
Statesboro, GA 30460-8143
--
___
use-revolution mailing list
use-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: Printing Scripts PAINFUL

2005-06-23 Thread Ken Ray
On 6/23/05 9:41 AM, Mikey [EMAIL PROTECTED] wrote:

 OK, ladies, I'm trying to print a script.  However, on my printer the
 text winds up big (like 14 pt. plus), and it overruns the left margin,
 making the script unreadable.  Suggestions?

Copy and paste it into a text editor and print from there, or use Alex
Rice's MLXEditor which lets you use most text editors *as* your script
editor.

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: License key not saved between launches

2005-06-23 Thread Steve Wright Jr.
Thank you to everyone who replied.  Turns out I had evaluation  
versions of the license keys.  Once they were replaced with  
commercial keys, the info is now saved across launches.


Steve

On Jun 21, 2005, at 12:49 PM, Steve Wright Jr. wrote:

I'm installing Revolution and Revolution Dreamcard 2.6 under Mac OS  
X 10.4.  At each launch, I'm prompted to enter my license key  
information.  It is never saved.


I've verified with support folks that the privileges are set  
properly on all the files and the directory containing them.  The  
license.rev file is not locked.


This happens on a freshly-installed system, with a new copy of the  
disk image from the Revolution web site, the Revolution directory  
copied directly from the disk image into the Applications directory  
at the root of the drive.


Has anyone else run into this issue, and if so, how did you resolve  
it?


Thanks,
Steve



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


Choosing printer from within a script

2005-06-23 Thread Lynch, Jonathan

Is this possible in Windows?

What I want to do is create a custom printer dialog. For the most part,
that should not be too difficult. However, choosing which printer you
want to print on is both important, and something for which I do not see
an obvious technique.

There does not appear to be any function like:

  Put the printers into field myField

Or

  Set the printer to myPrinterName

I would use the system printer dialog, except that it causes problems
when trying to print multiple collated copies (windows 2000) - it only
prints one copy. This means, if you want to print multiple copies, you
have to print them unCollated, then collate them yourself after printing
- very annoying.

Are there shell commands that either return a list of available
printers, and that allow you to pick your printer?

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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Marielle Lange
I am curious... So I had a look ;-)
In fact, if you strip repeated words in your list, it is 5065 words
long.

It wouldn't be a big deal to write a revolution script to delete any repeated
line, would it? Je parie que c'est ce que tu as fait [I bet it is what you have
done].

All that lexicall.org website is work in progress (not progressing very much
anymore). It was done on my hobby time, over a few week-ends... I produced a
pilot good enough to interest funders and to justify a publication... but there
is still ample room for improvement.

The project I *really* want to realize is to give easy access from a web-aware
standalone (rev, of course), so to be able to provide better functionalities
(file opening, file saving, preferences saving, saving of a log which keep a
trace of any query that you have run, etc.). So much could be done with
revolution!!! If they were ready to pay me a salary over a year (for this
project and similar ones) and give me some extra money to pay some of the
members of this list for consultancy, they would get the productivity of at
least 50% of researchers and teachers increased by at least 5%. *Sigh*. Guess
what, that's exactly what I am currently trying to convince various decision
bodies of.

This bring me to... how much does consultancy cost, approximately, for a month
worth of work (responses can be private, of course).

Marielle
___
use-revolution mailing list
use-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: Can't see movies on rev site

2005-06-23 Thread Kaveh Bazargan
At 17:04 +0200 23/6/05, Eric Chatonet wrote:
Hi Kaveh,

Did you restart?
Don't know but can help :-)

I did now, and it works. dohh!

Thanks Eric.
-- 

Kaveh Bazargan
http://www.river-valley.com/
http://www.holographer.org/
___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Richard Gaskin

Marielle Lange wrote:

OTH, allowing ``a=4'' as a shorthand for ``put 4 into a'' harms


nobody, and meets with the expediency criterion; just don't require


it.



Hi John,

I do often write myVar = x. But I like the fact that there is a different logic
for properties and variables.
set the width to 100
put 100 into myVar

You would loose this with the x = 4 syntax.


Since it would be optional as it is in other xTalks, nothing would be lost.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: compileIt for Revolution?

2005-06-23 Thread Richard Gaskin

Mikey wrote:

Try not to get your knickers in a twist. In case you haven't noticed,
hypertalk/transcript is clearly a Pascal derived language, they just got rid of
begin/end, loosely typed it, and made the operator of affectation verbose.


ROTFL/  OMG that's funny.


FWIW, I've read that description almost verbatim from the man who 
created HyperTalk.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: the := operator (affectation

2005-06-23 Thread Eric Chatonet

Hello Richard,

Since it would be optional as it is in other xTalks, nothing would  
be lost.


Except the spirit :-)
Grasp all, lose all...

Le 23 juin 05 à 18:53, Richard Gaskin a écrit :


Marielle Lange wrote:


OTH, allowing ``a=4'' as a shorthand for ``put 4 into a'' harms


nobody, and meets with the expediency criterion; just don't require


it.


Hi John,
I do often write myVar = x. But I like the fact that there is a  
different logic

for properties and variables.
set the width to 100
put 100 into myVar
You would loose this with the x = 4 syntax.



Since it would be optional as it is in other xTalks, nothing would  
be lost.



Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Dennis Brown

Here is an answer that everyone might like:

The get x construct is already a syntactic equivalent of it=  
x (left assignment).

That could be expanded to the general form it gets x.
Now we have a general xTalk flavored version using the new gets  
keyword.

From there just substitute any shortcut for gets like gts or =.

There you have it.  Elegance, consistency, and brevity!

Dennis

On Jun 23, 2005, at 12:53 PM, Richard Gaskin wrote:


Marielle Lange wrote:


OTH, allowing ``a=4'' as a shorthand for ``put 4 into a'' harms


nobody, and meets with the expediency criterion; just don't require


it.


Hi John,
I do often write myVar = x. But I like the fact that there is a  
different logic

for properties and variables.
set the width to 100
put 100 into myVar
You would loose this with the x = 4 syntax.



Since it would be optional as it is in other xTalks, nothing would  
be lost.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: the := operator (affectation

2005-06-23 Thread Dar Scott


On Jun 23, 2005, at 11:17 AM, Dennis Brown wrote:

The get x construct is already a syntactic equivalent of it= x 
(left assignment).

That could be expanded to the general form it gets x.
Now we have a general xTalk flavored version using the new gets 
keyword.

From there just substitute any shortcut for gets like gts or =.

There you have it.  Elegance, consistency, and brevity!


There is nothing elegant about = for assignment.  IMHO, := is much 
superior and is less offensive.  In mathematics = is a relation or 
sometimes a function or sometimes used in where or let syntax 
(named value scoping).


Commands in xTalk follow the English implied-you imperatives.  The 
deviation from that to a descriptive of the dataflow does not fit.  I 
come from a functional programming background, but I accept the 
imperative style.


Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: the := operator (affectation

2005-06-23 Thread Dar Scott


On Jun 23, 2005, at 4:13 AM, Marielle Lange wrote:


But I like the fact that there is a different logic
for properties and variables.
set the width to 100
put 100 into myVar


I'm curious as to why you like the different syntaxes?

I sometimes accidently try to use 'put' when I need 'set'.  The 'the' 
word can differentiate, so 'set' is redundant.  Redundancy can be good; 
it catches errors.  However, in this case the word 'set' and the word 
'the' are next to each other.  We might consider making 'the' optional, 
but it is needed in expressions containing properties.


Perhaps there is a model or view that I'm missing that 'set' and 'put 
into' differentiate.


Perhaps one advantage of 'set' over 'put' is that it emphasizes that 
chunks are not allowed.  I don't know why they would not be if we have 
a simple as if model of what happens.


I would not mind if 'put' be allowed for properties and even chunks 
were allowed.


Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Marielle Lange
What an enterprising person (not me) would do is take the text of
several books and create a fequency-of-occurence list using Scott's
algorithm, and then delete all words in the dictionary which don't
have the necessary frequency.

Jim,

Excellent suggestion. In fact, it is exactly what the guys from the MRC database
have done, back in 1981. This work has been repeated by different teams more
than 20 times ;-). The best resource in this area being Celex (English, Dutch,
German) -- web interface at: http://www.mpi.nl/world/celex/, but more complex
to use than the trick I gave you.

Okay, I don't use my academic signature on this list. Okay, I avoid to play it;
sometimes I even play it dumb. Seriously, you have one of the world experts in
lexical databases on this list. Don't be an entreprising person... ask. I have
2GB of lexical databases and more than 200 scripts to extract all informations
you can think of from these lexical databases on my computer. This is my job.

If you don't seem to need more than a not too long list of words, I provide no
more than that. If you need a solution to any other problem, I either aleady
have it or know where you can find what you need.

If you want to write an application for kids and limit the words you use to ones
that are understood by kids of a given age, I can provide this (this is called
Age of Acquisition). If you want to only select easy or difficult to imagine
words, to design a pictionary-like game (with some items being easy or
difficult to draw), I can provide this (this is called imageability or
meaningfullness). If you need words that are part of a same semantic category
(for instance clothing items), I can provide this (check out wordnet
http://wordnet.princeton.edu/). If  you need a list of homophones, homographs,
synonyms, etc. I have that on my computer. If you want to write a rhyming book
or an application to help kids learn reading (phonics method), I can provide
you with the full lists of words which have a specific letter-sound
relationship in them:
http://www.psy.unsw.edu.au/Users/mlange/GPC/GPC_EN/GPC.html
(click on one line on the left, you will have all the words that contain that
grapheme-phoneme relationship in them -- a grapheme is a unit of spelling that
matches a unit of sound, like ai in pain)

It's just that I am an academic. My job security and promotion prospects depend
on the papers I publish. I am not supposed to spend any of my time sharing these
resources or even knowledge about these resources more largely :-/. I mean, I am
encouraged by existing european funding etc., but good researchers know they
need to avoid to spend time doing something that doesn't lead to a publication
in a well-ranked journal.

So, for about 4 years now, I have had about a meter high pile with a printout of
page 1 of any website that contains information about words. Because  I am an
academic, this remains in my office. Yes, I find it stupid too. I find that
even more stupid when I get to read papers published by colleagues who would
have done research of better quality if they had known about some of these
resources.

Worse, as a brilliant academic I am just about to submit a big, thick paper
which demonstrates that in my field, we have been for the last 20 years
providing solutions sometimes simple, sometimes elaborate to a wrongly
specified problem (in short, we have been studying one-syllable words only;
models efficient at reading one-syllable words are not at two syllable words --
it's more complex than speech synthesis, this is about integrating findings from
patients with brain damage, accounting for various word properties like meaning,
explaining the learning of reading, explaining second language acquisition,
etc., etc.). In short, a better analysis is needed but this would require
skills and tools that only about 10-20% of my colleagues have.

Just a year of funding and what could be done!!! Ok, I say goodbye to a
promising career. That's fine by me. I do more for the advancement of my field
and possibly of science than I would ever be able to do on the brilliant
academic career path.

Nothing in the world is as soft and yielding as water,
Yet nothing can better overcome the hard and strong,
For they can neither control nor do away with it.

The soft overcomes the hard,
The yielding overcomes the strong;
Every person knows this,
But no one can practice it.

Who attends to the people would control the land and grain;
Who attends to the state would control the whole world;
Truth is easily hidden by rhetoric.

(From  the Tao Te Ching)

---
Marielle Lange (PhD),  Psycholinguistics, Lecturer in Psychology and Informatics
University of Edinburgh, UK

Homepage:  http://homepages.inf.ed.ac.uk/mlange/
Lexicall project: http://lexicall.org
Revolution-education project: 

Re: TIP: isImagLoaded function

2005-06-23 Thread Ken Ray
On 6/22/05 1:50 AM, MisterX [EMAIL PROTECTED] wrote:

 Hi all!
 
 Here's a couple new TAOO XOSMediaLib functions im sure many are going to
 enjoy!
 
 However I know this one feature is much needed so i can release it outside
 the TAOO framework.
 
 here's the little add-on-script i made to see if an image existed or was
 loaded and by what stack.
 
 To use it, just script
 
 get imageNameexists(987654)
 get imageidexists(987654)
 
  -- it will return which stack or false.

The problem is that this doesn't handle images anywhere other than the
current card of a stack, and they have to be raw images sitting on the
card (i.e. not in substacks or groups, etc.).

So you should expand your code Xavier to support *any* images in a stack,
otherwise the purpose of the code (to find if there is an image loaded of a
particular ID) is defeated. You have a good framework to get this working -
you just need to expand on 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


Re: Resources to learn C programming

2005-06-23 Thread Wolfgang M. Bereuter

Alex,
On 23.06.2005, at 15:35, Alex Tweedly wrote:

Haven't seen that one. But in general my favourite writer's style  
is that of Donald Alcock, in his Illustrating ... series. I had  
the good fortune to work for him (as a summer job while at  
university - I learnt more in that 2 months than in most of the  
rest of the 4 years :-)  That was when he was a civil engineer more  
than he was an author - but even then his writing style was unique  
and just plain fun.


Writing in the first person, informal style for a reference manual  
for a stress analysis package was something of a breakthrough.  And  
his insistence that hand-lettered text (almost calligraphy) was  
easier to read than printed text, and made the info easier to  
understand, was not something I was likely to learn in a university  
CS course.


So I would definitely recommend Illustrating C.


Thanks for that tip, Alex!
Simply great!! (that´s really brainfriendly learning)

I had a lok at this book at Amazon. I understoond in a few minutes,  
why you have learned more from this guy in 2 month, than from others  
in years...


Thanks again!

regards
Wolfgang M. Bereuter

T-mapping© is PhotoLearning Mindmaps!
...
http://www.internettrainer.com
[EMAIL PROTECTED]
...
Edelhofg. 17/11, A-1180 Wien, Austria
Tel: ++43/1/ 479 6410
Fax: ++43/1/ 955 14 64-198


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


Re: ANN Daily Crytoquote--my misspelling

2005-06-23 Thread Marielle Lange
Jim,

A suggestion: In your application, put the crypted version in uppercase and the
uncrypted version in lower case. Studies shows that it is easier to recognize
words when they are in the usual (lowercase) format.

(Besner, D., Davelaar, E., Alcott, D.,  Parry, P. (1984). Wholistic reading of
alphabetic print: Evidence from the FDM and the FBI. In L. Henderson (Ed.),
Orthographies and reading: Perspectives from cognitive psychology,
neuropsychology, and linguistics (pp. 121-135). London: Erlbaum.)

Also, I couldn't figure out how to take a letter out. I dropped and dragged and
dropped a B, randomly, but I was unable to move it around, afterwards, or put
it back in the set of unused letters (didn't try long, though).

Marielle
___
use-revolution mailing list
use-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: TIP: isImagLoaded function

2005-06-23 Thread MisterX
Ken,

Wrong, it, scans all the stacks (listed in the windows variable)... 

Of course i have a bit more advanced version coming which will scan known
and substacks and etc... ;)

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
 Sent: Thursday, June 23, 2005 20:01
 To: Use Revolution List
 Subject: Re: TIP: isImagLoaded function
 
 On 6/22/05 1:50 AM, MisterX [EMAIL PROTECTED] wrote:
 
  Hi all!
  
  Here's a couple new TAOO XOSMediaLib functions im sure many 
 are going 
  to enjoy!
  
  However I know this one feature is much needed so i can release it 
  outside the TAOO framework.
  
  here's the little add-on-script i made to see if an image 
 existed or 
  was loaded and by what stack.
  
  To use it, just script
  
  get imageNameexists(987654)
  get imageidexists(987654)
  
   -- it will return which stack or false.
 
 The problem is that this doesn't handle images anywhere other 
 than the current card of a stack, and they have to be raw 
 images sitting on the card (i.e. not in substacks or groups, etc.).
 
 So you should expand your code Xavier to support *any* images 
 in a stack, otherwise the purpose of the code (to find if 
 there is an image loaded of a particular ID) is defeated. You 
 have a good framework to get this working - you just need to 
 expand on 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
 

___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Richard Gaskin

Eric Chatonet wrote:

Hello Richard,

Since it would be optional as it is in other xTalks, nothing would  be 
lost.



Except the spirit :-)
Grasp all, lose all...


With the current flexibility of xTalk, we can choose to write:

  put 1 + tMyVar into tMyVar

..or we can write:

  add 1 to tMyVar

Does it necessarily diminish the language to have these options?

I save my religion for Sundays

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: Choosing printer from within a script

2005-06-23 Thread Ken Ray
On 6/23/05 11:13 AM, Lynch, Jonathan [EMAIL PROTECTED] wrote:


 Are there shell commands that either return a list of available
 printers, and that allow you to pick your printer?

You can use VBScript for this, and run VBScript from Rev. Here's a page
where they talk about getting the list of printers (EnumPrinterConnections):

http://www.computerperformance.co.uk/Logon/logon_enumprinterconnections.htm

To call VBS from Rev, you basically create a file with the extension .vbs
(through put url(file:) or open file/write file/close file) and then
execute it, and then delete it (so it doesn't lie around). Here's what I
use:


function doVBS pVBScript,pDirectConsole
  if pDirectConsole =  then
put C:\vbs_temp.vbs into tVBSPath
put pVBScript into url (file:  tVBSPath)
set the hideConsoleWindows to true
get shell(cscript.exe //nologo  tVBSPath)
  else
set the hideConsoleWindows to true
get shell(cscript.exe  pVBScript)
  end if
  put it into tResult
  if there is a file tVBSPath then
send delete file  quote  tVBSPath  quote to me in 1 second
  end if
  if tResult   then return tResult
end doVBS

HTH,

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: compileIt for Revolution?

2005-06-23 Thread Eric Engle
 Message: 2
 Date: Thu, 23 Jun 2005 10:15:28 -0400
 From: Mikey [EMAIL PROTECTED]
 Subject: Re: compileIt for Revolution?
 To: How to use Revolution use-revolution@lists.runrev.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1
 
  Try not to get your knickers in a twist. In case you haven't noticed,
  hypertalk/transcript is clearly a Pascal derived language, they just got
 rid of
  begin/end, loosely typed it, and made the operator of affectation verbose.
 ROTFL/  OMG that's funny.  Don't forget scoping, and the overarching
 paradigm of cards, backgrounds, stacks scripts, properties, and
 messages and an inheritence path, and the vocabulary, and the fact
 that nobody could describe what it was, and the fact that it was
 originally intended to be interpreted not compiled, and therefore DO,
 and oh hell.  You weren't serious so I don't have to add anything
 here.  I mean - really - I was pretty sure xTalk was inspired by
 COBOL's verbose syntax and...and...choking on my beverage/ .  Now
 that I look at it, I'm having a hard time telling the difference
 between BASIC and LISP and APL.  ROTFL/  Dude, you slay me.
 
 Ok, now in case you were serious (and if you were I'm sorry for
 laughing and making fun of your post) xTalk is now a legacy language
 type with expectations and conventions and philosophy.  I'm reasonably
 sure that := doesn't fit that philosophy, nor does a=b.  If you want
 compact, you need to go somewhere else.  xTalk is intentionally
 verbose.  Philosophically, I like it that way.  It means that it is
 much easier for me to read someone else's code, especially since most
 of you can't write an intelligent comment in your code to save your
 lives.
 
 I'm going to stop reading this thread now before I REALLY get flamed.

Well, yes, that might be a good idea actually. Intelligent debates are
generally dispassionate and reasonable since intelligent people are after the
truth as opposed to stroking their ego.

You might have heard of the maxim Fortiter in re , suaviter in modo. If not,
look it up. In any event: think about it.

Substantively, I stand by my story: xTalk is a scripting language which is
clearly derived from Pascal.

Don't take my word for it though; get a copy of think pascal (it's free) and
look at its debugger and hypercards, its script formatter and hypercards. Or,
just read wikipedia.

HyperTalk scripts are fairly similar to written English, and use a logic
structure similar to the Pascal programming language.
http://en.wikipedia.org/wiki/HyperTalk

HyperTalk is the scripting language of HyperCard and its clones. It is similar
in syntax to Pascal, and includes enough object-like data structures and
programming aids to make it a quite useful development environment (Allen
103).
http://www.iath.virginia.edu/elab/hfl0133.html

There's even an entire article on macTech Comparing HyperTalk to Pascal which
says, 
Both Pascal and HyperTalk provide powerful if-then-else control structures
with very similar syntax.
The specification and calling of user defined functions in Pascal and
HyperTalk is almost identical.
http://www.mactech.com/articles/mactech/Vol.04/04.09/HyperTalk,Pascal/
Based on the comparisons presented above between Pascal and HyperTalk, it
should be clear that HyperTalk is indeed a powerful language with many
similarities to Pascal.

I could keep looking, but I think I've made my point.

__
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: compileIt for revolution?

2005-06-23 Thread Jerry Daniels

CompileIt! lovers and haters...

YESTERDAY

I would have to agree with Rob, here. I used CompileIt! to the point 
where I made a small C app that RAN externals only and I would get 
CompileIt! to compile into that app (called HyperApp). I then wrote a 
front end (in CompileIt!) to write and manage my code in. I've moved a 
great deal of my code management features from it into Constellation 
(www.daniels-mara.com/products).


The CompileIt! Xternal performance (if there weren't too many text call 
backs) was breath-taking. Tom Pittman created a great tool there. The 
early versions were slow to compile and frustrating, but the the last 
versions were killer and had a very good debugger.


Tom Pittman DID write CompileIt! in 68000 assembler using HyperTalk to 
do that! He was a purist indeed. I learned a tremendous amount about 
everyday coding using pointers, handles, bitwise math and bunches of 
goodies--all in my fav lingua, HyperTalk. As a tool, today it would be 
tremendously helpful.


TODAY

Doing CompileIt! today would be challenging in a multiplatform 
environs, because one of the great parts of CompileIt was its toolbox 
access. HOWEVER, HyperCard had its own toolbox, too. PERHAPS Rev has 
such a thing that we could call from externals and shield us from the 
individual API's for the varous platform. These HyperCard callbacks 
were binary callbacks with data-typed params, so they were every bit as 
fast as C or a OS toolbox call.


WIth Revolution binary callbacks from XCMDs the task of creating a 
compiler and debugger might be a bit more manageable and certainly 
would be a fun project.


TOMORROW

Enough history and what-if's!

BOTTOM LINE: I'm interested. My company (Daniels  Mara, creators of 
Constellation) would be interested in discussing a commercial venture. 
Not sure I'm all that interested in an open-source, design-by-committee 
free-for-all, I'd, of course, prefer a real project with direction and 
technical/financial purpose. There are several large hurdles in the 
process.


Let's keep this discussion going.

Best,

Jerry

On Jun 23, 2005, at 9:00 AM, Rob Cozens wrote:


Richard, et al:

So instead CompileIt! had its own unique syntax and hundreds of 
symbols one could use to implement things that were algorithmically 
very much like one would do in Pascal or C. Of course this required a 
whole other level of knowledge, and for those symbols related to the 
Mac Toolbox it also required the dozen-volume set of Inside Mac 
books, and/or the more efficient Think Library (which came with Think 
C)


Are you talking about the same CompileIt! (Rev 2.6.1) I used for 
years?  There was very little difference between HyperTalk and 
CompileIt! syntax, except for things HyperTalk didn't support: 
variable typing, record structures, system call glue.


My experience is that it is easily an order of magnitude more 
efficient to write externals in CompileIt! than C or Pascal--and I 
have professional experience programming in both other languages.  If 
you are programming Mac Toolbox calls, you _will_ have to consult 
Inside Macintosh regardless of of the language you use.  But one 
doesn't have to consult a dozen volumes unless one is implementing 
_all_ Toolbox calls.  If I want to tap into Mac Program-to-Program 
Communications, for example, I need one volume: Interprocess 
Communication.


Finally, CompileIt! does not have hundreds of symbols to complete its 
function...it includes hundreds of symbols that are _already_ defined 
in Inside Macintosh.  If you're programming in another language, you 
will have to define the same symbols in an include file.


I'm really sorry your experience with CompileIt! was such that you 
didn't get it.


Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy

Every so often something strange happens on a stretch of Gulf coast 
shoreline.  Fish, crabs, and shrimp all but throw themselves into the 
arms, baskets, and hand nets of people wading in the beach surf...  In 
a few hours a single person can collect a hundred pounds of shrimp... 
Gulf folks call it a ''jubilee.''  The reality, at least for the sea's 
creatures, is less jubilant.  They aren't presenting themselves as 
gifts to man but trying desperately to escape suffocation.


 -- Ocean's End
___
use-revolution mailing list
use-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: Choosing printer from within a script

2005-06-23 Thread Lynch, Jonathan
Thanks Ken!

What versions of windows allow you to use Vbscript in this way? I see
many uses for such a thing.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Thursday, June 23, 2005 2:19 PM
To: Use Revolution List
Subject: Re: Choosing printer from within a script

On 6/23/05 11:13 AM, Lynch, Jonathan [EMAIL PROTECTED] wrote:


 Are there shell commands that either return a list of available
 printers, and that allow you to pick your printer?

You can use VBScript for this, and run VBScript from Rev. Here's a page
where they talk about getting the list of printers
(EnumPrinterConnections):

http://www.computerperformance.co.uk/Logon/logon_enumprinterconnections.
htm

To call VBS from Rev, you basically create a file with the extension
.vbs
(through put url(file:) or open file/write file/close file) and then
execute it, and then delete it (so it doesn't lie around). Here's what I
use:


function doVBS pVBScript,pDirectConsole
  if pDirectConsole =  then
put C:\vbs_temp.vbs into tVBSPath
put pVBScript into url (file:  tVBSPath)
set the hideConsoleWindows to true
get shell(cscript.exe //nologo  tVBSPath)
  else
set the hideConsoleWindows to true
get shell(cscript.exe  pVBScript)
  end if
  put it into tResult
  if there is a file tVBSPath then
send delete file  quote  tVBSPath  quote to me in 1 second
  end if
  if tResult   then return tResult
end doVBS

HTH,

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


___
use-revolution mailing list
use-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: TIP: isImagLoaded function

2005-06-23 Thread Ken Ray
On 6/23/05 1:13 PM, MisterX [EMAIL PROTECTED] wrote:

 Ken,
 
 Wrong, it, scans all the stacks (listed in the windows variable)...

You misunderstood me, Xavier. I didn't say that it only scanned one stack. I
said that it wasn't comprehensive enough to be useful. When you ask for:

  put the number of images in stack stackName

You don't get all the images on all cards of the stack - only the current
card (whatever is the one you'd see when the stack opens), and it doesn't go
into groups, etc. You can see this by making a simple stack, import one
image onto card 1, then two on card 2, then navigate back to card 1 and ask
for the number of images -- you get '1'... so that means there are two
images on card 2 that don't get included in your global, and so the purpose
of the function is meaningless.
 
 Of course i have a bit more advanced version coming which will scan known
 and substacks and etc... ;)

As long as the etc makes it comprehensive, that's great - otherwise it is
of little use, IMHO, because it promises something it can't deliver.

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: Mac vs PC .csv files

2005-06-23 Thread Dennis Brown

Thanks,

I think I got the idea now.  I am sure I can generate the right  
format .csv for PCs now.


Dennis

On Jun 23, 2005, at 12:30 AM, Stephen Barncard wrote:

Put the delimiter you want after each line instead of RETURN, then  
SAVE AS BINARY...

otherwise rev will save as text, using the standard for your platform.



Thanks, Ken, Eric, and Jon,

I was looking to create them in Rev.  Importing and exporting them  
from another program (Excel) is what I am doing now.


Dennis


___
use-revolution mailing list
use-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: TIP: isImagLoaded function

2005-06-23 Thread MisterX
OOPS!

I assumed images were stack-global! Slap me again!

I'll fix it later ;)

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
 Sent: Thursday, June 23, 2005 20:25
 To: Use Revolution List
 Subject: Re: TIP: isImagLoaded function
 
 On 6/23/05 1:13 PM, MisterX [EMAIL PROTECTED] wrote:
 
  Ken,
  
  Wrong, it, scans all the stacks (listed in the windows variable)...
 
 You misunderstood me, Xavier. I didn't say that it only 
 scanned one stack. I said that it wasn't comprehensive enough 
 to be useful. When you ask for:
 
   put the number of images in stack stackName
 
 You don't get all the images on all cards of the stack - only 
 the current
 card (whatever is the one you'd see when the stack opens), 
 and it doesn't go into groups, etc. You can see this by 
 making a simple stack, import one image onto card 1, then two 
 on card 2, then navigate back to card 1 and ask for the 
 number of images -- you get '1'... so that means there are 
 two images on card 2 that don't get included in your global, 
 and so the purpose of the function is meaningless.
  
  Of course i have a bit more advanced version coming which will scan 
  known and substacks and etc... ;)
 
 As long as the etc makes it comprehensive, that's great - 
 otherwise it is of little use, IMHO, because it promises 
 something it can't deliver.
 
 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
 

___
use-revolution mailing list
use-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: Images in Customproperties

2005-06-23 Thread Sivakatirswami

This is interesting... I'm curious

where multiple instances of a single image object are needed, what  
would be the advantages of storing images in customproperties, vs  
using Rev's option (admittedly a unicornian one, but it works  
really well.) to set the icon of a button to the id of an image. I  
use this a lot, where the image library is simply imported into a  
substack that the user never seesand whenever we want to show it,  
we simply us a button


Sivakatirswami



On Jun 21, 2005, at 11:04 PM, Klaus Major wrote:


Hi Glen,



Scott,

This is more at what I was getting at. I made a simple error in
thinking that the image tower when stored as a custom property also
had its custom properties stored...NOT.

Thanks for the enlightenment.

Any thoughts on my other question...if I stored an image from my  
hard drive


set the Antennas[Site] of image map to URL binfile:radio.png

How can I place this image from my custom property at a later time  
onto a card?




simply put it into any image :-)

...
##create img my img on cd y, if necessary
put the Antennas[Site] of image map of cd x into img my img of  
cd y

...

Done :-)


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


Confirm Long File Name Bug in Player Object

2005-06-23 Thread Sivakatirswami
Can someone quickly confirm this ( bugzilled already) ... a bit of a  
serious problem for me at the moment:


a) get an .mp3 file... any will do. Make sure the number of chars in  
the file name (inclusive of extension) is  33


e.g. someFoo.mp3

b) set some player test to this file and confirm it plays as  
expected on a


start player test

c) now go to the finder (OSX, Tiger) and change the file name to

somefoo0123435678901234567890123456789.mp3

d) now go back, set the player  object to this same file which now  
has a file name with 33 chars...


e) start player test

here, the player object is now simply dead go back... truncate  
the file name to 33 chars... try again... now it works..


Sivakatirswami
___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Scott Rossi
Recently, Sivakatirswami  wrote:

 Can someone quickly confirm this ( bugzilled already) ... a bit of a
 serious problem for me at the moment:
 
 a) get an .mp3 file... any will do. Make sure the number of chars in
 the file name (inclusive of extension) is  33
 
 e.g. someFoo.mp3
 
 b) set some player test to this file and confirm it plays as
 expected on a
 
 start player test
 
 c) now go to the finder (OSX, Tiger) and change the file name to
 
 somefoo0123435678901234567890123456789.mp3
 
 d) now go back, set the player  object to this same file which now
 has a file name with 33 chars...
 
 e) start player test
 
 here, the player object is now simply dead go back... truncate
 the file name to 33 chars... try again... now it works..

Confirmed, as of November last year.

Also, try adding special characters to the file name, such as - or (.
These broke playback for me at the time.

I would set this at Blocker status because it prevents playback of otherwise
playable media.

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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Peter T. Evensen
I am also noticing, on Mac, at least, the refusal to load images that are 
reference by long name.  For example, a file named Critical Thinking 
Instructions.png will not load, but a file named Critical Thinking 
Instr.png will.  I haven't played around with enough to see if it is the 
file name or the whole path.


Has anyone else seen this?

At 02:08 PM 6/23/2005, you wrote:

Recently, Sivakatirswami  wrote:

 Can someone quickly confirm this ( bugzilled already) ... a bit of a
 serious problem for me at the moment:

 a) get an .mp3 file... any will do. Make sure the number of chars in
 the file name (inclusive of extension) is  33

 e.g. someFoo.mp3

 b) set some player test to this file and confirm it plays as
 expected on a

 start player test

 c) now go to the finder (OSX, Tiger) and change the file name to

 somefoo0123435678901234567890123456789.mp3

 d) now go back, set the player  object to this same file which now
 has a file name with 33 chars...

 e) start player test

 here, the player object is now simply dead go back... truncate
 the file name to 33 chars... try again... now it works..

Confirmed, as of November last year.

Also, try adding special characters to the file name, such as - or (.
These broke playback for me at the time.

I would set this at Blocker status because it prevents playback of otherwise
playable media.

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


Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Eric Chatonet

Hi Richard,

Don't think it's a problem of religion :-)

Or you want to maintain an every day language or you want to allow  
specialists languages come in.

As for me I don't mind : I use both.
But I think that all guys who invented Xtalks principles would not  
agree.
In fact, if some distorsions could win over the purists of minimalist  
programming, I should not be worried ;-)
But I am a writer too: So I love words... and hate when they are  
replaced with simple maths operations.

Some civilization question ?

Best Regards from Paris,

Eric Chatonet.

Le 23 juin 05 à 20:17, Richard Gaskin a écrit :


Eric Chatonet wrote:


Hello Richard,

Since it would be optional as it is in other xTalks, nothing  
would  be lost.



Except the spirit :-)
Grasp all, lose all...



With the current flexibility of xTalk, we can choose to write:

  put 1 + tMyVar into tMyVar

..or we can write:

  add 1 to tMyVar

Does it necessarily diminish the language to have these options?

I save my religion for Sundays



So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Eric Chatonet

Hello Peter,

Assuming Mac OS...

Critical Thinking Instructions.png is 34 chars (you have to count  
the extension)

Critical Thinking Instr.png is 27 chars.
The limit is 31 :-)

Le 23 juin 05 à 21:14, Peter T. Evensen a écrit :

I am also noticing, on Mac, at least, the refusal to load images  
that are reference by long name.  For example, a file named  
Critical Thinking Instructions.png will not load, but a file  
named Critical Thinking Instr.png will.  I haven't played around  
with enough to see if it is the file name or the whole path.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Klaus Major

Hi all,


Recently, Sivakatirswami  wrote:


Can someone quickly confirm this ( bugzilled already) ... a bit of a
serious problem for me at the moment:

a) get an .mp3 file... any will do. Make sure the number of chars in
the file name (inclusive of extension) is  33
...
somefoo0123435678901234567890123456789.mp3

...
here, the player object is now simply dead go back... truncate
the file name to 33 chars... try again... now it works..



Confirmed, as of November last year.
Also, try adding special characters to the file name, such as -  
or (.

These broke playback for me at the time.


like german umlauts and french accents...

I would set this at Blocker status because it prevents playback of  
otherwise

playable media.

Regards,

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


this is bug nr. 396 as of 2003-08-20 and it is still marked as NEW!?
C'mon RunRev!

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

Mark, i am sure you read this, this is not acceptable and a real blocker
especially in non english speaking countries like germany with its  
lots of

umlauts etc...

PLEASE resolve this one as soon as possible, PLEASE!!!


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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Todd Higgins
Is there a technical reason for Revolution having a 31 char limit in  
Mac OS X?  Obviously the OS and filesystem support longer file names  
(256 chars) and there must be other Carbon application that support  
long filenames.


Todd

On Jun 23, 2005, at 3:25 PM, Eric Chatonet wrote:


Hello Peter,

Assuming Mac OS...

Critical Thinking Instructions.png is 34 chars (you have to count  
the extension)

Critical Thinking Instr.png is 27 chars.
The limit is 31 :-)

Le 23 juin 05 à 21:14, Peter T. Evensen a écrit :


I am also noticing, on Mac, at least, the refusal to load images  
that are reference by long name.  For example, a file named  
Critical Thinking Instructions.png will not load, but a file  
named Critical Thinking Instr.png will.  I haven't played around  
with enough to see if it is the file name or the whole path.




Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: compileIt for Revolution?

2005-06-23 Thread Mark Wieder
Eric-

Thursday, June 23, 2005, 11:20:16 AM, you wrote:

EE There's even an entire article on macTech Comparing HyperTalk to Pascal 
which
EE says, 
EE Both Pascal and HyperTalk provide powerful if-then-else control structures
EE with very similar syntax.
EE The specification and calling of user defined functions in Pascal and
EE HyperTalk is almost identical.
EE http://www.mactech.com/articles/mactech/Vol.04/04.09/HyperTalk,Pascal/
EE Based on the comparisons presented above between Pascal and HyperTalk, it
EE should be clear that HyperTalk is indeed a powerful language with many
EE similarities to Pascal.

EE I could keep looking, but I think I've made my point.

Er... hardly. Conditionals are what makes something a programming
language. This is what separates, for example, basic from html. Simply
saying that a language has an if-then-else contstruct doesn't make it
Pascal.

Also, at the time the MacTech article was written Pascal was *the* way
to program the Macintosh. Those of us programming in Lightspeed C had
to shoehorn our routines in to match the Pascal routines in the
toolbox. The articles of that vintage were aimed at the all right...
you know how to program the Mac in Pascal, here's where HyperTalk
differs from it and how it's similar audience, so the comparisons are
de rigeur. *Especially* since the article is titled Comparing
HyperTalk to Pascal.

-- 
-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: the := operator (affectation

2005-06-23 Thread Mark Wieder
Dar-

Thursday, June 23, 2005, 10:40:06 AM, you wrote:

DS Commands in xTalk follow the English implied-you imperatives. The
DS deviation from that to a descriptive of the dataflow does not fit.  I
DS come from a functional programming background, but I accept the 
DS imperative style.

Exactly. The verbose xtalk form makes the assignment unambiguous,
where C, for example, had to resort to the confusing == operator in
order to disambiguate things.

-- 
-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Trevor DeVore

On Jun 23, 2005, at 12:39 PM, Todd Higgins wrote:

Is there a technical reason for Revolution having a 31 char limit in 
Mac OS X?  Obviously the OS and filesystem support longer file names 
(256 chars) and there must be other Carbon application that support 
long filenames.


Revolution is most likely still using the FSSpec file structure with 
QuickTime.  QuickTime 6 introduced new movie storage functions that 
support all of the fancy long names but the Rev code needs to be 
updated to determine if QT 6 is installed and then use the appropriate 
functions.



--
Trevor DeVore
Blue Mango Multimedia
[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: the := operator (affectation

2005-06-23 Thread Dennis Brown

Dar,

I am not arguing for =, I am arguing for gets and some shortcut  
that suits, if any.  Gets is a cousin of get command that is  
already a left assignment operator.  It does not introduce a new  
concept to the syntax, but just makes the get construct more  
general.  I actually find  it a bit awkward when I have used the get  
x construct, then decide later to use another variable instead of  
it.  The editing is a lot more than just changing variable names.
I have even taken to put x into it on occasion, just so I can more  
easily change my mind later.  I would be happy to be able to change  
get x to myVariable gets  x.


Dennis

On Jun 23, 2005, at 1:40 PM, Dar Scott wrote:



On Jun 23, 2005, at 11:17 AM, Dennis Brown wrote:


The get x construct is already a syntactic equivalent of it=  
x (left assignment).

That could be expanded to the general form it gets x.
Now we have a general xTalk flavored version using the new gets  
keyword.

From there just substitute any shortcut for gets like gts or =.

There you have it.  Elegance, consistency, and brevity!



There is nothing elegant about = for assignment.  IMHO, := is  
much superior and is less offensive.  In mathematics = is a  
relation or sometimes a function or sometimes used in where or  
let syntax (named value scoping).


Commands in xTalk follow the English implied-you imperatives.  The  
deviation from that to a descriptive of the dataflow does not fit.   
I come from a functional programming background, but I accept the  
imperative style.


Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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

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



___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Klaus Major

Hi Trevor,


On Jun 23, 2005, at 12:39 PM, Todd Higgins wrote:

Is there a technical reason for Revolution having a 31 char limit  
in Mac OS X?  Obviously the OS and filesystem support longer file  
names (256 chars) and there must be other Carbon application that  
support long filenames.
Revolution is most likely still using the FSSpec file structure  
with QuickTime.


Exactly!

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

That's exactly what Tuviah mentioned here:

--- Additional Comment #1 From Tuviah Snyder 2003-08-22 21:23  
---
right this is because we using fsspecs..we plan to look into fixing  
the 32
char filepath limitation (either use unix paths or fsrefs) in the  
next release.


QuickTime 6 introduced new movie storage functions that support all  
of the fancy long names but the Rev code needs to be updated to  
determine if QT 6 is installed and then use the appropriate functions.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Peter T. Evensen

I guess they decided not to fix it in the next release?

At 03:26 PM 6/23/2005, you wrote:

Hi Trevor,


On Jun 23, 2005, at 12:39 PM, Todd Higgins wrote:


Is there a technical reason for Revolution having a 31 char limit
in Mac OS X?  Obviously the OS and filesystem support longer file
names (256 chars) and there must be other Carbon application that
support long filenames.

Revolution is most likely still using the FSSpec file structure
with QuickTime.


Exactly!

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

That's exactly what Tuviah mentioned here:

--- Additional Comment #1 From Tuviah Snyder 2003-08-22 21:23
---
right this is because we using fsspecs..we plan to look into fixing
the 32
char filepath limitation (either use unix paths or fsrefs) in the
next release.


QuickTime 6 introduced new movie storage functions that support all
of the fancy long names but the Rev code needs to be updated to
determine if QT 6 is installed and then use the appropriate functions.


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


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


Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


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


revSetStackProfile in model stack

2005-06-23 Thread Peter T. Evensen
It appears the a call in  the openStack of a stack that is opened via the 
modal command has no effect.


I changed the command from

mode StackName

to

go to StackName

And it works.

I haven't tried to play around with it.  Has anyone else seen this?

Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Sivakatirswami
So, we are stuck... mmm. I guess i'll have to implement a work around  
to preserve the long file names in some custom prop, field or global,  
truncate the file name on disk...  reset the player to the truncated  
file name... all on the  fly, when the transcriber finishes work,  
restore the file to it's original name.. export the matching .xml  
file (of the transcript and metadata from the discourse) with the  
long name... all doable, wish me luck!


but, ideally this gets fixed on tonite's build and the next patch  
release that is issued every 72 hours on a cron...


Sivakatirswami


On Jun 23, 2005, at 10:55 AM, Peter T. Evensen wrote:


I guess they decided not to fix it in the next release?

At 03:26 PM 6/23/2005, you wrote:


Hi Trevor,



On Jun 23, 2005, at 12:39 PM, Todd Higgins wrote:



Is there a technical reason for Revolution having a 31 char limit
in Mac OS X?  Obviously the OS and filesystem support longer file
names (256 chars) and there must be other Carbon application that
support long filenames.


Revolution is most likely still using the FSSpec file structure
with QuickTime.



Exactly!

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

That's exactly what Tuviah mentioned here:

--- Additional Comment #1 From Tuviah Snyder 2003-08-22 21:23
---
right this is because we using fsspecs..we plan to look into fixing
the 32
char filepath limitation (either use unix paths or fsrefs) in the
next release.



QuickTime 6 introduced new movie storage functions that support all
of the fancy long names but the Rev code needs to be updated to
determine if QT 6 is installed and then use the appropriate  
functions.



--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]



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



Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671
___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Dar Scott


On Jun 23, 2005, at 1:08 PM, Scott Rossi wrote:

I would set this at Blocker status because it prevents playback of 
otherwise

playable media.


I don't agree with that.

First of all, somebody will have a workaround command (3 minutes; 17 
lines) shortly after I mail this.


Second, blocker means it blocks development  testing.  The developer 
can temporarily shorten the names and continue development and testing 
until a workaround or fix is available.


Or did I miss something?

Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Dar Scott


On Jun 23, 2005, at 3:03 PM, Sivakatirswami wrote:

So, we are stuck... mmm. I guess i'll have to implement a work around 
to preserve the long file names in some custom prop, field or global, 
truncate the file name on disk...  reset the player to the truncated 
file name... all on the  fly, when the transcriber finishes work, 
restore the file to it's original name.. export the matching .xml file 
(of the transcript and metadata from the discourse) with the long 
name... all doable, wish me luck!


Truncating and then restoring the file name might leave the name 
shortened on a crash or other abnormal exit, unless you do something 
special.


Perhaps you can use a custom prop on the player and use that in all 
cases.  The setProp handler can then check for name size and do 
whatever is needed.  That might be creating an alias, copying the file, 
or (as you mentioned) shortening the name.  It can also do whatever is 
needed to clean up after the old name.  Quitting need do something 
simple, such as setting the custom property to empty.


(I have no idea whether an alias will really work for a player.)

Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: the := operator (affectation

2005-06-23 Thread Mark Wieder
Dennis-

Thursday, June 23, 2005, 12:57:04 PM, you wrote:

DB easily change my mind later.  I would be happy to be able to change
DB get x to myVariable gets  x.

That's not the same syntax at all. The analogy for

myVariable gets x is
put x into myVariable

while
get x comes out as
put x into it

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


Convert a standalone stand to a substack

2005-06-23 Thread Kaveh Bazargan
I have a standalone stack (actually the preferences stack from Revolution
Online) which I want to make into a substack of another main stack. How can
I do that?
-- 

Kaveh Bazargan
http://www.river-valley.com/
http://www.holographer.org/
___
use-revolution mailing list
use-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: revSetStackProfile in model stack

2005-06-23 Thread Eric Chatonet

Hi Peter,

May be modal stack stackName could work too ;-)

Le 23 juin 05 à 23:00, Peter T. Evensen a écrit :

It appears the a call in  the openStack of a stack that is opened  
via the modal command has no effect.


I changed the command from

mode StackName

to

go to StackName


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: Convert a standalone stand to a substack

2005-06-23 Thread Eric Chatonet

Hi Kaveh,

1. Clone the stack you want to make a substack to keep the original  
unchanged (by typing in the message box: clone stack stackName)
2. Open the property palette for the cloned stack and set it as a  
substack of the stack you wish in the popup menu (this main stack has  
to be open)
3. Change the name of the new substack (copy of stack stackName) to  
what you wish.


The job is done ;-)

Le 23 juin 05 à 23:44, Kaveh Bazargan a écrit :

I have a standalone stack (actually the preferences stack from  
Revolution
Online) which I want to make into a substack of another main stack.  
How can

I do that?


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


___
use-revolution mailing list
use-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: revSetStackProfile in model stack

2005-06-23 Thread Peter T. Evensen

I meant modal stack StackName

The point is:

on openStack
revSetStackProfile MyProfile
end openStack

does not work if the stack is opened via modal stack StackName but does 
work if it is opened via go to stack StackName


An ask confirms that revSetStackProfile is being called in both cases.  It 
just doesn't seem to have an effect when using modal stack StackName


I haven't created a simpler stack to test this out yet.  I was just 
wondering if anyone has seen this and if there is something I'm missing.


At 04:47 PM 6/23/2005, you wrote:

Hi Peter,

May be modal stack stackName could work too ;-)

Le 23 juin 05 à 23:00, Peter T. Evensen a écrit :


It appears the a call in  the openStack of a stack that is opened
via the modal command has no effect.

I changed the command from

mode StackName

to

go to StackName


Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


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

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


Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 
___

use-revolution mailing list
use-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: revSetStackProfile in model stack

2005-06-23 Thread Eric Chatonet

Hi Peter,

Sorry for my joke ;-)
Never seen this.
I worked with profiles for multilingual projects but I think it's not  
an acomplished feature in Revolution...
You are right : the best way is always to make a new test stack to  
isolate the problem.

Let us know...

Le 23 juin 05 à 23:58, Peter T. Evensen a écrit :


I meant modal stack StackName

The point is:

on openStack
revSetStackProfile MyProfile
end openStack

does not work if the stack is opened via modal stack StackName  
but does work if it is opened via go to stack StackName


An ask confirms that revSetStackProfile is being called in both  
cases.  It just doesn't seem to have an effect when using modal  
stack StackName


I haven't created a simpler stack to test this out yet.  I was just  
wondering if anyone has seen this and if there is something I'm  
missing.


At 04:47 PM 6/23/2005, you wrote:


Hi Peter,

May be modal stack stackName could work too ;-)

Le 23 juin 05 à 23:00, Peter T. Evensen a écrit :



It appears the a call in  the openStack of a stack that is opened
via the modal command has no effect.

I changed the command from

mode StackName

to

go to StackName



Best Regards from Paris,

Eric Chatonet.



Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


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


Stack size

2005-06-23 Thread Hershel Fisch
Hi all, I'm wondering why when I put a few commands in a preOpenSTack and
among the commands is a size stack (height and width) if it is not the last
command it doesn't work?
And to put it into a openStack its very unprofessional.
Lets not discuss the fact that stack sizes do not save .
Hershel

___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Jim MacConnell

Hi.

I've been listening to this discussion and find it intriguing. I  
personally have nothing against := and = for variable assignment  
and have used them when using a tool that requires them. I also can  
quickly adapt to the == concept for comparisons and =+ for  
incrementing  (Though that one still hurts my brain a little). So...  
while the discussions about operators has been interesting, it is not  
something that stirred any passion Until the gets discussion  
that is and then I realized that I do care


My problem with the concept of gets is that I can't see how it fits  
within the conceptual framework of xTalk where we (the coders) are  
telling an object (a button, a field, etc.) what to do when a certain  
message is received (on blah). The put and get constructs fall  
neatly into that vision as does (not surprisingly) most/all other  
elements (send, do,etc.). In a polite form of the verbose, we are  
saying Please, Button, when you receive a 'mouseUp' message do this  
and this and this also.  Often, we will throw in a customHandler  
xxx which the object figures is a message if we don't tell it  
otherwise and so we don't have to say Send xxx to the target all  
the time.


In contrast what is going on with the gets construct? Here some  
renegade variable is off filling itself with data and the button can  
only assume that it is being done... a weird sort of coding  
delegation which makes sense in a some environments but not xTalk. It  
is more like  Please, Button, when you receive a 'mouseUp' message  
do this and this and Ooops.. this isn't meant for you so don't pay  
any attention (Variable... go stuff yourself with something).. and  
now where were we.. Oh yes.. and this and this...and I hope the  
variable did its thing because I know you didn't do it Button but I  
hope the data is there cuz now I need you to do this and this
and this also.  I mean Where's the message?.


I don't mean to be totally facetious but the concept of message path  
and message passing within the confines of a relatively limited set  
of near physical objects  is in what I view as the core concept of  
xTalk. The affectation discussion is really about alternatives for  
those who have learned to program in non-message based environments.  
(Or so my thoughts at this instant indicate). and this extends to  
those thinking :=, etc. would be a good addition to Transcript.  In  
contrast I think adding the put x into y construct would help a lot  
of other code (C, VB, ++)  be more readable


Getting back to gets... is it really that much harder to type put  
(the x of y) into z versus z gets the x of y.


okay.. back into my hole...

Jim


James H. MacConnell

Consensus Technology, LLC
2200 N. 77th St.
seattle, WA  98103-4928
www.consensustech.com
Tel: 206.524.8555
Fax: 206.524.3034



On Jun 23, 2005, at 12:57 PM, Dennis Brown wrote:

 I would be happy to be able to change get x to myVariable gets   
x.


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


Rev 2.5 as CGI

2005-06-23 Thread Gary Thompson

Hello All,

When I purchased Runtime Revolution last month one of the things that  
interested me was the capability to quote the web site Let  
Transcript run facelessly on your server as a script language.


I would like to experiment with this concept under OS X. I'm running  
Tiger if that has any impact. Any and all help/guidance would be  
greatly appreciated.


Thanks,
Gary Thompson

___
use-revolution mailing list
use-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.5 as CGI

2005-06-23 Thread Kat

Hi Gary,

Welcome to Revolution!  A good place I've found to start learning about 
RevCGI is at Jacque Landman Gay's site, 
http://www.hyperactivesw.com/cgitutorial/


She has links to other resources along the same vein as well.

Good luck!

Cheers,
Kat
http://rugusa.linguistix.net


Gary Thompson wrote:


Hello All,

When I purchased Runtime Revolution last month one of the things that  
interested me was the capability to quote the web site Let  
Transcript run facelessly on your server as a script language.


I would like to experiment with this concept under OS X. I'm running  
Tiger if that has any impact. Any and all help/guidance would be  
greatly appreciated.


Thanks,
Gary Thompson

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

2005-06-23 Thread SimPLsol
Hershel,
Is this behavior in a stack that had cards before you added menus?
Paul Looney
___
use-revolution mailing list
use-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: Stack size

2005-06-23 Thread Hershel Fisch
On 6/23/05 6:25 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hershel,
 Is this behavior in a stack that had cards before you added menus?
I don't remember seeing any difference.
 Paul Looney
 ___
 use-revolution mailing list
 use-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: matchChunk to find fontNames

2005-06-23 Thread Claudi Cornaz

Thanks Björnke, Eric  and Marielle,

You all helped me.

In the mean time I got the matchChunkpart also worked out, and am 
putting it all together now.


I will try to make a complete textMenu example, with all the features 
you ever wanted,

plus a few more I hope (well, we will see about that one)

Regex can be really fun and it's not quite that difficult after all and 
tremendously usefull.
It took me a while but I learned quite a lot, and all though I don't 
know every thing I am

certainly not afraid of regex anymore.

I am putting the last bits and pieces together and smooth the whole 
thing a bit.
It's still quite experimental at the moment, but as soon as it's 
descent I will post it


In the mean time all the best.

Claudi



On Thursday, June 23, 2005, at 02:18 AM, Björnke von Gierke wrote:



On Jun 23 2005, at 00:29, Claudi Cornaz wrote:


Hi all,

I am trying to implement a text menu and need to find all the 
fontNames
and text attributes in the selectedChunk first to update my menu and 
afterwards

to handle the choice.
As long as all the text has all the same attributes (bold / italic 
etc) it's no problem

but I need also to find all the attributes when it's mixed.

I have been trying to get the instances of  font face=  xxx - 
xxx [Size=yy] [color=#ZZ]
to extract all the parts like, the fontname, the size and the color 
if applicable with matchChunk.



you could get the foregroundColor (or more aptly named the textColor) 
of the char. The textStyle property reports the current styles 
delimited by comma, if you query only one style at once. The textSize 
again returns mixed for a whole selection, but you can get it char per 
char, and it will give you exact data that way.


so for example:
  --preparation
  put empty into theColor
  put empty into theSize
  put empty into theStyle
  put word two of the selectedchunk into theStart
  put word four of the selectedchunk into theEnd
  put word -1 of the selectedchunk into theField
  --getting the actual data from the chars
  repeat with x = theStart to theEnd
put (the effective textColor of char x of field theField)  comma 
after theColor
put (the effective textSize of char x of field theField)  comma 
after theSize
put (the effective textStyle of char x of field theField)  comma 
after theStyle

  end repeat
  --now we can do whatever we want with the assembled list
  --for example to know what the dominant textSize is:
  put empty into theSizes
  --adding them up by using an array
  repeat for each item theItem in theSize
add 1 to theSizes[theItem]
  end repeat
  --finall cleanup of the data we got
  combine theSizes using return and comma
  sort theSizes numeric by item 2 of each
  put theSizes
  --and finally you got your most used size!
  put line -1 of theSizes

hope it does what you want?
Björnke who wrote this mail
Wouter and Mark who gave some vital hints (arrays, counting, sorting)
--

http://contest.wecode.org
Now running: the first ChatRev coding contest!
sponsors:
Altuit
Andre Garzia
Fourth World
Karl Becker
Runtime Revolution
TidBITS in cooperation with eHUG

___
use-revolution mailing list
use-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: the := operator (affectation

2005-06-23 Thread Dar Scott


On Jun 23, 2005, at 4:13 PM, Jim MacConnell wrote:

In contrast I think adding the put x into y construct would help a 
lot of other code (C, VB, ++)  be more readable


I was thinking of an arrow pointing into the open top of a shoe box 
labeled with the variable name on the side.


BTW, I like your comments, Jim.

Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: Printing Scripts PAINFUL

2005-06-23 Thread SimPLsol
Also vote to fix this bug!
Paul Looney
___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Scott Rossi
Recently, Dar Scott  wrote:

 I would set this at Blocker status because it prevents playback of
 otherwise
 playable media.
 
 I don't agree with that.
 
 First of all, somebody will have a workaround command (3 minutes; 17
 lines) shortly after I mail this.
 
 Second, blocker means it blocks development  testing.  The developer
 can temporarily shorten the names and continue development and testing
 until a workaround or fix is available.
 
 Or did I miss something?

Perhaps.  I can see two ways of looking at this: managing your own media and
managing users' media.

Changing filenames of your own media may be acceptable but changing
filenames of a users media is a really bad idea.  If you change a filename
and for whatever reason you are unable to restore to the original name, I
can imagine the user being extremely upset.

If you want to deliver a media player now, the only way around this is to
have your app duplicate the user's media somewhere on their drive, rename
it, and then make sure to delete the duplicate when you're done.  For a few
files, one by one, this might be OK, but I question whether this is a valid
workaround for potentially dozens of multi-megabyte files.

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: compileIt for revolution?

2005-06-23 Thread SimPLsol
Jerry,
 Assuming there is sufficient interest what is the first step, and what 
would THAT cost?
I'm thinking that the initial ScriptCompiler (or some better name) would just 
turn Transcript into machine code. This would be of interest to me (hopefully 
others) who want to put guarded code in places other than the standalone (for 
example a proprietary calculation in an order processing stack - where all 
the other code is accessible).
 The next step might be array processing or tool box calls or These 
could be built later and sold separately; for example ScriptCompiler I, 
ScriptCompiler II, etc.
Paul Looney
___
use-revolution mailing list
use-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: Latest version of Revolution ?

2005-06-23 Thread Robert J. Earp

Mark -

Done...

Bob-
~~
Wednesday, June 22, 2005, 12:14:12 PM, you wrote:

RJE Yes, I know about the Check for Updates but I was hoping somebody 
from

RJE Rev would pick up on my (maybe too) subtle hint at putting the bloody
RJE revision number on at least the ftp site files AND the About box.  In
RJE Richard's words, just   another coding convention, at least in my 
world if

RJE not Dar's ;-)

RJE I had a feeling that we could easily overwhelm Kevin  Co. with 
requests,
RJE but I also felt that a lot of folks did not know about the bug fix 
version.


Do bugzilla this if you haven't already. I know Kevin and Mark are
winging their way back to Scotland now and are planning on getting the
updater updated to the latest version, but your excellent suggestion
about making the revision number obvious in many places should get
into the bug database where it can at least get voted on. Personally
I'd like to see it in the About box, the Help menu, and the web site.

--
-Mark Wieder
[EMAIL PROTECTED]
~
--
Robert J. Earp - Ashford Training Technologies*
*18059 21A Avenue, South Surrey, British Columbia, Canada. V3S 9V7
T:(1)604 541 1662 Cel:(1)604 612 6688 F:(1)604 541 1686


~~~


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.11/26 - Release Date: 22/06/2005

___
use-revolution mailing list
use-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: revSetStackProfile in model stack

2005-06-23 Thread Peter T. Evensen
I just did a simple test.  A stack with 2 buttons, one opens a substack via 
modal stack and the other via go to stack.  It doesn't work with 
modal.  I'll put it in bugzilla.

At 05:07 PM 6/23/2005, you wrote:

Hi Peter,

Sorry for my joke ;-)
Never seen this.
I worked with profiles for multilingual projects but I think it's not
an acomplished feature in Revolution...
You are right : the best way is always to make a new test stack to
isolate the problem.
Let us know...

Le 23 juin 05 à 23:58, Peter T. Evensen a écrit :


I meant modal stack StackName

The point is:

on openStack
revSetStackProfile MyProfile
end openStack

does not work if the stack is opened via modal stack StackName
but does work if it is opened via go to stack StackName

An ask confirms that revSetStackProfile is being called in both
cases.  It just doesn't seem to have an effect when using modal
stack StackName

I haven't created a simpler stack to test this out yet.  I was just
wondering if anyone has seen this and if there is something I'm
missing.

At 04:47 PM 6/23/2005, you wrote:


Hi Peter,

May be modal stack stackName could work too ;-)

Le 23 juin 05 à 23:00, Peter T. Evensen a écrit :



It appears the a call in  the openStack of a stack that is opened
via the modal command has no effect.

I changed the command from

mode StackName

to

go to StackName


Best Regards from Paris,

Eric Chatonet.



Best Regards from Paris,

Eric Chatonet.

So Smart Software

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

Free plugins and tutorials on my website

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


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

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


Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object--OTHER

2005-06-23 Thread Thomas McCarthy

I noticed that when I ran shell scripts to convert WAVE files to MP3, if the 
file name was long it wouldn't work. If I set the default folder to the 
location of the files, that seemed to help.

I haven't experienced this bug on Windows--but maybe I had already dealt with 
it on my Mac? Can't remember.

tom



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Dar Scott


On Jun 23, 2005, at 4:38 PM, Scott Rossi wrote:


Changing filenames of your own media may be acceptable but changing
filenames of a users media is a really bad idea.  If you change a 
filename
and for whatever reason you are unable to restore to the original 
name, I

can imagine the user being extremely upset.


You are right.  And at the time of my comment, I hadn't thought too 
much into what a workaround would be like.


Even so, I think this loss of functionality qualifies as (at most) 
Major, in that it is a major loss of function.  I understand 
Blocker to mean I can't develop.


Dar

--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

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


Re: compileIt for revolution?

2005-06-23 Thread Dan Shafer

Maybe that's what I ended up doing but it was accidental!

Maybe I fell asleep at some point.

My argument is NOT against the ability to build externals to do  
whatever one wishes to do, including platform-specific things if you  
want to make your life more complicated and miserable or if you only  
have to deliver a product to users of a single platform. My argument  
is against Rev modifying the engine/tool to accommodate platform- 
specific features in a way that causes the code of those of us who  
don't want to use such features to break when it runs on other  
platforms or to jump through a bunch of conditional hoops all the  
time to get code to run on other platforms to accommodate single- 
platform features.


On Jun 22, 2005, at 11:39 PM, Mark Wieder wrote:


Ah... that may be. But I'm pushing *for* a generic external interface,
and you're arguing against it.





~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermedia.com/revolutionbooks.html




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


Re: compileIt for revolution?

2005-06-23 Thread Dan Shafer
If you can write externals in Transcript syntax and NOT over-extend  
the language to accommodate this demand, I don't have an issue. But  
that is not generally the case. When people talk about writing  
externals they generally (in my experience at least) mean they want  
to make the tool do something its built-in language does not  
inherently know how to do. There is in that desire a strong  
implication of adding features to the language that I believe will  
ultimately corrupt it to the point of not being accessible to mere  
mortals.


It's what I call the Javazation of Transcript. If you have a need for  
something in a program that Transcript simply can't do and if the  
right way to solve that problem is with an external, then it seems to  
me you should be willing to move outside the boundaries of the  
language to do that thing, whatever it is. (These multi-dimensional  
array manipulations, e.g., can apparently not be done satisfactorily  
in Transcript.)


I'm *always* going to come down on the side of keeping the language  
as simple as possible. In my opinion, it is already too burdened with  
baggage that is of use to a tiny fraction of its users in order to  
accommodate a few people with specific programming needs. As it  
becomes more complex -- even if those complexities are posited as  
optional alternatives -- it becomes more and more impenetrable to  
those who do not have a computer science background or formal  
computer training. Those folks already have enough languages to pick  
from. I strongly desire for this one to escape the clutches of the  
Programming Priesthood.


On Jun 23, 2005, at 6:35 AM, Rob Cozens wrote:

Why would any Transcript scriptor want to write externals in C or  
Pascal if she could use Transcript syntax instead?






~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermedia.com/revolutionbooks.html




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


Re: Latest version of Revolution ?

2005-06-23 Thread Bill
I tried it with 10.4.1 in both the same volume and a different volume.
Hypercard turns on and everything but Reports 9 to 5 is completely broke.



 
 I can't run
 Tiger because it destroyed Hypercard.
 
 
 It didn't for me! I am still using HyperCard with Tiger. I heard that  9
 to 5 Reports no longer works but I don;t have that to test.  HyperCard
 itself still works fine.
 
 Tiger introduced a filepath problem that apparently affects some Classic
 apps, including HC. HC's global filepaths break and you can only edit
 some scripts (like the Home stack's) remotely.
 
 Upgrading to 10.4.1 apparently fixes it, or alternately you can run HC
 from a volume that isn't the startup volume and that works too.

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
use-revolution mailing list
use-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: Confirm Long File Name Bug in Player Object

2005-06-23 Thread Scott Rossi
Recently, Dar Scott  wrote:

 Changing filenames of your own media may be acceptable but changing
 filenames of a users media is a really bad idea.  If you change a
 filename
 and for whatever reason you are unable to restore to the original
 name, I
 can imagine the user being extremely upset.
 
 You are right.  And at the time of my comment, I hadn't thought too
 much into what a workaround would be like.
 
 Even so, I think this loss of functionality qualifies as (at most)
 Major, in that it is a major loss of function.  I understand
 Blocker to mean I can't develop.

How is this different from I can't deliver?

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: the := operator (affectation

2005-06-23 Thread Dennis Brown

okay.. back into my hole...


Yes, Please stay there.

I personally have nothing against := and = for variable  
assignment and have used them
My problem with the concept of gets is that I can't see how it  
fits within the conceptual framework of xTalk


var := x
var == x
var = x  --this is a bit tougher
var isAssignedToTheValueOf x
var gets x

are all the same thing!

You say one is a good construct and another is an inconsistent  
construct!  That makes your argument inconsistent.


You just don't get it ;-)
I can't say I can get it into your head, though I can put it into  
your head.

Perhaps Jim gets it now.

Ok, this has just turned the corner to religion and I'm outa here...

Dennis

On Jun 23, 2005, at 6:13 PM, Jim MacConnell wrote:


Hi.

I've been listening to this discussion and find it intriguing. I  
personally have nothing against := and = for variable  
assignment and have used them when using a tool that requires them.  
I also can quickly adapt to the == concept for comparisons and = 
+ for incrementing  (Though that one still hurts my brain a  
little). So... while the discussions about operators has been  
interesting, it is not something that stirred any passion Until  
the gets discussion that is and then I realized that I do  
care


My problem with the concept of gets is that I can't see how it  
fits within the conceptual framework of xTalk where we (the coders)  
are telling an object (a button, a field, etc.) what to do when a  
certain message is received (on blah). The put and get  
constructs fall neatly into that vision as does (not surprisingly)  
most/all other elements (send, do,etc.). In a polite form of the  
verbose, we are saying Please, Button, when you receive a  
'mouseUp' message do this and this and this also.  Often, we will  
throw in a customHandler xxx which the object figures is a  
message if we don't tell it otherwise and so we don't have to say  
Send xxx to the target all the time.


In contrast what is going on with the gets construct? Here some  
renegade variable is off filling itself with data and the button  
can only assume that it is being done... a weird sort of coding  
delegation which makes sense in a some environments but not xTalk.  
It is more like  Please, Button, when you receive a 'mouseUp'  
message do this and this and Ooops.. this isn't meant for you so  
don't pay any attention (Variable... go stuff yourself with  
something).. and now where were we.. Oh yes.. and this and  
this...and I hope the variable did its thing because I know you  
didn't do it Button but I hope the data is there cuz now I need you  
to do this and this   and this also.  I mean Where's the  
message?.


I don't mean to be totally facetious but the concept of message  
path and message passing within the confines of a relatively  
limited set of near physical objects  is in what I view as the  
core concept of xTalk. The affectation discussion is really about  
alternatives for those who have learned to program in non-message  
based environments. (Or so my thoughts at this instant  
indicate). and this extends to those thinking :=, etc. would  
be a good addition to Transcript.  In contrast I think adding the  
put x into y construct would help a lot of other code (C, VB, + 
+)  be more readable


Getting back to gets... is it really that much harder to type  
put (the x of y) into z versus z gets the x of y.


okay.. back into my hole...

Jim


James H. MacConnell

Consensus Technology, LLC
2200 N. 77th St.
seattle, WA  98103-4928
www.consensustech.com
Tel: 206.524.8555
Fax: 206.524.3034



On Jun 23, 2005, at 12:57 PM, Dennis Brown wrote:


 I would be happy to be able to change get x to myVariable  
gets  x.




___
use-revolution mailing list
use-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: use-revolution Digest, Vol 21, Issue 136

2005-06-23 Thread SB

Hi everyone, here are some still images from the RevConWest trip.

http://www.troutfoot.com/rev/index.html

Feel free to make copies, share, etc.

Sandy

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


Re: Choosing printer from within a script

2005-06-23 Thread Ken Ray
On 6/23/05 1:23 PM, Lynch, Jonathan [EMAIL PROTECTED] wrote:

 Thanks Ken!
 
 What versions of windows allow you to use Vbscript in this way? I see
 many uses for such a thing.

All of 'em... (actually I think you need to have at least Internet Explorer
4.x or later in Windows 95). However different versions of the OS will
support different sets of functionality depending on what you're asking for.
Keep in mind that certain VBS actions may trigger anti-virus detectors
(generally anything that manipulates files like the FileSystem object). But
if you're just getting info, you should be safe.

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: use-revolution Digest, Vol 21, Issue 136

2005-06-23 Thread SimPLsol

In a message dated 6/23/05 6:24:59 PM, [EMAIL PROTECTED] writes:


 http://www.troutfoot.com/rev/index.html
 

Wow, great pictures. Now I know I really was there - was beginning to think 
it was all a dream. And your slide show - frosting on the cake!
Thank you very much.
Paul Looney
___
use-revolution mailing list
use-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: compileIt for revolution?

2005-06-23 Thread Dennis Brown

Dan,

Rev is chock full of stuff that I will never use.  Perhaps half or  
more of the commands are irrelevant to my needs.  However, I see on  
this list folks that love those irrelevant things in their  
applications.  You have your ideas about the kind of applications you  
want to use Rev for.   Do you consider everyone else's applications  
to be irrelevant that do not fit into your concept of what Rev should  
be used for  --dooming them to use tools too arcane to ever  
accomplish their tasks in a reasonable lifetime?  You are not the  
only one who is too old to spend the rest of his life programming in  
C ;-)


I choose Rev as my language of choice, because I could see  
accomplishing my ambitious goals in what is left of my expected  
lifetime.  I do not write professionally to sell products to  
others.  I write to solve problems that I want to solve for myself  
and my friends.  I am a renaissance man with many interests and  
skills.  Therefore, my problems are varied and the solutions must be  
timely for me to have time enjoy them all.


Array improvements are a subject near to my heart.  Arrays could have  
been implemented in a way that would make them one or two orders of  
magnitude faster for the types of applications that need speed.  Or,  
they could have been implemented in a way that would make them more  
general for other applications.  Or, they could do both.  In Rev  
today we sort of have a half attempt at both.  You don't have to  
butcher a language to make it satisfy a large number of needs.  A lot  
of the proposed Butchery that you see on these threads are just a  
symptom of the needs.  The solutions should not to be left unexplored  
just because the ones with needs are not language architects and make  
unpalatable suggestions.  Rather it should be seen as a call and  
challenge to the language architects to put their heads together and  
propose solutions for the needs.


Many times the needs can be met by a greater understanding of the  
more obscure capabilities already in the language.  This list is  
wonderful for getting this kind of help.  Many of these obscure  
capabilities are in fact extensions to the language to provide a low  
level engine primitive to get around speed issues with doing things  
in the straight forward algorithmic way.  Building special purpose  
operators to speed up specific applications is how the problems are  
ultimately solved for everyone.  I am all for this, even if I don't  
need those things for my stuff, because someone else will use those  
things to make something wonderful that I or others will appreciate  
and use.  I just want the stuff to be useful for at least 5-10% of  
the folks, and that a good effort is made to make it consistent for  
the language.


I should point out that I agree with 90% of what you say.  I just see  
that you have formed some opinions from you long experience, just as  
I have from mine.  I was involved in the personal computer industry  
since the first (8008) microprocessor was created.  No two persons  
experience is the same, and therein is the beauty.  As a former boss  
of mine use to say, If you agree with me all the time, one of us is  
not needed!


I too am somewhat disturbed at many commands in the language that  
seem to specific to a platform or even a database.  It is tough to  
draw the line between the Language and just a package of handlers  
for your scripting convenience.  However, I think a line should be  
drawn.  Core language definitions should be well thought out and not  
changed.  Convenience handlers should be understood as such,  
bountiful, and improvements permitted.


I'm getting too old for these soap boxes --the altitude is getting to  
me ;-)


Dennis


On Jun 23, 2005, at 8:26 PM, Dan Shafer wrote:

I'm *always* going to come down on the side of keeping the language  
as simple as possible. In my opinion, it is already too burdened  
with baggage that is of use to a tiny fraction of its users in  
order to accommodate a few people with specific programming needs.  
As it becomes more complex -- even if those complexities are  
posited as optional alternatives -- it becomes more and more  
impenetrable to those who do not have a computer science background  
or formal computer training. Those folks already have enough  
languages to pick from. I strongly desire for this one to escape  
the clutches of the Programming Priesthood.


___
use-revolution mailing list
use-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: compileIt for revolution?

2005-06-23 Thread Thomas McGrath III

Dan,

That's what I got from the first post, exactly. I tend to agree with 
your statement and your logic is sound. (not that you need me to say 
so)


I just wanted to agree to this and don't want to see Rev changed in 
another direction.


Thanks

Tom


On Jun 23, 2005, at 8:20 PM, Dan Shafer wrote:



My argument is NOT against the ability to build externals to do 
whatever one wishes to do, including platform-specific things if you 
want to make your life more complicated and miserable or if you only 
have to deliver a product to users of a single platform. My argument 
is against Rev modifying the engine/tool to accommodate 
platform-specific features in a way that causes the code of those of 
us who don't want to use such features to break when it runs on other 
platforms or to jump through a bunch of conditional hoops all the time 
to get code to run on other platforms to accommodate single-platform 
features.


Thomas J McGrath III
[EMAIL PROTECTED]

412-831-3094
220 Drake Road
Bethel Park, PA 15102

*)) =
Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!

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


Re: use-revolution Digest, Vol 21, Issue 136

2005-06-23 Thread Thomas McGrath III
Very nice slide show with music Sandy, Thank you very much. I just wish 
I knew which people are which. Also your photography of the surrounding 
area is very good.



Thanks

TOm


On Jun 23, 2005, at 9:01 PM, SB wrote:


Hi everyone, here are some still images from the RevConWest trip.

http://www.troutfoot.com/rev/index.html

Feel free to make copies, share, etc.

Sandy

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

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




Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541

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


  1   2   >