Re: My naming convention

2010-07-11 Thread René Micout
Hello Francis,

Le 10 juil. 2010 à 19:44, Francis Nugent Dixon a écrit :

 Wonderful ! I have never seen so many complex
 naming conventions that I am sure you don't follow.

If I bothered to think about naming conventions it is obviously to use it...

 If you do, then it is for who ? If it is for you,
 this means that your organizational solutions
 prime upon your script development and production.
 What a waste of grey matter !

I don't think this is a waste... It is a gain rather.
I code for myself. During 22 years I made many tools for my job (économiste de 
la construction / ≈ quantity surveyor).
I started with HyperCard... Now, I sometimes modify and improve stacks 20 years 
old.
Anything that can help me understand what I have thought, or wanted to do when 
I was 20 years younger is welcome. In the beginning: no comment, no 
conventions, no method. As to the years, I learned, particularly on this list, 
organize my scripts could get great service.
 In 5 minutes, you can write a button script to
 list out Variable and Field Names, to ensure that
 you don't invent duplicate names.

I will definitely scare you by telling that I spend 3-4 hours to draw an icon 
for a button and sometimes several days to find the best aesthetic solution to 
an interface.
 Revolution scripting is not to be pondered upon.
 Just write it, as it flows out of your brain.

 Forget naming conventions, and spend a little
 time with comments. It beats naming conventions
 every day. If anybody will ever read it except you !

Worse still, I think my code should be beautiful (peut-être suis-je un grand 
malade ?). The great masters of the Go say that regardless of winning if the 
way is not elegant and appearance of the plate at the end of the game is as 
important as winning.
I have also comment conventions ! I think being definitely incurable ;-)
 I spent years (with Hypercard) inventing a simple
 and strict naming convention WHICH I MYSELF
 RENAGUE ON EVERY DAY !

Since I have structured my scripting, I made great progress.
In 2 months I stop working (la retraite), and I'm going to devote myself to my 
personal projects. The most complex, currently, Exagofon has 1 card, 626 
controls. That make music in real time with settings for velocity, tempo, 
mixing 5 voices, harmonization (chords, frequencies), transposition, and so 
on...
Without naming, comments, structure I don't think it could work.

But I think it is necessary but not obligatory...

Bon souvenir de Paris
René___
use-revolution mailing list
use-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: Language learning stacks

2010-07-11 Thread Lynn Fredricks
 I've got a page set up on iGoogle that has various back and 
 forth translators between different languages I know or am 
 interested in.  It's pretty quick and easy, adding a Rev 
 interface wouldn't save me much, I don't think.  

Google's translation isn't a tool I would completely rely on for learning a
language. It is really, really great though for getting the gist of a piece
of text when an accurate word-for-word translation isn't that necessary.

Try doing a translation of pieces of text from English into another
language, then take that result and then try to re-translate it back into
English. The results are...sometimes interesting, disturbing - entertaining.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

___
use-revolution mailing list
use-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: Language learning stacks

2010-07-11 Thread Wilhelm Sanke


On Sat Jul 10, 2010, Mark Swindell mdswindell at cruzio.com wrote:

Has anyone developed any vocabulary/ language learning stacks in Rev?  
Seems like an apt application for the tool, but I didn't see anything 
in revOnLine.  Picture dictionary type things with rollovers for 
different languages?  Remember those First Thousand Words books with 
contextualized drawings showing vocabulary for the kitchen, barnyard, 
garden, etc.?



We had been discussing such things on this list - and the 
education-revolution list 
http://mail.runrev.com/pipermail/education-revolution/ (last entry Feb 
2007) - when Marielle Lange was still with us.


At our institutution we are using a set of language exercises Language 
Suite developed with Metacard/Revolution. The format of the exercises 
is more traditional , having a distant similarity to the language 
programs of Wida Software http://www.wida.co.uk/noframes/index.htm.


Our Language Suite has until now not been released publicly. Maybe we 
should present some examples in the near future.


An overview of the Language Suite - although only in German - can be 
found here

http://www.sanke.org/MetaMedia/LanguageSuite.htm.

Among the exercises are such based on the cloze principle with 
fill-in and drag.and-drop variants, other types of text 
reconstruction (scrambled paragraphs, lines, words - along with the old 
Sequitur format (originally developed on the C 64) where a text is 
complemented by adding the next line being chosen from 4 multiple-choice 
lines), and a number of word-based exercises (words and definitions in 
the same language, bi-lingual word exercises, multiple-choice and memory 
formats).--


A number of language-learning related stacks - not belonging to the 
Language Suite - can be found and downloaded from my website 
http://www.sanke.org/MetaMedia, but I am not sure whether these stacks 
run flawlessly with the newer versions of Rev.
There are meant as sample stacks for students who engage in 
educational programming. Other stacks were reactions to specific 
discussions on this list.


Examples.

- http://www.sanke.org/Software/Animals-drag.zip

Drag-and-drop exercise with animal pictures and translations of the 
corresponding names.


- http://www.sanke.org/Software/ImageAndWords.zip

Learning words through pictures in five different versions: Wordshow, 
Move and Click, Test and Learn, Test with Loop, Final Test. Basic part 
of the stack is an image with polygon overlays corresponding to the 
outlines of objects. Mode Test with Loop is an example for an 
instructional programs that allows the repetition of unsolved problems.


- http://www.sanke.org/Software/MultipleChoice.zip

This stacks contains 7 different formats of multiple-choice questions, 
arranged in incremental steps from a primitive version with fixed 
positions of solution and distractors (which should be avoided by all 
means) to a version with flexible positioning with the option to choose 
the number of problems from a repertoire and a loop for unsolved 
problems. After all problems have been worked on, the user gets the 
option to try the wrong problems once more etc. Thus the programs 
adapts to the individual needs of the user.


- http://www.sanke.org/Software/SimpleWordScramble.zip

A simple word-scramble exercise with various forms of learner support 
and the possibility to edit the lexicon.



- http://www.sanke.org/Software/HypertextAnnotations.zip

Two versions of annotations using linkclicked or clicktext. 
Clicking on words set to bold or link will display an annotation 
field near the word containing additional information (translation, 
definition etc.). The annotated words are defined in a glossary field.


- http://www.sanke.org/Software/Wordmatch.zip

The main purpose of this stack is to demonstrate how the findings of  
the discussion in thread Dynamic labels for buttons with (oddshaped) 
icon images? on the use-revolution list in Feb 2009 could be applied to 
a practical example. From the two help buttons:


Drag a green button with mousedown to one of the yellow frames.

If the label of the red button to the right of the frame is  the correct 
translation, the dragged button will move into the frame on mouseup.

If it is incorrect, then the dragged button will return to its former place.

Button vocabulary  randomly selects six pairs of matching words from 
the hidden field Lexicon.


Button repeat distributes the currently selected matching words 
differently to allow further training with the same words, thus 
eliminating the so-called position effect.-


Kind regards,

Wilhelm Sanke, Prof. emeritus
University of Kassel, Germany
Educational Technology

http://www.sanke.org/MetaMedia

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


Pink Elephants MC Tutorial

2010-07-11 Thread David C.
Hey folks,
I'm wondering if there might be a copy of the old MetaCard demo stack
available for download anywhere?
I was playing around this morning, ended up at the old MetaCard site
and started thinking about pink elephants for some silly reason... ;-)


Best regards,
David C.
___
use-revolution mailing list
use-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: Language learning stacks

2010-07-11 Thread Mark Schonewille

Hi Mark,

I have created a set of stacks that help teachers to set up exercises  
in Arabic and I created a number of dictionaries in Arabic, Chinese  
and Japanese.   I also managed to make RunRev speak Chinese on a  
Windows PC. Unfortunately, these projects not freely available. If you  
would like more info, you can ask me off-list.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at http://qurl.tk/ce

On 11 jul 2010, at 06:25, Mark Swindell wrote:

Has anyone developed any vocabulary/ language learning stacks in  
Rev?  Seems like an apt application for the tool, but I didn't see  
anything in revOnLine.  Picture dictionary type things with  
rollovers for different languages?  Remember those First Thousand  
Words books with contextualized drawings showing vocabulary for the  
kitchen, barnyard, garden, etc.?


Just curious, as I'm studying Italian at present and thought of  
creating something for myself, but don't feel I have the energy to  
put towards it.  There are some things online, but nothing of  
particularly good quality.  Good, coherent artwork would be a real  
issue, even with the abundance of free clip-art online, it would be  
fragmented and of questionable quality.


Thanks
Mark



___
use-revolution mailing list
use-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: My naming convention

2010-07-11 Thread zryip theSlug
I'm using no naming convention.
I develop stacks with no variables, no handlers and no functions.
I only put objects in a card, drawing circles, rectangles and other
complex forms.

That's way I have never bugs in my stacks.

The next I have to understand now is why, when I'm clicking on a
button, nothing happens!

--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-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: Language learning stacks (an addition)

2010-07-11 Thread Wilhelm Sanke
A couple of years ago someone from this list had presented a 
language-learning stack with various exercise formats. Unfortunately I 
forget the author and the name of the stack. It must be hidden somewhere 
on my harddisks, presumably on my old G3 Mac. I think the stack had been 
available under Third party contributions from one of the RunRev sites 
(the FTP one?).


Kevin (our CEO) had been enthusiastic about the stack and called it to 
be something like the coming flagship of Runtime Revolution. This also 
points to the fact that at least at that time the Rev team had a genuine 
interest in educational software.


As a new product, the structure and features of the stack needed of 
course to be discussed, e.g. in the multiple-choice section you would 
find only fixed-position distractors - a fault you usually would learn 
to avoid in the first session of a workshop on educational programming.


Otherwise the stack - as far as I remember - in my opinion had a real 
potential to be enhanced further.


Maybe Kevin could dig out the stack from the RunRev archives and offer 
it to a group or an individual from this list as a basis for further 
development?


Regards,

Wilhelm Sanke
___
use-revolution mailing list
use-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: Language learning stacks

2010-07-11 Thread Mike Bonner
Yeah, i've messed with several of the online tools translating blocks
of text as well as websites back and forth. In a way it reminds me of
the experiment where you take a group of 5 people, send 4 out of the
room and relate a simple story to the 5th. Then bring in each in turn
so that they can relate the story one person to another till the last
has heard it.  By the time it gets to the 5th retelling it has no
resemblance to the original story. Online translations seem to have
this affect, the more engines you run it through the more off kilter
it gets.

Not quite the theory behind my experiment though. I remember learning
to read as a kid where as in the OP you learn a basic set of words and
learn them well. At which point you read. And read and read some more.
 At some point a boundary is crossed where new words can be learned
(within reason) by context, and the key to further progress is how
much you read.

I'm using the same theory to try and reach a critical reading mass.
Instead of having whole block translations I've been trying to pick
things that are slightly beyond my current reading level. (hard to do
when my level os so low, but strangely enough recipes seem to be a
good fit)  Any time I hit a word or sentence I just can't manage,
click a word here and there to get their google translation, and most
times its close enough to get me over the hump so I can keep reading.
The fewer words I use google for the better off so that hopefully it
becomes easier to pick up idioms and a more natural flow.

However, this is all completely theoretical since at this time. Have
just been making a beginning.

Anyone who reads lots can -grok- this idea.  A word, even made up,
becomes infused with it's context. Just ask Mr Heinlen.

Having said all this?  I'm surely learning that there is a minimum
facility level with the language required for things to work this way,
and i'm not yet up to that level in spanish or any language other than
english.  So the concept of the a first 1000 words is most likely what
I need to cross some learning boundaries.  As it is i have enough
difficulty with my native language!

If nothing else, I recommend using recipes as one point of attack
because there is an implicit context before one even begins to read.
Add in the repeated usage of common food items and cooking concepts
and they're relatively easy to get a handle on.

On Sun, Jul 11, 2010 at 3:51 AM, Lynn Fredricks
lfredri...@proactive-intl.com wrote:
 I've got a page set up on iGoogle that has various back and
 forth translators between different languages I know or am
 interested in.  It's pretty quick and easy, adding a Rev
 interface wouldn't save me much, I don't think.

 Google's translation isn't a tool I would completely rely on for learning a
 language. It is really, really great though for getting the gist of a piece
 of text when an accurate word-for-word translation isn't that necessary.

 Try doing a translation of pieces of text from English into another
 language, then take that result and then try to re-translate it back into
 English. The results are...sometimes interesting, disturbing - entertaining.

 Best regards,

 Lynn Fredricks
 President
 Paradigma Software
 http://www.paradigmasoft.com

 Valentina SQL Server: The Ultra-fast, Royalty Free Database Server

 ___
 use-revolution mailing list
 use-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: My naming convention

2010-07-11 Thread Richmond

On 07/11/2010 04:08 PM, zryip theSlug wrote:

I'm using no naming convention.
I develop stacks with no variables, no handlers and no functions.
I only put objects in a card, drawing circles, rectangles and other
complex forms.

That's way I have never bugs in my stacks.

The next I have to understand now is why, when I'm clicking on a
button, nothing happens!

   


I was mowing the grass in our garden yesterday when a small
mollusc slithered out from under a stone and said, in a portentious
voice there are never bugs in my stacks.

At which point a small back beetle crawled out from under the same stone
and said Wanna bet, bud?

Q.E.D.

I rest my case.
___
use-revolution mailing list
use-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: Go to a web page automatically

2010-07-11 Thread Richard Gaskin

Tim Selander wrote:

Using the on-rev.com server scripting, is there a ?rev  command
that will open a specified web page? 'launch' URL didn't seem to
do it for me.


To send the client's browser to a different page after processing their 
request in a CGI, I have the CGI include this line:


  put  location: http://www.domain.com/page.htmlcrcr

Given the similarities between the CGI and RevServer engines, I would 
expect that to work in RevServer.


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-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: Go to a web page automatically

2010-07-11 Thread Pierre Sahores
Richard,

  put  location: http://www.domain.com/page.htmlcrcr

On the on-rev.com revserver, put  url http://www.domain.com/page.html; works 
fine while put  location: http://www.domain.com/page.htmlcrcr don't.

Best, Pierre

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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: Language learning stacks

2010-07-11 Thread Mark Swindell
Wilhelm,

The MC stack below using the polygon tool shapes is pretty much an example of 
the concept I was wondering about... thank you for sharing it.  

Mark


- http://www.sanke.org/Software/MultipleChoice.zip


 
 On Sat Jul 10, 2010, Mark Swindell mdswindell at cruzio.com wrote:
 
 Has anyone developed any vocabulary/ language learning stacks in Rev?  Seems 
 like an apt application for the tool, but I didn't see anything in 
 revOnLine.  Picture dictionary type things with rollovers for different 
 languages?  Remember those First Thousand Words books with contextualized 
 drawings showing vocabulary for the kitchen, barnyard, garden, etc.?
 

___
use-revolution mailing list
use-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: Language learning stacks

2010-07-11 Thread Mark Swindell
I recall a linguistics professor years ago telling the story of the 
supercomputer translator going from English to Russian and back again.  The 
spirit is willing but the flesh is weak came back as The vodka is good but 
the meat is rotten.  :)

No, it's not reliable in any absolute sense, but it is very useful once you 
have an adequate knowledge base in the languages you are translating to and 
from.  For single words it is quick and lists synonyms/approximate equivalents 
in various forms.  For short phrases it gets you in the ballpark with verb 
forms and tenses.  But to lean on it unquestioningly would be linguistic 
suicide, you're right.  Still, it's an invaluable tool for my current needs.

I deleted all the widgets on the iGoogle page and added in multiple copies of 
the translator, each set to a different translating direction (Eng/Ital., 
Ital/Eng, Span/Ital, Ital/Span, Eng/Span, Span/Eng).  With this setup I just 
open the page and can quickly cross reference words and phrases.  Some 
translation directions definitely work better than others.


Mark


On Jul 11, 2010, at 12:51 AM, Lynn Fredricks wrote:

 Google's translation isn't a tool I would completely rely on for learning a
 language. It is really, really great though for getting the gist of a piece
 of text when an accurate word-for-word translation isn't that necessary.
 
 Try doing a translation of pieces of text from English into another
 language, then take that result and then try to re-translate it back into
 English. The results are...sometimes interesting, disturbing - entertaining.

___
use-revolution mailing list
use-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: My naming convention

2010-07-11 Thread René Micout
:-)

Le 11 juil. 2010 à 15:08, zryip theSlug a écrit :

 I'm using no naming convention.
 I develop stacks with no variables, no handlers and no functions.
 I only put objects in a card, drawing circles, rectangles and other
 complex forms.
 
 That's way I have never bugs in my stacks.
 
 The next I have to understand now is why, when I'm clicking on a
 button, nothing happens!
 
 --
 -Zryip TheSlug- wish you the best! 8)
 http://www.aslugontheroad.co.cc
 ___
 use-revolution mailing list
 use-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: Pink Elephants MC Tutorial

2010-07-11 Thread Wilhelm Sanke


On Sun Jul 11, 2010, David C. davidocoker at gmail.com wrote:



Hey folks,
I'm wondering if there might be a copy of the old MetaCard demo stack
available for download anywhere?
I was playing around this morning, ended up at the old MetaCard site
and started thinking about pink elephants for some silly reason... ;-)


Best regards,
David C.



You can get it from here:

http://www.sanke.org/Software/mcdemo2.mc

The stack runs both under the Metacard and Rev IDE. Its author was a 
creative chap named Kevin Miller, at that time a young cooperator with 
Scott Raney, the inventor of Metacard.


Maybe we should persuade Kevin to develop a new version for Revolution 
introducing us to most of the features of Revolution in an entertaining way.


Regards,

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


answer file and windows 7

2010-07-11 Thread Olivier Dussutour
Hello,
It's the first time that i post a message to the list :-s
I'm french and my english is deplorable, sorry
I have problems with the command answer file and windows 7. It have no 
effect!?!
my code is :
answer file Selectionnez un questionnaire : with questionnaires/ with type 
Text|txt
Can you help me? Thank you.

Cordialement,
Olivier
___
use-revolution mailing list
use-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: answer file and windows 7

2010-07-11 Thread Mark Wieder
Olivier-

Sunday, July 11, 2010, 10:35:09 AM, you wrote:

 Hello,
 It's the first time that i post a message to the list :-s

Welcome.

 I'm french and my english is deplorable, sorry
 I have problems with the command answer file and windows 7. It have no 
 effect!?!
 my code is :
 answer file Selectionnez un questionnaire : with
 questionnaires/ with type Text|txt
 Can you help me? Thank you.

Your English is fine. Much better than my deplorable French. Does this
do what you want?

set the defaultFolder to questionnaires
answer file Selectionnez un questionnaire : with type Text|txt

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-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: My naming convention

2010-07-11 Thread J. Landman Gay

zryip theSlug wrote:


I'm using no naming convention.
I develop stacks with no variables, no handlers and no functions.
I only put objects in a card, drawing circles, rectangles and other
complex forms.

That's way I have never bugs in my stacks.

The next I have to understand now is why, when I'm clicking on a
button, nothing happens!


The problem is that you are not thinking hard enough about what should 
happen. Rev is telepathic and you need to concentrate.


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


Re: My naming convention

2010-07-11 Thread zryip theSlug
2010/7/11 J. Landman Gay jac...@hyperactivesw.com:

 The problem is that you are not thinking hard enough about what should
 happen. Rev is telepathic and you need to concentrate.

The last time I tried, I squinted during 2 months, which is very
disabling for a slug.



-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-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: Pink Elephants MC Tutorial

2010-07-11 Thread David C.
On Sun, Jul 11, 2010 at 12:17 PM, Wilhelm Sanke sa...@hrz.uni-kassel.de wrote:
 Hey folks,
 I'm wondering if there might be a copy of the old MetaCard demo stack
 available for download anywhere?
 I was playing around this morning, ended up at the old MetaCard site
 and started thinking about pink elephants for some silly reason... ;-)


 Best regards,
 David C.


 You can get it from here:

 http://www.sanke.org/Software/mcdemo2.mc

 The stack runs both under the Metacard and Rev IDE. Its author was a
 creative chap named Kevin Miller, at that time a young cooperator with Scott
 Raney, the inventor of Metacard.

 Maybe we should persuade Kevin to develop a new version for Revolution
 introducing us to most of the features of Revolution in an entertaining way.

 Regards,

 Wilhelm Sanke

Thank you, Wilhelm!
It seem to run just fine, but many of the graphics (including the
elepahant ) must have been stored as files instead of embedded into
the stack because they never appear on screen. Still though, it's fun
to see the demo again. :)

Heh, I never knew that Kevin was the author... that's really cool!
(Thanks Kevin!)

Best regards,
David C.
___
use-revolution mailing list
use-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: Pink Elephants MC Tutorial

2010-07-11 Thread Wilhelm Sanke


On Sun Jul 11, 2010, David C. davidocoker at gmail.com wrote:



Thank you, Wilhelm!
It seem to run just fine, but many of the graphics (including the
elepahant ) must have been stored as files instead of embedded into
the stack because they never appear on screen. Still though, it's fun
to see the demo again. :)

Heh, I never knew that Kevin was the author... that's really cool!
(Thanks Kevin!)

Best regards,
David C.


Hello David,

what was missing was a folder demo that contains all the graphics and 
one video. I have now bundled this folder and the mcdemo2 stack and 
uploaded it to


http://www.sanke.org/Software/MC-Demo.zip.

Best thing to do, put the stack and folder into the same folder where 
the Rev or Mc engine is located. Works even with Rev 4.5-dp3, but you 
will see the whole design has sort of a historical quality. This 
surely does not detract from the overall inventive and attractive format.


Regards,

Wilhelm Sanke
___
use-revolution mailing list
use-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: My naming convention

2010-07-11 Thread Francis Nugent Dixon

Hi from Beautiful Brittany
(although we will have rain in two days !)

Richmond :

I agree with you (mostly)

David C :

Thanks for that comment! It's gratifying.

Rene  Micout (excuse me if I wax into French) :

Je ne peux pas être plus en accord avec toi - Pour
dire vrai, je voulais secouer le pommier. Bien
sur je veux écrire le plus beau code du monde, et
je sais que je serais depassé par beaucoup sur ce
forum. Mais j'écris chaque script comme si on allait
le publier dans le Monde (avec amour et fierté)

 pour personne (sniff !)

Damien :

As I haven't written programs in a REAL
development environment for more than 20 years,
I  tend to forget that conventions ARE important.
So I will give you that (freely !).

I once had to update a program written by
a novice (however intelligent), and it was
his first program. He named all his variables
starting with his wife, and proceeding through
the whole of the family, before running out
of names, and so using CHINESE names.

Needless to say, I bailed out !

HOWEVER, without using a complex naming
convention, and using only intelligent
names, which after all, IS THE SIGN OF A
RELATIVELY ORGANIZED MIND, I still reckon
that a comment beats this system.

After more than 40 years of programming,
(20 for the business, and 20 for my pleasure),
I still put a comment on practically EACH line
of coding - although NOBODY will ever see them.

I also remember writing my first professional
program (1967 - in IBM 360 autocoder), and
returning to the Document Library more than 12
months later, to replace my (what I thought)
pathetic programming with a new version, 'cos
I was so ashamed.

Question ! How many of you out there would be
ashamed to show your coding to others ?

I know that I ALWAYS was !

This may be a vital question.

I'm up to 4 cents now. I may go to 6 . !

-Francis

___
use-revolution mailing list
use-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: Pink Elephants MC Tutorial

2010-07-11 Thread Richmond

I have just run a search for mcdemo2.mc on my Mac
and found 9 copies of it (seriously frightening; maybe they are
having babies); so, if for some funny reason you cannot
get Wilhelm's copy to work drop me an off-list line.
___
use-revolution mailing list
use-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: My naming convention

2010-07-11 Thread Richmond

On 07/11/2010 11:15 PM, Francis Nugent Dixon wrote:

snip

As I haven't written programs in a REAL
development environment


What, pray tell, do you mean by a REAL development environment ?

I hope that that does not imply that you think that RunRev is NOT . . . .



snip

Question ! How many of you out there would be
ashamed to show your coding to others ?


Err . . . where is the virtual confession box?

Mind you, I don't know how anybody can be so full of themselves
to pronounce absolution on us crappy coders. And what sort of penances
are they going to be ladling out?


I know that I ALWAYS was !

This may be a vital question.

I'm up to 4 cents now. I may go to 6 . !


Probably 108 ! But leading all of us to the confession box may mean that
you are storing up treasure in RunRev heaven like nobody's business.

If you imagine that I am going to run around in a hairshirt or sackcloth 
and ashes
just because my programming looks like a pig's breakfast you have 
another thing
coming; especially as I have managed to put my oar in so many other 
places that
when the time comes those who sort these sorts of things out are going 
to end up

with bust scales because of my karmic backlog without even taking my ghastly
coding into consideration . . .  :)



-Francis



As you say you have largely given up coding I've heard there is a job 
going as

the Torquemada of the coding police; as those happy chaps said many, many
years ago

http://people.csail.mit.edu/paulfitz/spanish/script.html

 Nobody expects the Spanish Inquisition or The Comfy Chair . . .  :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


File lists

2010-07-11 Thread J. Landman Gay
I need to get a list files in a folder and display it in a card field. 
The function the files doesn't detect OS X bundle-type files such as 
rtfd and Pages documents. Before I reinvent the wheel, does anyone have 
a script for getting a full file list that includes these special OS X 
files?


And secondly, since answer file does include bundle-type files, 
shouldn't the files detect them too?


Grumble.

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


Re: File lists

2010-07-11 Thread Jerry Daniels
They're folders.

On Jul 11, 2010, at 3:53 PM, J. Landman Gay wrote:

 I need to get a list files in a folder and display it in a card field. The 
 function the files doesn't detect OS X bundle-type files such as rtfd and 
 Pages documents. Before I reinvent the wheel, does anyone have a script for 
 getting a full file list that includes these special OS X files?
 
 And secondly, since answer file does include bundle-type files, shouldn't 
 the files detect them too?
 
 Grumble.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: File lists

2010-07-11 Thread Richmond

On 07/11/2010 11:53 PM, J. Landman Gay wrote:
I need to get a list files in a folder and display it in a card field. 
The function the files doesn't detect OS X bundle-type files such 
as rtfd and Pages documents. Before I reinvent the wheel, does anyone 
have a script for getting a full file list that includes these special 
OS X files?


And secondly, since answer file does include bundle-type files, 
shouldn't the files detect them too?


Grumble.



You may well grumble . . .  :)

I just tried this:

put the folders into fld fFILES

pointing at the default folder

Revolution is listed as 'Revolution.app'

all the folder folders (cough) don't have that suffix;
so all you need to do now is set up a script to list
files and append all the folders that end with the suffix .app
to it.
___
use-revolution mailing list
use-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: File lists

2010-07-11 Thread Richmond

 On 07/11/2010 11:53 PM, J. Landman Gay wrote:
I need to get a list files in a folder and display it in a card field. 
The function the files doesn't detect OS X bundle-type files such 
as rtfd and Pages documents. Before I reinvent the wheel, does anyone 
have a script for getting a full file list that includes these special 
OS X files?


And secondly, since answer file does include bundle-type files, 
shouldn't the files detect them too?


Grumble.



Set up 2 fields:  fFILES and fFOLDERS and pop this into a button:

on mouseUp
   put empty into fld fFILES
   put empty into fld fFOLDERS
   put the files into fld fFILES
   put return after fld fFILES
   put the folders into fld fFOLDERS
   put the number of lines of fld fFOLDERS into vFOLDERLINES
   repeat with vCOUNT = 1 to vFOLDERLINES
  put line vCOUNT of fld fFOLDERS into sFOLDER
  if sFOLDER contains .app then
 put sFOLDER after fld fFILES
 put return after fld fFILES
 end if
   end repeat
end mouseUp

fairly crude; but what else can you expect in 10 mniutes.

If you want to say Thank you, you can explain
why one cannot copy paste from the script editor on Linux
into anything!
___
use-revolution mailing list
use-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: File lists

2010-07-11 Thread Andre Garzia
Folks,

Bundles can have more extensions than just .app. Some bundles that I know:

.app
.bundle
.kext
.rtfd
.webarchive

All the iWork files are bundles (.pages, .key...)

Dashboard Widgets are bundles too...

I think the easiest way to detect bundles is to get the folders and treat
any folder with an extension as a bundle.

Cheers
andre

On Sun, Jul 11, 2010 at 6:34 PM, Richmond richmondmathew...@gmail.comwrote:

  On 07/11/2010 11:53 PM, J. Landman Gay wrote:

 I need to get a list files in a folder and display it in a card field. The
 function the files doesn't detect OS X bundle-type files such as rtfd
 and Pages documents. Before I reinvent the wheel, does anyone have a script
 for getting a full file list that includes these special OS X files?

 And secondly, since answer file does include bundle-type files,
 shouldn't the files detect them too?

 Grumble.


 Set up 2 fields:  fFILES and fFOLDERS and pop this into a button:

 on mouseUp
   put empty into fld fFILES
   put empty into fld fFOLDERS
   put the files into fld fFILES
   put return after fld fFILES
   put the folders into fld fFOLDERS
   put the number of lines of fld fFOLDERS into vFOLDERLINES
   repeat with vCOUNT = 1 to vFOLDERLINES
  put line vCOUNT of fld fFOLDERS into sFOLDER
  if sFOLDER contains .app then
 put sFOLDER after fld fFILES
 put return after fld fFILES
 end if
   end repeat
 end mouseUp

 fairly crude; but what else can you expect in 10 mniutes.

 If you want to say Thank you, you can explain
 why one cannot copy paste from the script editor on Linux
 into anything!

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




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-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: File lists

2010-07-11 Thread J. Landman Gay

Andre Garzia wrote:

Folks,

Bundles can have more extensions than just .app. Some bundles that I know:

.app
.bundle
.kext
.rtfd
.webarchive

All the iWork files are bundles (.pages, .key...)

Dashboard Widgets are bundles too...

I think the easiest way to detect bundles is to get the folders and treat
any folder with an extension as a bundle.


I thought of that, but there isn't a good way to 1) know what all the 
extensions might be, and 2) find the extension. I have folders on my 
drive that have dots in their names, and they aren't bundles.


I just spent some time looking at shell commands and I can't find one of 
those either. The ls command has lots of options but none that will 
separate out executable app folders from regular files.


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


Re: File lists

2010-07-11 Thread J. Landman Gay

Jerry Daniels wrote:

They're folders.


I know. I need a way to find out which ones are executable and are, 
therefore, files. I don't want any real folders in my list.


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


Re: File lists

2010-07-11 Thread J. Landman Gay

J. Landman Gay wrote:

Jerry Daniels wrote:

They're folders.


I know. I need a way to find out which ones are executable and are, 
therefore, files. I don't want any real folders in my list.




Oops. I meant which ones are *not* executable.

This seems harder than it should be.

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


Re: File lists

2010-07-11 Thread J. Landman Gay

Andre Garzia wrote:

Folks,

Bundles can have more extensions than just .app.


What about checking for a plist inside the bundle? Would that be 
reliable? Do only apps have plists?


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


Re: File lists

2010-07-11 Thread Mark Wieder
Jacque-

Sunday, July 11, 2010, 3:13:57 PM, you wrote:

 I just spent some time looking at shell commands and I can't find one of
 those either. The ls command has lots of options but none that will
 separate out executable app folders from regular files.

AFAIK every .app contains a /Contents/MacOS folder with an executable
inside. You could check for that folder structure and then something
inside it that isn't a directory but does have a -x flag set...

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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

2010-07-11 Thread Pierre Sahores
 If you want to say Thank you, you can explain
 why one cannot copy paste from the script editor on Linux
 into anything!

Hello Jacque,

It's not a Rev's script editor related problem ! To solve this, you need to 
tune the KDE (or Gnome, etc...) desktop manager clipboard (or, even quit it) to 
avoid keystoke problems that are locking your script editor's environment.

Best, Pierre

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

--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.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


[ANN] Step By Step 02 - Introduction to the Data Grid is on the road

2010-07-11 Thread zryip theSlug
Dear List,

The Slug is happy to announce the availability of a new stack in the
step by step collection.

The Step by step 02 - Introduction to the datagrid presents:
- What is a Datagrid table?
- What is a Datagrid form?
- What is a cell?
- What is a row?
- What is a template?
- What is a behavior?
- How to populate a grid with text or data?
- What event for what usage?

The tutorial stack contains a small lab to experiment the example and
study script and templates.


It is a different approach than the available lessons. The Trevor's
lesson remains essential ;)

I'm waiting your feedbacks to improve this first tutorial about the
Datagrid object 8-)


You can download the tutorial stack here:
http://www.aslugontheroad.co.cc/index.php?option=com_phocadownloadview=categoryid=6:datagrid-step-by-stepItemid=63

A small preview of the stack is available here:
http://www.aslugontheroad.co.cc/images/stories/Preview/sbs_datagrid_preview.png


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-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: File lists

2010-07-11 Thread Andre Garzia
Jacque,

For your mac os x programming pleasure:

Mac OS X identifies bundles using three ways [1]:

The Finder considers a directory to be a package if any of the following
conditions are true:

* The directory has a known filename extension: .app, .bundle, .framework,
.plugin, .kext, and so on.
* The directory has an extension that some other application claims
represents a package type; see “Document Packages.”
* The directory has its package bit set.

The preferred way to specify a package is to give the package directory a
known filename extension. For the most part, Xcode takes care of this for
you by providing templates that apply the correct extension. All you have to
do is create an Xcode project of the appropriate type.

Most bundles are also packages. For example, applications and plug-ins are
typically presented as a single file by the Finder. However, this is not
true for all bundle types. In particular, a framework is a type of bundle
that is treated as a single unit for the purposes of linking and runtime
usage, but framework directories are transparent so that developers can view
the header files and other resources they contain.  -- quoted from [1]

I know that the developer tools comes with SetFile which allows you to set
a directory as a bundle, maybe there's a way to checkout the package bit or
something along the lines of an hypotetical isbundle?

Andre
[1]
http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html#//apple_ref/doc/uid/1123i-CH100-SW1

On Sun, Jul 11, 2010 at 7:20 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 Andre Garzia wrote:

 Folks,

 Bundles can have more extensions than just .app.


 What about checking for a plist inside the bundle? Would that be reliable?
 Do only apps have plists?


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




-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-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: File lists

2010-07-11 Thread Mike Bonner
Based on information in the link below, I believe you can do
getFileInfo -aB directoryname  where -aB checks to see if the bundle
attribute bit is set, unfortunately, according to information in the
same page,  
http://stackoverflow.com/questions/121147/determine-if-a-directory-is-a-bundle-or-package-in-the-mac-os-x-terminal
this will only work if the bundle attribute is set, but if its not the
folder can still be considered a bundle. In my testing .app folders
mostly do NOT have this bit set. If you look at the linked page
though, there is more useful info that might help.

On Sun, Jul 11, 2010 at 6:38 PM, Andre Garzia an...@andregarzia.com wrote:
 Jacque,

 For your mac os x programming pleasure:

 Mac OS X identifies bundles using three ways [1]:

 The Finder considers a directory to be a package if any of the following
 conditions are true:

 * The directory has a known filename extension: .app, .bundle, .framework,
 .plugin, .kext, and so on.
 * The directory has an extension that some other application claims
 represents a package type; see “Document Packages.”
 * The directory has its package bit set.

 The preferred way to specify a package is to give the package directory a
 known filename extension. For the most part, Xcode takes care of this for
 you by providing templates that apply the correct extension. All you have to
 do is create an Xcode project of the appropriate type.

 Most bundles are also packages. For example, applications and plug-ins are
 typically presented as a single file by the Finder. However, this is not
 true for all bundle types. In particular, a framework is a type of bundle
 that is treated as a single unit for the purposes of linking and runtime
 usage, but framework directories are transparent so that developers can view
 the header files and other resources they contain.  -- quoted from [1]

 I know that the developer tools comes with SetFile which allows you to set
 a directory as a bundle, maybe there's a way to checkout the package bit or
 something along the lines of an hypotetical isbundle?

 Andre
 [1]
 http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/AboutBundles/AboutBundles.html#//apple_ref/doc/uid/1123i-CH100-SW1

 On Sun, Jul 11, 2010 at 7:20 PM, J. Landman Gay 
 jac...@hyperactivesw.comwrote:

 Andre Garzia wrote:

 Folks,

 Bundles can have more extensions than just .app.


 What about checking for a plist inside the bundle? Would that be reliable?
 Do only apps have plists?


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




 --
 http://www.andregarzia.com All We Do Is Code.
 ___
 use-revolution mailing list
 use-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: File lists

2010-07-11 Thread J. Landman Gay

Andre Garzia wrote:

Jacque,

For your mac os x programming pleasure:


Thanks. After staring at the problem all afternoon, I think I garbled my 
request due to Fuzzy Brain Syndrome. What I need is a list of both 
regular files and files that happen to be bundles, but does not include 
apps, system things, or user folders. In other words, a list of any file 
the user can double-click that would launch an app.


I can filter out apps by checking their extension. Now I need to figure 
out how to remove user folders without removing bundles that are 
actually user files, like the ones iApps make.


I got this far:

function getFiles -- assume directory is already set
  put shell(ls -AF) into tFiles -- the A skips dot files
  filter tFiles without .* -- but it doesn't strip .DS_Store :(
  filter tFiles without *.app* -- remove apps
  repeat for each line l in tFiles
if last char of l  slash then -- normal file
  put l  cr after tList
else -- bundle or folder; remove user folders, keep files
  put l  Contents/PkgInfo into tTestFile
  if there is a file tTestFile then -- iApp file
put char 1 to -2 of l  cr after tList
  else if VOODOO -- MAGIC FILE TEST
 -- MIRACULOUS IDENTIFICATION, ADD TO LIST
  end if
end if
  end repeat
  return tList
end getFiles

Checking for the pkgInfo file also eliminates plugins and .bundle files, 
at least the ones I looked at. Not sure where to go from here, I need to 
catch .rtfd files and similar. The .rtfd folders just contain a bunch of 
regular files (and no Content folder,) which makes those bundles 
indistinguishable from a user folder if you're just looking at file paths.


I just discovered the ls -F shell command, which is handy because it 
gives a list of everything, with folders marked by a trailing slash. 
That way you don't have to get the files and the folders separately and 
then combine them.


I'll look at the link you and Mike Bonner mentioned, it does sound like 
I need to look at some file flags. But if anyone's done this already I'd 
love to freeload.


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


Re: File lists

2010-07-11 Thread J. Landman Gay

Mike Bonner wrote:

Based on information in the link below, I believe you can do
getFileInfo -aB directoryname  where -aB checks to see if the bundle
attribute bit is set,


That sounds promising. I've read up and see now that I'm looking for 
packages, not bundles, and that there's a difference. But Terminal tells 
me No manual entry for getFileInfo.


Sigh.

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


Re: File lists

2010-07-11 Thread J. Landman Gay

Pierre Sahores wrote (re: copy/paste in Linux script editor):


It's not a Rev's script editor related problem ! To solve this, you
need to tune the KDE (or Gnome, etc...) desktop manager clipboard
(or, even quit it) to avoid keystoke problems that are locking your
script editor's environment.


Richmond, Peter, did either of you try this?

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


[ANN] Translating your Rev stacks into web apps

2010-07-11 Thread Jerry Daniels
Fellow Rev developers,

If you're like me, you have lots of stacks you've built over the years. Maybe 
you've wondered how they'd translate into standard web elements that could run 
on an iPad or desktop Chrome browser. We now have a tool for Revolution 
developers that will do this. 

Rodeo Transfer lets you translate and transfer Rev UI elements to the web so 
that they're viewable on any webkit-compliant browser like Safari or Chrome. 
Transfer is fast and slick. 

All those who are part of the Rodeo pre-release program will get Rodeo Transfer 
as part of their license. Any one else can download it from our site and watch 
it translate Rev objects. You do need a Rodeo account to see the translated 
objects on the web, however.

What can it transfer?

With today's release of Rodeo v1.3, Transfer can translate stacks, cards, 
buttons, fields, option menus, check boxes, radio buttons, images, and best of 
all, data grids--into good looking standard web elements. Graphic objects are 
next.

How did all this happen so fast?

We had a developer's conference on Saturday, June 26th. We thought it went 
well, but we underestimated the powerful impact it had on others.

Within 48 hours, we were contacted by a Summit attendee who said: I'd like to 
match all of the Rodeo pre-release sales to date with a donation of the same 
magnitude. Want me to wire it to your bank account? 

We, of course, assented to the doubling of our revenues with an assurance of 
anonymity on the part of the donor.

More than a large infusion of cash, we viewed this generous act as a 
significant vote of confidence for what we were doing and where we were going 
with Rodeo. So we got real inspired and added all those objects and properties 
along with Rodeo Transfer in two weeks.

Here's what we've learned:

1. There are thousands of the brightest people on the planet working around the 
clock to improve the web's capabilities with HTML5, CSS3 and Javascript. As a 
result we're ahead of schedule with more features than we thought possible.

2. We have been told by several users that we have underpriced our product to 
the point where it won't be taken seriously. That was sort of embarrassing. 

3. We learned that several Rodeo users are virtually transferring their 
businesses to Rodeo. The response to Transfer in a mere 24 hours has been 
overwhelming, but the Summit really got that ball rolling.

So, we plan to have another Rodeo Summit this Saturday to go over some 
not-so-obvious talents that the Table object has yet to reveal--and some new 
features of Transfer that will make it very hard to resist.

We also want to discuss pricing options and approaches with our users at the 
Summit to get feedback and validation. All of it, out in the open.

The Window is Closing

This leaves open a window of opportunity for those of you reading this post who 
have not adopted Rodeo. You can obtain a license for $89 USD, but only for a 
couple more weeks.

The price of Rodeo will rise as its capabilities increase--and this will happen 
quicker than you may think. Rodeo Transfer will not be included in the release 
version of Rodeo, but become a separate, premium product with a real price tag.

But pre-release buyers will get the whole kit and caboodle for $89 USD. As we 
say in Tejas: It's time to saddle up, partner.

Videos:

Rodeo Transfer: http://rodeoapps.com/rodeo-transfer-rev-stacks-become-web-apps

Rodeo v1.3: http://rodeoapps.com/rodeo-v13-available-with-tables-check-boxes-r

Summit Keynotes: http://rodeoapps.com/tag/keynote

Best,

Jerry Daniels

Follow the Rodeo discussion:
http://rodeoapps.com/rodeo-discuss-among-yourselves___
use-revolution mailing list
use-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: File lists

2010-07-11 Thread Richmond

On 07/12/2010 06:52 AM, J. Landman Gay wrote:

Pierre Sahores wrote (re: copy/paste in Linux script editor):


It's not a Rev's script editor related problem ! To solve this, you
need to tune the KDE (or Gnome, etc...) desktop manager clipboard
(or, even quit it) to avoid keystoke problems that are locking your
script editor's environment.


Richmond, Peter, did either of you try this?



And there I was thinking RunRev just worked straight out of the box;
obviously expecting too much.

The 'funny' thing is that on Linux:

1. RunRev has problems picking up fonts,

1.1 problems with Unicode fonts that make them effectively useless,

2. This copy-paste situation,

3. A few more 'situations' that have slipped my mind just now.

And precious few other, admittedly, Linux 'native, apps seem to have
the same sort of problem.

I think, tomorrow, when I have a spot of free time I am going to go
back and play around with Metacard 2.5 for Linux and see whether
those problems were there, or whether they have arisen
subsequently; if the latter then, for instance, it might be not a bad
thing to revert to the old script-editor.

--

Hilarious bit follows.

Yesterday, wanting to help Jacque with the folder listing problem
I popped together a 'quick-n-dirty' stack on my Linux box with the
script I quoted in my posting.

Being a bit lazy I had no great desire to type the script into my
e-mail client's write box; so to copy-paste it I had to:

1. Turn on my Mac,

2. Transfer the stack 'over the wire' to the Mac,

3. Open the stack with RunRev on the Mac,

4. Copy-paste the script into TextWrangler,

5. Save the TextWrangler doc on the Mac,

6. Transfer the document back to the Linux box,

7. Open the document with gEdit,

8. Copy-paste the text into my e-mail client.

The whole procedure took me about twice the time it took me
to write the script in the first place . . .  :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution