From eric.chatonet at sosmartsoftware.com Fri Jul 1 02:39:40 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 08:39:40 +0200 Subject: resume rev backdrop on top bug? In-Reply-To: <1120088159.42c3305f0783d@staffmail.ed.ac.uk> References: <1120088159.42c3305f0783d@staffmail.ed.ac.uk> Message-ID: <2D96ADDF-69D3-4F83-9B71-57C5B96D7083@sosmartsoftware.com> Hi Marielle and Sivakatirswami, Well known... Entered as a bug by Klaus on 2001! Assigned to Tuviah Snyder. Noted as major :-) and I am the only one who voted for... In fact, as Rev is used by many educators who often need to "contain" their students, this feature might appear to be more important than in other dev environments. These developers should vote for this bug... or: Last year I needed *absolutely* a backdrop for a very large app dedicated to seniors in order to let them wrapped in a cocoon especially designed for them... I ended by creating the backdrop by myself with a simple modeless stack :-) But it was not perfect: a little flash at mousedown with slow machines... Le 30 juin 05 ? 01:35, Marielle Lange a ?crit : > Same here. Has been like that since 2.5... is still the case in > 2.6. I don't use > the backdrop much (for this reason), but any time I use it, that's > exactly the > behaviour you describe (need to use the window menu as all stacks > are *behind* > the backdrop after when going back and forth from another application. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Fri Jul 1 02:48:23 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 08:48:23 +0200 Subject: Using libSMTP to send an e-mail In-Reply-To: <20050701014258.C80E9824967@mail.runrev.com> References: <20050701014258.C80E9824967@mail.runrev.com> Message-ID: <02B1D962-3122-4EFA-8651-6C75E75E3966@sosmartsoftware.com> Hi Tim, http://dark.unitz.ca/~shaosean/pages/development.htm Le 1 juil. 05 ? 03:45, a ?crit : > I'm trying to get to grips with using Shao Sean's libSMTP to send > an e-mail. > I've so far had limited success, in that I can send a message, but > all of > the TO,FROM,SUBJECT information is empty. Furthermore, the e-mails > I have been > sending must look dodgy because my ISP keeps blocking my account > after I use > libSMTP to send something! > > I've been reading that there's > another library by Shao Sean to format the mail (libMail?), but I > can't find > it to download anywhere. > > So, I guess I'm wondering... > > 1. Can I get the libMail library? If so, where? And if not.... > 2. How do I format the data I send using libSMTP so that e-mail > clients will > understand it? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ludovic.thebault at laposte.net Fri Jul 1 02:58:06 2005 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 1 Jul 2005 08:58:06 +0200 Subject: =?iso-8859-1?q?Re=3A_=5F=5BFrench=5D=5FUn=5Fsite=5Fd=E9di=E9=5F?= =?iso-8859-1?q?=E0=5FR=E9volution?= In-Reply-To: <42C47E27.7000609@fourthworld.com> References: <1gyzmmh.1kgfnk21wxcioxM%mcdomi@free.fr> <8C477E63-B193-4A77-806B-24908071566F@easynet.fr> <42C47E27.7000609@fourthworld.com> Message-ID: <573339F0-BD00-4E01-A225-588D22DB7373@laposte.net> Le 1 juil. 05 ? 01:20, Richard Gaskin a ?crit : > I see no harm in making lists specifically for other languages, > other than the overhead of maintaining them. > > In the meantime, there are already Japanese and German discussion > boards for Rev, included in the Links page at revJournal: > > > If you start a French list/discussion board I'll happily add it to > that page. The french list exists, but there is only one message by month ! here : http://fr.groups.yahoo.com/group/revolutionfr/ We need more participants ! :) From tim at leaf25.com Fri Jul 1 03:02:23 2005 From: tim at leaf25.com (Timothy Due) Date: Fri, 1 Jul 2005 16:02:23 +0900 Subject: Using libSMTP to send an e-mail References: <20050701014258.C80E9824967@mail.runrev.com> <02B1D962-3122-4EFA-8651-6C75E75E3966@sosmartsoftware.com> Message-ID: <000d01c57e0a$d55705b0$0301000a@TIM1> Thanks a lot Eric! Tim. ----- Original Message ----- From: Eric Chatonet To: tim at leaf25.com ; How to use Revolution Sent: Friday, July 01, 2005 3:48 PM Subject: Re: Using libSMTP to send an e-mail Hi Tim, http://dark.unitz.ca/~shaosean/pages/development.htm Le 1 juil. 05 ? 03:45, a ?crit : I'm trying to get to grips with using Shao Sean's libSMTP to send an e-mail. I've so far had limited success, in that I can send a message, but all of the TO,FROM,SUBJECT information is empty. Furthermore, the e-mails I have been sending must look dodgy because my ISP keeps blocking my account after I use libSMTP to send something! I've been reading that there's another library by Shao Sean to format the mail (libMail?), but I can't find it to download anywhere. So, I guess I'm wondering... 1. Can I get the libMail library? If so, where? And if not.... 2. How do I format the data I send using libSMTP so that e-mail clients will understand it? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From mcdomi at free.fr Fri Jul 1 03:57:40 2005 From: mcdomi at free.fr (Dom) Date: Fri, 1 Jul 2005 09:57:40 +0200 Subject: [FR] [EN] Re: =?iso-8859-1?q?=5F=5BFrench=5D=5FUn=5Fsite=5Fd=E9di?= =?iso-8859-1?q?=E9=5F=E0=5FR=E9volution?= In-Reply-To: <573339F0-BD00-4E01-A225-588D22DB7373@laposte.net> Message-ID: <1gz0lq6.led0y81s1ns6cM%mcdomi@free.fr> Ludovic THEBAULT wrote: > > If you start a French list/discussion board I'll happily add it to > > that page. > > The french list exists, but there is only one message by month ! > here : http://fr.groups.yahoo.com/group/revolutionfr/ elle serait plus "visible" si elle ?tait heberg?e par Revolution et non pas Yahoo!... the french-speaking list will be more visible if hosted by Revolution, not yahoo! la liste actuelle est le fruit d'une initiative individuelle (pas moi) this list originated from a one person action (not me) le cr?ateur de la liste a ensuite transmis les droits d'administration ? plusieurs personnes (dont moi) the list owner transmitted the administration rights to several persons (i was one of these persons) il y a effectivement des bouff?es d'activit? ;-) une fois ou deux j'ai transmis des infos recueillies ici (par exemple une annonce de so smart software ;-)) there are buffs of activity ;-) in one or twice occasions I transmitted infos found on this list (for intance one announce from so smart software ;-)) -- Revolutionario (not so much) From yvescoppe at skynet.be Fri Jul 1 04:12:13 2005 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 1 Jul 2005 10:12:13 +0200 Subject: =?iso-8859-1?q?Re=3A_=5BFR=5D_=5BEN=5D_Re=3A_=5F=5BFrench=5D=5FU?= =?iso-8859-1?q?n=5Fsite=5Fd=E9di=E9=5F=E0=5FR=E9volution?= In-Reply-To: <1gz0lq6.led0y81s1ns6cM%mcdomi@free.fr> References: <1gz0lq6.led0y81s1ns6cM%mcdomi@free.fr> Message-ID: <6f23a532653758730af74915b6d3ba59@skynet.be> Hi, I'm a french revolution user (not a professionnal programmer), just an hobby (coming from Hypercard). My english is bad, I have to do all my best so that my questions are understood. I've asked many questions on the list in english language. Everybody who answered me was very kind with my bad english, tried to well understand what I mean and NOBODY has made any least malicious remark concerning the bad use of the language. So I feel good with this list where I can find professionnal answers to my (newbie) questions. I'm afraid if we choose to go onto another list, we should loose some qualtiy in the answers. My two cents... Greetings. Yves COPPE yvescoppe at skynet.be From psahores at easynet.fr Fri Jul 1 04:12:47 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 1 Jul 2005 10:12:47 +0200 Subject: =?iso-8859-1?q?Re=3A_=5BFrench=5D_Un_site_d=E9di=E9_=E0_R=E9volu?= =?iso-8859-1?q?tion_=28Yhann=29?= In-Reply-To: <1120086019.42c32803e3e0e@staffmail.ed.ac.uk> References: <1120086019.42c32803e3e0e@staffmail.ed.ac.uk> Message-ID: Hello Marielle, I'm always reading all what you are posting to the lists with great interest and this post is surely one of the best resumes Yhann could get about Rev. I'm (as always !) to busy to take time to initiate a french spoken Rev dedicated site but if Yhann or others are going head in this way, i will be happy to contribute. if i beetwin, i get time to write something in French about the Rev/XTalk world, i will be happy to send copies to you and to Richard for a best availability of a Rev starting point for french documentation. Hope to get some time to go head with a Rev "n-tier" model-view-controller tutorial this summer. Kind Regards, Pierre Sahores Le 30 juin 05 ? 01:00, Marielle Lange a ?crit : > Cher Yhann, > > Francophone :-)... Mais vivant depuis longtemps en pays > anglophones, pardonnez > les fautes d'orthographe. > > Je comprends sans probl?me que le fait que tout soit en anglais > soit un > probl?me. Programmez en xTalk et comprendre un manuel en anglais > sont deux > choses compl?tement diff?rentes (combien de lecteurs anglais sont > capables de > lire un manuel en allemand... bien peu je suppose). > > J'ai cr?? un site pour supporter les enseignants... Vous le > trouverez ? > , avec liens vers une > gallerie de stacks > et palettes. > > Le site pr?sente presque exclusivement du mat?riel en anglais. J'ai > annonc? > pr?c?demment sur cette liste que c'est avec grand plaisir que je > cr?erai dans > ce wiki un espace francophone o? fran?ais, canadiens, belges et > autres auraient > l'opportunit? de s'exprimer dans leur langue maternelle. On m'a > timidement > r?pondu que ce n'?tait pas n?cessaire. > > Je vous invite donc ?galement ? cr?eer un site francophone. Si vous > n'avez pas > d'acc?s facile ? un serveur, sachez qu'il me serait tr?s facile de > cr?er un > espace sur mon propre site, avec un statut d'administrateur vous > ?tant alou? > pour votre section (wiki, forum, upload, image gallery, et bien > d'autres > options). Je ne peux pas promettre, cependent, d'apporter une > contribution > importante ? votre initiative, en terme de contenu. Comme je vis en > pays > anglophone, travaille dans un milieu anglophone, et interagis au > niveau > professionnel avec des personnes qui toutes parlent anglais, j'ai > tendance ? > contribuer en anglais uniquement (pour moi r?volution est un hobby, > pas une > source de revenu). > > >> Question subsidiaire : je suis actuellement d?veloppeur sous >> Director. Je >> souhaite me lancer dans un autre soft, car il se trouve que >> l'avenir de >> Director est incertain. Mais je ne connais pas l'?diteur de >> R?volution : ? >> votre avis, est-il solide, ou risque t-il d'abandonner ce >> logiciel ? Quelle >> est la p?rennit? des applications d?velopp?es sous R?volution ? >> > > Difficile ? dire. Le produit est fantastique... l'?quipe de > d?velopment est > apparemment solide... de nombreux articles sont r?cemment apparus dans > diff?rents magazines, avec des commentaires apolog?tiques sur le > logiciel. > > Mais question marketing ce n'est pas clair. Ils ont repris metacard > en 2002, ? > cette date, ils avaient un produit fantastique, avec un meilleur > potentiel que > bien des produits concurrents, mais ils n'ont pas vraiment r?ussi ? > se faire > conna?tre. Le probl?me semble ?tre que les gens responsables du > marketing ont > un conflit d'int?r?t (ils ont un triple statut: financier / employ? > RR / > consultants et d?velopeur... mais on ne peut pas trop les en bl?mer > car, je > pense que c'est gr?ce ? l'argent qu'ils gagnent en qualit? de > consultant qu'ils > peuvent continuer ? supporter le d?veloppement de R?volution). > > Dans la communaut? d'?ducateurs, je sais que de nombreuses > personnes (moi > incluse) ont propos? de donn? un coup de main mais sans aucun > r?sultat. D'un > autre c?t?, le march? grandissant pourrait enfin leur donner les > moyens > financiers d'assurer un marketing/support (tutoriels, etc.) d?cent. > M?me si rr > venait ? dispara?tre, il y a de forte chance que xTalk, lui, ne > dispara?tra > jamais. L'?volution actuelle est vraiment vers des languages de la 4e > g?n?ration, tels que xTalk. > > Personellement, je donne priorit? ? des projects qui facilitent > l'import/export > vers des formats standards. Si par malheur cette pr?diction > s'av?rait erron?e, > au pire, je garderai la possibilit? d'exporter mes programmes en > format XUL+XBL > pour transf?rer mes applications dans l'environnement mozilla > (projet sur lequel > je travaille pour le moment). > > M?me si revolution venait ? dispara?tre dans 5 ans, votre > productivit? aura > doubl? sinon tripl? au cours de ces 5 ann?es... le march? est pour > l'instant > sur les web-applications et les web-services... et revolution vous > laisse > d?velopper de telles applications en qqes heures plut?t que qqes > semaines. > > Marielle > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From psahores at easynet.fr Fri Jul 1 04:16:55 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 1 Jul 2005 10:16:55 +0200 Subject: =?iso-8859-1?q?Re=3A_=5F=5BFrench=5D=5FUn=5Fsite=5Fd=E9di=E9=5F?= =?iso-8859-1?q?=E0=5FR=E9volution?= In-Reply-To: <42C47E27.7000609@fourthworld.com> References: <1gyzmmh.1kgfnk21wxcioxM%mcdomi@free.fr> <8C477E63-B193-4A77-806B-24908071566F@easynet.fr> <42C47E27.7000609@fourthworld.com> Message-ID: <1FF0D063-AB30-4BBC-B00D-7FD5056747C8@easynet.fr> Hello Richard, Thanks for your friendly proposal. See the Marielle's post comment i send you in cc. Will be happy to send you "french spoken material" as soon as i will get time to begin with this. Kind Regards from Nemours, > Pierre Sahores wrote: > >> I have been for years speaking on the "native lists" and always >> got the best from our friendly exchanges (J'ai ?t? depuis des >> ann?es un fervant des listes anglaises et ai toujours eu ? m'en >> r?jouir). >> On the other hand, we are never going to promote the use of Rev >> in direction of the "conservative froggies" if we don't set-up >> (the not- to-lasy froggies) a real active french list (why not, >> Kevin, Ro ?) officially hosted by Runtime Revolution on its >> corporate site, just along the others lists. >> > > I see no harm in making lists specifically for other languages, > other than the overhead of maintaining them. > > In the meantime, there are already Japanese and German discussion > boards for Rev, included in the Links page at revJournal: > > > If you start a French list/discussion board I'll happily add it to > that page. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From rev at armbase.com Fri Jul 1 04:56:34 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 01 Jul 2005 09:56:34 +0100 Subject: highlight a button in standalone+.rev app Message-ID: <1120208194.42c505423d749@webmail.armbase.com> Hi All I have a stanalone that clones a stack (in the standalone). The user injects buttons into it with predetermined function. Now the number of buttons and windows is getting larger as the functions are increased. I'd like to have just one button injector and a system to customise the function of the button. What I envisage is a drop down list that enters a script into the button. Is it possible (from an standalone) to highlight the button in the cloned stack with something like a right click(just like in the rev IDE), then a prefernces window (which I'll create) pops up with a popup button with the fnuctions. Then when I click on OK it enters the script into the highlighted button. EG click on "OK" and it does something ,like this. On mouseup insert on mouseup & cr & dothisaction & cr & end mouseup into the highlighted button of the last stack open end mopuseup I know the scrip is not right but I just wondered how to highlight the button and in a stack of unknown name. If the unknown name stack is a problem, then there may be a simple fix by declaring a global gStackToEdit and having the name of the stack put into gStackToEdit. But is there a simpleer way. Any hint to send me in the right direction would be appreciated and I can go hunting and learning. All the best Bob From warren at howsoft.com Fri Jul 1 05:20:55 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 1 Jul 2005 06:20:55 -0300 Subject: Suggestion for correcting the IDE's script editor Message-ID: <002401c57e1f$078e2810$0201a8c0@john> Can we go back to where it all started? Although I made contact with Rev some time ago, I have only taken it more seriously recently. This is not so much because I didn't think it was worth taking seriously as the fact that finally, Microsoft have made it abundantly clear that do do not intend to review their decision to kill off Visual Basic. I have used VB exclusively for a number of years. For those of you who don't know the story, let me tell it quickly. A bit more than 2 years ago, Microsoft launched VB.NET which was radically different to the previous VB. To me, it was not "Basic" at all. VB previously was user-centric and approximated the English language. In contrast, the .NET version was machine/system oriented and no longer approximated English. On top of that, it was much more complicated. Just to give you an example, whereas before you could put "Hello World" on the screen in a window by simply writing "Print 'Hello World'", in .NET you needed half a page of formal declarations just to put it on the console! I very quickly decided that .NET was not for me, but like many others I hoped that VB6 would be reprieved. Nobody really believed that Microsoft would actually go ahead with abandoning VB6 since it would be an incredibly irresponsible thing to do. They did. Just to let you know how it feels, let me mimic the situation as though it were Revolution. You are a lover of X-Talk. The kind of philosophy behind it is just what you always wanted and needed. You build your profession around it, set up your business, raise your family on the income you make from it, and have great hopes for the future of Revolution. And then you suddenly get an e-mail saying that Runtime Revolution is pleased to announce their launching of "Rev.NUT" which bears very little resemblance to the obsolete Transcript language that you have been using. None of the programs you have ever written will work in .NUT, and although an automatic converter utility will be provided, Runtime Revolution will make absolutely sure that it does not work at all, even for the simplest programs. Like it or lump it. So there you are, suddenly and unexpectedly a refugee. You never ever thought of yourself as a refugee, least of all in the field of programming. You have that lovely feeling of anomaly, like being stranded in the middle of the ocean and not belonging anywhere any more. OK. Back to me again. I have found RunRev. It possess all the characteristics of the programming values I hold dear. But certainly its IDE is strange to say the least. I don't learn anything easily, and I sometimes get confused and make mistakes. Like anyone else in a learning situation, I suffer from blindspots until my genetic programming is ready for me to have the "aha" experience and I discover what should have been obvious. However, such personal difficulties have an advantage. Because I suffer in order to learn, I understand in my skin the problems of any beginner, and that's why I have been a teacher all my life and why for quite a number of years I was responsible for computer training. I don't think I was too bad at it. However, the advantage back then was that when I was preparing training, if I found myself in a situation where what I needed to teach did not make much sense, I had the power to consult with management and the thing got changed. Nobody expected me to teach a psychological mess. Being a teacher has made me interested in psychology, and one hard lesson that I have learned is that ALL ideas are valuable, even wrong ones. That is, of course, if you want to value them. If not, you can throw them away, as many people do. To me, this is a terrible waste. I much prefer to engage in a creative process than to engage in symmetrical battles as a result of my mono-perception of a situation which in reality has multiple aspects. I was perfectly happy with what came out of my suggestion for correcting the IDE's script editor because I learned a lot and because it revealed some weaknesses in the setup as it stands. First of all, it never occurred to me that the TAB key could be used for anything else than indenting a single line. In retrospect of course, I was suffering from typical learner's blindness since I could have found the information about it tucked away in a corner of the Help and in the Preferences. But it was only half way through the discussion that there was something very significant that I had missed. Nevertheless, I don't think that this detracts from the points that I made. Anyone not born and bred with X-Talk would be likely to fall into the same trap. So here is the synthesis of my suggestion for correcting the IDE's script editor. It presumes that programming and design norms are to be taken into account, and that likely pitfalls of newcomers are to be avoided as much as possible. 1. Existing bugs should be removed. The very fact that a newcomer cannot easily see the difference between a feature and a bug shows that there is something wrong somewhere. Bugs confuse everybody and everything. As Mark suggested in his e-mail to us all by suggesting that "it is not unreasonable to give users the choice": 2. Leave the existing auto-formatting facilities entirely alone. BUT 3. When the auto-formatting is turned off, it means what it says. This means that changes to existing text can be made in the manner of a normal text editor. TAB creates a single indentation in a single line. In addition, perhaps the switch for turning auto-formatting on and off could be put in a more convenient place Also, descriptions of auto-formatting and the (non-standard) use of the TAB key could be more prominently displayed in the Help. Now, if we can discuss this on the List and arrive at some kind of consensus about it, then perhaps we would earn sufficient respect on the part of the management to get something implemented. Finally, I would like to apologise for the rather confused nature of my explanation. On top of my status as a refugee, I am extremely upset at the conflict my suggestion seems to have stimulated. Perhaps one reason for this is that to have new ideas, one must necessarily be provocative, and this is easily misinterpreted by those who are motivated to do so. I am seeking to deflate the situation by returning to the scene of the crime and re-tracing my steps. But only you are able to tell me whether I have succeeded or failed. Bob From eric.chatonet at sosmartsoftware.com Fri Jul 1 05:55:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 11:55:05 +0200 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <002401c57e1f$078e2810$0201a8c0@john> References: <002401c57e1f$078e2810$0201a8c0@john> Message-ID: <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> Hi Bob, As usual with Rev docs, it's somewhere but you are rarely able to find it... I'm finishing a plugin that finds the following when you enter "indent" as a search keyword: Might be useful ;-) From the Docs FAQs: How do I pretty print a script? Pretty printing is the use of indenting to show the structure of a handler. When pretty printed, the contents of control structures (such as if/then/else conditionals and repeat loops) are indented. Nested control structures are indented more, to show the level of nesting. The Revolution script editor automatically pretty-prints the current handler when you place the insertion point somewhere in the handler and press Return or Tab. You can also choose Script menu Format to pretty print the current handler. To turn off automatic pretty printing, choose Edit menu Preferences, then uncheck the box labeled "Auto-indent to show structure" in the "Script Editor" pane. Le 1 juil. 05 ? 11:20, Bob Warren a ?crit : > In addition, perhaps the switch for turning auto-formatting on and > off could > be put in a more convenient place Also, descriptions of auto- > formatting and > the (non-standard) use of the TAB key could be more prominently > displayed in > the Help. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Fri Jul 1 06:21:17 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 03:21:17 -0700 Subject: highlight a button in standalone+.rev app In-Reply-To: <1120208194.42c505423d749@webmail.armbase.com> References: <1120208194.42c505423d749@webmail.armbase.com> Message-ID: <42C5191D.6010306@fourthworld.com> rev at armbase.com wrote: > I'd like to have just one button injector and a system to customise the function > of the button. What I envisage is a drop down list that enters a script into the > button. Have you considered using a custom property instead? For example, one way to assign behaviors to objects is the define the behavior in a frontScript, triggered by the actions you want to respond to. A custom property in the target determines whether the custom behavior is invoked, or the message is simply passed. For your buttons: set the uAction of btn 1 to "AutoBehavior" In your frontScript: on mouseUp if the uAction of the target = "AutoBehavior" then DoAutoBehavior --< your stuff here else pass mouseUp end mouseUp If you want different actions you can add lots of options without making it unreadable with a switch block rather than nested IFs: on mouseUp switch the uAction of the target case "AutoBehavior" DoAutoBehavior break -- case "AnotherBehavior" DoAnotherBehavior break -- default pass mouseUp end switch end mouseUp As for the name of an unknown stack, usually topStack() will return what you need. Here are the notes from the Transcript Dictionary entry for the topStack function: In most applications, the active window holds the current document, and menu commands operate on the active window. In Revolution, because of the ability to open stacks in various modes, this is not necessarily the case. Each open window has a mode associated with it. The topStack is the frontmost stack with the lowest mode. For example, an editable window has a mode of 1, and a palette has a mode of 4. If several palettes and editable windows are open, the topStack is the frontmost editable stack, although palettes may be in front of it. If all the editable windows are then closed, the frontmost palette becomes the topStack, since there is now no window with a lower mode. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From rev at armbase.com Fri Jul 1 06:35:28 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 01 Jul 2005 11:35:28 +0100 Subject: highlight a button in standalone+.rev app In-Reply-To: <42C5191D.6010306@fourthworld.com> References: <1120208194.42c505423d749@webmail.armbase.com> <42C5191D.6010306@fourthworld.com> Message-ID: <1120214128.42c51c70b1ea6@webmail.armbase.com> Quoting Richard Gaskin : Hi Richard > rev at armbase.com wrote: > > I'd like to have just one button injector and a system to customise the > function > > of the button. What I envisage is a drop down list that enters a script > into the > > button. > > Have you considered using a custom property instead? I hadn't really considered this for one really stupid reason. I have not got a clue how custom properties work. I struggled for ages with TAB's and then EUREKA!!!!! :-) I cried. I got it and felt so stupid because it was so easy. I read a lot about custom properties but I don't know of any simple examples. > > For example, one way to assign behaviors to objects is the define the > behavior in a frontScript, triggered by the actions you want to respond > to. A custom property in the target determines whether the custom > behavior is invoked, or the message is simply passed. > > For your buttons: > > set the uAction of btn 1 to "AutoBehavior" > > > In your frontScript: > > on mouseUp > if the uAction of the target = "AutoBehavior" then > DoAutoBehavior --< your stuff here > else pass mouseUp > end mouseUp > > > If you want different actions you can add lots of options without making > it unreadable with a switch block rather than nested IFs: > > on mouseUp > switch the uAction of the target > case "AutoBehavior" > DoAutoBehavior > break > -- > case "AnotherBehavior" > DoAnotherBehavior > break > -- > default > pass mouseUp > end switch > end mouseUp > OK I'll readup on this. > > > > As for the name of an unknown stack, usually topStack() will return what > you need. Here are the notes from the Transcript Dictionary entry for > the topStack function: > > In most applications, the active window holds the current > document, and menu commands operate on the active window. > In Revolution, because of the ability to open stacks in > various modes, this is not necessarily the case. > > Each open window has a mode associated with it. The > topStack is the frontmost stack with the lowest mode. > > For example, an editable window has a mode of 1, and a > palette has a mode of 4. If several palettes and editable > windows are open, the topStack is the frontmost editable > stack, although palettes may be in front of it. If all > the editable windows are then closed, the frontmost > palette becomes the topStack, since there is now no > window with a lower mode. Ohhhh This is very interesting. Thanks for pointing me in the right direction. I think I'll have a lot of fun with this. PS sent a private mail re:revjournal. Regards Bob From jbondy at sover.net Fri Jul 1 06:55:57 2005 From: jbondy at sover.net (Jon) Date: Fri, 01 Jul 2005 06:55:57 -0400 Subject: [FR] [EN] Re: =?iso-8859-1?q?=5F=5BFrench=5D=5FUn=5Fsite=5Fd?= =?iso-8859-1?q?=E9di=E9=5F=E0=5FR=E9volution?= In-Reply-To: <6f23a532653758730af74915b6d3ba59@skynet.be> References: <1gz0lq6.led0y81s1ns6cM%mcdomi@free.fr> <6f23a532653758730af74915b6d3ba59@skynet.be> Message-ID: <42C5213D.4040307@sover.net> Yves: Your English is perfect! No wonder nobody has made any negative remarks! :) Jon Yves COPPE wrote: > Hi, > > I'm a french revolution user (not a professionnal programmer), just an > hobby (coming from Hypercard). > > My english is bad, I have to do all my best so that my questions are > understood. > > I've asked many questions on the list in english language. > > Everybody who answered me was very kind with my bad english, tried to > well understand what I mean and NOBODY has made any least malicious > remark concerning the bad use of the language. > > So I feel good with this list where I can find professionnal answers > to my (newbie) questions. > > I'm afraid if we choose to go onto another list, we should loose some > qualtiy in the answers. > > My two cents... > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Fri Jul 1 07:01:57 2005 From: jbondy at sover.net (Jon) Date: Fri, 01 Jul 2005 07:01:57 -0400 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> Message-ID: <42C522A5.9000008@sover.net> "The Revolution script editor automatically pretty-prints the current handler when you place the insertion point somewhere in the handler and press Return or Tab." I agree that works in this way, but I use all of the time, and the formatting is often incorrect. Am I missing something, or is the above sentence either partly or entirely wrong (as regards ). Jon Eric Chatonet wrote: > Hi Bob, > > As usual with Rev docs, it's somewhere but you are rarely able to > find it... > I'm finishing a plugin that finds the following when you enter > "indent" as a search keyword: > Might be useful ;-) > > From the Docs FAQs: > How do I pretty print a script? > Pretty printing is the use of indenting to show the structure of a > handler. When pretty printed, the contents of control structures > (such as if/then/else conditionals and repeat loops) are indented. > Nested control structures are indented more, to show the level of > nesting. > The Revolution script editor automatically pretty-prints the current > handler when you place the insertion point somewhere in the handler > and press Return or Tab. You can also choose Script menu Format to > pretty print the current handler. > To turn off automatic pretty printing, choose Edit menu Preferences, > then uncheck the box labeled "Auto-indent to show structure" in the > "Script Editor" pane. > > Le 1 juil. 05 ? 11:20, Bob Warren a ?crit : > >> In addition, perhaps the switch for turning auto-formatting on and >> off could >> be put in a more convenient place Also, descriptions of auto- >> formatting and >> the (non-standard) use of the TAB key could be more prominently >> displayed in >> the Help. > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From yoursignup at yahoo.com Fri Jul 1 07:51:17 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Fri, 1 Jul 2005 01:51:17 -1000 Subject: resume rev backdrop on top bug? In-Reply-To: <2D96ADDF-69D3-4F83-9B71-57C5B96D7083@sosmartsoftware.com> Message-ID: I'm not sure if what's being talked about here is the same thing, but if in the IDE, if you turn backdrop on (not even sure where in Edit -> Preferences I did that), it covers everything, even the taskbar and the only way to get to any other program or your desktop is to minimize Rev. Is this the "feature" being talked about? If it is, I find it extremely annoying and would vote to be able to size the background, like ever other program out there (in the PC world anyway). So, what's the number to vote for? Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Eric Chatonet Sent: Thursday, June 30, 2005 8:40 PM To: How to use Revolution Cc: Revolution in Education Subject: Re: resume rev backdrop on top bug? Hi Marielle and Sivakatirswami, Well known... Entered as a bug by Klaus on 2001! Assigned to Tuviah Snyder. Noted as major :-) and I am the only one who voted for... In fact, as Rev is used by many educators who often need to "contain" their students, this feature might appear to be more important than in other dev environments. These developers should vote for this bug... or: Last year I needed *absolutely* a backdrop for a very large app dedicated to seniors in order to let them wrapped in a cocoon especially designed for them... I ended by creating the backdrop by myself with a simple modeless stack :-) But it was not perfect: a little flash at mousedown with slow machines... Le 30 juin 05 ? 01:35, Marielle Lange a ?crit : > Same here. Has been like that since 2.5... is still the case in > 2.6. I don't use > the backdrop much (for this reason), but any time I use it, that's > exactly the > behaviour you describe (need to use the window menu as all stacks > are *behind* > the backdrop after when going back and forth from another application. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From heather at runrev.com Fri Jul 1 08:12:23 2005 From: heather at runrev.com (Heather Nagey) Date: Fri, 1 Jul 2005 13:12:23 +0100 Subject: A list mom post Message-ID: <9c932b905f18f6596e956e57ab3deb03@runrev.com> Dear list members, It's been some time since I made the usual listmom remarks here, its probably time for a reminder. Also there have been a couple of threads recently that could do with addressing. Our list settings are set to protect your email addresses. These should be obscured when messages are posted to the web archives. There may still be routes for Google to find some addresses, I'm not sure but there is very little we can do about it if so. In general there does not seem to be a problem with addresses being harvested from our lists, I think it is a rare occurrence and not very easy to do. You would have to be subscribed in order to do so. This list is here for folks to help each other use Revolution. It is user driven. Runrev staff monitor it and may respond from time to time, but if you have a question you want to get a response direct from Runrev on, you need to write to support. Everyone here is donating time and advice for free, and deserves thanks and appreciation for doing so. We have a large and active community, spanning a huge range of ages, personalities, expectations and outlooks. This means that courtesy and consideration are essential when posting here. If you think so and so is a skunk, his opinions suck, his approach to programming appalls you... you are entitled to your opinion. Please don't post it to the list :) If you have a different viewpoint to present *relevant to programming* which you think may be of help to other people, that's great - but do it politely and with at least the appearance of keeping an open mind. As we all know, religion, politics and cheese are all off topic and inappropriate to this list. This list plays a vital role in keeping us at Runrev aware of the general state of the community and how well we are fulfilling your programming needs. However its worth restating that inevitably a list of this nature will have a negative bias. People rarely write to a discussion group to say "I completed a project today in a third of the time it would have taken me with any other tool, it works perfectly and I don't need any help". They write when they have a problem, or they want to vent. Often, the problem turns out to be in their code, or is readily solved, and its great that the list is here to help in that situation. Nobody should be afraid of asking for help in case it turns out it was just a typo in the code, that's what we're all here for and we've all done it. But something that may be worth a thought before you post your next rant titled "Revolution Sucks Eggs!". Your post and its title is going to live forever in the archives, visible to all and sundry, including newbies. The resolution of your post "oh no it was me, I have egg on my face now" will not be so visible, because the subject line of your abject apology will still be "Revolution Sucks Eggs!" Moving on to list mechanics, if you get duplicate posts from the list, it means you are subscribed with more than one address. (Well 99% of the time it does, unless you have creative email rules set up so they duplicate posts for you... naming no names ;)). If you do have more than one email address, and you are at all likely to post from all of them, I recommend subscribing all of them, then setting all but one to nomail. That way you won't get duplicate posts and you won't get held for moderation when you post from the wrong address. The list software only recognises you from your email address. You can adjust your settings, subscribe and unsubscribe here: http://lists.runrev.com/mailman/listinfo/use-revolution You can contact me direct if you need help on heather at runrev.com, or the list admin address which is use-revolution-owner at lists.runrev.com Finally, we are still having some server issues, which we are working on. Our apologies for this, we hope it will be resolved soon. Warm regards and thank you to all for participating in this community, Heather Nagey, Customer Support Manager and Listmom Runtime Revolution Ltd www.runrev.com From yoursignup at yahoo.com Fri Jul 1 08:27:26 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Fri, 1 Jul 2005 02:27:26 -1000 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <002401c57e1f$078e2810$0201a8c0@john> Message-ID: Bob, A very reasonable post. As a PC programmer, the Tab key was news to me also. In the interest of "discussion" here's another idea: Over the years, I have found that editors (and word processors) are like religions. Everyone likes the one they are used to and are willing to go to war over it. Maybe the answer is, and I don't even know if this is possible in the Rev paradigm, is to give users a choice by allowing them to use 3rd party editors. The problem (and fear) here usually is that the debugging facilities of the IDE won't integrate with a 3rd party editor. So, maybe instead of trying to make The Editor a one size fits all (which will never happen), publish a standard against which 3rd party programmers can write alternate editors, which the debugger, and other elements of the IDE will use in the same fashion that it uses The Editor. There could be a list of approved editors and a place in Preferences to pick the one you are using. In the long run, I believe, this would be less programming for the Rev folks and more opportunity for the independent developer. Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Bob Warren Sent: Thursday, June 30, 2005 11:21 PM To: use-revolution at lists.runrev.com Subject: Suggestion for correcting the IDE's script editor Can we go back to where it all started? From eric.chatonet at sosmartsoftware.com Fri Jul 1 08:41:58 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 14:41:58 +0200 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <42C522A5.9000008@sover.net> References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> <42C522A5.9000008@sover.net> Message-ID: <15465567-F41F-4104-A880-1B9EFFBB3251@sosmartsoftware.com> Hi Jon, I tested the following: on toto if there is a fld "toto" then go to cd 1 end if end toto 1. I typed "on toto" and press return: "end toto" has been automatically set and the insertion point blinked at the right place (with the right indentation) 2. I typed "if there is a fld toto then" and press return: the indentation level was increased as expected but, accordingly to Xtalks habits, the "end toto" should have been moved 1 indent to reflect the "end if" absence. But it did not. I pressed the tabKey and then the end control structure moved. 3. The rest was correct. So, it appears that return and tab keys do not act exactly in the same way and the end control structure indentation (or another one) is not managed as it it should be when pressing the return key. I agree your point of view and consider this dysfunction as severe since a correct behaviour (i.e. reliable) would be very helpful for beginners and... others when, for instance some nested if structures should request an if then statements end if before an another else at the beginning of the following line and not: if then statements In such a case the engine is confused (it is right :-), revError tells there is something wrong but indentation appears correct when in fact, it should reflect that there is a problem with a control structure and visually indicate which of them is at issue. HyperCard did it perfectly and when I began many years ago it has been very helpful for me even if now I have generally no more problems :-) Le 1 juil. 05 ? 13:01, Jon a ?crit : > "The Revolution script editor automatically pretty-prints the > current handler when you place the insertion point somewhere in > the handler and press Return or Tab." > > I agree that works in this way, but I use all of the > time, and the formatting is often incorrect. Am I missing > something, or is the above sentence either partly or entirely wrong > (as regards ). > > Jon > > > Eric Chatonet wrote: > > >> Hi Bob, >> >> As usual with Rev docs, it's somewhere but you are rarely able to >> find it... >> I'm finishing a plugin that finds the following when you enter >> "indent" as a search keyword: >> Might be useful ;-) >> >> From the Docs FAQs: >> How do I pretty print a script? >> Pretty printing is the use of indenting to show the structure of >> a handler. When pretty printed, the contents of control >> structures (such as if/then/else conditionals and repeat loops) >> are indented. Nested control structures are indented more, to >> show the level of nesting. >> The Revolution script editor automatically pretty-prints the >> current handler when you place the insertion point somewhere in >> the handler and press Return or Tab. You can also choose Script >> menu Format to pretty print the current handler. >> To turn off automatic pretty printing, choose Edit menu >> Preferences, then uncheck the box labeled "Auto-indent to show >> structure" in the "Script Editor" pane. >> >> Le 1 juil. 05 ? 11:20, Bob Warren a ?crit : >> >> >>> In addition, perhaps the switch for turning auto-formatting on >>> and off could >>> be put in a more convenient place Also, descriptions of auto- >>> formatting and >>> the (non-standard) use of the TAB key could be more prominently >>> displayed in >>> the Help. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Fri Jul 1 08:43:38 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 1 Jul 2005 14:43:38 +0200 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: Message-ID: Jim, Bob, I agree with you. However remember that you can use anything to edit the script... put the script of the selobj into fld 1 of stack "myeditor" and set the script of the selobj to fld 1 of stack "Myeditor" Note that the plugin architecture of RunRev permits to trap the RevEditScript handler so you can insert your own plugin in there. so if your stack is a plug in and has the corresponding RevEditScript message handler in its' stack script on RevEditScript put the script of the selobj into fld 1 of stack "myeditor" end RevEditScript then, you're near home free ;-) except for all the good features i'll be releasing soon ;) The debugging however doesn't require tabs so using Rev's SE to do this shouldn't be too shocking ;) As far as i know there isn't a plugin hook to debug. And the RevEditScript has to be tested still (last i did, all i managed was to crash Rev but this is apparently fixed). As a PC user, the Rev Script Editor has come a long way to something that's more than quite useable and simple to use. Im sure you'll get used to it (as Mark said) before you know it or get used to your own way ;) cheers Xavier http://monsieurx.com On 01/07/2005 14:27:26 use-revolution-bounces wrote: >Bob, > >A very reasonable post. As a PC programmer, the Tab key was news to me also. >In the interest of "discussion" here's another idea: > >Over the years, I have found that editors (and word processors) are like >religions. Everyone likes the one they are used to and are willing to go to >war over it. > >Maybe the answer is, and I don't even know if this is possible in the Rev >paradigm, is to give users a choice by allowing them to use 3rd party >editors. The problem (and fear) here usually is that the debugging >facilities of the IDE won't integrate with a 3rd party editor. > >So, maybe instead of trying to make The Editor a one size fits all (which >will never happen), publish a standard against which 3rd party programmers >can write alternate editors, which the debugger, and other elements of the >IDE will use in the same fashion that it uses The Editor. > >There could be a list of approved editors and a place in Preferences to pick >the one you are using. In the long run, I believe, this would be less >programming for the Rev folks and more opportunity for the independent >developer. > >Jim > >-----Original Message----- >From: use-revolution-bounces at lists.runrev.com >[mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Bob Warren >Sent: Thursday, June 30, 2005 11:21 PM >To: use-revolution at lists.runrev.com >Subject: Suggestion for correcting the IDE's script editor > > >Can we go back to where it all started? > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From keith at vortex.co.uk Fri Jul 1 05:45:44 2005 From: keith at vortex.co.uk (keith) Date: Fri, 1 Jul 2005 10:45:44 +0100 Subject: How do I make simple multiple user access app? In-Reply-To: References: <6.2.1.2.1.20050630064520.01e98230@pop3.pon.net> Message-ID: Sometime around 30/6/05 (at 20:47 -0500) Stephen Barncard said: >Keith; >Are you sure the resources aren't already available at the ISP the >office already uses for its web site (assuming it has one)? It is a political issue rather than a financial one I'm afraid. [sigh] Actually, it is also a practical one, in that she has zero experience with scripting (and I mean *zero*) and she wants to do the project herself rather than me do it and her not know anything about it. I wouldn't ask anyone, let alone my nearest+dearest, to launch straight into MySQL from a standing start! Revolution with simple scripting and stack structure, yes; MySQL, no. Not yet, anyway. :-) It couldn't (yet) be done using an external server (although I'm fairly confident that this is how it will work in the long term), and the internal IT management issue (political again) means it won't be something set up within the network either. Again: yet. Thanks for the info on the Dreamhost feature for limiting SQL access by IP address. That's achievable using PHP anyway, but it is handy to know of services which deal with this sort of thing for you. k From jbondy at sover.net Fri Jul 1 09:27:59 2005 From: jbondy at sover.net (Jon) Date: Fri, 01 Jul 2005 09:27:59 -0400 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <15465567-F41F-4104-A880-1B9EFFBB3251@sosmartsoftware.com> References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> <42C522A5.9000008@sover.net> <15465567-F41F-4104-A880-1B9EFFBB3251@sosmartsoftware.com> Message-ID: <42C544DF.9030305@sover.net> Eric: Excellent post. This points out, specifically, how the two keys ( and ) behave differently, which is part of what has been frustrating me. The closer these two keys function, the better off we all will be, I think. Thanks! Jon Eric Chatonet wrote: > Hi Jon, > > I tested the following: > > on toto > if there is a fld "toto" then > go to cd 1 > end if > > end toto > > 1. I typed "on toto" and press return: "end toto" has been > automatically set and the insertion point blinked at the right place > (with the right indentation) > 2. I typed "if there is a fld toto then" and press return: the > indentation level was increased as expected but, accordingly to > Xtalks habits, the "end toto" should have been moved 1 indent to > reflect the "end if" absence. But it did not. I pressed the tabKey > and then the end control structure moved. > 3. The rest was correct. > > So, it appears that return and tab keys do not act exactly in the > same way and the end control structure indentation (or another one) > is not managed as it it should be when pressing the return key. > I agree your point of view and consider this dysfunction as severe > since a correct behaviour (i.e. reliable) would be very helpful for > beginners and... others when, for instance some nested if structures > should request an > > if then > statements > end if > > before an another else at the beginning of the following line and not: > > if then statements > > In such a case the engine is confused (it is right :-), revError > tells there is something wrong but indentation appears correct when > in fact, it should reflect that there is a problem with a control > structure and visually indicate which of them is at issue. > HyperCard did it perfectly and when I began many years ago it has > been very helpful for me even if now I have generally no more > problems :-) > > Le 1 juil. 05 ? 13:01, Jon a ?crit : > >> "The Revolution script editor automatically pretty-prints the >> current handler when you place the insertion point somewhere in the >> handler and press Return or Tab." >> >> I agree that works in this way, but I use all of the >> time, and the formatting is often incorrect. Am I missing >> something, or is the above sentence either partly or entirely wrong >> (as regards ). >> >> Jon >> >> >> Eric Chatonet wrote: >> >> >>> Hi Bob, >>> >>> As usual with Rev docs, it's somewhere but you are rarely able to >>> find it... >>> I'm finishing a plugin that finds the following when you enter >>> "indent" as a search keyword: >>> Might be useful ;-) >>> >>> From the Docs FAQs: >>> How do I pretty print a script? >>> Pretty printing is the use of indenting to show the structure of a >>> handler. When pretty printed, the contents of control structures >>> (such as if/then/else conditionals and repeat loops) are indented. >>> Nested control structures are indented more, to show the level of >>> nesting. >>> The Revolution script editor automatically pretty-prints the >>> current handler when you place the insertion point somewhere in >>> the handler and press Return or Tab. You can also choose Script >>> menu Format to pretty print the current handler. >>> To turn off automatic pretty printing, choose Edit menu >>> Preferences, then uncheck the box labeled "Auto-indent to show >>> structure" in the "Script Editor" pane. >>> >>> Le 1 juil. 05 ? 11:20, Bob Warren a ?crit : >>> >>> >>>> In addition, perhaps the switch for turning auto-formatting on >>>> and off could >>>> be put in a more convenient place Also, descriptions of auto- >>>> formatting and >>>> the (non-standard) use of the TAB key could be more prominently >>>> displayed in >>>> the Help. >>> > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Fri Jul 1 09:29:08 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 09:29:08 -0400 Subject: Suggestion for correcting the IDE's script editor AND Endless ranting and rude insults AND other points In-Reply-To: References: <20050629113214.CAF17824976@mail.runrev.com> <812a035aa1c5d419a5955f456c2d9279@mac.com> <42C47819.4010700@sover.net> <17710044-AC64-4E14-9CF9-4FD50E102A81@writeme.com> <3cf28f63122de346c4ff9b27eff7b68f@mac.com> <71dbd18c0b146e228b3b2b73052f72d8@adelphia.net> Message-ID: <5b3d76bbd2c4fd99764dad040a88c0e4@adelphia.net> Dennis, You are right! I am trying to turn it down four notches. Thanks for the calm post. I just threw your comments on top of a rather large pile (IMO) and after reading your post again, I see that that was not fair to do. Thanks for being on this list and offering your professional and calm support. Tom On Jun 30, 2005, at 10:02 PM, Dennis Brown wrote: > Please turn your sensitivity knob down two notches and stop stirring > up the pot. My comments were not meant to insult or be rude to > anyone, and in rereading them, I can't see that they are, but you have > labeled them so. You are actually inciting more discussion and > rudeness than you are preventing. I am only trying to provide helpful > suggestions for how to separate one generic type of discussion from > another for the benefit of the people who come to this list to get the > very helpful and appreciated advice of the "old hands". Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From stephenREVOLUTION at barncard.com Fri Jul 1 09:44:20 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Fri, 1 Jul 2005 08:44:20 -0500 Subject: How do I make simple multiple user access app? In-Reply-To: References: <6.2.1.2.1.20050630064520.01e98230@pop3.pon.net> Message-ID: >Revolution with simple scripting and stack structure, yes; MySQL, >no. Not yet, anyway. :-) I was under the assumption that this was a shared database project. If it's just the same app on the same machine, then a card-metaphor thing would work. If it goes on the network like that, one user could use it at a time, but would require connecting to the network or leaving it connected with a shared folder. If you are getting into psueduo-database with multiple users at once and sharing kludges on a network, you are already out of the 'simple' category anyway. I was just relating my experiences finding 'simple'. > >It couldn't (yet) be done using an external server (although I'm >fairly confident that this is how it will work in the long term), >and the internal IT management issue (political again) means it >won't be something set up within the network either. Again: yet. So you might to spend a lot of time on code that will have to be upgraded later for the network. I can't suggest anything to do about silly IT political restrictions. > >Thanks for the info on the Dreamhost feature for limiting SQL access >by IP address. That's achievable using PHP anyway, But you wanted simple. This is just their interface using a feature of the SQL server. > but it is handy to know of services which deal with this sort of >thing for you. MySQL server handles this; it's a feature. sqb From 3mcgrath at adelphia.net Fri Jul 1 10:00:30 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 10:00:30 -0400 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <002401c57e1f$078e2810$0201a8c0@john> References: <002401c57e1f$078e2810$0201a8c0@john> Message-ID: <469713d4e67de9f967bfda7ce6f70362@adelphia.net> Bob, I have been using Rev for 1 year now and although I have my frustrating moments with bugs, as do others, I am confident in Rev's pursuit of fixing the bugs that bother us all. They are releasing fixes in a much faster time frame and plan on continuing to do so. I believe they are focusing on a couple of key areas and the editor is one of those. So your number 1. issue should be noticed soon enough. As far as numbers 2. and 3. I think that the formating will stay the way it works now. But with fixes to the problem areas. I agree that turning it off should do just that. A simple request. I would easily vote for this bug fix/UI enhancement. Number 4. (not numbered) is the one I think that should be done sooner rather than later. It would let a newbie know that this is possible and maybe take a lot of the frustration out of dealing with the editor in the first place. I think the reason this thread got out of hand is not your post but rather that it opened a door to venting frustrations about all kinds of things and those frustrations are what started to get out of hand (IMO). Every one here seems to agree that we want to go forward and never end up where VB did and I fear where Director is going. I would vote for this enhancement request. Yours, Tom On Jul 1, 2005, at 5:20 AM, Bob Warren wrote: > 1. Existing bugs should be removed. The very fact that a newcomer > cannot > easily see the difference between a feature and a bug shows that there > is > something wrong somewhere. Bugs confuse everybody and everything. > > As Mark suggested in his e-mail to us all by suggesting that "it is not > unreasonable to give users the choice": > > 2. Leave the existing auto-formatting facilities entirely alone. > BUT > 3. When the auto-formatting is turned off, it means what it says. This > means > that changes to existing text can be made in the manner of a normal > text > editor. TAB creates a single indentation in a single line. > > In addition, perhaps the switch for turning auto-formatting on and off > could > be put in a more convenient place Also, descriptions of > auto-formatting and > the (non-standard) use of the TAB key could be more prominently > displayed in > the Help. > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Fri Jul 1 10:02:27 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 10:02:27 -0400 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> Message-ID: Eric, Is that what it is really called? Pretty printing? Or is that a translation thing? It just sounds a little funny. Curious Tom On Jul 1, 2005, at 5:55 AM, Eric Chatonet wrote: > Hi Bob, > > As usual with Rev docs, it's somewhere but you are rarely able to find > it... > I'm finishing a plugin that finds the following when you enter > "indent" as a search keyword: > Might be useful ;-) > > From the Docs FAQs: > How do I pretty print a script? > Pretty printing is the use of indenting to show the structure of a > handler. When pretty printed, the contents of control structures (such > as if/then/else conditionals and repeat loops) are indented. Nested > control structures are indented more, to show the level of nesting. > The Revolution script editor automatically pretty-prints the current > handler when you place the insertion point somewhere in the handler > and press Return or Tab. You can also choose Script menu Format to > pretty print the current handler. > To turn off automatic pretty printing, choose Edit menu Preferences, > then uncheck the box labeled "Auto-indent to show structure" in the > "Script Editor" pane. > > Le 1 juil. 05 ? 11:20, Bob Warren a ?crit : > >> In addition, perhaps the switch for turning auto-formatting on and >> off could >> be put in a more convenient place Also, descriptions of >> auto-formatting and >> the (non-standard) use of the TAB key could be more prominently >> displayed in >> the Help. > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From see3d at writeme.com Fri Jul 1 10:03:11 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 01 Jul 2005 10:03:11 -0400 Subject: Where does the memory go? In-Reply-To: <42C4B3B2.6090606@fourthworld.com> References: <354E30BF-7770-48B7-8AAA-DC6BAE51F8C8@writeme.com> <42C47EE7.2050609@fourthworld.com> <42C4B3B2.6090606@fourthworld.com> Message-ID: <198DCE91-61CA-444E-B047-1B786CAA01FD@writeme.com> Richard, Thanks for the tip. I haven't run into that problem yet, because I have only created one card stacks. I do all the stuff that one might do with multiple cards, with multiple invisible groups, and keeping different data sets in custom properties. I like the additional control I have over the interface, and it also makes the stack more compact. Dennis On Jun 30, 2005, at 11:08 PM, Richard Gaskin wrote: > FWIW, for card deletion there is sometimes some space leftover as a > result of the hashing scheme used, much as there would be for > record deletion in most databases. This can be reclaimed with the > compact command -- from the Dictionary entry for "compact": > > When you cut or delete a card, some free space is left > within the stack. This empty space is reclaimed when > you choose File menu Save. Use the compact command to > reclaim this empty space without having to save the stack. > > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Fri Jul 1 10:17:50 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 10:17:50 -0400 Subject: resume rev backdrop on top bug? In-Reply-To: References: Message-ID: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> Jim, The backdrop feature is found under the view menu as a convenience when working in Rev. You can also script it in the IDE and a Standalone. set the backdrop to "black" set the backdrop to lightblue set the backdrop to none Use colorNames to get a list of colors that can be used with backdrop. It is meant to cover any size screen regardless of size. That makes it a feature since you would not have to know the users screen size at all. My experience has been that it works great in a standalone but is strange to use in the IDE where it covers things up most of the time. You can of course role your own using a window as a backdrop and that should work well in you desktop in your IDE but you would have to handle different sizes if you ported your stack to someone else's desktop. It is the lack of having to resize the backdrop that makes it a feature. Now, That might not be a bad enhancement request, but I would rather see other enhancements first and just continue rolling my own for specific situations. Hope this was helpful, Tom On Jul 1, 2005, at 7:51 AM, Jim Bufalini wrote: > I'm not sure if what's being talked about here is the same thing, but > if in > the IDE, if you turn backdrop on (not even sure where in Edit -> > Preferences > I did that), it covers everything, even the taskbar and the only way > to get > to any other program or your desktop is to minimize Rev. Is this the > "feature" being talked about? If it is, I find it extremely annoying > and > would vote to be able to size the background, like ever other program > out > there (in the PC world anyway). So, what's the number to vote for? > > Jim Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Fri Jul 1 10:25:10 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 10:25:10 -0400 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: References: Message-ID: <30e3d823cb89123ab03474ba6b608351@adelphia.net> Good idea Jim. I don't know if it will get done but I've seen this before and it works. I've seen it in using applescript and frontier runtime etc. (or maybe that was one editor with multiple language choices?!?!?!) Thanks Tom On Jul 1, 2005, at 8:27 AM, Jim Bufalini wrote: > So, maybe instead of trying to make The Editor a one size fits all > (which > will never happen), publish a standard against which 3rd party > programmers > can write alternate editors, which the debugger, and other elements of > the > IDE will use in the same fashion that it uses The Editor. > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From keith at vortex.co.uk Fri Jul 1 10:25:25 2005 From: keith at vortex.co.uk (keith) Date: Fri, 1 Jul 2005 15:25:25 +0100 Subject: How do I make simple multiple user access app? In-Reply-To: References: <6.2.1.2.1.20050630064520.01e98230@pop3.pon.net> Message-ID: Hi Stephen - thanks for the further comments! >>Revolution with simple scripting and stack structure, yes; MySQL, >>no. Not yet, anyway. :-) > >I was under the assumption that this was a shared database project. That's something that she's hoping to be able to do. I'm rapidly coming to the conclusion that a simple 'app or stack in use' flag would be good enough for now. One user at a time, running it from a single network location. Or just say no, not at this level of production. ;-) >I can't suggest anything to do about silly IT political restrictions. :-) Don't worry about it, I just mentioned it to explain why some solutions weren't possible at this point. This sort of thing is common to most companies, but explaining the details wouldn't help any and would take far too much bandwidth. Not to mention it'd be boring! >But you wanted simple. This is just their interface using a feature >of the SQL server. Okay, thanks. I've done a little with MySQL, but I'm far from knowing all or even most of what it can do. Please understand, I'm making mental notes for my own interests as well as finding the simplest solutions for my wife's project. That's probably making my replies seem a tad erratic, but rest assured, I'm paying attention! Anyway, back to the point. I am trying to help my wife arrive at the simplest *here and now* solution, even though I'm sure things will be changed in the future. Sometimes it is fine and practical to do that. In this case, it means the difference between the project being taken to a working first stage and the project simply being abandoned. The comments here have helped, so thanks to all. k From eric.chatonet at sosmartsoftware.com Fri Jul 1 10:35:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 16:35:24 +0200 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> Message-ID: Hi curious Tom :-) How could you think that I would change a single word from the Official Revolution Documentation ;-) No, I just copied/pasted it. At the time, seems that Rev guys were very happy with this function... Now, I wonder ;-) But stay curious: it's a good disease! Le 1 juil. 05 ? 16:02, Thomas McGrath III a ?crit : > Is that what it is really called? Pretty printing? Or is that a > translation thing? > > It just sounds a little funny. > > Curious Tom 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From charles.hartman at conncoll.edu Fri Jul 1 10:41:27 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 1 Jul 2005 10:41:27 -0400 Subject: design problem: fonts and spacing In-Reply-To: References: Message-ID: <40905FC7-D81C-488A-9A80-525531089322@conncoll.edu> It is the case. It's the spaces, not the visible characters, whose representation seems to depend on unknown (inaccessible?) contextual factors. It looks like I'm settling on using (ugly!) Courier for the spacing- critical text within fields. On Jun 30, 2005, at 8:27 AM, keith wrote: > Sometime around 30/6/05 (at 08:02 -0400) Charles Hartman said: > > >> I'm finding that when I close and reopen my stack, the spacing of >> the upper (scansion) line is sometimes off -- too condensed or too >> spaced out. I set the Font for the whole stack file to Palatino. >> > > Are you saying the type changes its relative spacing sometimes, or > just that it doesn't line up? It sounds like you're describing > actual changes in the placement of the characters from one viewing > of the stack to another, which would indeed be frustrating. Is this > the case? > > k > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From eric.chatonet at sosmartsoftware.com Fri Jul 1 10:45:25 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 16:45:25 +0200 Subject: resume rev backdrop on top bug? In-Reply-To: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> References: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> Message-ID: <20FB806D-C65D-4D32-A377-414FBD3B0EB5@sosmartsoftware.com> Le 1 juil. 05 ? 16:17, Thomas McGrath III a ?crit : > The backdrop feature is found under the view menu as a convenience > when working in Rev. You can also script it in the IDE and a > Standalone. > set the backdrop to "black" > set the backdrop to lightblue > set the backdrop to none And set the backdrop to which can be a pattern, an image or what you want. You have only to be careful with the original dimensions to get a correct appearance an a satisfying overlap. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Fri Jul 1 10:48:19 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 10:48:19 -0400 Subject: resume rev backdrop on top bug? In-Reply-To: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> References: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> Message-ID: <9204607608ed19a7b2ef4bb6100b0f8a@adelphia.net> Also, this is a fun way to set the random backdrop to different colors: set the backdrop to line (random(the number of lines of the colorNames)) of the colorNames putting that into a repeat loop in a button will drive you nuts. ;-0 set the 300 down to 30 and it is very fast on mouseUp fubar end mouseUp on fubar repeat until the mouseclick set the backdrop to line (random(the number of lines of the colorNames)) of the colorNames wait 300 milliseconds end repeat end fubar TOm From 3mcgrath at adelphia.net Fri Jul 1 10:50:47 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 10:50:47 -0400 Subject: resume rev backdrop on top bug? In-Reply-To: <20FB806D-C65D-4D32-A377-414FBD3B0EB5@sosmartsoftware.com> References: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> <20FB806D-C65D-4D32-A377-414FBD3B0EB5@sosmartsoftware.com> Message-ID: <68347d76da7822ef154f4e351c891368@adelphia.net> I have seen patterns used before but did not realize we could use images of our own. Very cool Tom On Jul 1, 2005, at 10:45 AM, Eric Chatonet wrote: > Le 1 juil. 05 ? 16:17, Thomas McGrath III a ?crit : > >> The backdrop feature is found under the view menu as a convenience >> when working in Rev. You can also script it in the IDE and a >> Standalone. >> set the backdrop to "black" >> set the backdrop to lightblue >> set the backdrop to none > > And set the backdrop to > which can be a pattern, an image or what you want. > You have only to be careful with the original dimensions to get a > correct appearance an a satisfying overlap. > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Fri Jul 1 10:56:23 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 16:56:23 +0200 Subject: resume rev backdrop on top bug? In-Reply-To: <9204607608ed19a7b2ef4bb6100b0f8a@adelphia.net> References: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> <9204607608ed19a7b2ef4bb6100b0f8a@adelphia.net> Message-ID: <93E9F3C5-961F-444F-949D-16A6294EC4DB@sosmartsoftware.com> Hi Tom, I jast tryed itt with 10 miliSecondes: naow I ame bliiiind and cannt type No Maure ;-( Le 1 juil. 05 ? 16:48, Thomas McGrath III a ?crit : > Also, this is a fun way to set the random backdrop to different > colors: > > set the backdrop to line (random(the number of lines of the > colorNames)) of the colorNames > > putting that into a repeat loop in a button will drive you > nuts. ;-0 set the 300 down to 30 and it is very fast > > on mouseUp > fubar > end mouseUp > > on fubar > repeat until the mouseclick > set the backdrop to line (random(the number of lines of the > colorNames)) of the colorNames > wait 300 milliseconds > end repeat > end fubar 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Fri Jul 1 11:04:51 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 11:04:51 -0400 Subject: resume rev backdrop on top bug? In-Reply-To: <93E9F3C5-961F-444F-949D-16A6294EC4DB@sosmartsoftware.com> References: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> <9204607608ed19a7b2ef4bb6100b0f8a@adelphia.net> <93E9F3C5-961F-444F-949D-16A6294EC4DB@sosmartsoftware.com> Message-ID: <5d2ce9d0c7adb2f8d34dada7869be152@adelphia.net> LOL - what a hoot..... thanks Tom On Jul 1, 2005, at 10:56 AM, Eric Chatonet wrote: > Hi Tom, > > I jast tryed itt with 10 miliSecondes: naow I ame bliiiind and cannt > type No Maure ;-( > > Le 1 juil. 05 ? 16:48, Thomas McGrath III a ?crit : > >> Also, this is a fun way to set the random backdrop to different >> colors: >> >> set the backdrop to line (random(the number of lines of the >> colorNames)) of the colorNames >> >> putting that into a repeat loop in a button will drive you nuts. ;-0 >> set the 300 down to 30 and it is very fast From dam-pro.girard at laposte.net Fri Jul 1 11:10:23 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Fri, 1 Jul 2005 17:10:23 +0200 Subject: Select a field (For text writing) Message-ID: <200507011710.24075.dam-pro.girard@laposte.net> Hi all, I have got a stack, that show some group. In these group, the user must write information (in field), I want to know how I can "select" the field, for when the user show the group, I can directly write the text. Pour les fran?ais (si vous comprenez pas ce que je veux dire en anglais :D ) En fait, j'ai un "stack", et il affiche des groupes, en fait, c'est groupes aggisent un peu comme la commande ask, quand on l'affiche, on peut marquer directement le texte ? l'int?rieur du champs. Je voudrai pouvoir faire la m?me chose, mais avec des groupes. Je vous remercie. -- ---------------------------------------- Girard Damien Email: dam-pro.girard at laposte.net From christian.langers at education.lu Fri Jul 1 11:14:54 2005 From: christian.langers at education.lu (Christian Langers) Date: Fri, 1 Jul 2005 17:14:54 +0200 Subject: need windows engine... Message-ID: <26E8E1BF-962B-4EAA-AC62-69B54EE1D1AE@education.lu> Hi everybody, it seems that you can't download anything from runrev.com, so you can't download the engines neither :-) Could anybody send me the windows-engine of Revoluiton 2.6. ? (off-list) Thanks in advance, Christian iMacG4 , Powerbook G4, Mac Os X 10.4 From eric.chatonet at sosmartsoftware.com Fri Jul 1 11:23:18 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 17:23:18 +0200 Subject: Select a field (For text writing) In-Reply-To: <200507011710.24075.dam-pro.girard@laposte.net> References: <200507011710.24075.dam-pro.girard@laposte.net> Message-ID: <302FB31A-A5EE-4362-87E7-54B87855440C@sosmartsoftware.com> Hi Damien, As I regained one's sight (see a previous post) and if I understand correctly (here, I'm not sure) the select command with one of these forms should help you: select text of fld -- but not select fld which would select the field object select before text of fld -- or: just select before fld select after text of fld -- or: just select after fld select char 1 to 5 of fld select char 5 to 4 of fld -- to place the insertion point between two chars select char 1, item 2, word 3, line 4 of fld select char 1 to 2 of item 3 of line 4 of fld etc. If you want type by script (I did not understand exactly your purpose), see the type command. Le 1 juil. 05 ? 17:10, Damien Girard a ?crit : > I have got a stack, that show some group. In these group, the user > must write > information (in field), I want to know how I can "select" the > field, for when > the user show the group, I can directly write the text. > > Pour les fran?ais (si vous comprenez pas ce que je veux dire en > anglais :D ) > > En fait, j'ai un "stack", et il affiche des groupes, en fait, c'est > groupes > aggisent un peu comme la commande ask, quand on l'affiche, on peut > marquer > directement le texte ? l'int?rieur du champs. Je voudrai pouvoir > faire la > m?me chose, mais avec des groupes. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dbrooks at unlserve.unl.edu Fri Jul 1 11:31:23 2005 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Fri, 1 Jul 2005 10:31:23 -0500 Subject: Using libSMTP to send an e-mail In-Reply-To: <20050701014258.C80E9824967@mail.runrev.com> References: <20050701014258.C80E9824967@mail.runrev.com> Message-ID: <91c1f678067bf6b3e4d45865d9484aba@unlserve.unl.edu> I've had GREAT luck with the new version of Shao Sean's libSMTP, and dealt with the "Subject" issue recently. For the Subject, just put "SUBJECT: xxx yyy zzzz"&return as the first line of your message, and things will work well. I think the other entities (e.g., "CC:") work the same way. Your mail will appear with "xxx yyy zzzz" as the subject line. The Shao Sean's script works better than the old HyperCard XCMD that I've used in my older software for a decade. Good luck! Dave B. > Hi All, > > I'm trying to get to grips with using Shao Sean's libSMTP to send an > e-mail. > I've so far had limited success, in that I can send a message, but all > of > the TO,FROM,SUBJECT information is empty. Furthermore, the e-mails I > have been > sending must look dodgy because my ISP keeps blocking my account after > I use > libSMTP to send something! > > I've been reading that there's > another library by Shao Sean to format the mail (libMail?), but I > can't find > it to download anywhere. > > So, I guess I'm wondering... > > 1. Can I get the libMail library? If so, where? And if not.... > 2. How do I format the data I send using libSMTP so that e-mail > clients will > understand it? > > Many thanks, > > > Tim. > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Fri Jul 1 11:34:04 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 01 Jul 2005 11:34:04 -0400 Subject: Suggestion for correcting the IDE's script editor [words of wisdom] In-Reply-To: <002401c57e1f$078e2810$0201a8c0@john> References: <002401c57e1f$078e2810$0201a8c0@john> Message-ID: <7614A711-A7CB-4EE1-BD05-B3E4F0EC7F40@writeme.com> On Jul 1, 2005, at 5:20 AM, Bob Warren wrote: > Can we go back to where it all started? Ok, I deleted everything before this post in my mail. > Now, if we can discuss this on the List and arrive at some kind of > consensus > about it, then perhaps we would earn sufficient respect on the part > of the > management to get something implemented. > > Bob A wise proposition. Just a few ideas about these posts from my long experience. STRANGE or BAD IDEAS: 1. Every good idea I ever had, started out as a bad idea. Some of the worst and most improbable ones turned into the best. The key was to take the bad idea as a way to break free of the previous limited thinking and use it as a stepping stone to a great idea. 2. Half the bad ideas I ever had were really bad and stayed that way and never led to anything worthwhile. 3. I learned to treat ideas (my own or somebody else's) with equanimity. I embrace the good ones whatever their source, and wrestle with the bad ones until I understand their true nature. 4. It is often hard for me to tell that I have a good or bad idea until I can bounce it off other intelligent persons with different experiences. 5. Ideas are not people, they are just inanimate objects. They feel no insults or injuries. They are fair game. If you wish to release an idea into the hunting grounds to see if it survives, please do not identify yourself with it's fate. Be a dispassionate participant, arguing for, or even against it's merits as the chase progresses. PEOPLE are NOT IDEAS: 1. The people who release ideas are not to be confused with the idea. They have feelings, and are not fair game. Everyone should receive respect, even when they don't give it. That is a very hard thing to learn (especially if you feel slighted). I have noticed that the most helpful people on this list behave this way. I have also noticed that when a person is given respect (in spite of their perceived disrespect), they tend to change their tune in a positive way. 2. Let the list mom handle the disposition of obnoxious people who really don't belong on this list. WHO BENEFITS from a GOOD IDEA: 1. I present ideas for improvements on this list without any expectation that I will benefit from them even if they are ever implemented. It is unlikely that any will make it into a version in the time frame of my current projects. I do not know if my future projects will materialize, or if I will have the same needs. I view my contributions as planting an apple tree that others will be able to pick the fruit from. Therefore, I am not emotionally invested from a personal level, only as representing part of the user community needs. 2. I benefit directly when my good or bad ideas generate a response from the community about to solve the underlying problem (that spawned the idea) with the tools available today. Dennis From psahores at easynet.fr Fri Jul 1 11:46:07 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 1 Jul 2005 17:46:07 +0200 Subject: =?iso-8859-1?q?Re=3A_=5BFR=5D_=5BEN=5D_Re=3A_=5F=5BFrench=5D=5FU?= =?iso-8859-1?q?n=5Fsite=5Fd=E9di=E9=5F=E0=5FR=E9volution?= In-Reply-To: <42C5213D.4040307@sover.net> References: <1gz0lq6.led0y81s1ns6cM%mcdomi@free.fr> <6f23a532653758730af74915b6d3ba59@skynet.be> <42C5213D.4040307@sover.net> Message-ID: <77790108-C093-417F-8584-25674AAAE235@easynet.fr> Grettings Yves, Yves COPPE wrote: > Hi, > > I'm a french revolution user (not a professionnal programmer), just > an hobby (coming from Hypercard). > > My english is bad, I have to do all my best so that my questions > are understood. > > I've asked many questions on the list in english language. > > Everybody who answered me was very kind with my bad english, tried > to well understand what I mean and NOBODY has made any least > malicious remark concerning the bad use of the language. Our lists, our friendly and always helpfull relationships are one of the core part of the Revolution paradigm power. Even the RunRev Corp. banks would have to know about that when they have to watch to the RunRev's business plan..., i think ;-) > > So I feel good with this list where I can find professionnal > answers to my (newbie) questions. > > I'm afraid if we choose to go onto another list, we should loose > some qualtiy in the answers. Not sure as long as we just would have to liesten and respond to just one more list, not dedicated to divide our common efforts but to help the french hobbyist that Rev exists as a very powerfull development tool, even if they are too lasy to come to english to meet both XTalk and our great community :-) Best Regards, > > My two cents... > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From ron at ecionmicroed.com Fri Jul 1 11:49:50 2005 From: ron at ecionmicroed.com (Ron Noice) Date: Fri, 1 Jul 2005 11:49:50 -0400 Subject: How to prevent user navigating cards? Message-ID: <200571114950.779589@msi98> There's probably a simple way to do this but I'm missing it. I want to prevent the end user from being able to use Ctrl+1 ... Ctrl+4 to navigate through the cards in the stack. This would happen more by accident than on purpose but would be very confusing to the user. Everything in this application is accessed through card 1 and while other cards are created on-the-fly to hold data, that data is not formatted for viewing and not intended to be seen. So how can I stop the navigation keys from navigating? Thanks. (It will be a Win XP standalone if that makes a difference.) ... Ron From ymdk at free.fr Fri Jul 1 10:09:12 2005 From: ymdk at free.fr (Yhann) Date: Fri, 1 Jul 2005 16:09:12 +0200 Subject: Massive distribution Message-ID: <20050701140719.F03ED175510@postfix3-1.free.fr> Hello, For massive distribution (cd-rom), applications create with Revolution is it a good choice (in comparison with Director's applications) ? Fiability on multiple configurations for the general public ? And what is the minimal configuration for an application compiled with Revolution ? Thanks. PS : who working with Revolution on Windows system ? Sorry for my bad english... -- In french : La fiabilit? des applications cr??s avec Revolution permet-elle une distribution massive de l'application au grand public, comme cela est le cas avec Director, par exemple. Ou est-ce risqu? et pr?f?rable de cr?er des applications avec un d?ploiement r?duit. Je dois r?aliser des CD-ROM multim?dia pouvant ?tre distribu?s en 3000 exemplaires pour le grand public, et devant donc tourner sur un grand nombre de configurations diff?rentes. Je n'ai pas trouv? l'info quant ? la configuration minimale n?cessaire pour faire tourner une application r?alis?e avec Revolution (sur la base d'une application "classique", sans particularit? multim?dia) ? (Je pr?cise que j'utiliserais la version Windows de Revolution, or il me semble que les origines de l'application se trouvent plut?t du c?t? du Macintosh : beaucoup d'entres-vous travaillent sous Windows ?) Merci pour vos r?ponses, et d?sol? pour l'anglais, tr?s mauvais. Yhann. From alex at tweedly.net Fri Jul 1 11:01:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 01 Jul 2005 16:01:49 +0100 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> Message-ID: <42C55ADD.9020708@tweedly.net> Thomas McGrath III wrote: > Eric, > > Is that what it is really called? Pretty printing? Or is that a > translation thing? > > It just sounds a little funny. It's really called that. I *think* the name was first used in Lisp back in the 60s .... certainly it was in common use by the time I got involved in computers (1970), though it was still a "feature" then; it has become so ubiquitous that the word itself is less frequently needed these days - everyone knows programs should be laid out sensibly (even if they don't agree on what is sensible :-) -- 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.8.8/35 - Release Date: 30/06/2005 From eric.chatonet at sosmartsoftware.com Fri Jul 1 12:03:30 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 18:03:30 +0200 Subject: How to prevent user navigating cards? In-Reply-To: <200571114950.779589@msi98> References: <200571114950.779589@msi98> Message-ID: <52CEFE4B-5515-43F7-B381-71832D19C1A3@sosmartsoftware.com> Hi Ron, Have a look at the commandKeyDown message. This message has a parameter which corresponds to the key pressed: on commandKeyDown pKey if pKey id not an integer then pass commandKeyDown end commandKeyDown This one will trap all numeric keys. There is no cross-platform difference to manage since the engine will understand the command key on Mac OS and the control key on all other platforms. You will have a look to navigation with the arrow keys too :-) Hope this helps. Le 1 juil. 05 ? 17:49, Ron Noice a ?crit : > There's probably a simple way to do this but I'm missing it. I want > to prevent the end user from being able to use Ctrl+1 ... Ctrl+4 to > navigate through the cards in the stack. This would happen more by > accident than on purpose but would be very confusing to the user. > > Everything in this application is accessed through card 1 and while > other cards are created on-the-fly to hold data, that data is not > formatted for viewing and not intended to be seen. So how can I > stop the navigation keys from navigating? Thanks. (It will be a Win > XP standalone if that makes a difference.) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dam-pro.girard at laposte.net Fri Jul 1 12:18:00 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Fri, 01 Jul 2005 18:18:00 +0200 Subject: Select a field (For text writing) In-Reply-To: <302FB31A-A5EE-4362-87E7-54B87855440C@sosmartsoftware.com> References: <200507011710.24075.dam-pro.girard@laposte.net> <302FB31A-A5EE-4362-87E7-54B87855440C@sosmartsoftware.com> Message-ID: <1120234680.7043.1.camel@White-Side.WORKGROUP> Thanks Eric, I use that : select the text of And this work very fine :) Girard Damien Email: dam-pro.girard at laposte.net Le vendredi 01 juillet 2005 ? 17:23 +0200, Eric Chatonet a ?crit : > Hi Damien, > > As I regained one's sight (see a previous post) and if I understand > correctly (here, I'm not sure) the select command with one of these > forms should help you: > > select text of fld -- but not select fld > which would select the field object > select before text of fld -- or: just select before fld > > select after text of fld -- or: just select after fld > > select char 1 to 5 of fld > select char 5 to 4 of fld -- to place the insertion > point between two chars > select char 1, item 2, word 3, line 4 of fld > select char 1 to 2 of item 3 of line 4 of fld > etc. > > If you want type by script (I did not understand exactly your > purpose), see the type command. > > Le 1 juil. 05 ? 17:10, Damien Girard a ?crit : > > > I have got a stack, that show some group. In these group, the user > > must write > > information (in field), I want to know how I can "select" the > > field, for when > > the user show the group, I can directly write the text. > > > > Pour les fran?ais (si vous comprenez pas ce que je veux dire en > > anglais :D ) > > > > En fait, j'ai un "stack", et il affiche des groupes, en fait, c'est > > groupes > > aggisent un peu comme la commande ask, quand on l'affiche, on peut > > marquer > > directement le texte ? l'int?rieur du champs. Je voudrai pouvoir > > faire la > > m?me chose, mais avec des groupes. > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Fri Jul 1 12:19:21 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 01 Jul 2005 12:19:21 -0400 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <42C55ADD.9020708@tweedly.net> References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> <42C55ADD.9020708@tweedly.net> Message-ID: <05A5F789-E739-4BEC-A265-FE4027AEEA6E@writeme.com> Before Apple made WYSIWYG (what you see (on the screen) is what you get (on the printer)) the norm, and even before that when displays were monospaced character (not graphics) oriented, and printers were also monospaced with just one character set, straight printing was an ugly unformatted dump of characters. It was not a pretty sight. It took a lot of work and formatting characters or commands to make a printout look pretty (formatted for readability). So the term pretty printing meant the process of printing with the formatting. However, I haven't actually heard the term used in the last 20+ years until today. Dennis On Jul 1, 2005, at 11:01 AM, Alex Tweedly wrote: > Thomas McGrath III wrote: > > >> Eric, >> >> Is that what it is really called? Pretty printing? Or is that a >> translation thing? >> >> It just sounds a little funny. >> > > It's really called that. > I *think* the name was first used in Lisp back in the 60s .... > certainly it was in common use by the time I got involved in > computers (1970), though it was still a "feature" then; it has > become so ubiquitous that the word itself is less frequently needed > these days - everyone knows programs should be laid out sensibly > (even if they don't agree on what is sensible :-) > > -- > 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.8.8/35 - Release Date: > 30/06/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Fri Jul 1 12:22:11 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Jul 2005 09:22:11 -0700 Subject: SPAM In-Reply-To: References: <17716248283.20050630171250@ahsoftware.net> Message-ID: <1362216026.20050701092211@ahsoftware.net> Timothy- Thursday, June 30, 2005, 7:25:30 PM, you wrote: TM> I never knew Google had the capacity to do this sort of thing. It's TM> really troubling. I always thought an email list was equivalent to TM> private email sent from one person to a bunch of others. Apparently TM> it's not. Listservs themselves are private email "clubs". However, anytime anything is archived on the web it's publicly available. The list archives do a good first-pass attempt at hiding email addresses and web site urls, but it's impossible to stay always one step ahead of clever spammer robots. -- -Mark Wieder mwieder at ahsoftware.net From ron at ecionmicroed.com Fri Jul 1 12:51:04 2005 From: ron at ecionmicroed.com (Ron Noice) Date: Fri, 1 Jul 2005 12:51:04 -0400 Subject: How to prevent user navigating cards? In-Reply-To: <52CEFE4B-5515-43F7-B381-71832D19C1A3@sosmartsoftware.com> Message-ID: <20057112514.246129@msi98> Aha! Thanks for pointing me in the right direction, Eric. Also, thanks for the great tutorials, plugins, etc. on your web site -- very helpful and useful! ... Ron ______________________________________________ *** From: Eric Chatonet ?(eric.chatonet at sosmartsoftware.com) *** Dated: Fri, 1 Jul 2005 18:03:30 +0200 ?Hi Ron, ?Have a look at the commandKeyDown message. ?This message has a parameter which corresponds to the key pressed: ?on commandKeyDown pKey ? ? if pKey id not an integer then pass commandKeyDown ?end commandKeyDown ?This one will trap all numeric keys. ?There is no cross-platform difference to manage since the engine will ?understand the command key on Mac OS and the control key on all other ?platforms. ?You will have a look to navigation with the arrow keys too :-) ?Hope this helps. ?Le 1 juil. 05 ??17:49, Ron Noice a ?crit : ?>?There's probably a simple way to do this but I'm missing it. I want ?>?to prevent the end user from being able to use Ctrl+1 ... Ctrl+4 to ?>?navigate through the cards in the stack. This would happen more by ?>?accident than on purpose but would be very confusing to the user. ?> ?>?Everything in this application is accessed through card 1 and while ?>?other cards are created on-the-fly to hold data, that data is not ?>?formatted for viewing and not intended to be seen. So how can I ?>?stop the navigation keys from navigating? Thanks. (It will be a Win ?>?XP standalone if that makes a difference.) ?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 site ? ? ? ?http://www.sosmartsoftware.com/ ?Email ? ? ? ?eric.chatonet at sosmartsoftware.com/ ?Phone ? ? ? ?33 (0)1 43 31 77 62 ?Mobile ? ? ? ?33 (0)6 20 74 50 86 ?---------------------------------------------------------------- ?_______________________________________________ ?use-revolution mailing list ?use-revolution at lists.runrev.com ?Please visit this url to subscribe, unsubscribe and manage your subscription preferences: ?http://lists.runrev.com/mailman/listinfo/use-revolution From psahores at easynet.fr Fri Jul 1 13:00:52 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 1 Jul 2005 19:00:52 +0200 Subject: Massive distribution In-Reply-To: <20050701140719.F03ED175510@postfix3-1.free.fr> References: <20050701140719.F03ED175510@postfix3-1.free.fr> Message-ID: Le 1 juil. 05 ? 16:09, Yhann a ?crit : > Hello, > > For massive distribution (cd-rom), applications create with > Revolution is it a good choice (in comparison with Director's > applications) ? Fiability on multiple configurations for the > general public ? Yes > > And what is the minimal configuration for an application compiled > with Revolution ? > > Thanks. > > PS : who working with Revolution on Windows system ? In beetwin others, see MisterX, alias Xavier Bury, as one of ours best geeks in about windows (and M3's or speedways passioned.. ;-) > > Sorry for my bad english... > > -- > > In french : > > La fiabilit? des applications cr??s avec Revolution permet-elle une > distribution massive de l'application au grand public, comme cela > est le cas avec Director, par exemple. Oui > > Ou est-ce risqu? et pr?f?rable de cr?er des applications avec un > d?ploiement r?duit. Non > > Je dois r?aliser des CD-ROM multim?dia pouvant ?tre distribu?s en > 3000 exemplaires pour le grand public, et devant donc tourner sur > un grand nombre de configurations diff?rentes. Wouaw > > Je n'ai pas trouv? l'info quant ? la configuration minimale > n?cessaire pour faire tourner une application r?alis?e avec > Revolution (sur la base d'une application "classique", sans > particularit? multim?dia) ? Faut v?rifier mais, je crois que tout est ok de Mac OS 8.1 ? 9.2.2, y compris classic, tout ok sous Mac OS X 10.1.5 et +, tout est ok sous win32 de 98SE ? XP Home et Professional. > > (Je pr?cise que j'utiliserais la version Windows de Revolution, or > il me semble que les origines de l'application se trouvent plut?t > du c?t? du Macintosh : beaucoup d'entres-vous travaillent sous > Windows ?) C'est mieux de travailler depuis la version windows chaque fois qu'on vise le d?ploiement multi-plateforme, les versions Mac ?tant tr?s simples ? finaliser quand tous les caprices de windows (l'OS, pas Revolution) ont ?t? satisfaits. > > Merci pour vos r?ponses, et d?sol? pour l'anglais, tr?s mauvais. > > Yhann. You welcome :-) Best, > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From ridge11103 at btinternet.com Fri Jul 1 13:24:43 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Fri, 01 Jul 2005 18:24:43 +0100 Subject: Very Humble Pie - [was Re: Transcript arithmetic] Message-ID: The server upgrade cut me off for a while, which is just as well. In the interval, I have realised that my post claiming that I had found an inconsistency in Transcript between IDE and standalones was... well, actually, I was totally and embarrassingly WRONG. So please accept my apologies for wasting your time and bandwidth, list - and especially Ken Ray, who took me seriously (never again, I fear!). And also Heather, whose recent listmom piece I've just read - I'm taking the risk of changing the thread name to emphasise that I was wrong. Any implication that the IDE is less than perfect is hereby fully and unreservedly withdrawn. What I have at last noticed is that the version of the stack that I made into a standalone happened to have been saved in an inconsistent state. Competent people of course ensure that (a) this can't happen (b) a "startup" handler fixes it anyway. Oh dear... Apologies again - I shall now go back to keeping very quiet! John From christian.langers at education.lu Fri Jul 1 13:28:19 2005 From: christian.langers at education.lu (Christian Langers) Date: Fri, 1 Jul 2005 19:28:19 +0200 Subject: Rev crashing with rawKeyUp/Down Message-ID: <9C068014-60EC-445C-A08B-25AFDAF49249@education.lu> Hello, what could this be ? When using this handler in a field's script : on rawKeyUp set the cText of this stack to rtftext of me pass rawKeyUp end rawKeyUp then Revolution (i'm with 2.6) crashes after about 10 lines (just by holding down the enter key)... What am I doing wrong ? I noticed this on Mac and Win versions... Christian From eric.chatonet at sosmartsoftware.com Fri Jul 1 13:49:34 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Jul 2005 19:49:34 +0200 Subject: Rev crashing with rawKeyUp/Down In-Reply-To: <9C068014-60EC-445C-A08B-25AFDAF49249@education.lu> References: <9C068014-60EC-445C-A08B-25AFDAF49249@education.lu> Message-ID: <6E2E910D-4A5D-4FE1-A337-7707FCB946C8@sosmartsoftware.com> Hi Christian, You could prefer to check this at closeField and not each time a key is pressed and *only* if necessary (by using a conditional structure to compare first). Good programming does not waste programmer energy neither CPU :-) Le 1 juil. 05 ? 19:28, Christian Langers a ?crit : > on rawKeyUp > set the cText of this stack to rtftext of me > pass rawKeyUp > end rawKeyUp 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From b.xavier at internet.lu Fri Jul 1 13:55:58 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 1 Jul 2005 19:55:58 +0200 Subject: Massive distribution In-Reply-To: <20050701140719.F03ED175510@postfix3-1.free.fr> Message-ID: <20050701175116.A863C824915@mail.runrev.com> Hi Yhann, sorry, had my mom wake me up on Skype+VNC for a little scanner help... And brought me back to cyber world ;) Desoled my Mom m'a retenu sur Skype+VNC pour un probs scanner ... Donc me revoila... Oui you can use rev on a cdrom just like Director. No problems on windows at all - that i've seen on Windows (2000, xp and 2003). Some minor glitches as with any language but nothing important. FR No prob pour Rev sur tes galettes optiques! Sur l'OS que tu veux ;) 2000 xp ou 2003. En terminal services, ya des soucis mais si tu mets cela sur cd, not probs. Memory requirements depends on what you load in memory (hence a one card front end GUI approach) or a large background card database. Lots of images = more memory, etc... But usually PC's handle anything you throw at them as long as there is disk space for the swap. Pour la memoire, c'est pas compliqued. plus t'as de graphique ou des cartes avec donnees dans un stack (une pile en francais), plus il faut de la memoire, mais noprobs s'il y a de la place pour le swap. Fiability sur PC - super - je gere des terabytes avec tout les jours... OK, j'exagere un tout petit peu seulement - mais y'a 9 TBs, 3000 utilisateurs, 300 serveurs qui ne ce se sont jamais plain!... ;) Reliability on PCs is great. I mamage terabytes with runrev everyday - and it's just a slight exageration. In 5 years, 9TBs of PC data, 3000 users, 300 servers never complained! Sorry for my franglish, desolated for le french-glich... I'll try X-le-talk-du-jour next time ;) Get it? LOL ciao Xa > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Yhann > Sent: Friday, July 01, 2005 16:09 > To: use-revolution > Subject: Massive distribution > > Hello, > > For massive distribution (cd-rom), applications create with > Revolution is it a good choice (in comparison with Director's > applications) ? Fiability on multiple configurations for the > general public ? > > And what is the minimal configuration for an application > compiled with Revolution ? > > Thanks. > > PS : who working with Revolution on Windows system ? > > Sorry for my bad english... > > -- > > In french : > > La fiabilit? des applications cr??s avec Revolution > permet-elle une distribution massive de l'application au > grand public, comme cela est le cas avec Director, par exemple. > > Ou est-ce risqu? et pr?f?rable de cr?er des applications avec > un d?ploiement r?duit. > > Je dois r?aliser des CD-ROM multim?dia pouvant ?tre > distribu?s en 3000 exemplaires pour le grand public, et > devant donc tourner sur un grand nombre de configurations diff?rentes. > > Je n'ai pas trouv? l'info quant ? la configuration minimale > n?cessaire pour faire tourner une application r?alis?e avec > Revolution (sur la base d'une application "classique", sans > particularit? multim?dia) ? > > (Je pr?cise que j'utiliserais la version Windows de > Revolution, or il me semble que les origines de l'application > se trouvent plut?t du c?t? du Macintosh : beaucoup > d'entres-vous travaillent sous Windows ?) > > Merci pour vos r?ponses, et d?sol? pour l'anglais, tr?s mauvais. > > Yhann. > > From christian.langers at education.lu Fri Jul 1 14:25:10 2005 From: christian.langers at education.lu (Christian Langers) Date: Fri, 1 Jul 2005 20:25:10 +0200 Subject: Rev crashing with rawKeyUp/Down In-Reply-To: <6E2E910D-4A5D-4FE1-A337-7707FCB946C8@sosmartsoftware.com> References: <9C068014-60EC-445C-A08B-25AFDAF49249@education.lu> <6E2E910D-4A5D-4FE1-A337-7707FCB946C8@sosmartsoftware.com> Message-ID: <2BE4DE6A-F81E-439B-A363-B96C914FB98F@education.lu> Bonsoir du Luxembourg, Eric ! Ok, I'll try that energy-saving little thing ;-) Christian Le 1 juil. 05 ? 19:49, Eric Chatonet a ?crit : > Hi Christian, > > You could prefer to check this at closeField and not each time a > key is pressed and *only* if necessary (by using a conditional > structure to compare first). > Good programming does not waste programmer energy neither CPU :-) > > Le 1 juil. 05 ? 19:28, Christian Langers a ?crit : > > >> on rawKeyUp >> set the cText of this stack to rtftext of me >> pass rawKeyUp >> end rawKeyUp >> > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at jaedworks.com Fri Jul 1 14:32:45 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 1 Jul 2005 11:32:45 -0700 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: References: <002401c57e1f$078e2810$0201a8c0@john> <2EB6B7FA-434D-4C67-B7E7-072DC136DA61@sosmartsoftware.com> Message-ID: At 10:02 AM -0400 7/1/2005, Thomas McGrath III wrote: >Is that what it is really called? Pretty printing? Or is that a >translation thing? > >It just sounds a little funny. It's an old programming term. (There was - well, still is - a Unix shell program named "pp" for pretty-print, which takes a C source file and formats it nicely in accordance with the rules for that language.) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From scott at elementarysoftware.com Fri Jul 1 15:14:53 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 1 Jul 2005 12:14:53 -0700 Subject: file name or dir changed from the desktop In-Reply-To: References: <45968a0c668af9d27bb2ea2ea4052b21@elementarysoftware.com> Message-ID: Thanks all, (Mark, I haven't switched to rev 2.6 yet which may explain why < SpankUser > doesn't work here. : ) > -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com ----------------------------------------------------------------- Recently -Eric Chatonet, Mark Wieder & Jeanne A. E. DeVoto wrote: > That's a bad user behaviour (probably rare) but... > I don't know (may be others will) how to get the information from the > desktop manager but when an user saves, you could check first if the > file does exists and act accordingly. > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software > At 3:13 AM -0700 6/30/2005, Scott Morrow wrote: >> Although changing the file name of an open file seems like a bad >> idea, I'm sure one of my users will do it and then get confused when >> their newly named file doesn't contain the most recent changes. I >> noticed that Appleworks 6 (OSX) doesn't have a problem with the file >> name being changed. > > It's a design flaw that goes back to HyperCard. HC and Rev alike use > hardcoded file paths, rather than filesystem specs. (It's worth noting > that some OS X applications do this too and exhibit similar problems.) > > In the case of Rev, there's some excuse for it, since a file path is a > simple string (and thus can be dealt with easily in Transcript). But > it does have the effect that if you change a file's path while it's > open, either by renaming it or moving it, things break. I'm not sure > there's a good workaround. > -- > jeanne a. e. devoto ~ revolution at jaedworks.com > http://www.jaedworks.com > on ChangeFileNameBehindMyBack > Spank User > end ChangeFileNameBehindMyBack > > -- > -Mark Wieder From jacque at hyperactivesw.com Fri Jul 1 15:18:08 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 01 Jul 2005 14:18:08 -0500 Subject: highlight a button in standalone+.rev app In-Reply-To: <1120214128.42c51c70b1ea6@webmail.armbase.com> References: <1120208194.42c505423d749@webmail.armbase.com> <42C5191D.6010306@fourthworld.com> <1120214128.42c51c70b1ea6@webmail.armbase.com> Message-ID: <42C596F0.10401@hyperactivesw.com> On 7/1/05 5:35 AM, rev at armbase.com wrote: > I read a lot about custom properties but I don't know of any simple examples. Our last scripting conference was all about properties -- both built-in properties and custom properties. You can download the stack from the regular place: . That should tell you what you need, and there are examples throughout the stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at howsoft.com Fri Jul 1 15:40:12 2005 From: warren at howsoft.com (Bob Warren) Date: Fri, 1 Jul 2005 16:40:12 -0300 Subject: Suggestion for correcting the IDE's script editor Message-ID: <002701c57e75$09be5870$0201a8c0@john> Dear All, In order for people to become better friends, they have to go through hard times together. Although previously I was amazed for different reasons, I am now amazed at how quickly this discussion List can heal itself! I don't have enough energy to participate this weekend as much as I would like to, but what I would like to say to you all is thanks very much. Also to "List Mom" for a great post. Regards, Bob From jbondy at sover.net Fri Jul 1 16:03:36 2005 From: jbondy at sover.net (Jon) Date: Fri, 01 Jul 2005 16:03:36 -0400 Subject: compileIt for revolution? In-Reply-To: <42C484DF.3060905@tweedly.net> References: <42C484DF.3060905@tweedly.net> Message-ID: <42C5A198.3050909@sover.net> Alex: An excellent post, explaining the theory, showing actual results, and summarizing pros and cons. Thank you! Jon === Jon wrote: Let's put it differently. My real interest is in seeing how to optimize Rev code to access arrays in general, and image data in specific, as rapidly as possible. Alex wrote: So the big message for image processing is - don't access it as an array, access it as chars in a variable. Although I didn't complete it, I believe this technique applied throughout your example would reduce the overall time for this photo of mine from around 55 seconds to 10 or 12 seconds.But the cost is some ugly, barely maintainable code, and it's still beyond the stretch of what a user would be willing to wait for a simple transformation to be done. From kkaufman at snet.net Fri Jul 1 16:14:13 2005 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 1 Jul 2005 16:14:13 -0400 Subject: How do I make simple multiple user access app? Message-ID: <068198375a2a607da9c3502a8aa7b59b@snet.net> Hi Keith, I designed a simple application to keep track of payments to ca. 1000 accounts. Originally I went with a single text file, parsed for the individual account data which was then loaded into fields in a single stack, but I had troubles getting the formatting to work equally well on Windows (I develop on Mac OS X). I ended up using a separate stack for each account. In addition, I have an account selection stack as well as a receipt-generating stack. I use "busy[nameOfStack].txt" files as flags; they are created each time the selection stack, the receipt stack, or an account stack is opened, and destroyed each time the stack is closed. There are 3 copies of the standalone navigation stack being used. When a second user wants to open a stack that is already open, a message pops up advising the user to try again in a few moments. We are running this system at a medical office on a Windows Workgroup (peer-to-peer) network without problems. I'd be happy to send you copies of the stacks if you'd like to see them. You would have to make substantial changes to the account stack template if you needed to do things which required gathering info. from many or all of the accounts. In addition, if you have many accounts, I can't imagine it would be very efficient to have to open and close so many stacks in succession. In that case a text-based or a SQL-based solution would be far superior. HTH, Kurt From kray at sonsothunder.com Fri Jul 1 13:15:38 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Jul 2005 12:15:38 -0500 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <002401c57e1f$078e2810$0201a8c0@john> Message-ID: On 7/1/05 4:20 AM, "Bob Warren" wrote: > Can we go back to where it all started? You post was well said, Bob. I've been using xTalk for decades (ouch!) as well as VB up through VB 6, and I know exactly what you mean (including the .NET disenfranchisement). > So here is the synthesis of my suggestion for correcting the IDE's script > editor. It presumes that programming and design norms are to be taken into > account, and that likely pitfalls of newcomers are to be avoided as much as > possible. > > 1. Existing bugs should be removed. The very fact that a newcomer cannot > easily see the difference between a feature and a bug shows that there is > something wrong somewhere. Bugs confuse everybody and everything. Agreed. > 2. Leave the existing auto-formatting facilities entirely alone. Yup. > BUT > 3. When the auto-formatting is turned off, it means what it says. This means > that changes to existing text can be made in the manner of a normal text > editor. TAB creates a single indentation in a single line. Right - I think it is a bug that turning off auto-formatting still gives you some level of auto-formatting. :-) > In addition, perhaps the switch for turning auto-formatting on and off could > be put in a more convenient place. Perhaps accessible somewhere through the script editor? Perhaps a button to take you to the prefs dialog where you make those changes? > Also, descriptions of auto-formatting and > the (non-standard) use of the TAB key could be more prominently displayed in > the Help. Agreed. > Finally, I would like to apologise for the rather confused nature of my > explanation. On top of my status as a refugee, I am extremely upset at the > conflict my suggestion seems to have stimulated. IMHO, sometimes people just have a bad day and want to vent, or are very protective of certain features, or are resistant to change. My feelings are that if someone disagrees with someone else, it is fine to make the disagreement public, but in a respectful and non-aggressive way. > Perhaps one reason for this > is that to have new ideas, one must necessarily be provocative, and this is > easily misinterpreted by those who are motivated to do so. I am seeking to > deflate the situation by returning to the scene of the crime and re-tracing > my steps. But only you are able to tell me whether I have succeeded or > failed. IMHO you have succeeded in spades. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From douggilliland at gmail.com Fri Jul 1 16:39:39 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Fri, 1 Jul 2005 16:39:39 -0400 Subject: Dreamcard Spell Check Message-ID: <890e3d2605070113392a57d4f5@mail.gmail.com> I'm new to Revolution and can't find a spell check built into the program. Any suggestions other than purchasing a spell check program? I'm working on a G4 PowerBook, and Tiger's built-in spell check doesn't work. Thanks, Doug Gilliland From erikhans08 at yahoo.com Fri Jul 1 16:46:47 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Fri, 1 Jul 2005 13:46:47 -0700 (PDT) Subject: a scripted "Save" does not compact? In-Reply-To: <198DCE91-61CA-444E-B047-1B786CAA01FD@writeme.com> Message-ID: <20050701204647.22015.qmail@web33005.mail.mud.yahoo.com> is it true that a scripted "Save" does not compact? ============ --- Dennis Brown wrote: > Richard, > > Thanks for the tip. I haven't run into that > problem yet, because I > have only created one card stacks. I do all > the stuff that one might > do with multiple cards, with multiple invisible > groups, and keeping > different data sets in custom properties. I > like the additional > control I have over the interface, and it also > makes the stack more > compact. > > Dennis > > On Jun 30, 2005, at 11:08 PM, Richard Gaskin > wrote: > > > FWIW, for card deletion there is sometimes > some space leftover as a > > result of the hashing scheme used, much as > there would be for > > record deletion in most databases. This can > be reclaimed with the > > compact command -- from the Dictionary entry > for "compact": > > > > When you cut or delete a card, some free > space is left > > within the stack. This empty space is > reclaimed when > > you choose File menu Save. Use the compact > command to > > reclaim this empty space without having to > save the stack. erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From see3d at writeme.com Fri Jul 1 16:56:17 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 01 Jul 2005 16:56:17 -0400 Subject: Dreamcard Spell Check In-Reply-To: <890e3d2605070113392a57d4f5@mail.gmail.com> References: <890e3d2605070113392a57d4f5@mail.gmail.com> Message-ID: <4BA5F293-65FD-4025-A7F8-7EEAF346B87C@writeme.com> Doug, Yup, don't waste your money. I purchased a spelling checker program that runs fine in Tiger, but is incompatible with DreamCard IDE. I have already BZ'd it. I would really like to see the built-in checker work in the IDE, I hate misspelling my comments. Are you looking to spell check inside the IDE or are you looking for your application script to spell check in text field inputs? Dennis On Jul 1, 2005, at 4:39 PM, Douglas Gilliland wrote: > I'm new to Revolution and can't find a spell check built into the > program. Any suggestions other than purchasing a spell check program? > I'm working on a G4 PowerBook, and Tiger's built-in spell check > doesn't work. > Thanks, > Doug Gilliland > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Fri Jul 1 17:51:47 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 14:51:47 -0700 Subject: [OT] Spammers: one down Message-ID: <42C5BAF3.4060900@fourthworld.com> Good reading for those of you concerned about the crippling cost of spam on our Internet: Florida man known as the "Timeshare Spammer" has pled guilty to violating the U.S. CAN-SPAM Act. Peter Moshou, who was alleged to have sent millions of unsolicited e-mails offering to help people sell their timeshare properties, entered the plea this week in U.S. District Court for the District of Northern Georgia, according to Earthlink, which has launched a civil lawsuit against the spammer. Moshou is among the first to be convicted under the federal law, known as the Controlling the Assault of Non-Solictied Pornography and Marketing Act, says Alexandra Trask, an Earthlink spokesperson. Jail Time, Fines Possible Moshou now faces sentencing by the Court, she says. Under the law, Moshou could face jail time or possibly millions of dollars in fines, which can be assessed at up to $250 per unsolicited e-mail. Earthlink is also seeking unspecified financial damages from Moshou, who was sued by the Atlanta Internet service provider in January. In addition to the CAN-SPAM violations, Earthlink's lawsuit also charges him racketeering and Computer Fraud and Abuse Act violations, the company says in a statement. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From chipp at chipp.com Fri Jul 1 17:51:28 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 01 Jul 2005 16:51:28 -0500 Subject: a scripted "Save" does not compact? In-Reply-To: <20050701204647.22015.qmail@web33005.mail.mud.yahoo.com> References: <20050701204647.22015.qmail@web33005.mail.mud.yahoo.com> Message-ID: <42C5BAE0.9030907@chipp.com> Yes Erik Hansen wrote: > is it true that > a scripted "Save" does not compact? From webmaster at dreamscapesoftware.com Fri Jul 1 18:45:12 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 01 Jul 2005 17:45:12 -0500 Subject: Dreamcard Spell Check In-Reply-To: <890e3d2605070113392a57d4f5@mail.gmail.com> References: <890e3d2605070113392a57d4f5@mail.gmail.com> Message-ID: <42C5C778.60500@dreamscapesoftware.com> Douglas Gilliland wrote: > I'm new to Revolution and can't find a spell check built into the > program. Any suggestions other than purchasing a spell check program? > I'm working on a G4 PowerBook, and Tiger's built-in spell check > doesn't work. Doug, At the moment I am working on a Spell Checker Plugin for Revolution and Dreamcard. It includes current dictionary(s) and checks the spelling of button/field labels as well as field contents. Give me a few days, I'll get back to work on it, and maybe I'll have something for you and everyone else. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From kray at sonsothunder.com Fri Jul 1 18:47:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Jul 2005 17:47:16 -0500 Subject: Dreamcard Spell Check In-Reply-To: <890e3d2605070113392a57d4f5@mail.gmail.com> Message-ID: On 7/1/05 3:39 PM, "Douglas Gilliland" wrote: > I'm new to Revolution and can't find a spell check built into the > program. Any suggestions other than purchasing a spell check program? > I'm working on a G4 PowerBook, and Tiger's built-in spell check > doesn't work. You might want to try Hugh Senior's spell checker: http://www.flexiblelearning.com/xtalk.htm click on "SpellChecker" link... it was specially built for use in Revolution. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Fri Jul 1 19:51:23 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 2 Jul 2005 01:51:23 +0200 Subject: Massive distribution In-Reply-To: Message-ID: <20050701234633.33A8582494B@mail.runrev.com> On Behalf Of > Pierre Sahores > > PS : who working with Revolution on Windows system ? > > In beetwin others, see MisterX, alias Xavier Bury, as one of ours > best geeks in about windows (and M3's or speedways passioned.. ;-) > > You're too kind Pierre ;) Im sure my mom will be happy to hear i've reached geekdomness ;) All i know, is that i learn all i can... And Pierre, that's a Z3 Coupe, not just a plain M3 Sedan - that's like comparing a C++ to Rev Scripting in the fun side of the equation... But dont worry about it, my mom doesn't know what rev or c++ is anyway but i think she's impressing everyone tell them i do c++ ;) cheers Xav From charles.hartman at conncoll.edu Fri Jul 1 20:32:29 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 1 Jul 2005 20:32:29 -0400 Subject: Mac scroll wheel Message-ID: <81B14099-001C-4F41-842C-2B93A223F7E2@conncoll.edu> I'm using a Logitech mouse with a scroll-wheel in OSX. In a scrolling field, it works as usual. In a scrolling group (which contains several fields and buttons), it doesn't. It _almost_ does nothing in that case, except that it may jigger _one_ of the fields up and down a little. Anyone know how to make it behave? Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From scott at tactilemedia.com Fri Jul 1 20:43:29 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 01 Jul 2005 17:43:29 -0700 Subject: Mac scroll wheel In-Reply-To: <81B14099-001C-4F41-842C-2B93A223F7E2@conncoll.edu> Message-ID: Recently, Charles Hartman wrote: > I'm using a Logitech mouse with a scroll-wheel in OSX. In a scrolling > field, it works as usual. In a scrolling group (which contains > several fields and buttons), it doesn't. It _almost_ does nothing in > that case, except that it may jigger _one_ of the fields up and down > a little. > > Anyone know how to make it behave? This is probably because there's nothing within the group in the space between your objects to catch mouse messages. One way to handle this is to place a transparent object (graphic, image, etc) in the group that spans the group's rect to catch scroll messages. I don't have a scrolling mouse in front of me but believe it might be necessary to trap rawKeyDown messages since the scroll wheel doesn't send out "standard" mouseDown/mouseUp messages. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From rpresender at cox.net Tue Jul 12 22:25:40 2005 From: rpresender at cox.net (Robert Presender) Date: Tue, 12 Jul 2005 19:25:40 -0700 Subject: Trial Days In-Reply-To: <20050701015859.F00FD8249CB@mail.runrev.com> References: <20050701015859.F00FD8249CB@mail.runrev.com> Message-ID: <07a8045d3138d52f9b7f63758021ea1e@cox.net> Hi Sarah and thanks, On Fri, 1 Jul 2005 Sarah Reichelt wrote snip > I don't see the need for this amount of code. Why do you not want to > use the English date? I like it because it is a consistent format no > matter what system settings are in place. I had assumed from reading the internet keyword doc that this date form would not be tied to the system date. I made the wrong assumption. I should have checked this out before. I could make an excuse because of age instead of stupidity! I have used English date. > Cheers, > Sarah Regards ... Bob From ambassador at fourthworld.com Fri Jul 1 23:13:29 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 20:13:29 -0700 Subject: Protecting QT via callbacks? Message-ID: <42C60659.6090804@fourthworld.com> I need to ship a CD with a number of QuickTime movie files, and the client would like to find a way to protect the files if possible. Since wired sprites seem to have a lot of capability and we have callbacks in Rev, I'm wondering if we could add a sprite track to the movie which makes a callback to the player (Rev) and expects a specific value to be returned; if the movie doesn't get the expected value it assumes it's running outside of our player and stops playing. Am I dreaming? Is this doable? I have GoLive (which has some cool wired sprite editing built in) and I can get LiveStagePro if needed. Thanks in advance for any tips you can offer - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From 3mcgrath at adelphia.net Fri Jul 1 23:14:53 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 1 Jul 2005 23:14:53 -0400 Subject: Dreamcard Spell Check In-Reply-To: <890e3d2605070113392a57d4f5@mail.gmail.com> References: <890e3d2605070113392a57d4f5@mail.gmail.com> Message-ID: <9e0909913af29f2de70c0d87c68aedc6@adelphia.net> Doug there was a discussion a little while ago on the list about spell checkers. Search the google with spell checker and you should turn up a couple of freebies. Here is the link that I use: http://www.google.com/advanced_search?q=site:lists.runrev.com It will produce 45 results about spell checkers. Here is a couple of answers from the results: Spell Catcher X by Cassidy & Green. It works very well w Rev. Here's the URL: http://www.casadyg.com/ AND You might check out something like this: http://www.nist.gov/dads/HTML/doubleMetaphone.html There are other similar algorithms also, but basically it would allow you to make phonetic matches. You might also look at some of the links here: http://aspell.sourceforge.net/ And here is another link to spell checker friendly word lists: http://wordlist.sourceforge.net/ HTH Tom On Jul 1, 2005, at 4:39 PM, Douglas Gilliland wrote: > I'm new to Revolution and can't find a spell check built into the > program. Any suggestions other than purchasing a spell check program? > I'm working on a G4 PowerBook, and Tiger's built-in spell check > doesn't work. > Thanks, > Doug Gilliland > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From katir at hindu.org Fri Jul 1 23:16:36 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 1 Jul 2005 17:16:36 -1000 Subject: Test to see if IP is propagated to our mail server Message-ID: <31D6CFE3-819C-45CA-B129-49A8DF6DC828@hindu.org> test From sims at ezpzapps.com Fri Jul 1 23:24:28 2005 From: sims at ezpzapps.com (sims) Date: Sat, 2 Jul 2005 05:24:28 +0200 Subject: Protecting QT via callbacks? In-Reply-To: <42C60659.6090804@fourthworld.com> References: <42C60659.6090804@fourthworld.com> Message-ID: At 8:13 PM -0700 7/1/05, Richard Gaskin wrote: >I need to ship a CD with a number of QuickTime movie files, and the >client would like to find a way to protect the files if possible. Have you seen: QT Movie Data Security: http://developer.apple.com/technotes/tn/tn2038.html "QuickTime access keys (also referred to as "media keys") make it possible to protect data. QuickTime access keys were introduced with QuickTime 3. The QuickTime access keys allow an application that supplies data to register a password for the data with QuickTime and allows a user to enter the password to gain access to the data." I will need this very same capability soon, it would be very helpful to know how you make out with implementing this sort of security. ciao, sims From lists at mangomultimedia.com Fri Jul 1 23:44:25 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 1 Jul 2005 20:44:25 -0700 Subject: Protecting QT via callbacks? In-Reply-To: <42C60659.6090804@fourthworld.com> References: <42C60659.6090804@fourthworld.com> Message-ID: On Jul 1, 2005, at 8:13 PM, Richard Gaskin wrote: > I need to ship a CD with a number of QuickTime movie files, and the > client would like to find a way to protect the files if possible. > > Since wired sprites seem to have a lot of capability and we have > callbacks in Rev, I'm wondering if we could add a sprite track to the > movie which makes a callback to the player (Rev) and expects a > specific > value to be returned; if the movie doesn't get the expected value it > assumes it's running outside of our player and stops playing. > > Am I dreaming? Is this doable? > > I have GoLive (which has some cool wired sprite editing built in) > and I > can get LiveStagePro if needed. > > Thanks in advance for any tips you can offer - This is possible though maybe not how you envisioned. A couple of ideas come to mind. A wired sprite cannot call a function in Rev and get a value back. You could open a socket using Rev and a wired sprite could make a call to the localhost (127.0.0.1). You could then return a value from Rev but this could easily be picked up by someone watching traffic on the machine so it wouldn't be very secure it you were just sending back the proper password or something. If you are using a codec other than Sorenson or you have other media types to protect you can use the EnhancedQT external to set variables in QuickTime movies. You can have wired sprites that will basically shutdown a movie if the variable isn't the correct value (shut off volume, hide all visual media, etc.). A similar method for doing this is talked about in Interactive QuickTime: Authoring Wired Media . As sims just mentioned in his post you can use media keys if the playback environment supports setting those. The Sorenson codec supports media keys but Revolution does not. Support for this could be implemented using an external - . One thing that has intrigued me for a while is the possibility of writing a custom QuickTime component that you can insert into every movie. As I understand it you can have your application register components with QuickTime when the app launches meaning it doesn't have to be installed. By only registering the component with your app then you could successfully load movies that use your component. Any other QT app would fail to work since the component was missing. I think this would be possible but I haven't played with it at all. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From mswindel at santacruz.k12.ca.us Fri Jul 1 23:46:00 2005 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Fri, 1 Jul 2005 20:46:00 -0700 Subject: test Message-ID: <94038f398395d7529b26c585d5bf56be@santacruz.k12.ca.us> just checking...posts have not been appearing From yoursignup at yahoo.com Sat Jul 2 00:49:11 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Fri, 1 Jul 2005 18:49:11 -1000 Subject: resume rev backdrop on top bug? In-Reply-To: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> Message-ID: Tom, I agree, the backdrop in the IDE falls into the category of an annoyance. However, there is something that happened to me twice recently that would only take a few lines of code in the IDE to change and I think is much more important. There is no confirm, on delete of objects. Twice I had a group of objects selected, with settings, positioning and script. I thought I had clicked into an email and hit the delete key. Unfortunately, the Rev IDE was still the active window and poof everything was gone. And, as we all know, there is no Undo (at least not that I'm aware of in 2.51). Anyone have an Undo? But, a simple "Are you sure you want to delete the selected objects?" would have been most welcome! Of course, I would love a real Undo, where anything you have done back XX number of steps can be undone. But, knowing what it takes to program this, I'm not even going to suggest it. But, a confirm on delete, would be nice. On further reflection, I suppose I could write my own on rawKeyDown handler that traps the Delete Key, and make sure it's in every stack. But, something like this really needs to be in the IDE, itself. Jim >Now, That might not be a bad enhancement request, but I >would rather see other enhancements first and just continue rolling my >own for specific situations. >Hope this was helpful, >Tom From rbarber at yhb.att.ne.jp Sat Jul 2 00:52:08 2005 From: rbarber at yhb.att.ne.jp (ron barber) Date: Sat, 2 Jul 2005 13:52:08 +0900 Subject: Mac/Win UI question In-Reply-To: <20050630215641.21842.qmail@web60521.mail.yahoo.com> References: <20050630215641.21842.qmail@web60521.mail.yahoo.com> Message-ID: Hi, It seems like Mac used to dim menus that had no active/relevant menuitems but I don't see that happening anymore. Is that since OS X? Menuitems dim but not the menus themselves. See TextEdit, TextWrangler our own Rev. Typically this is occurs when to a Windows or Format menu when no window is open. Apple's HIG (thanks Richard for the link) seems to be ambiguous: "If all of the items in a menu or submenu are unavailable, the menu or submenu title is dimmed. The user can still open the menu, but all of its items are dimmed to indicate that these items are not available in the present context." Do you dim only menuitems or do you also dim the menus on the Mac? Windows says: "If all items in a menu are disabled, disable its menu title. If you disable a menu item or its title, the user can still browse to it or choose it." Is this consistent within the WIN enviroment? Do you dim the menus and menuitems appropriately in your apps? Thanks Ron From ambassador at fourthworld.com Sat Jul 2 01:28:12 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 22:28:12 -0700 Subject: resume rev backdrop on top bug? In-Reply-To: References: Message-ID: <42C625EC.3060700@fourthworld.com> Jim Bufalini wrote: > Twice I had a group of objects selected, with settings, positioning and > script. I thought I had clicked into an email and hit the delete key. > Unfortunately, the Rev IDE was still the active window and poof everything > was gone. And, as we all know, there is no Undo (at least not that I'm aware > of in 2.51). Anyone have an Undo? I've spent a lot of time dealing with the intricacies of Undo in recent weeks, as I'm adding Undo throughout a rather complex app. You're right, it ain't simple. :) But as far as the engine goes, deletion of objects when the pointer tool is active should be completely undoable. I just tried a few deletions in both Rev and MC and they worked fine. If you can find a recipe for that, please add it to the notes on this Undo anomaly I discovered: While dirt simple for the user, implementing Undo is a special form of hell for developers. Hopefully with a little assistance we can pin down any anomalies and move it closer to perfection. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jul 2 01:54:28 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 22:54:28 -0700 Subject: highlight a button in standalone+.rev app In-Reply-To: <1120214128.42c51c70b1ea6@webmail.armbase.com> References: <1120208194.42c505423d749@webmail.armbase.com> <42C5191D.6010306@fourthworld.com> <1120214128.42c51c70b1ea6@webmail.armbase.com> Message-ID: <42C62C14.4060607@fourthworld.com> rev at armbase.com wrote: >>> I'd like to have just one button injector and a system to customise >>> the function of the button. What I envisage is a drop down list that >>> enters a script into the button. >> >> Have you considered using a custom property instead? > > I hadn't really considered this for one really stupid reason. I have > not got a clue how custom properties work. I struggled for ages with > TAB's and then EUREKA!!!!! :-) I cried. I got it and felt so stupid > because it was so easy. > > I read a lot about custom properties but I don't know of any simple examples. Thanks for the kind words. You might also find this "Mini Tutorial on Properties" useful: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Jul 2 02:00:39 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 23:00:39 -0700 Subject: =?iso-8859-1?q?=5F=5BFrench=5D=5FUn=5Fsite=5Fd=E9di=E9=5F=E0?= =?iso-8859-1?q?=5FR=E9volution?= In-Reply-To: <573339F0-BD00-4E01-A225-588D22DB7373@laposte.net> References: <1gyzmmh.1kgfnk21wxcioxM%mcdomi@free.fr> <8C477E63-B193-4A77-806B-24908071566F@easynet.fr> <42C47E27.7000609@fourthworld.com> <573339F0-BD00-4E01-A225-588D22DB7373@laposte.net> Message-ID: <42C62D87.4080103@fourthworld.com> Ludovic THEBAULT wrote: >> In the meantime, there are already Japanese and German discussion >> boards for Rev, included in the Links page at revJournal: >> >> >> If you start a French list/discussion board I'll happily add it to >> that page. > > The french list exists, but there is only one message by month ! > here : http://fr.groups.yahoo.com/group/revolutionfr/ > > We need more participants ! I just added it to the revJournal Link pages -- hopefully we can raise the group's visibility and attract more membership. I know there's plenty of French-speaking Rev users, so if the word gets out it shouldn't be too hard to make that list quite lively. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Jul 2 02:38:41 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Jul 2005 23:38:41 -0700 Subject: newTool? In-Reply-To: References: Message-ID: <42C63671.2030602@fourthworld.com> Malte Brill wrote: > Hi all, > > seems as if the newTool message is trapped in the frontscript and > doesn?t get sent to the card. Is this intended behaviour? > > From the docs: > > Handle the newTool message if you want to change something when a tool > is chosen. > > No way to use it in the IDE? Use a frontScript. devolution's main window does that, and it's a better move all around since the newTool message is sent to the topstack, and usually it's needed in a palette. And of course, pass the message when you're done. :) on newTool UpdateMyPalettes pass newTool end newTool -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Jul 2 03:11:00 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Jul 2005 00:11:00 -0700 Subject: compileIt for revolution? In-Reply-To: <42BA0EEE.6000706@tweedly.net> References: <20050622014833.81974.qmail@web60517.mail.yahoo.com> <42B9733D.40801@dreamscapesoftware.com> <42BA02A9.7000402@fourthworld.com> <42BA0EEE.6000706@tweedly.net> Message-ID: <42C63E04.7040801@fourthworld.com> Alex Tweedly wrote: Alex, that's a valuable itemization. I've copied it below in its entirety because it's worth a second read. Has it been logged as a request to BZ? It would be great to see those addressed. This seems like an opportunity here for someone who's worked successfully with the SDK to consider teaming up with others to make a nifty Rev-based IDE specifically for making Rev externals. By taking care of all the tedious stuff, it could make crafting externals a lot more fun -- and you wouldn't have to leave you C environment for testing, since it'd all be under one roof. :) Could this be done by generating make files and running GCC through shell(), or am I dreaming? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com >>> 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.... From ambassador at fourthworld.com Sat Jul 2 03:17:24 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Jul 2005 00:17:24 -0700 Subject: scripting challenge: Large/Smaller text size Message-ID: <42C63F84.8080902@fourthworld.com> Mr. Canyon and anyone else who enjoys an iterative optimization exercise: A common feature in apps that display text are "Larger"/"Smaller" text size options. It seems simple at first glance, but in practice it's hard to come up with an especially fast version, given the need to take into account any variety of varying sizes in the source text. If any of you have a script for such a thing, I wonder if the sort of group review process that was done with the clock interface would lend itself to optimizing this? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From psahores at easynet.fr Sat Jul 2 04:15:39 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 2 Jul 2005 10:15:39 +0200 Subject: Massive distribution In-Reply-To: <20050701234633.33A8582494B@mail.runrev.com> References: <20050701234633.33A8582494B@mail.runrev.com> Message-ID: Le 2 juil. 05 ? 01:51, MisterX a ?crit : > > On Behalf Of > >> Pierre Sahores >> > > >>> PS : who working with Revolution on Windows system ? >>> >> >> In beetwin others, see MisterX, alias Xavier Bury, as one of ours >> best geeks in about windows (and M3's or speedways passioned.. ;-) >> >>> >>> > > You're too kind Pierre ;) Im sure my mom will be happy to hear i've > reached > geekdomness ;) All i know, is that i learn all i can... And in learning always and always all what we can, we are going head with five to teen years advance over the low-creative marketed / buzzed technologies and development methods... When i hear one side : "OOP is the best" and second : "Functional langages are more powerfull", i always respond : "Why don't you try to use both at once, to be sure to get the best from both worlds ? Just try Revolution..." > > And Pierre, that's a Z3 Coupe, not just a plain M3 Sedan - that's like > comparing a C++ to Rev Scripting in the fun side of the equation... My mistake, Xavier ;-) I would'nt want to have you (or me) coding in C ++ nor Java instead of beeing real creative / high productive designers AND developers at the mean time. > > But dont worry about it, my mom doesn't know what rev or c++ is > anyway but i > think she's impressing everyone tell them i do c++ ;) > > cheers > Xav > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- That's all for yet, Friends, Kind Regards, Pierre Sahores "The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn." Alvin Toffler From revolution at derbrill.de Sat Jul 2 04:54:27 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 2 Jul 2005 10:54:27 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <20050701234636.9843682497B@mail.runrev.com> Message-ID: Hi Richard, A challenge! Jippieh!!!! ok, here is my first shot. Create a text field called "test" , a button for growing the text Script in the button: on mouseUp put the htmlText of fld 1 into theHtml replace "size=""e with "size="&numtoChar(1500) in theHTML set the itemdel to numToChar(1500) if the number of items of theHTML<>1 then put 0 into itemCount repeat for each item theItem in theHTML add 1 to itemCount if itemCount=1 then put theItem into newHTML next repeat end if put 1 into counter if ">" is in theItem then repeat forever add 1 to counter if char counter of theItem=quote then exit repeat end repeat put char 1 to counter-1 of theItem into theSize put theSize+1 into theSize put theSize into char 1 to counter-1 of theItem end if put quote&theItem after newHTML end repeat set the htmlText of fld "test" to newHTML set the textSize of fld "test" to the effective textSize of fld "test"+1 end if end mouseUp I hope this mail gets through. Still having trouble sending mail to the list. Cheers, Malte From klaus at major-k.de Fri Jul 1 11:31:09 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 1 Jul 2005 17:31:09 +0200 Subject: resume rev backdrop on top bug? In-Reply-To: <68347d76da7822ef154f4e351c891368@adelphia.net> References: <9cf23b0f7d1d6353cd935c08adab8124@adelphia.net> <20FB806D-C65D-4D32-A377-414FBD3B0EB5@sosmartsoftware.com> <68347d76da7822ef154f4e351c891368@adelphia.net> Message-ID: <31984A09-0E1F-4B1A-9DA1-4C78DE222FC1@major-k.de> Hi Thomas McGrath III: > I have seen patterns used before but did not realize we could use > images of our own. Very cool Bewared of the limit on OS X! Just tested with an 640*480 pixel JPG: The resulting "tile" on the OS X background was 512*256 pixel :-/ On windows you can use "bigger" images, if i remember correctly... > Tom Regards Klaus Major klaus at major-k.de http://www.major-k.de From revolution at derbrill.de Sat Jul 2 05:05:15 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 2 Jul 2005 11:05:15 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <20050701234636.9843682497B@mail.runrev.com> Message-ID: <6751771E-EAD8-11D9-BCD0-0030659A795C@derbrill.de> Minor correction: on mouseUp put the htmlText of fld 1 into theHtml replace "size=""e with "size="&numtoChar(1500) in theHTML set the itemdel to numToChar(1500) if the number of items of theHTML<>1 then put 0 into itemCount repeat for each item theItem in theHTML add 1 to itemCount if itemCount=1 then put theItem into newHTML next repeat end if put 1 into counter if ">" is in theItem then repeat forever add 1 to counter if char counter of theItem=quote then exit repeat end repeat put char 1 to counter-1 of theItem into theSize put theSize+1 into theSize put theSize into char 1 to counter-1 of theItem end if put quote&theItem after newHTML end repeat set the htmlText of fld "test" to newHTML end if set the textSize of fld "test" to \ the effective textSize of fld "test"+1 end mouseUp From revolution at derbrill.de Sat Jul 2 05:47:51 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 2 Jul 2005 11:47:51 +0200 Subject: test - please ignore Message-ID: <5AF3079A-EADE-11D9-BCD0-0030659A795C@derbrill.de> will this go through? From b.xavier at internet.lu Sat Jul 2 06:09:57 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 2 Jul 2005 12:09:57 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <42C63F84.8080902@fourthworld.com> Message-ID: <20050702100502.7D08F824D13@mail.runrev.com> Richard, Have tried the html way with by anychance? set the htmltext of fld "text" to ""&the htmltext of fld "text"&"" Nope... that didn't work but it was worth trying ;) and so here's the taoo's script in draft form ;) (sorry, html is just so messy and there's no guarantee of there being a font size tag anyway... while the field's text does... This function is now added to the editNO2 palette - thanks for the ideas and a few more variants to come. -- inc is the increment in size (can be negative) on increasetextsize thisfield, inc put the length of fld thisfield into lengthtext repeat with x = 1 to lengthText get the textsize of char x of fld thisfield set the textsize of char x of fld thisfield to it + inc end repeat -- voila end increasetextsize the simpler the script, the easier it is to adapt for other functions... to other uses like changing colors, lineheight, grids, etc... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Saturday, July 02, 2005 09:17 > To: How to use Revolution > Subject: scripting challenge: Large/Smaller text size > > Mr. Canyon and anyone else who enjoys an iterative > optimization exercise: > > A common feature in apps that display text are > "Larger"/"Smaller" text size options. It seems simple at > first glance, but in practice it's hard to come up with an > especially fast version, given the need to take into account > any variety of varying sizes in the source text. > > If any of you have a script for such a thing, I wonder if the > sort of group review process that was done with the clock > interface would lend itself to optimizing this? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From klaus at major-k.de Fri Jul 1 08:00:05 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 1 Jul 2005 14:00:05 +0200 Subject: resume rev backdrop on top bug? In-Reply-To: References: Message-ID: <502818A1-2E58-4FE2-A399-D614A041A10E@major-k.de> Hi Jim, > I'm not sure if what's being talked about here is the same thing, > but if in > the IDE, if you turn backdrop on (not even sure where in Edit -> > Preferences > I did that), it is in the Rev menubar under "View". > it covers everything, even the taskbar and the only way to get > to any other program or your desktop is to minimize Rev. Is this the > "feature" being talked about? If it is, I find it extremely > annoying and > would vote to be able to size the background, like ever other > program out > there (in the PC world anyway). So, what's the number to vote for? > > Jim i just tested this on my PC, and i would say, this is another bug :-/ But it works as exspected on a Mac... It does not only hide the taskbar but also the Rev menubar, so you cannot open the messagebox or do anything else and you are ehm LICKED :-D Since i do not often work on my PC i cannot tell if this was the case in earlier versions of Rev < 2.6. Any hints? Regards Klaus Major klaus at major-k.de http://www.major-k.de P.S. I don't know why, but i always mark my bugs as "major" in godzilla ;-) From klaus at major-k.de Fri Jul 1 03:58:24 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 1 Jul 2005 09:58:24 +0200 Subject: Suggestion for correcting the IDE's script editor AND Endless ranting and rude insults AND other points In-Reply-To: <3cf28f63122de346c4ff9b27eff7b68f@mac.com> References: <20050629113214.CAF17824976@mail.runrev.com> <812a035aa1c5d419a5955f456c2d9279@mac.com> <42C47819.4010700@sover.net> <17710044-AC64-4E14-9CF9-4FD50E102A81@writeme.com> <3cf28f63122de346c4ff9b27eff7b68f@mac.com> Message-ID: Hi Bj?rnke, > On Jul 01 2005, at 01:29, Dennis Brown wrote: >> I would be MORE than happy to segregate my posts into the two >> different categories. >> There is a lot of traffic on this list, it would make sense to >> divide up the traffic into these two areas. >> > There is an Improve Rev list, but only rich people what a sad, poor and cheap joke :-/ > are allowed to participate there (aka Enterprise owners). That is > RunRev's decision, not mine of course... > > sorry > Bjoernke Regards Klaus Major klaus at major-k.de http://www.major-k.de From alex at tweedly.net Sat Jul 2 06:52:13 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 02 Jul 2005 11:52:13 +0100 Subject: compileIt for revolution? In-Reply-To: <42C63E04.7040801@fourthworld.com> References: <20050622014833.81974.qmail@web60517.mail.yahoo.com> <42B9733D.40801@dreamscapesoftware.com> <42BA02A9.7000402@fourthworld.com> <42BA0EEE.6000706@tweedly.net> <42C63E04.7040801@fourthworld.com> Message-ID: <42C671DD.403@tweedly.net> Richard Gaskin wrote: > > Has it been logged as a request to BZ? It would be great to see those > addressed. > No, it hasn't - but only because Mark has seen it, and responded to me, and I've sent him more suggestions directly, ... and so I'm comfortable they will be incorporated into the next version of the SDK; otherwise I would create a BZ to put them in. > This seems like an opportunity here for someone who's worked > successfully with the SDK to consider teaming up with others to make a > nifty Rev-based IDE specifically for making Rev externals. By taking > care of all the tedious stuff, it could make crafting externals a lot > more fun -- and you wouldn't have to leave you C environment for > testing, since it'd all be under one roof. :) > > Could this be done by generating make files and running GCC through > shell(), or am I dreaming? > Yes, I think it could be - though I haven't tried it yet. I'm not so sure about building a useful Rev-based IDE for externals. Such an IDE would need to consist of the following parts: - code editor. Doable - though building a code-aware editor with formatting and color (very useful for C) is far from trivial. Might be possible to hive this off to an external editor (emacs, BBedit, etc.) - create/manage additional files (makefiles, .def files if they're needed, etc.) Definitely doable and useful. - debugger. Probably impossible. The "create and manage" files part would be useful in itself (though possibly need to handles a number of variants for different compilers); and that might be very helpful for people starting to look at externals. But when writing C externals, I found it pretty easy to follow bad pointers, or all the usual C problems - each resulting in access violations and termination of the Rev IDE. So I believe a useful IDE for C (nowadays) *must* provide a protected environment for running the code, and really should provide integrated debugging. The only way I've found to avoid repeated crashes was to build a small "support system" to emulate a small part of the Rev interface, and the I can build my external and some test programs in C, test and debug the "test prog+external" bundle within a real C environment (Bloodshed in my case). Only once I've got that working and at least mostly debugged do I try the external from Rev. This may be purely a result of my poor C programming (although I wrote C full-time for a few years, that was nearly 20 years ago, so I really have forgotten more about writing C than I still remember). But I suspect that most people who aren't experienced, current C programmers would find it much the same. I'd love to hear about the development and testing techniques used by experienced external developers. -- 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.8.8/35 - Release Date: 30/06/2005 From yoursignup at yahoo.com Sat Jul 2 07:05:31 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Sat, 2 Jul 2005 01:05:31 -1000 Subject: Undo (was resume rev backdrop on top bug?) In-Reply-To: <42C625EC.3060700@fourthworld.com> Message-ID: Richard, >But as far as the engine goes, deletion of objects when the pointer tool >is active should be completely undoable. I just tried a few deletions >in both Rev and MC and they worked fine. I re-tested also. Try this. 1. Select several objects. 2. Hit your Delete key. 3. Click anywhere on your stack. 4. Now, hit your Undo key. It does not undo the deletion of objects. I believe this is because of the one-step undo combined with a lack of discrimination between an action worthy of undo vs. one that never has to be undone (ie. a mouse click, itself). When my objects disappeared, I clicked all over in disbelief that they could be gone without warning. Again, simplest answer for this right now is an, "Are you sure..." confirmation message, before deleting objects. Trying to write a real undo is a major undertaking. -Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Richard Gaskin Sent: Friday, July 01, 2005 7:28 PM To: How to use Revolution Subject: Re: resume rev backdrop on top bug? Jim Bufalini wrote: > Twice I had a group of objects selected, with settings, positioning and > script. I thought I had clicked into an email and hit the delete key. > Unfortunately, the Rev IDE was still the active window and poof everything > was gone. And, as we all know, there is no Undo (at least not that I'm aware > of in 2.51). Anyone have an Undo? From revolution at derbrill.de Fri Jul 1 05:22:25 2005 From: revolution at derbrill.de (Malte Brill) Date: Fri, 1 Jul 2005 11:22:25 +0200 Subject: highlight a button in standalone+.rev app Message-ID: Hi Bob, you need to take care that you don?t run into the scriptlimits limitation. If you set the script of a button on the fly in a standalone, that script will be limited to 10 transcript statements. What you can do is have all needed script in the card or stack script. Then set a customproperty of the button to the name of the handler you want to call. e.G have a cProp called myScript that is set to myCoolHandler in the button have only this script: on mouseUp send the myScript of me to me end mouseUp This will tigger the handler myCoolHandler in your card/stack Hope that helps, Malte From kray at sonsothunder.com Fri Jul 1 18:49:21 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 01 Jul 2005 17:49:21 -0500 Subject: design problem: fonts and spacing In-Reply-To: <40905FC7-D81C-488A-9A80-525531089322@conncoll.edu> Message-ID: On 7/1/05 9:41 AM, "Charles Hartman" wrote: > > It is the case. It's the spaces, not the visible characters, whose > representation seems to depend on unknown (inaccessible?) contextual > factors. Is it possible it's just Palatino? Or did you try other fonts? Just curious... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mark at maseurope.net Sat Jul 2 07:41:35 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 2 Jul 2005 12:41:35 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <20050702100502.7D08F824D13@mail.runrev.com> References: <20050702100502.7D08F824D13@mail.runrev.com> Message-ID: <33042489b758f15078b8e41f335f249e@maseurope.net> I think you should get the 'effective' textSize of char x in the handler, since if the textSize is inherited from it's owner, which maybe the field, the card, stack or whatever, it's own textSize will be zero.... Cheers, Mark On 2 Jul 2005, at 11:09, MisterX wrote: > Richard, > > Have tried the html way with by anychance? > > set the htmltext of fld "text" to ""&the htmltext of fld > "text"&"" > > Nope... that didn't work but it was worth trying ;) > > and so here's the taoo's script in draft form ;) > > (sorry, html is just so messy and there's no guarantee of there being > a font > size tag anyway... while the field's text does... > > This function is now added to the editNO2 palette - thanks for the > ideas > and a few more variants to come. > > -- inc is the increment in size (can be negative) > > on increasetextsize thisfield, inc > put the length of fld thisfield into lengthtext > repeat with x = 1 to lengthText > get the textsize of char x of fld thisfield > set the textsize of char x of fld thisfield to it + inc > end repeat > -- voila > end increasetextsize > > the simpler the script, the easier it is to adapt for other > functions... to > other uses like changing colors, lineheight, grids, etc... > > cheers > Xavier > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Richard Gaskin >> Sent: Saturday, July 02, 2005 09:17 >> To: How to use Revolution >> Subject: scripting challenge: Large/Smaller text size >> >> Mr. Canyon and anyone else who enjoys an iterative >> optimization exercise: >> >> A common feature in apps that display text are >> "Larger"/"Smaller" text size options. It seems simple at >> first glance, but in practice it's hard to come up with an >> especially fast version, given the need to take into account >> any variety of varying sizes in the source text. >> >> If any of you have a script for such a thing, I wonder if the >> sort of group review process that was done with the clock >> interface would lend itself to optimizing this? >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Sat Jul 2 07:49:32 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 2 Jul 2005 12:49:32 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <33042489b758f15078b8e41f335f249e@maseurope.net> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> Message-ID: <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> But as I just found, on a field with a real lot of text (a field with 437477 chars), this will be impractically slow.... On 2 Jul 2005, at 12:41, Mark Smith wrote: > I think you should get the 'effective' textSize of char x in the > handler, since if the textSize is inherited from it's owner, which > maybe the field, the card, stack or whatever, it's own textSize will > be zero.... > > > Cheers, > > Mark > > On 2 Jul 2005, at 11:09, MisterX wrote: > >> Richard, >> >> Have tried the html way with by anychance? >> >> set the htmltext of fld "text" to ""&the htmltext of fld >> "text"&"" >> >> Nope... that didn't work but it was worth trying ;) >> >> and so here's the taoo's script in draft form ;) >> >> (sorry, html is just so messy and there's no guarantee of there being >> a font >> size tag anyway... while the field's text does... >> >> This function is now added to the editNO2 palette - thanks for the >> ideas >> and a few more variants to come. >> >> -- inc is the increment in size (can be negative) >> >> on increasetextsize thisfield, inc >> put the length of fld thisfield into lengthtext >> repeat with x = 1 to lengthText >> get the textsize of char x of fld thisfield >> set the textsize of char x of fld thisfield to it + inc >> end repeat >> -- voila >> end increasetextsize >> >> the simpler the script, the easier it is to adapt for other >> functions... to >> other uses like changing colors, lineheight, grids, etc... >> >> cheers >> Xavier >> >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com >>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>> Richard Gaskin >>> Sent: Saturday, July 02, 2005 09:17 >>> To: How to use Revolution >>> Subject: scripting challenge: Large/Smaller text size >>> >>> Mr. Canyon and anyone else who enjoys an iterative >>> optimization exercise: >>> >>> A common feature in apps that display text are >>> "Larger"/"Smaller" text size options. It seems simple at >>> first glance, but in practice it's hard to come up with an >>> especially fast version, given the need to take into account >>> any variety of varying sizes in the source text. >>> >>> If any of you have a script for such a thing, I wonder if the >>> sort of group review process that was done with the clock >>> interface would lend itself to optimizing this? >>> >>> -- >>> Richard Gaskin >>> Fourth World Media Corporation >>> ___________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Sat Jul 2 08:03:02 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 2 Jul 2005 08:03:02 -0400 Subject: design problem: fonts and spacing In-Reply-To: References: Message-ID: <9F179F58-9E96-4DFE-9641-9D03395AB138@conncoll.edu> It might well be just Palatino. I'm just finishing up recasting the examples (only) in Courier, and haven't seen a problem there. Palatino is probably not a good choice anyway (though it's my favorite font for many purposes) -- I see that my 24-point Palatino title on the top card of my stack comes out in default-size default- font (Arial?) print on Windows. I assume that's because if a stack calls for a font that isn't available on the present system, a default font is substituted. Is that right? That leads to another question: What fonts is it _safe_ to assume one will find on Mac, OSX, Windows? (Linux?) I know it's possible to ask in a script, but that doesn't help very much with the design problem, when something about the font is critical. Is there a list, somewhere, of (the presumably very few) fontnames that will always work everywhere? Charles Hartman On Jul 1, 2005, at 6:49 PM, Ken Ray wrote: > On 7/1/05 9:41 AM, "Charles Hartman" > wrote: > > >> >> It is the case. It's the spaces, not the visible characters, whose >> representation seems to depend on unknown (inaccessible?) contextual >> factors. >> > > Is it possible it's just Palatino? Or did you try other fonts? > > Just curious... > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bill at bluewatermaritime.com Sat Jul 2 08:18:25 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 02 Jul 2005 08:18:25 -0400 Subject: Tiger breaks hyperCard? In-Reply-To: Message-ID: I still can't figure out how to get nine to five reports and hypercard to work with tiger. Hypercard works ok with 10.41 but whenever you use reports it can't find the report file. I tried putting everything in a separate hard drive and that made no difference. On 6/29/05 1:42 PM, "Marty Billingsley" wrote: > That's just what we've been doing: copying over an old system folder. > Seems to work just fine; every classic app I've tried (admittedly, haven't > launched HC since installing Tiger) has worked well. > > cheers, > - marty > > -- > Marty Billingsley (marty at ucls.uchicago.edu) > The University of Chicago Laboratory Schools > > > Dan Shafer writes: >> I can't say what the general case might be, but I *can* report that I >> merely copied an old System Folder from a Classic install on OS X >> 10.3 to my Tiger drive after installation and it seems to work fine. >> I don't use it often and I surely don't push it around much, but it >> hasn't crashed, broken, complained or otherwise caused a fuss. >> >> >> On Jun 28, 2005, at 8:46 AM, Eric Chatonet wrote: >> >>> Hi Todd and Jim, >>> >>> To be more precise, I was told that you can't install an OS 9.2.2 >>> system folder on any partition where Tiger (or any OS X system) is >>> already installed. >>> It does not work: OS 9 must be installed first or installed on >>> another disk or partition... >>> At the very worst you have to backup, erase your Tiger disk, make >>> an OS 9 clean install (just copying an existing system folder is >>> risky :-) and a Tiger clean install on top :-( >>> Then when you see the hard disk prices at the moment, it might be a >>> better solution to buy an external firewire one... >>> >>> Le 28 juin 05 ? 01:22, Todd Higgins a ?crit : >>> >>> >>> >>>> This is true. New machines do not ship with the Classic System >>>> Folder. But If you have an existing Macintosh you can just copy >>>> the System Folder over. >>>> >>>> Todd >>>> >>>> On Jun 27, 2005, at 6:34 PM, Jim Hurley wrote: >>>> >>>> >>>> >>>>> I had heard, from a distance source, that a new Mac with Tiger >>>>> installed will not necessarily include classic. Anybody know >>>>> whether this is true? >>>>> >>>>> >>> > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From revolution at derbrill.de Fri Jul 1 11:07:10 2005 From: revolution at derbrill.de (Malte Brill) Date: Fri, 1 Jul 2005 17:07:10 +0200 Subject: test - ignore Message-ID: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed leo tellus, vulputate in, malesuada eu, posuere at, augue. Mauris fringilla lorem porttitor justo. Quisque id tellus vel diam fermentum volutpat. Duis fringilla libero et libero. Nullam tortor ante, mattis eget, hendrerit ac, dignissim at, purus. Fusce interdum euismod massa. Pellentesque sit amet arcu vitae elit dignissim fringilla. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. Cras dignissim tortor eget ipsum. Sed porttitor blandit risus. Ut egestas. Nullam sem elit, laoreet et, hendrerit eget, dictum et, leo. Cras ut ante sed velit semper suscipit. Morbi a odio. Proin sollicitudin neque in ante. Etiam euismod auctor diam. From bill at bluewatermaritime.com Sat Jul 2 08:57:39 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 02 Jul 2005 08:57:39 -0400 Subject: Tiger breaks hyperCard? In-Reply-To: Message-ID: The error I get is "Reports can't read the stack header and is unable to proceed. Is your stack password protected?" -- the stack is not password protected. I have no idea what the stack header is. On 7/2/05 8:18 AM, "Bill" wrote: > I still can't figure out how to get nine to five reports and hypercard to > work with tiger. Hypercard works ok with 10.41 but whenever you use reports > it can't find the report file. I tried putting everything in a separate hard > drive and that made no difference. > > > On 6/29/05 1:42 PM, "Marty Billingsley" > wrote: > >> That's just what we've been doing: copying over an old system folder. >> Seems to work just fine; every classic app I've tried (admittedly, haven't >> launched HC since installing Tiger) has worked well. >> >> cheers, >> - marty >> >> -- >> Marty Billingsley (marty at ucls.uchicago.edu) >> The University of Chicago Laboratory Schools >> >> >> Dan Shafer writes: >>> I can't say what the general case might be, but I *can* report that I >>> merely copied an old System Folder from a Classic install on OS X >>> 10.3 to my Tiger drive after installation and it seems to work fine. >>> I don't use it often and I surely don't push it around much, but it >>> hasn't crashed, broken, complained or otherwise caused a fuss. >>> >>> >>> On Jun 28, 2005, at 8:46 AM, Eric Chatonet wrote: >>> >>>> Hi Todd and Jim, >>>> >>>> To be more precise, I was told that you can't install an OS 9.2.2 >>>> system folder on any partition where Tiger (or any OS X system) is >>>> already installed. >>>> It does not work: OS 9 must be installed first or installed on >>>> another disk or partition... >>>> At the very worst you have to backup, erase your Tiger disk, make >>>> an OS 9 clean install (just copying an existing system folder is >>>> risky :-) and a Tiger clean install on top :-( >>>> Then when you see the hard disk prices at the moment, it might be a >>>> better solution to buy an external firewire one... >>>> >>>> Le 28 juin 05 ? 01:22, Todd Higgins a ?crit : >>>> >>>> >>>> >>>>> This is true. New machines do not ship with the Classic System >>>>> Folder. But If you have an existing Macintosh you can just copy >>>>> the System Folder over. >>>>> >>>>> Todd >>>>> >>>>> On Jun 27, 2005, at 6:34 PM, Jim Hurley wrote: >>>>> >>>>> >>>>> >>>>>> I had heard, from a distance source, that a new Mac with Tiger >>>>>> installed will not necessarily include classic. Anybody know >>>>>> whether this is true? >>>>>> >>>>>> >>>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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.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 at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From mark at maseurope.net Sat Jul 2 09:08:32 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 2 Jul 2005 14:08:32 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> Message-ID: So this is the best I've come up with, on a 1.5Ghz mac powerbook. on increaseTextSize inc lock screen put the rtfText of fld 1 into ttext replace "{\fs" with " {\fs " in ttext --add spaces to make sure tags and their values are separate words set the textSize of fld 1 to the effective textSize of fld 1 + inc put 0 into c repeat get wordOffset("{\fs",ttext,c) if it > 0 then add inc to word it+1+c of ttext put it+1+c into c else exit repeat end if end repeat replace " {\fs " with "{\fs" in ttext -- remove previously added spaces set the rtfText of fld 1 to ttext end increaseTextSize In a field with 20000 words, 2000 of which were of a different size than the field as a whole, this took just under 6 seconds to increase the size of all the words. Not too impressive compared to AppleWorks 6 which did it effectively instantaneously. In a field with only enough text to more or less fill the screen, it took a more usable 21 milliseconds. Cheers, Mark On 2 Jul 2005, at 12:49, Mark Smith wrote: > But as I just found, on a field with a real lot of text (a field with > 437477 chars), this will be impractically slow.... > > > On 2 Jul 2005, at 12:41, Mark Smith wrote: > >> I think you should get the 'effective' textSize of char x in the >> handler, since if the textSize is inherited from it's owner, which >> maybe the field, the card, stack or whatever, it's own textSize will >> be zero.... >> >> >> Cheers, >> >> Mark >> >> On 2 Jul 2005, at 11:09, MisterX wrote: >> >>> Richard, >>> >>> Have tried the html way with by anychance? >>> >>> set the htmltext of fld "text" to ""&the htmltext of fld >>> "text"&"" >>> >>> Nope... that didn't work but it was worth trying ;) >>> >>> and so here's the taoo's script in draft form ;) >>> >>> (sorry, html is just so messy and there's no guarantee of there >>> being a font >>> size tag anyway... while the field's text does... >>> >>> This function is now added to the editNO2 palette - thanks for the >>> ideas >>> and a few more variants to come. >>> >>> -- inc is the increment in size (can be negative) >>> >>> on increasetextsize thisfield, inc >>> put the length of fld thisfield into lengthtext >>> repeat with x = 1 to lengthText >>> get the textsize of char x of fld thisfield >>> set the textsize of char x of fld thisfield to it + inc >>> end repeat >>> -- voila >>> end increasetextsize >>> >>> the simpler the script, the easier it is to adapt for other >>> functions... to >>> other uses like changing colors, lineheight, grids, etc... >>> >>> cheers >>> Xavier >>> >>> >>>> -----Original Message----- >>>> From: use-revolution-bounces at lists.runrev.com >>>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>>> Richard Gaskin >>>> Sent: Saturday, July 02, 2005 09:17 >>>> To: How to use Revolution >>>> Subject: scripting challenge: Large/Smaller text size >>>> >>>> Mr. Canyon and anyone else who enjoys an iterative >>>> optimization exercise: >>>> >>>> A common feature in apps that display text are >>>> "Larger"/"Smaller" text size options. It seems simple at >>>> first glance, but in practice it's hard to come up with an >>>> especially fast version, given the need to take into account >>>> any variety of varying sizes in the source text. >>>> >>>> If any of you have a script for such a thing, I wonder if the >>>> sort of group review process that was done with the clock >>>> interface would lend itself to optimizing this? >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Media Corporation >>>> ___________________________________________________________ >>>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Sat Jul 2 09:12:37 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 2 Jul 2005 15:12:37 +0200 Subject: Tiger breaks hyperCard? In-Reply-To: References: Message-ID: <0D1701EF-1FB4-450D-A0DA-8C7D8B776951@sosmartsoftware.com> Hi Bill, I found out that HC home paths non longer worked except for stacks which are in the same folder than HC itself. Can be a clue. Not sure. Le 2 juil. 05 ? 14:18, Bill a ?crit : > I still can't figure out how to get nine to five reports and > hypercard to > work with tiger. Hypercard works ok with 10.41 but whenever you use > reports > it can't find the report file. I tried putting everything in a > separate hard > drive and that made no difference. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gefisher at mac.com Sat Jul 2 10:04:02 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Sat, 2 Jul 2005 09:04:02 -0500 Subject: Suggestion for correcting the IDE's script editor Message-ID: <8d94da8bd2e70fa22171cda6d0804e29@mac.com> All, I vaguely remember from my UNIX and C days that there was a command named "cb" that was named "Program Beautifier". It took C source file as input and wrote a file that had the C source in indented and structured form. There was also a command named "uucleanup" that did a similar thing with uu (Unix to Unix) transfer scripts. So it's pretty or beautiful or clean...:-) This is fun, Glenn On July 1, 2005 10:01:49 AM CDT Alex Tweedly scribbled: > Thomas McGrath III wrote: > >> Eric, >> >> Is that what it is really called? Pretty printing? Or is that a >> translation thing? >> >> It just sounds a little funny. > > It's really called that. > I *think* the name was first used in Lisp back in the 60s .... > certainly it was in common use by the time I got involved in computers > (1970), though it was still a "feature" then; it has become so > ubiquitous that the word itself is less frequently needed these days - > everyone knows programs should be laid out sensibly (even if they > don't agree on what is sensible :-) > > -- > Alex Tweedly http://www.tweedly.net -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From 36degrees at runrev.com Sat Jul 2 10:17:37 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sat, 2 Jul 2005 15:17:37 +0100 Subject: Player will not play long file names! In-Reply-To: References: Message-ID: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> Hi all, As a work-around for this at the moment, try setting the filename of a player to a *real* file URL: e.g. file:///Volumes/Primary/Users/mark/Desktop/ mask_with_a_really_really_really_long_filename.tiff This uses a QT function direct, by-passing the engine's present limitation of 32 characters on OS X. Warmest Regards, Mark Waddingham Chief Technical Officer. On 17 Jun 2005, at 21:44, Scott Rossi wrote: > Recently, Sivakatirswami wrote: > > >> I'm pretty sure this just appeared in Mac OSX-Tiger / Rev 2.6 >> > > Nope -- this was present before 2.6. This bug also may at some times > involve special (non-Roman) characters. Good (well, bad really) to > see > someone else run across this. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Development & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From m.young at mac.com Sat Jul 2 10:24:28 2005 From: m.young at mac.com (M Young) Date: Sat, 2 Jul 2005 08:24:28 -0600 Subject: Dreamcard Spell Check In-Reply-To: <20050702085131.A8D9A824D11@mail.runrev.com> References: <20050702085131.A8D9A824D11@mail.runrev.com> Message-ID: <148e2e2e46a4bb5244760418bcdbe8d2@mac.com> On Jul 2, 2005, at 2:51 AM, Thomas McGrath III wrote: > > Doug there was a discussion a little while ago on the list about spell > checkers. Search the google with spell checker and you should turn up a > couple of freebies. > > Here is the link that I use: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > It will produce 45 results about spell checkers. Here is a couple of > answers from the results: > > Spell Catcher X by Cassidy & Green. It works very well w Rev. > Here's the URL: > http://www.casadyg.com/ > > Unfortunately, software publisher Casady and Greene went out of business. http://www.macobserver.com/article/2003/07/02.16.shtml Fortunately, Spell Catcher for MacOS and Windows is still available. http://www.rainmakerinc.com/ HTH, Michael Young From klaus at major-k.de Sat Jul 2 10:44:53 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 2 Jul 2005 16:44:53 +0200 Subject: Player will not play long file names! In-Reply-To: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> References: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> Message-ID: <3D5D48FF-1D82-435D-9428-D418947C5A47@major-k.de> Hi Mark, > Hi all, > > As a work-around for this at the moment, try setting the filename > of a player to a *real* file URL: > e.g. file:///Volumes/Primary/Users/mark/Desktop/ > mask_with_a_really_really_really_long_filename.tiff > > This uses a QT function direct, by-passing the engine's present > limitation of 32 characters on OS X. this is WONDERFUL! How did you know? ;-) Thank you for this great workaround, very appreciated. > Warmest Regards, > > Mark Waddingham > Chief Technical Officer. Regards Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Sat Jul 2 10:59:03 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 2 Jul 2005 15:59:03 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> Message-ID: <375f673ddeb62a5143c65ad22709d95d@maseurope.net> So I think I've cracked it... since the htmltext of a field includes tags only for those parts of the text that do not inherit their attributes from their parent, it seems to be necessary to generate the appropriate tags for the rest of the text, as well. Not doing so produced peculiar results. This took 157 milliseconds on the same 20000 word field. on changeTextSize inc -- make the tags that will set text to the effective textSize in force put "" into openTag put "" into closeTag -- get the html put the htmltext of fld 1 into ttext --this next block sets size tags for all the unsized text replace "" with "" & openTag in ttext replace "" with numToChar(28) in tt set the itemDelimiter to numToChar(28) repeat for each item i in tt if "font size=" is in i then --if the item is a font size tag then --get the value inside the quotes ie font size="14" put offset(quote,i) +1 into startChar put offset(quote,i,startchar) into endChar put char startChar to (startChar + endChar -1) of i into fSize if fSize is not among the lines of sizeList then put fSize & cr after sizeList end if end repeat return char 1 to -2 of sizeList end getHSizes Cheers, Mark From lists at mangomultimedia.com Sat Jul 2 11:17:12 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 2 Jul 2005 08:17:12 -0700 Subject: Player will not play long file names! In-Reply-To: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> References: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> Message-ID: <49D0FB06-D294-45F5-ABE0-451FC094F8EB@mangomultimedia.com> On Jul 2, 2005, at 7:17 AM, Mark Waddingham wrote: > Hi all, > > As a work-around for this at the moment, try setting the filename > of a player to a *real* file URL: > e.g. file:///Volumes/Primary/Users/mark/Desktop/ > mask_with_a_really_really_really_long_filename.tiff > > This uses a QT function direct, by-passing the engine's present > limitation of 32 characters on OS X. Mark, Does this just pass the file path to QT as a URL, bypassing the FSSpec? -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From scott at tactilemedia.com Sat Jul 2 12:18:37 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Jul 2005 09:18:37 -0700 Subject: Player will not play long file names! In-Reply-To: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> Message-ID: Recently, Mark Waddingham wrote: > As a work-around for this at the moment, try setting the filename of > a player to a *real* file URL: > e.g. file:///Volumes/Primary/Users/mark/Desktop/ > mask_with_a_really_really_really_long_filename.tiff Thanks Mark: I'm still not clear on how to get this to work. I've got a bunch of audio files with long names and spaces in the their names. I've tried setting the fileNames to straight filenames, URLencoded filenames, etc, using URL forms "file:" and "binfile:" and nothing seems to work. Am I missing something? Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From klaus at major-k.de Sat Jul 2 12:36:26 2005 From: klaus at major-k.de (Klaus Major) Date: Sat, 2 Jul 2005 18:36:26 +0200 Subject: Player will not play long file names! In-Reply-To: References: Message-ID: <87FBEA19-7B90-416D-B00E-8CC754BC075C@major-k.de> Hi Scott, > Recently, Mark Waddingham wrote: > > >> As a work-around for this at the moment, try setting the filename of >> a player to a *real* file URL: >> e.g. file:///Volumes/Primary/Users/mark/Desktop/ >> mask_with_a_really_really_really_long_filename.tiff >> > > Thanks Mark: > > I'm still not clear on how to get this to work. I've got a bunch > of audio > files with long names and spaces in the their names. I've tried > setting the > fileNames to straight filenames, URLencoded filenames, etc, using > URL forms > "file:" and "binfile:" and nothing seems to work. > > Am I missing something? quick guess: Do your pathnames start with "file:///Volumes..." "VOLUMES" is not included in filenames on the boot hd. > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From 36degrees at runrev.com Sat Jul 2 13:44:27 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sat, 2 Jul 2005 18:44:27 +0100 Subject: Player will not play long file names! In-Reply-To: <49D0FB06-D294-45F5-ABE0-451FC094F8EB@mangomultimedia.com> References: <14003B3F-33B9-49C7-8233-747A6D122ED1@runrev.com> <49D0FB06-D294-45F5-ABE0-451FC094F8EB@mangomultimedia.com> Message-ID: <22331D89-77CB-4255-9E1D-4C84D699409D@runrev.com> Hi Trevor, This just creates a QT Movie using the NewMovieFromDataRef call (with dataRefType URLDataHandlerSubType). Warmest Regards, Mark. On 2 Jul 2005, at 16:17, Trevor DeVore wrote: > On Jul 2, 2005, at 7:17 AM, Mark Waddingham wrote: > > >> Hi all, >> >> As a work-around for this at the moment, try setting the filename >> of a player to a *real* file URL: >> e.g. file:///Volumes/Primary/Users/mark/Desktop/ >> mask_with_a_really_really_really_long_filename.tiff >> >> This uses a QT function direct, by-passing the engine's present >> limitation of 32 characters on OS X. >> > > Mark, > > Does this just pass the file path to QT as a URL, bypassing the > FSSpec? > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From 36degrees at runrev.com Sat Jul 2 14:03:37 2005 From: 36degrees at runrev.com (Mark Waddingham) Date: Sat, 2 Jul 2005 19:03:37 +0100 Subject: Player will not play long file names! In-Reply-To: References: Message-ID: Hi Scott, If you do replace space with "%20" in tURL then you should get the desired result. (i.e. don't urlEncode) Warmest Regards, Mark. On 2 Jul 2005, at 17:18, Scott Rossi wrote: > Recently, Mark Waddingham wrote: > > >> As a work-around for this at the moment, try setting the filename of >> a player to a *real* file URL: >> e.g. file:///Volumes/Primary/Users/mark/Desktop/ >> mask_with_a_really_really_really_long_filename.tiff >> > > Thanks Mark: > > I'm still not clear on how to get this to work. I've got a bunch > of audio > files with long names and spaces in the their names. I've tried > setting the > fileNames to straight filenames, URLencoded filenames, etc, using > URL forms > "file:" and "binfile:" and nothing seems to work. > > Am I missing something? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > ----- > E: scott at tactilemedia.com > W: http://www.tactilemedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ------------------------------------------------------------------ Mark Waddingham ~ 36degrees at runrev.com ~ http://www.runrev.com Runtime Revolution ~ User-Centric Development Tools From jeff at siphonophore.com Sat Jul 2 15:03:23 2005 From: jeff at siphonophore.com (jeff reynolds fios) Date: Sat, 02 Jul 2005 15:03:23 -0400 Subject: Tiger breaks hyperCard? In-Reply-To: <20050702085131.A8D9A824D11@mail.runrev.com> References: <20050702085131.A8D9A824D11@mail.runrev.com> Message-ID: Hmm, i just got my new powerbook this week with tiger installed, but not classic (i think apple has been doing this for at least a year now since i have had folks say they didnt have classic and i would just have them load it from their system discs). the powerbook tiger system discs came with the classic 922 installer on it. i ran it and it installed a nice new os922 system folder that works great with tiger. tested my old hypercard standalone app and it worked swimmingly. the powerbook hard drive was not partitioned and the 922 system folder is sitting there right next to the osx system folder. am i missing something here? Jeffrey Reynolds On Jul 2, 2005, at 4:51 AM, use-revolution-request at lists.runrev.com wrote: > That's just what we've been doing: copying over an old system folder. > Seems to work just fine; every classic app I've tried (admittedly, > haven't > launched HC since installing Tiger) has worked well. > > cheers, > - marty > > -- > Marty Billingsley (marty at ucls.uchicago.edu) > The University of Chicago Laboratory Schools > > > Dan Shafer writes: >> I can't say what the general case might be, but I *can* report that I >> merely copied an old System Folder from a Classic install on OS X >> 10.3 to my Tiger drive after installation and it seems to work fine. >> I don't use it often and I surely don't push it around much, but it >> hasn't crashed, broken, complained or otherwise caused a fuss. >> >> >> On Jun 28, 2005, at 8:46 AM, Eric Chatonet wrote: >> >>> Hi Todd and Jim, >>> >>> To be more precise, I was told that you can't install an OS 9.2.2 >>> system folder on any partition where Tiger (or any OS X system) is >>> already installed. >>> It does not work: OS 9 must be installed first or installed on >>> another disk or partition... >>> At the very worst you have to backup, erase your Tiger disk, make >>> an OS 9 clean install (just copying an existing system folder is >>> risky :-) and a Tiger clean install on top :-( >>> Then when you see the hard disk prices at the moment, it might be a >>> better solution to buy an external firewire one... >>> >>> Le 28 juin 05 ? 01:22, Todd Higgins a ?crit : >>> >>> >>> >>>> This is true. New machines do not ship with the Classic System >>>> Folder. But If you have an existing Macintosh you can just copy >>>> the System Folder over. >>>> >>>> Todd >>>> >>>> On Jun 27, 2005, at 6:34 PM, Jim Hurley wrote: >>>> >>>> >>>> >>>>> I had heard, from a distance source, that a new Mac with Tiger >>>>> installed will not necessarily include classic. Anybody know >>>>> whether this is true? From christian.langers at education.lu Sat Jul 2 15:54:33 2005 From: christian.langers at education.lu (Christian Langers) Date: Sat, 2 Jul 2005 21:54:33 +0200 Subject: need windows engine... In-Reply-To: <26E8E1BF-962B-4EAA-AC62-69B54EE1D1AE@education.lu> References: <26E8E1BF-962B-4EAA-AC62-69B54EE1D1AE@education.lu> Message-ID: <55BAB60E-C8B9-4865-81D3-7B49373CC8B3@education.lu> Please do not consider the last message... I just had problems connecting to the site because of my firewall ; so now that I know this, I'll be aware of sites disliking firewalls ;-) Christian Le 1 juil. 05 ? 17:14, Christian Langers a ?crit : > Hi everybody, > > it seems that you can't download anything from runrev.com, so you > can't download the engines neither :-) > > Could anybody send me the windows-engine of Revoluiton 2.6. ? (off- > list) > > > Thanks in advance, > > > Christian > > iMacG4 , Powerbook G4, Mac Os X 10.4 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sat Jul 2 15:59:25 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Jul 2005 12:59:25 -0700 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <375f673ddeb62a5143c65ad22709d95d@maseurope.net> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> Message-ID: <42C6F21D.8010308@fourthworld.com> Mark Smith wrote: > So I think I've cracked it... > > since the htmltext of a field includes tags only for those parts of the > text that do not inherit their attributes from their parent, it seems to > be necessary to generate the appropriate tags for the rest of the text, > as well. Not doing so produced peculiar results. This took 157 > milliseconds on the same 20000 word field. That's some damn fine work, Mark. Anyone beat 157ms on a block of 20,000 words with 2,000 of them styled? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.comm > > on changeTextSize inc > -- make the tags that will set text to the effective textSize in force > put "" into openTag > put "" into closeTag > > -- get the html > put the htmltext of fld 1 into ttext > > > --this next block sets size tags for all the unsized text > > replace "" with "" & openTag in ttext > replace " replace ">" with numToChar(28) in tt > set the itemDelimiter to numToChar(28) > repeat for each item i in tt > if "font size=" is in i then > --if the item is a font size tag then > --get the value inside the quotes ie font size="14" > put offset(quote,i) +1 into startChar > put offset(quote,i,startchar) into endChar > put char startChar to (startChar + endChar -1) of i into fSize > if fSize is not among the lines of sizeList then put fSize & cr > after sizeList > end if > end repeat > return char 1 to -2 of sizeList > end getHSizes > > > Cheers, > > Mark > _______________________________________________ From brentj84062 at earthlink.net Sat Jul 2 16:53:06 2005 From: brentj84062 at earthlink.net (Brent Anderson) Date: Sat, 2 Jul 2005 14:53:06 -0600 Subject: Flashing the screen Message-ID: <8D439E52-53E1-40F1-B20B-960BF72D0D9C@earthlink.net> Hello. In HyperCard there is a command for "Flashing" the screen (Inverting it x amount of times). I've gotten a script to work that creates a button with an inverted ink, and then shows it and hides it x amount of times. The only problem with it is that on many computers i've tried it on, it is too slow to look cool. On Mac OS X (The platform I need this script for), there is a key stroke you can use if you have issues seeing things on the screen. You press Command + Option + Control + 8, it will invert the screen. Would there be any way that you could pass that to the system, or is it impossible? Thanks, Brent Anderson From alex at tweedly.net Sat Jul 2 17:07:30 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 02 Jul 2005 22:07:30 +0100 Subject: Turning off the script editor's auto-format feature In-Reply-To: <1120045876.22742.69.camel@rachmaninov> References: <022701c57c8b$4c56ea30$0201a8c0@john> <1120045876.22742.69.camel@rachmaninov> Message-ID: <42C70212.3020506@tweedly.net> Mark Waddingham wrote: >Hi Bob, > >If you go to the Script Editor pane of the Preferences panel you can >disable the auto-format feature there. > >Disabling this option stops the Script Editor from attempting to auto- >format your code as you type - including not doing auto-complete. > >However, there is still one caveat, if you press tab then it auto- >formats the current handler, rather than putting a 'tab-level' indent >in. > > And if you want it to turn off completely (as I think it should), you ought to 1. ensure there is a BZ enhancement request to that effect 2. go to where you installed Rev / components / properties palettes (e.g. in my case, c:/Program Files/Revolution 2.6/components/properties palettes/ 3. Make a safe copy of the stack file revscripteditor.rev 4. Make another safe copy of it somewhere else :-) 5. Start up rev, and open this stack, then use the application browser to select card "revscript" within it 6. find the field "script" in the right hand pane, and right-click on it to edit its script 7. Find the handler on tabKey 8. insert immediately after the header line for the handler the following two lines > global gREVAutoFormat > if not gREVAutoFormat then exit tabKey > 9. Apply this change, save the stack 10. Exit Rev and restart it. 11. Make sure that auto-format is not selected (Edit / Preferences / Script Editor and uncheck auto-format) and now you should find that TAB no longer auto-formats for you if you happen to type it by mistake). (Done and tested on 2.6 recent - I can't remember how to find the build number) I could make a stack to do this automatically, but it's probably better to do it yourself so you know what has gone on. If you wanted you could easily do something like if not gREVAutoFormat then beep exit tabKey end if just to get a reminder that the tab didn't do what you might have expected. I thought about making it insert a "space" or even insert multiple spaces intelligently - but decided that looked complicated enough that I would need to do a lot of testing - and it just doesn't seem that important for something that (I hope) will change in some fairly near-future release. -- 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.8.8/35 - Release Date: 30/06/2005 From claudi.c at fiberworld.nl Sat Jul 2 17:23:51 2005 From: claudi.c at fiberworld.nl (Claudi Cornaz) Date: Sat, 2 Jul 2005 23:23:51 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <375f673ddeb62a5143c65ad22709d95d@maseurope.net> Message-ID: <95A73D30-EB3F-11D9-965C-000A959BA7DC@fiberworld.nl> woooooow, I realy feel humble. I have been working on a text menu with bigger smaller as one of the features. I have been working on it quite a while. I have got it working but now as I see these bautifull and elegant solutions, I can start all over again. (putting a couple of checks in of course so not to make text smaller then 7 pts which gives strange results and a pref for how to proceed when the smallest size in the selected text reaches 7pts, stopping or leaving that part at 7 pts and making the rest smaller) There are so many ways to do things in runrev and it's very enlightning to see how the pros tackle a problem. One of the best ways to learn for me (and others as well I guess) Couldn't we have chalenges like this, let's say once a week or once a month? My guess is that a lot of people could realy benefit from these chalenges/examples. In my own solution I used matchChunk to get at all the font tags with a size attribute, which also works but uses a lot more code and altough reaseably fast not in a long shot like the code of Mark. One advantage of all my toiling though, I learned a bit about regex, I am not completly confused by it anymore. Very humbly and awe strikken Claudi From revolution at derbrill.de Sat Jul 2 17:29:01 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 2 Jul 2005 23:29:01 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <20050702170002.ABA7B82494F@mail.runrev.com> Message-ID: <4EFC11B9-EB40-11D9-9277-0030659A795C@derbrill.de> Hi, Mark, could you please test this script against yours? My machine is too slow to get a representative result. Sometimes yours is faster, sometimes mine. :-) on changeSize myChange put the htmlText of fld "test" into theHtml set the textSize of fld "test" to \ the effective textSize of fld "test"+1 replace "size=""e with "size="&numToChar(1500) in theHTML set the itemdel to numToChar(1500) if the number of items of theHTML<>1 then put 0 into testItem repeat for each item theItem in theHTML add 1 to testItem if testItem<>1 then put offset(quote,theitem) into counter put char 1 to counter-1 of theItem into theSize put theSize+myChange into theSize put theSize into char 1 to counter-1 of theItem put quote&theItem after newHTML else put theItem into newHTML next repeat end if end repeat set the htmlText of fld "test" to newHTML end if end ChangeSize Both scripts round about 750 msec on my slobo G4-400 MHz for 10000 chars with different styles, colors, sizes and fonts in about 600 chars. From see3d at writeme.com Sat Jul 2 17:59:54 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 02 Jul 2005 17:59:54 -0400 Subject: Naming conventions [was: Food Fight] In-Reply-To: <42B9F622.1070900@fourthworld.com> References: <42B9F622.1070900@fourthworld.com> Message-ID: <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> Thank you all for your replies on your various style and naming conventions. I have studied them all and have come up with a style I think will work for me. I have started writing my personal style guide which I have appended below. I have not included many of the good style suggestions of other's that I like yet, because I have been documenting the areas that are different from every one else's style. I would appreciate anyone taking a look at what I am planning and comment if you see something else that I might want to take into consideration before I code it into stone ;-) Dennis My Personal Style Guide for Transcript Programming Revolution Transcript has become my programming language of choice for my various projects. These guidelines are designed to create a consistency of style in my scripts for my long term benefit in maintaining my code. I will update this document as more issues become clear as needing formal structure. I have chosen the postfix as opposed to the prefix tag scheme because I prefer to start my names as something pronounceable --with a silent tag. It may not be applicable for all languages, but this style guide is specific to Transcript. I also do not see the need for over specifying the variable types. Naming Conventions for Variables, Constants, and Custom Properties Appending the descriptive name with an identifier to determine its type and scope will aid in debugging and maintaining scripts. It will also prevent a name used in a script from becoming a new keyword in a future release of the program. Postfix Meaning Examples Comment G Global variable or array everyonesVar512G Scope across stacks, use with caution* W Stack(window) global variable myStackVarW Scope across sub-stacks** S Script local variable myScriptVarS Scope across script Local variable myVariable1 Scope inside handler x1,x2,y1,y2,z1,z2 use for x,y,z coordinates, or math i1,i2,i3,i4 use as loop indexes it,a1,b1,c1 use for intermediate math results K Constant myNumberK Created with the constant command (RO) P Custom Property myPropertyP Individual property of an object P Custom Property Set myPropertySetP Set of properties of an object (1d array)*** Notes: Declare all globals at the top of the handler or top of the script if they are shared between handlers. Declare locals at the top of the handler before executable statements. Use variable names that are descriptive like "filePath1". Names like "a1," "b1," which have no meaning should only be used for nameless intermediate results with a scope of less than a few lines --like the it variable would be used. An ordinary variable can be converted into an array variable and back again with the split and combine commands, so a separate array designator is ambiguous. Array variables are easy to spot because of their usual index: myArray1[index]. *Use globals sparingly. Code written with globals are sometimes difficult to debug since the globals can be changed anywhere. This means that if two stacks are loaded into the IDE at the same time, and both use a global called filePathG, and if either stack changes that variable, it is changed for both stacks. This is great for adding new tools, but a nightmare for everything else. Adding a unique number for each stack before the G will make globals with the same descriptive name unique between stacks. There is also a registry of prefixes for global names that can be assigned individual developers or companies who write tools or otherwise might use globals for many users. I think it would be just as unique placed anywhere (front, back, or middle) of the name. **While this scope is not yet implemented, it should soon be out of necessity! I will use this notation and declare all of these on a separate line so that a simple edit will change the scope after it is implemented: global myStackVarW --fix ***My intention is to always use the array notation for accessing properties in sets. I do not see any need to identify these differently than any other property because the context will show the difference. Naming Conventions for Custom Handlers and Custom Functions Capitalize the first character of a custom handler or function name to distinguish it from built-in commands and functions. This will also help distinguish custom handlers and functions in the future if a new program release includes a new keyword or function that conflicts with yours. I am considering if I should append something to the name to show where it is located --W,C,G for stack,card,group to make it easier to locate the scripts later. Possibly F,B for front,back scripts also. on mouseUp AddHandler 1,2 end mouseUp on AddHandler param1,param2 global resultW --fix put AddFunction(param1,param2) into resultW end AddHandler on AddFunction param1,param2 return param1+param2 end AddFunction From dick.kriesel at mail.com Sat Jul 2 18:30:21 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 02 Jul 2005 15:30:21 -0700 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <42C6F21D.8010308@fourthworld.com> Message-ID: On 7/2/05 12:59 PM, "Richard Gaskin" wrote: > Anyone beat 157ms on a block of 20,000 words with 2,000 of them styled? Applying the filter command might save some milliseconds. >> set the itemDelimiter to numToChar(28) >> repeat for each item i in tt >> if "font size=" is in i then set the lineDelimiter to numToChar(28) filter tt with "font size=" repeat for each line L in tt Mark, would you try it on your data, and post the results, please? -- Dick From ambassador at fourthworld.com Sat Jul 2 18:43:06 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Jul 2005 15:43:06 -0700 Subject: Naming conventions [was: Food Fight] In-Reply-To: <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> References: <42B9F622.1070900@fourthworld.com> <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> Message-ID: <42C7187A.2040609@fourthworld.com> Dennis Brown wrote: > I would appreciate anyone taking a look at what I am planning and > comment if you see something else that I might want to take into > consideration before I code it into stone ;-) There's a huge body of xTalk code published over the years by authors who use most of what's been documented here: Much of the style you documented is very similar, such as differing in placing the "g" at the end rather than the more common practice of putting it at the beginning. Of course one's own personal style is, well, personal, and the rest of us can keep our personal opinions to ourselves. But if you plan on trading code with others you might find it easier for author and reader alike to adopt widely-used conventions. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From scott at tactilemedia.com Sat Jul 2 19:17:29 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Jul 2005 16:17:29 -0700 Subject: Player will not play long file names! In-Reply-To: Message-ID: >> I'm still not clear on how to get this to work. I've got a bunch >> of audio files with long names and spaces in the their names. I've tried >> setting the >> fileNames to straight filenames, URLencoded filenames, etc, using >> URL forms >> "file:" and "binfile:" and nothing seems to work. >> >> Am I missing something? > If you do > replace space with "%20" in tURL > then you should get the desired result. (i.e. don't urlEncode) Success! A "semi-urlEncode" workaround... Thank you Mark. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From wouter.abraham at scarlet.be Sat Jul 2 19:19:05 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sun, 3 Jul 2005 01:19:05 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <42C6F21D.8010308@fourthworld.com> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> Message-ID: <2B1C4B6E-6E22-44F4-8485-E80B338DC83E@scarlet.be> Hi, When reducing textsize by the way of the htmltext there must be a little check added on the size itself. When Mark Smith wrote: > >> So I think I've cracked it... >> since the htmltext of a field includes tags only for those parts >> of the text that do not inherit their attributes from their >> parent, it seems to be necessary to generate the appropriate tags >> for the rest of the text, as well. Not doing so produced peculiar >> results. This took 157 milliseconds on the same 20000 word field. >> > > That's some damn fine work, Mark. > > Anyone beat 157ms on a block of 20,000 words with 2,000 of them > styled? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.comm > > >> on changeTextSize inc >> -- make the tags that will set text to the effective textSize in >> force >> put "" into openTag >> put "" into closeTag >> -- get the html >> put the htmltext of fld 1 into ttext >> --this next block sets size tags for all the unsized text >> replace "" with "" & openTag in ttext >> replace "> replace ">" with numToChar(28) in tt >> set the itemDelimiter to numToChar(28) >> repeat for each item i in tt >> if "font size=" is in i then >> --if the item is a font size tag then >> --get the value inside the quotes ie font size="14" >> put offset(quote,i) +1 into startChar >> put offset(quote,i,startchar) into endChar >> put char startChar to (startChar + endChar -1) of i into fSize >> if fSize is not among the lines of sizeList then put fSize & >> cr after sizeList >> end if >> end repeat >> return char 1 to -2 of sizeList >> end getHSizes >> Cheers, >> Mark From wouter.abraham at scarlet.be Sat Jul 2 19:50:53 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sun, 3 Jul 2005 01:50:53 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <42C6F21D.8010308@fourthworld.com> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> Message-ID: <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> Also the sizeList returned by the getHSizes function should be sorted numeric descending for enlarging textsize and ascending for reducing textsize, lest not to lose some initial size differences of 1 greetings, Wouter > >> on changeTextSize inc >> -- make the tags that will set text to the effective textSize in >> force >> put "" into openTag >> put "" into closeTag >> -- get the html >> put the htmltext of fld 1 into ttext >> --this next block sets size tags for all the unsized text >> replace "" with "" & openTag in ttext >> replace " 0 then beep exit to top end if >> repeat for each line L in sizeList >> put quote & L & quote into pSize >> put quote & L+inc & quote into nSize >> replace "> replace ">" with numToChar(28) in tt >> set the itemDelimiter to numToChar(28) >> repeat for each item i in tt >> if "font size=" is in i then >> --if the item is a font size tag then >> --get the value inside the quotes ie font size="14" >> put offset(quote,i) +1 into startChar >> put offset(quote,i,startchar) into endChar >> put char startChar to (startChar + endChar -1) of i into fSize >> if fSize is not among the lines of sizeList then put fSize & >> cr after sizeList >> end if >> end repeat >> return char 1 to -2 of sizeList >> end getHSizes >> Cheers, >> Mark From wouter.abraham at scarlet.be Sat Jul 2 19:56:21 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sun, 3 Jul 2005 01:56:21 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> Message-ID: Damn typo On 03 Jul 2005, at 01:50, Buster wrote: > if "8" is among the lines of sizeList and inc > 0 then > beep > exit to top > end if > must be: if "8" is among the lines of sizeList and inc < 0 then beep exit to top end if Sorry, Wouter From bill at bluewatermaritime.com Sat Jul 2 18:23:38 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 02 Jul 2005 18:23:38 -0400 Subject: Tiger breaks hyperCard? In-Reply-To: Message-ID: The problem is nine to five reports under hypercard On 7/2/05 3:03 PM, "jeff reynolds fios" wrote: > Hmm, i just got my new powerbook this week with tiger installed, but > not classic (i think apple has been doing this for at least a year now > since i have had folks say they didnt have classic and i would just > have them load it from their system discs). the powerbook tiger system > discs came with the classic 922 installer on it. i ran it and it > installed a nice new os922 system folder that works great with tiger. > tested my old hypercard standalone app and it worked swimmingly. the > powerbook hard drive was not partitioned and the 922 system folder is > sitting there right next to the osx system folder. > > am i missing something here? > > Jeffrey Reynolds > > On Jul 2, 2005, at 4:51 AM, use-revolution-request at lists.runrev.com > wrote: > >> That's just what we've been doing: copying over an old system folder. >> Seems to work just fine; every classic app I've tried (admittedly, >> haven't >> launched HC since installing Tiger) has worked well. >> >> cheers, >> - marty >> >> -- >> Marty Billingsley (marty at ucls.uchicago.edu) >> The University of Chicago Laboratory Schools >> >> >> Dan Shafer writes: >>> I can't say what the general case might be, but I *can* report that I >>> merely copied an old System Folder from a Classic install on OS X >>> 10.3 to my Tiger drive after installation and it seems to work fine. >>> I don't use it often and I surely don't push it around much, but it >>> hasn't crashed, broken, complained or otherwise caused a fuss. >>> >>> >>> On Jun 28, 2005, at 8:46 AM, Eric Chatonet wrote: >>> >>>> Hi Todd and Jim, >>>> >>>> To be more precise, I was told that you can't install an OS 9.2.2 >>>> system folder on any partition where Tiger (or any OS X system) is >>>> already installed. >>>> It does not work: OS 9 must be installed first or installed on >>>> another disk or partition... >>>> At the very worst you have to backup, erase your Tiger disk, make >>>> an OS 9 clean install (just copying an existing system folder is >>>> risky :-) and a Tiger clean install on top :-( >>>> Then when you see the hard disk prices at the moment, it might be a >>>> better solution to buy an external firewire one... >>>> >>>> Le 28 juin 05 ? 01:22, Todd Higgins a ?crit : >>>> >>>> >>>> >>>>> This is true. New machines do not ship with the Classic System >>>>> Folder. But If you have an existing Macintosh you can just copy >>>>> the System Folder over. >>>>> >>>>> Todd >>>>> >>>>> On Jun 27, 2005, at 6:34 PM, Jim Hurley wrote: >>>>> >>>>> >>>>> >>>>>> I had heard, from a distance source, that a new Mac with Tiger >>>>>> installed will not necessarily include classic. Anybody know >>>>>> whether this is true? > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From mark at maseurope.net Sat Jul 2 20:38:35 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Jul 2005 01:38:35 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <4EFC11B9-EB40-11D9-9277-0030659A795C@derbrill.de> References: <4EFC11B9-EB40-11D9-9277-0030659A795C@derbrill.de> Message-ID: You win! 140 to 150 on the same machine that I got 157 on (actually, 150ish to 160ish, 157 was just the last time...) Mark On 2 Jul 2005, at 22:29, Malte Brill wrote: > on changeSize myChange > put the htmlText of fld "test" into theHtml > set the textSize of fld "test" to \ > the effective textSize of fld "test"+1 > replace "size=""e with "size="&numToChar(1500) in theHTML > set the itemdel to numToChar(1500) > if the number of items of theHTML<>1 then > put 0 into testItem > repeat for each item theItem in theHTML > add 1 to testItem > if testItem<>1 then > put offset(quote,theitem) into counter > put char 1 to counter-1 of theItem into theSize > put theSize+myChange into theSize > put theSize into char 1 to counter-1 of theItem > put quote&theItem after newHTML > else > put theItem into newHTML > next repeat > end if > end repeat > set the htmlText of fld "test" to newHTML > end if > end ChangeSize From mark at maseurope.net Sat Jul 2 20:43:39 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Jul 2005 01:43:39 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> Message-ID: Good points. I knew a check for limits would be necessary, but I hadn't considered the implications of the sizeList being unsorted. Mark On 3 Jul 2005, at 00:50, Buster wrote: > Also the sizeList returned by the getHSizes function should be sorted > numeric descending for enlarging textsize and ascending for reducing > textsize, lest not to lose some initial size differences of 1 > > greetings, > Wouter > >> >>> on changeTextSize inc >>> -- make the tags that will set text to the effective textSize in >>> force >>> put "" into openTag >>> put "" into closeTag >>> -- get the html >>> put the htmltext of fld 1 into ttext >>> --this next block sets size tags for all the unsized text >>> replace "" with "" & openTag in ttext >>> replace " 0 then > beep > exit to top > end if >>> repeat for each line L in sizeList >>> put quote & L & quote into pSize >>> put quote & L+inc & quote into nSize >>> replace ">> replace ">" with numToChar(28) in tt >>> set the itemDelimiter to numToChar(28) >>> repeat for each item i in tt >>> if "font size=" is in i then >>> --if the item is a font size tag then >>> --get the value inside the quotes ie font size="14" >>> put offset(quote,i) +1 into startChar >>> put offset(quote,i,startchar) into endChar >>> put char startChar to (startChar + endChar -1) of i into fSize >>> if fSize is not among the lines of sizeList then put fSize & >>> cr after sizeList >>> end if >>> end repeat >>> return char 1 to -2 of sizeList >>> end getHSizes >>> Cheers, >>> Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From wouter.abraham at scarlet.be Sat Jul 2 21:06:11 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sun, 3 Jul 2005 03:06:11 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> Message-ID: One last remark, if you change a font face then the code breaks for that part as the font face tag precedes the size tag. for example: But you'll find a solution :-) Greetings, Wouter On 03 Jul 2005, at 02:43, Mark Smith wrote: > Good points. I knew a check for limits would be necessary, but I > hadn't considered the implications of the sizeList being unsorted. > > Mark > > On 3 Jul 2005, at 00:50, Buster wrote: > > >> Also the sizeList returned by the getHSizes function should be >> sorted numeric descending for enlarging textsize and ascending >> for reducing textsize, lest not to lose some initial size >> differences of 1 >> >> greetings, >> Wouter >> >> >>> >>> >>>> on changeTextSize inc >>>> -- make the tags that will set text to the effective textSize >>>> in force >>>> put "" into openTag >>>> put "" into closeTag >>>> -- get the html >>>> put the htmltext of fld 1 into ttext >>>> --this next block sets size tags for all the unsized text >>>> replace "" with "" & openTag in ttext >>>> replace " 0 then >> beep >> exit to top >> end if >> >>>> repeat for each line L in sizeList >>>> put quote & L & quote into pSize >>>> put quote & L+inc & quote into nSize >>>> replace ">>> replace ">" with numToChar(28) in tt >>>> set the itemDelimiter to numToChar(28) >>>> repeat for each item i in tt >>>> if "font size=" is in i then >>>> --if the item is a font size tag then >>>> --get the value inside the quotes ie font size="14" >>>> put offset(quote,i) +1 into startChar >>>> put offset(quote,i,startchar) into endChar >>>> put char startChar to (startChar + endChar -1) of i into >>>> fSize >>>> if fSize is not among the lines of sizeList then put fSize >>>> & cr after sizeList >>>> end if >>>> end repeat >>>> return char 1 to -2 of sizeList >>>> end getHSizes >>>> Cheers, >>>> Mark >>>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Sat Jul 2 21:17:33 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 02 Jul 2005 21:17:33 -0400 Subject: Naming conventions [was: Food Fight] In-Reply-To: <42C7187A.2040609@fourthworld.com> References: <42B9F622.1070900@fourthworld.com> <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> <42C7187A.2040609@fourthworld.com> Message-ID: <571BA01E-21C3-4931-8929-5ADAC64005DD@writeme.com> Thank you Richard, Yes, I studied your well written guide before I decided what I wanted to do. The Hungarian and I could just not see eye-to-eye, and I was never that good with foreign languages --just a little Latin and Spanish;-) I read my code "out loud" in my head, and I could not get past the silent t,g,p etc., in every variable name, so I decided to put them at the end where I could just stop pronouncing at the end of the word --that seemed natural for me, kind of like name.txt. I also tried to simplify things to the absolute essentials for my needs. I doubt that anyone will have trouble reading my scripts any more than if I used no tags at all, which is what I am doing now. Perhaps a few other inventive users who have forsaken all tags (for the same reasons that I have) can see themselves clear to using a version of the style like I am hammering out for my personal use. You know how it is with us inventors --yes, I really am one. Besides, I could probably write a script that would read in my script style and spit it back out in Hungarian if I really needed it to. Perhaps we could make it an official BabelFish translation. LOL Dennis On Jul 2, 2005, at 6:43 PM, Richard Gaskin wrote: > Dennis Brown wrote: > >> I would appreciate anyone taking a look at what I am planning and >> comment if you see something else that I might want to take into >> consideration before I code it into stone ;-) >> > > There's a huge body of xTalk code published over the years by > authors who use most of what's been documented here: > > > Much of the style you documented is very similar, such as differing > in placing the "g" at the end rather than the more common practice > of putting it at the beginning. > > Of course one's own personal style is, well, personal, and the rest > of us can keep our personal opinions to ourselves. But if you plan > on trading code with others you might find it easier for author and > reader alike to adopt widely-used conventions. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From warren at howsoft.com Sat Jul 2 21:39:24 2005 From: warren at howsoft.com (Bob Warren) Date: Sat, 2 Jul 2005 22:39:24 -0300 Subject: Turning off the script editor's auto-format feature Message-ID: <003401c57f70$8b6abca0$0201a8c0@john> Dear Alex, Works a treat! Thank you very much indeed. I shall be putting in a BZ enhancement request. Best, Bob ----- Original Message ----- From: "Alex Tweedly" To: "How to use Revolution" Cc: "Bob Warren" Sent: Saturday, July 02, 2005 6:07 PM Subject: Re: Turning off the script editor's auto-format feature > Mark Waddingham wrote: > > >Hi Bob, > > > >If you go to the Script Editor pane of the Preferences panel you can > >disable the auto-format feature there. > > > >Disabling this option stops the Script Editor from attempting to auto- > >format your code as you type - including not doing auto-complete. > > > >However, there is still one caveat, if you press tab then it auto- > >formats the current handler, rather than putting a 'tab-level' indent > >in. > > > > > And if you want it to turn off completely (as I think it should), you > ought to > > 1. ensure there is a BZ enhancement request to that effect > > 2. go to where you installed Rev / components / properties palettes > (e.g. in my case, c:/Program Files/Revolution 2.6/components/properties > palettes/ > > 3. Make a safe copy of the stack file revscripteditor.rev > > 4. Make another safe copy of it somewhere else :-) > > 5. Start up rev, and open this stack, then use the application browser > to select card "revscript" within it > > 6. find the field "script" in the right hand pane, and right-click on it > to edit its script > > 7. Find the handler on tabKey > > 8. insert immediately after the header line for the handler the > following two lines > > > global gREVAutoFormat > > if not gREVAutoFormat then exit tabKey > > > 9. Apply this change, save the stack > > 10. Exit Rev and restart it. > > 11. Make sure that auto-format is not selected (Edit / Preferences / > Script Editor and uncheck auto-format) > > and now you should find that TAB no longer auto-formats for you if you > happen to type it by mistake). > > (Done and tested on 2.6 recent - I can't remember how to find the build > number) > > I could make a stack to do this automatically, but it's probably better > to do it yourself so you know what has gone on. If you wanted you could > easily do something like > if not gREVAutoFormat then > beep > exit tabKey > end if > > just to get a reminder that the tab didn't do what you might have > expected. I thought about making it insert a "space" or even insert > multiple spaces intelligently - but decided that looked complicated > enough that I would need to do a lot of testing - and it just doesn't > seem that important for something that (I hope) will change in some > fairly near-future release. > > -- > 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.8.8/35 - Release Date: 30/06/2005 > > > From mark at maseurope.net Sat Jul 2 22:13:41 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Jul 2005 03:13:41 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> Message-ID: So this is my revised effort, which incorporates Wouters suggestions, and Dicks suggestion for using 'filter' in the getHSizes function. Remarkably this seems a little slower, at 190 to 200 ms. Mark on changeTextSize inc put the effective textSize of fld 1 into fSize put "" into openTag put "" into closeTag put the htmltext of fld 1 into ttext --this next block sets size tags for all the unsized text replace "" with "" & openTag in ttext replace "" with cr in tt filter tt with "font size=*" replace quote with comma in tt repeat for each line i in tt get item 2 of i if it is not among the items of sizeList then put it & comma after sizeList end repeat return char 1 to -2 of sizeList end getHSizes From alanira9 at mac.com Sat Jul 2 22:42:20 2005 From: alanira9 at mac.com (Alan Gayne) Date: Sat, 02 Jul 2005 22:42:20 -0400 Subject: Tiger breaks hyperCard? Message-ID: <78c861a91a0558ab516a970f7a6eb34d@mac.com> > Hi all, I've been following this one from the sidelines. As I've mentioned in this forum on more than one occasion, I'm one of those whose business productivity is still totally dependent on the combination of Hypercard and 9 to 5 Reports. From all the discussion I've read here dealing with two orphaned and "obsolete" programs, it seems that I may not be as alone as I have sometimes thought. So I guess there are a quite a few of us quietly wait for the release version of Jan Schenkel's Quartam Reports, and fervently hoping that it's interface is half as intuitive as old reliable "9 to 5". So here's a message to Jan: if your Quartam delivers the functionality needed by people like me, I think you'll find that the number of paying customers will far exceed the number of voices which have expressed interest here on the list. More than that, I think there may very well be a substantial number of old Hypercard types who have quietly been waiting for a truly viable reporting scheme before making, or renewing their commitment to Runtime Revolution. Regards, Alan Gayne > Bill wrote: > > The problem is nine to five reports under hypercard From jacque at hyperactivesw.com Sat Jul 2 22:49:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Jul 2005 21:49:52 -0500 Subject: Turning off the script editor's auto-format feature In-Reply-To: <42C70212.3020506@tweedly.net> References: <022701c57c8b$4c56ea30$0201a8c0@john> <1120045876.22742.69.camel@rachmaninov> <42C70212.3020506@tweedly.net> Message-ID: <42C75250.8010705@hyperactivesw.com> On 7/2/05 4:07 PM, Alex Tweedly wrote: > > 7. Find the handler on tabKey > > 8. insert immediately after the header line for the handler the > following two lines > >> global gREVAutoFormat >> if not gREVAutoFormat then exit tabKey >> > 9. Apply this change, save the stack Or alternately, use "pass tabkey" rather than "exit tabkey". Then when you type tab, you get...a tab. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mark at maseurope.net Sat Jul 2 22:53:10 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Jul 2005 03:53:10 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: References: <20050702100502.7D08F824D13@mail.runrev.com> <33042489b758f15078b8e41f335f249e@maseurope.net> <3d39bb32537f40a3a4b8243b5c5be5c2@maseurope.net> <375f673ddeb62a5143c65ad22709d95d@maseurope.net> <42C6F21D.8010308@fourthworld.com> <9C9ED991-18B5-49F8-8F81-7E2CC205E997@scarlet.be> Message-ID: <95c3eb3768617a58626a5fd956d80ba2@maseurope.net> And this is my final effort, for tonight, anyway. My earlier observation that it was necessary to create size tags for any unstyled text seems to be untrue, which saves a bit of work, and I think I've dealt with Wouters observation that it would all break if there were font face tags present. Of course, the whole thing would break anyway if applied to some HTML.... This comes in at around 150 to 200 ms, depending on how big the text gets. (It takes rev longer to put bigger text in a field.) Mark on changeTextSize inc put the effective textSize of fld 1 into fSize put the htmltext of fld 1 into ttext --now get all the size values from the size tags put getHSizes(ttext) into sizeList if inc > 0 AND MAX(sizeList & comma & fSize)+inc > 48 then exit to top if inc < 0 AND MIN(sizeList & comma & fSize)+inc < 8 then exit to top if inc > 0 then sort items of sizeList numeric descending else if inc < 0 then sort items of sizeList numeric ascending end if repeat for each item i in sizeList put quote & i & quote into pSize put quote & i+inc & quote into nSize replace "size=" & pSize with "size=" & nSize in ttext end repeat set the textSize of fld 1 to fSize+inc set the htmltext of fld 1 to ttext end changeTextSize function getHSizes tt put empty into sizeList replace cr with empty in tt replace "<" with cr in tt replace ">" with cr in tt filter tt with "*size=*" replace quote with comma in tt repeat for each line i in tt get itemOffset("size=",i) get item it+1 of i if it is not among the items of sizeList then put it & comma after sizeList end repeat return char 1 to -2 of sizeList end getHSizes From SimPLsol at aol.com Sat Jul 2 23:04:30 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sat, 2 Jul 2005 23:04:30 EDT Subject: 9 to 5 Reports (was Tiger breaks hyperCard?) Message-ID: <1d5.3f3964f8.2ff8afbe@aol.com> Alan, You are definitely not alone. There are many of us who continue to use HyperCard - primarily because of 9 to 5 Reports. I can't imagine a better, faster, easier business system builder. If it makes you feel better, 18 months ago I showed Jan what Richard Gaskin calls "the 13 minute demo" of Reports - what it does, how it does it, why we like it so much. Like you, I wait with high hopes and great expectations. Paul Looney From martyknapp at comcast.net Sat Jul 2 23:09:22 2005 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 02 Jul 2005 20:09:22 -0700 Subject: Tiger breaks hyperCard? In-Reply-To: <78c861a91a0558ab516a970f7a6eb34d@mac.com> References: <78c861a91a0558ab516a970f7a6eb34d@mac.com> Message-ID: <42C756E2.3060902@comcast.net> > > More than that, I think there may very well be a substantial number of > old Hypercard types who have quietly been waiting for a truly viable > reporting scheme before making, or renewing their commitment to > Runtime Revolution. > > Regards, > Alan Gayne > I'll second that. I used to do everything with Hypercard and 9 to 5 Reports. Marty Knapp From kray at sonsothunder.com Sat Jul 2 23:14:33 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 02 Jul 2005 22:14:33 -0500 Subject: Naming conventions [was: Food Fight] In-Reply-To: <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> Message-ID: On 7/2/05 4:59 PM, "Dennis Brown" wrote: > Thank you all for your replies on your various style and naming > conventions. I have studied them all and have come up with a style I > think will work for me. > > I have started writing my personal style guide which I have appended > below. I have not included many of the good style suggestions of > other's that I like yet, because I have been documenting the areas > that are different from every one else's style. > > I would appreciate anyone taking a look at what I am planning and > comment if you see something else that I might want to take into > consideration before I code it into stone ;-) Looks good to me, Dennis... and as long as you remember that variables that end with "W" still are truly global until this gets implemented at RunRev, you're in good shape. I, too, read my code out loud in my head, but I guess I'm just so used to Hungarian Lite that it just "sounds right" to me. Anyway, as long as it is consistent and works for you... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From stephenREVOLUTION at barncard.com Sun Jul 3 01:17:25 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 3 Jul 2005 00:17:25 -0500 Subject: Player will not play long file names! In-Reply-To: References: Message-ID: generally it's always best to avoid spaces in filenames....especially on the net. sqb >Hi Scott, > >If you do > replace space with "%20" in tURL >then you should get the desired result. (i.e. don't urlEncode) > >Warmest Regards, > >Mark. > From scott at tactilemedia.com Sun Jul 3 01:34:51 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Jul 2005 22:34:51 -0700 Subject: Player will not play long file names! In-Reply-To: Message-ID: Recently, Stephen Barncard wrote: > generally it's always best to avoid spaces in filenames....especially > on the net. Of course, but the issue here is to address the playback of *any* file with long filenames, regardless of their origin, and regardless of whether they have spaces (or other non-alpha characters) in their names. In the case of iTunes (not sure about other MP3 apps), songs from CDs as well as those purchased via download are often named with spaces. If you want to deliver a player that can play these files, you can't expect a user to go through all their files and manually rename them, nor should you as a developer do this behind the user's back. Thus Mark's workaround solves a major problem. Thanks Mark! Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From eric.chatonet at sosmartsoftware.com Sun Jul 3 02:29:02 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 3 Jul 2005 08:29:02 +0200 Subject: Naming conventions [was: Food Fight] In-Reply-To: References: Message-ID: Hi all, I followed this thread and I would like to share additional (off topic) conventions I use since years that help me a lot when reading (above all reading again some months later) my code: At the end of any line where I call another handler or function (custom or system), I am used to put an add-up: A comment sign (--) followed by a space (aesthetic need :-), a delta (or what you want) and a capitalised letter which indicates where is located the handler or the function used in this line: nothing: it's in the same script C: it's in in the card's script Can be also G, S, MS (main stack), X (external), etc. As I use, each time I can, handlers or functions placed higher in the message path, then I always know the effective message path of my messages :-) My two cents. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revolution at derbrill.de Sun Jul 3 07:06:40 2005 From: revolution at derbrill.de (Malte Brill) Date: Sun, 3 Jul 2005 13:06:40 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <20050703003156.2B31B8248F6@mail.runrev.com> Message-ID: <8835DD80-EBB2-11D9-AF40-0030659A795C@derbrill.de> Update on my script. Turned it into a setprop handler. Put wouter?s suggestions in. Thanks Wouter! Usage: set the changeSize of fld "myField" to 1 set the changeSize of fld "myField" to -1 Script (in card or stack) setProp changeSize myChange if myChange is not a number then return "Error: parameter must be a number!" exit changeSize end if if there is no field the target then return "Error: Target must be a field!"&&the target exit changeSize end if put the htmlText of the target into theHtml if the effective textSize of the target+myChange<8 then return "Smallest size reached" exit changeSize end if set the textSize of the target to \ the effective textSize of the target+myChange replace "size=""e with "size="&numToChar(1500) in theHTML set the itemdel to numToChar(1500) if the number of items of theHTML<>1 then put 0 into testItem repeat for each item theItem in theHTML add 1 to testItem if testItem<>1 then put offset(quote,theitem) into counter put char 1 to counter-1 of theItem into theSize put theSize+myChange into theSize if theSize<8 then set the textSize of the target to \ the effective textSize of the target-myChange return "Smallest size reached!" exit changeSize end if put theSize into char 1 to counter-1 of theItem put quote&theItem after newHTML else put theItem into newHTML next repeat end if end repeat set the htmlText of the target to newHTML end if put the htmlText of the target end ChangeSize Cheers, Malte From M.Lange at ed.ac.uk Sun Jul 3 07:53:55 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Sun, 03 Jul 2005 12:53:55 +0100 Subject: (no subject) Message-ID: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> >Jon, > >My point exactly: "a large array of numbers" = "data" So is the photograph >you are computing the histogram on. Would either of these change, if you >switch languages? Hence, they are external to your language, or "data." > >I write business application software, so I've never had to compute a >histogram and admit I have no clue as to what's involved in that process. > >But, if you know the kind of data manipulation you will be doing in advance, >you can parse, index, or otherwise reorganize the source data in such a way >as to minimize large data sources or "large arrays." > >Now, depending on how well you organized your data, whether your language is >in pcode or machine compiled, results in only milliseconds of difference. Jim, I support your view... I often have to manipulate huge lexical databases (50.000 lines, 50 columns). Usint the same computer language, I was often able to cut running time down from 30 minutes to 2 min. by using more effective resource management techniques. Jon, If you cannot see ways in which you can reorganize your data... why not consider using Awk for your array processing (something that Awk excels at). Awk is freely available on any platform, doesn't take more than 200K, and can be learned in one day for your purpose (simple array processing). It is quite easy to call to it to do array processing on large data and get the result back to revolution. You will find information about Awk at (Why GAWK for AI?) Marielle From M.Lange at ed.ac.uk Sun Jul 3 07:57:28 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Sun, 03 Jul 2005 12:57:28 +0100 Subject: regular expressions Message-ID: <1120391848.42c7d2a83c96c@staffmail.ed.ac.uk> >Nobody *likes* RegEx. But it is powerful, and we use it because there >is no practical alternative. I wish there were. Hi Dave, I do like regEx very much. Simply because that's the optimal solution to the problem they address. That's an extraordinarily clever solution, which let you write in a single line, what could take you pages of programs to code. Thanks to regular expressions, I wrote in less than 20 lines the equivalent of a program that a colleague of mine had written in nearly 10 pages. Of course, the learning curve is very very slow... of course it is very easy to make errors and quite difficult to keep track of what you are effectively doing. My approach is to test my regEx in editors like BBedit (mac) or notetab (pc) first, so that I can tune them in an environment where I can rapidly check that the effects are as desired (and yes, this may take a few trial and errors). Believe me, once you come to master regEx (which requires extensive use, in different contexts) them, you come to see them as a real blessing rather than a curse. After a rocky start, you just fall deeply in love with them. Marielle From revolution at derbrill.de Sun Jul 3 08:26:13 2005 From: revolution at derbrill.de (Malte Brill) Date: Sun, 3 Jul 2005 14:26:13 +0200 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <20050703003156.2B31B8248F6@mail.runrev.com> Message-ID: Hi Mark, I guess 10 mSecs could be neglected. :-) I just was curious as I couldn?t produce any meaningful results on my machine. Looking forward to see your modified script. And thanks for using offset. Let me get rid of the nested repeat loop in my script variant. :-) Cheers, Malte >You win! 140 to 150 on the same machine that I got 157 on (actually, >150ish to 160ish, 157 was just the last time...) From jhurley at infostations.com Sun Jul 3 08:46:31 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 3 Jul 2005 05:46:31 -0700 Subject: Tiger breaks hyperCard? In-Reply-To: <20050703003155.C925782492E@mail.runrev.com> References: <20050703003155.C925782492E@mail.runrev.com> Message-ID: > >Message: 3 >Date: Sat, 02 Jul 2005 15:03:23 -0400 >From: jeff reynolds fios >Subject: Re: Tiger breaks hyperCard? >To: use-revolution at lists.runrev.com >Message-ID: >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Hmm, i just got my new powerbook this week with tiger installed, but >not classic (i think apple has been doing this for at least a year now >since i have had folks say they didnt have classic and i would just >have them load it from their system discs). the powerbook tiger system >discs came with the classic 922 installer on it. i ran it and it >installed a nice new os922 system folder that works great with tiger. >tested my old hypercard standalone app and it worked swimmingly. the >powerbook hard drive was not partitioned and the 922 system folder is >sitting there right next to the osx system folder. > >am i missing something here? > >Jeffrey Reynolds Jeff, Thanks for this update. Good to know. Is it possible to run OS 9 and OS X simultaneously as with 10.2 (? & 10.3)? Jim From mark at maseurope.net Sun Jul 3 08:53:23 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Jul 2005 13:53:23 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: References: Message-ID: Malte - we seem to be about even with the latest variants of our scripts - and I like your setProp approach. I'm wondering if it might be still more efficient to use the rtfText of the field, since the rtf tags are are a bit simpler. Still, I think we cracked it. Cheers, Mark On 3 Jul 2005, at 13:26, Malte Brill wrote: > Hi Mark, > > I guess 10 mSecs could be neglected. :-) I just was curious as I > couldn?t produce any meaningful results on my machine. > Looking forward to see your modified script. And thanks for using > offset. Let me get rid of the nested repeat loop in my script variant. > :-) > > Cheers, > > Malte > > >You win! 140 to 150 on the same machine that I got 157 on (actually, > >150ish to 160ish, 157 was just the last time...) > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Sun Jul 3 10:01:27 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 3 Jul 2005 15:01:27 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: References: Message-ID: <5045e37e11def987f4332d9e1de5ac0b@maseurope.net> And finally, the RTF version, which is maybe a few milliseconds faster, and has the possible advantage that the lower limit could be < 8 if necessary. Worth noting that RTF font size tags are in half-points, hence the division by 2 in the getRSizes function, and corresponding multiplication afterwards. I think I should do something else, now. Obsessive, me? :) Mark on changeTextSizeRTF inc put the effective textSize of fld 1 into fSize put the rtftext of fld 1 into ttext put getRSizes(ttext) into sizeList if inc > 0 AND MAX(sizeList & comma & fSize)+inc > 48 then exit to top if inc < 0 AND MIN(sizeList & comma & fSize)+inc < 8 then exit to top if inc > 0 then sort items of sizeList numeric descending else if inc < 0 then sort items of sizeList numeric ascending end if repeat for each item i in sizeList replace "\fs" & (i*2) with "\fs" & ((i+inc)*2) in ttext end repeat set the textSize of fld 1 to fSize+inc set the rtftext of fld 1 to ttext end changeTextSizeRTF function getRSizes tt put empty into sizeList replace cr with empty in tt replace "\fs" with cr & "\fs" in tt filter tt with "\fs*" repeat for each line L in tt get offset(space,L) put trunc((char 4 to it-1 of L)/2) into sizeVal if sizeVal is not among the items of sizeList then put sizeVal & comma after sizeList end repeat return char 1 to -2 of sizeList end getRSizes From mwieder at ahsoftware.net Sun Jul 3 11:56:29 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Jul 2005 08:56:29 -0700 Subject: regular expressions In-Reply-To: <1120391848.42c7d2a83c96c@staffmail.ed.ac.uk> References: <1120391848.42c7d2a83c96c@staffmail.ed.ac.uk> Message-ID: <981371612.20050703085629@ahsoftware.net> Marielle- Sunday, July 3, 2005, 4:57:28 AM, you wrote: ML> Of course, the learning curve is very very slow... of course it is very easy to ML> make errors and quite difficult to keep track of what you are effectively ML> doing. My approach is to test my regEx in editors like BBedit (mac) or notetab ML> (pc) first, so that I can tune them in an environment where I can rapidly check ML> that the effects are as desired (and yes, this may take a few trial and ML> errors). I'm also quite fond of The Regex Coach (pc) http://weitz.de/index.html ML> Believe me, once you come to master regEx (which requires extensive use, in ML> different contexts) them, you come to see them as a real blessing rather than a ML> curse. After a rocky start, you just fall deeply in love with them. ...although I dare say that anyone who has trouble with Hungarian notation will run screaming from regex syntax. Very powerful, but about as far from xTalk's natural language approach as you can get... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 3 12:10:48 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Jul 2005 09:10:48 -0700 Subject: Naming conventions In-Reply-To: <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> References: <42B9F622.1070900@fourthworld.com> <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> Message-ID: <772230256.20050703091048@ahsoftware.net> Dennis- To add to your discussion of conventions: I've got a standard format for commenting my handlers that looks like -------------------------------------------- -- HandlerName -- -- Description of this block of code -- Uses: any global values used or external variables modified -- Returns: description of return value for functions -- Usage: -- HandlerName parameters -------------------------------------------- as in: -------------------------------------------- -- assertNotEqual -- -- Causes a runtime error in the IDE if the -- arguments are not the same. -- -- Usage: -- -- on MyTest pValue -- assertNotEqual pValue, zero -- put 1000 / pValue into gSomeGlobal -- end MyTest -------------------------------------------- -- -Mark Wieder mwieder at ahsoftware.net From jeff at siphonophore.com Sun Jul 3 13:53:16 2005 From: jeff at siphonophore.com (jeff reynolds fios) Date: Sun, 03 Jul 2005 13:53:16 -0400 Subject: Tiger and os9 was Tiger breaks hypercard In-Reply-To: <20050703170005.A17E2824D2E@mail.runrev.com> References: <20050703170005.A17E2824D2E@mail.runrev.com> Message-ID: <14975b9a246b1c375f1b9b498990b729@siphonophore.com> I had some confusion as to what folks were talking about with loading a os9 and os 10.4 on the same partition. I missed that the thread i responded to might have been with just problems with running os9 under tiger to run hc running 9to5 reports. I thought it was just problems running classic from the part of the thread i read and responded to. Are you concerned with os9 compatibility in general or just with hc and 9to5 reports. My old hc app does not use 9to5 reports, but lots of qt and specialty graphics calls as well as reads and writes files to the hard drive. I have only used the 10.3 and 10.4 with os9 on the same partition to run the os9 in classic mode, since the computers it they are loaded on are only machines that can run osx. I am just in the process today of suping up an old mac to donate and loading 10.3 and 922 on it. it can run 9 so i will see if it can flip between them fine. this was the standard feature of osx and 9 on older machines that still had 9 bootablity in their roms. i know i had no problem switching between running 10.1 with 9 on the same partition on my old titanium as well as running the 9 as classic under 10.1 (but it was the crude days of classic). sorry if there was confusion on this. i just got spooked when i saw the thread since i had just run off 1000 cds of a decade old multimedia cdrom that uses an app i developed in hc and was worried there would be a problem with tiger (figured murphy and all). amazing that a decade old app still works! trying to make the vb pc version work takes some guts in installing a v2 of quicktime over your nice new quicktime you need for xp or 2000 just to get one dll installed! not for the faint hearted... yell if you have more questions and i can try and clear the air more then send a clarification to the list. Jeffrey Reynolds On Jul 3, 2005, at 1:00 PM, use-revolution-request at lists.runrev.com wrote: > > Jeff, > > Thanks for this update. Good to know. > > Is it possible to run OS 9 and OS X simultaneously as with 10.2 (? & > 10.3)? > > Jim From hershrev at realtorsgroup.us Sun Jul 3 14:20:33 2005 From: hershrev at realtorsgroup.us (Hershel Fisch) Date: Sun, 03 Jul 2005 14:20:33 -0400 Subject: Using libSMTP to send an e-mail In-Reply-To: <20050701014258.C80E9824967@mail.runrev.com> Message-ID: On 6/30/05 9:45 PM, "tim at leaf25.com" wrote: Hi All, I have nice experience with the older version, the newer version I wasn't able to get to work. Hershel _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From warren at howsoft.com Sun Jul 3 16:55:25 2005 From: warren at howsoft.com (Bob Warren) Date: Sun, 3 Jul 2005 17:55:25 -0300 Subject: Suggestion for correcting the IDE's script editor Message-ID: <007601c58012$61d03990$0201a8c0@john> Dear All, As a result of our final discussion on how to improve the functioning of the script editor, I have submitted a bug report (#2968) and an enhancement request (#2969) to Bugzilla. Please vote for them (or not) as you wish. If you think there is anything crucial to add (or subtract), please let me know. Thanks. Regards, Bob From b.xavier at internet.lu Sun Jul 3 17:10:15 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 3 Jul 2005 23:10:15 +0200 Subject: Suggestion for correcting the IDE's script editor In-Reply-To: <007601c58012$61d03990$0201a8c0@john> Message-ID: <20050703210503.D37B0824964@mail.runrev.com> Bob, Usually supplying the bugzilla url in the mail makes it easier to jump there and vote for you ;) Just a thought... suggestion ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Bob Warren > Sent: Sunday, July 03, 2005 22:55 > To: use-revolution at lists.runrev.com > Subject: Suggestion for correcting the IDE's script editor > > Dear All, > > As a result of our final discussion on how to improve the > functioning of the script editor, I have submitted a bug > report (#2968) and an enhancement request (#2969) to > Bugzilla. Please vote for them (or not) as you wish. If you > think there is anything crucial to add (or subtract), please > let me know. > > Thanks. > > Regards, > Bob > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Sun Jul 3 17:12:18 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Jul 2005 14:12:18 -0700 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <5045e37e11def987f4332d9e1de5ac0b@maseurope.net> References: <5045e37e11def987f4332d9e1de5ac0b@maseurope.net> Message-ID: <42C854B2.9070008@fourthworld.com> Mark Smith wrote: > And finally, the RTF version, which is maybe a few milliseconds faster, > and has the possible advantage that the lower limit could be < 8 if > necessary. I think there may be a problem with using rtfText, as only htmlText preserves links. Is that correct, or does rtfText now also preserve links? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jhurley at infostations.com Sun Jul 3 17:23:17 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 3 Jul 2005 14:23:17 -0700 Subject: Where are my sub-menus? In-Reply-To: <20050703170005.A17E2824D2E@mail.runrev.com> References: <20050703170005.A17E2824D2E@mail.runrev.com> Message-ID: When I first started with 2.6 the buttons, fields, etc. were grouped into sub menus according to the control type in the inspector. That feature has disappeared and I can't find it in the preferences. Any of you seen my sub-menus out there anywhere? Jim From eric.chatonet at sosmartsoftware.com Sun Jul 3 17:33:08 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 3 Jul 2005 23:33:08 +0200 Subject: Where are my sub-menus? In-Reply-To: References: <20050703170005.A17E2824D2E@mail.runrev.com> Message-ID: <3AA194D2-5896-4429-AA33-E3F87EC2A315@sosmartsoftware.com> Hi Jim, There is a threshold: no sub-menus with a few controls and sub-menus with more than 20 controls. So go on working and you will get back your sub-menus ;-) Le 3 juil. 05 ? 23:23, Jim Hurley a ?crit : > When I first started with 2.6 the buttons, fields, etc. were > grouped into sub menus according to the control type in the > inspector. That feature has disappeared and I can't find it in the > preferences. > > Any of you seen my sub-menus out there anywhere? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From katir at hindu.org Sun Jul 3 17:40:36 2005 From: katir at hindu.org (Sivakatirswami) Date: Sun, 3 Jul 2005 11:40:36 -1000 Subject: PDFs in QT Player -- Hot Links Challenge Message-ID: Goal: Show PDF's inside a Revolution QT player object with PDF hyperlinks clickable. Tests so far, can someone confirm? (even better tell us how to do it) 1) Create PDF spread of two pages of a magazine, source is IDCS2, target format is Acrobat 7.0 2) open Rev, create player object, point the player to the PDF file.. it appears... And, what is even better... on zoom in (scale up) the text looks really great! 3) Go back to IDCS2, hyper link a URL on the page. Output to PDF again.. check the PDF.. The hyperlink is working, it's hot, click and it will open the web site in acrobat, or your browser (your choice) 4) Go back to Rev. Point the player now to the PDF that has the hypertext link. :-( player object goes blank... OK ? is it QT or Revolution? Let's find out.... 5) drop the PDF with hypertext link on QT Player... it opens... hyperlink is not there. But QT will at least show the file as a single movie frame. 6) back to Revolution, Toggle the filename of the player object between a) the same page/PDF with no links: it appears in Revolution b) the same page with one hyperlink: player goes blank. Conclusion: Revolution will not import the PDF with an embedded Hypertext link into a QT player object. Our expectations for inter-application file format interoperability here are probably just "out of this world." so much so that to call this a bug would be unfair to the Revolution engineers... after all I don't ask Acrobat to make chocolate chip cookies and then find out it doesn't work and call tech support at Adobe. But the trouble with Revolution is, it tends to give you this sense of "We can do anything we want." I guess finding a way to map PDF hyperlinks to hot spots with linked URL in the QT player is asking a lot.. but I thought to pose this question to the forum of the more experienced. I have seen a few here some who seem to be deep into the PDF file format... TIA Sivakatirswami From pixelbird at interisland.net Sun Jul 3 18:06:38 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 3 Jul 2005 15:06:38 -0700 Subject: Tiger breaks hyperCard? In-Reply-To: <20050703170005.911CB824D2D@mail.runrev.com> References: <20050703170005.911CB824D2D@mail.runrev.com> Message-ID: <8398094ca7aed6b02498c45492430a03@interisland.net> Hi Jim, > Date: Sun, 3 Jul 2005 05:46:31 -0700 > From: Jim Hurley > Subject: Re: Tiger breaks hyperCard? > Thanks for this update. Good to know. > > Is it possible to run OS 9 and OS X simultaneously as with 10.2 (? & > 10.3)? Do you mean Classic? If so then Yes, you can run Classic under any OSX, including Tiger. but AFAIK, OS 9.2.2 does not ship with Tiger (nor with Panther), i.e., you may have to get it and install it if it's not there already. Also, as the thread is now a misnomer, AFAIK, Tiger does not break HC, only some third party applications like 9 to 5 Reports DataPro, where file locations may have some kind of problem. All the best, Ken N. From sarahr at genesearch.com.au Sun Jul 3 18:35:43 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 4 Jul 2005 08:35:43 +1000 Subject: highlight a button in standalone+.rev app In-Reply-To: <1120208194.42c505423d749@webmail.armbase.com> References: <1120208194.42c505423d749@webmail.armbase.com> Message-ID: > I'd like to have just one button injector and a system to customise > the function > of the button. What I envisage is a drop down list that enters a > script into the > button. Is it possible (from an standalone) to highlight the button > in the > cloned stack with something like a right click(just like > in the rev IDE), then a prefernces window (which I'll create) pops > up with a > popup button with the fnuctions. > > Then when I click on OK it enters the script into the highlighted > button. > > EG click on "OK" and it does something ,like this. > > On mouseup > insert on mouseup & cr & dothisaction & cr & end mouseup into the > highlighted > button of the last stack open > end mopuseup > What about a script like this in your cloned stack's script: on mouseUp pBtnNumber global gSelectedButton -- check if right mouse button is used and if it is clicked over a button if pBtnNumber = 3 and the name of the target contains "button" then put the target into gSelectedButton -- perhaps make some visual change to indicate the selected button -- change it's color, draw a box around it or something like that else pass mouseUp end if end mouseUp Then your "script insertion" script can use whatever is in the global gSelectedButton to set the script. on mouseUp global gSelectedButton set the script of gSelectedButton to "on mouseUp" & cr & \ "doThisAction" & cr & "end mouseUp" end mouseUp HTH, Sarah From mark at maseurope.net Sun Jul 3 19:35:27 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 4 Jul 2005 00:35:27 +0100 Subject: scripting challenge: Large/Smaller text size In-Reply-To: <42C854B2.9070008@fourthworld.com> References: <5045e37e11def987f4332d9e1de5ac0b@maseurope.net> <42C854B2.9070008@fourthworld.com> Message-ID: I didn't know that, and trying it just now, it seems that rtf does not preserve links, so html is probably the way to go. Thanks for pointing that out. Mark On 3 Jul 2005, at 22:12, Richard Gaskin wrote: > Mark Smith wrote: >> And finally, the RTF version, which is maybe a few milliseconds >> faster, and has the possible advantage that the lower limit could be >> < 8 if necessary. > > I think there may be a problem with using rtfText, as only htmlText > preserves links. > > Is that correct, or does rtfText now also preserve links? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mark at maseurope.net Sun Jul 3 20:32:22 2005 From: mark at maseurope.net (Mark Smith) Date: Mon, 4 Jul 2005 01:32:22 +0100 Subject: Printing to PDF on OS X Message-ID: <97b586f1b63718f9942e1104886d41bd@maseurope.net> Can anyone tell me how I can print 1 card to a pdf. The following produced a pdf ok, but it was blank... on printMe open printing with dialog if the result is "Cancel" then exit printme print cd 1 of this stack close printing end print me if I choose the "Print" option when the dialog appears, the printer prints the card, but if I choose the "save as pdf option" and "Save", the pdf is created, but it does not have any content. I'm stumped. Thanks, Mark Smith From M.Lange at ed.ac.uk Sun Jul 3 21:32:20 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Mon, 04 Jul 2005 02:32:20 +0100 Subject: How do I make simple multiple user access app? Message-ID: <1120440740.42c891a48b800@staffmail.ed.ac.uk> Sometime around 30/6/05 (at 20:47 -0500) Stephen Barncard said: >>Keith; >>Are you sure the resources aren't already available at the ISP the >>office already uses for its web site (assuming it has one)? >It is a political issue rather than a financial one I'm afraid. [sigh] >Actually, it is also a practical one, in that she has zero experience >with scripting (and I mean *zero*) and she wants to do the project >herself rather than me do it and her not know anything about it. I >wouldn't ask anyone, let alone my nearest+dearest, to launch straight >into MySQL from a standing start! Revolution with simple scripting >and stack structure, yes; MySQL, no. Not yet, anyway. :-) (I didn't follow the full thread.) Just in case not. I wonder if you know of PhPMyAdmin (wrongly named as what it does is administer MySQL db). Visual interface to your database, all manipulations done via menus and mouseclicks clicks. To master MySQL is another story. But, by my experience, to manage a very simple database using phpmyadmin is easier than simple scripting and stack structure. Marielle From bill at bluewatermaritime.com Sun Jul 3 21:54:25 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 03 Jul 2005 21:54:25 -0400 Subject: Printing to PDF on OS X In-Reply-To: <97b586f1b63718f9942e1104886d41bd@maseurope.net> Message-ID: I do this all the time just as you describe and it works fine. On 7/3/05 8:32 PM, "Mark Smith" wrote: > Can anyone tell me how I can print 1 card to a pdf. The following > produced a pdf ok, but it was blank... > > on printMe > open printing with dialog > if the result is "Cancel" then exit printme > print cd 1 of this stack > close printing > end print me > > if I choose the "Print" option when the dialog appears, the printer > prints the card, but if I choose the "save as pdf option" and "Save", > the pdf is created, but it does not have any content. > > I'm stumped. > > Thanks, > > Mark Smith > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From see3d at writeme.com Sun Jul 3 22:02:22 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 03 Jul 2005 22:02:22 -0400 Subject: Naming conventions [was: Food Fight] In-Reply-To: References: Message-ID: Thanks for looking at it Ken, On Jul 2, 2005, at 11:14 PM, Ken Ray wrote: > On 7/2/05 4:59 PM, "Dennis Brown" wrote: > > Looks good to me, Dennis... and as long as you remember that > variables that > end with "W" still are truly global until this gets implemented at > RunRev, > you're in good shape. Yes, I will be careful with my own stacks. I don't expect anyone else will be using my crazy scheme and misspelling their global names with an extra "W" at the end of them for a wile at least. As soon a RunRev makes a stack level global, I will make an edit pass to fix all the lines that have a comment of "--fix". > I, too, read my code out loud in my head, but I guess I'm just so > used to > Hungarian Lite that it just "sounds right" to me. I expect that if I had experience with the strongly typed languages (instead of assembler (where operators determine the type --not data), and high level languages that are typeless), I might find it more "natural". I am sure that if I forced myself to use Hungarian for a year, I would also get comfortable with it. However, X-Talk languages are natural English languages. I ask my wife to read the Clock script I wrote. She was able to read it and understand how it worked without ever seeing Transcript before. It would not have been so easy if the variable names did not "read" right. Transcript does not require any such notations in variables in order to work, nor has it traditionally been documented as needing these. It does not really matter if you junk up a cryptic language with more cryptic stuff, but it does matter if you take a non-cryptic language and make it cryptic. In fact, I would wager that if the inventor of the Hungarian notation started with Transcript and wanted to solve the same problems for Transcript, that it would not look like the current Hungarian notation. However, from reading the many posts on this thread, I realized that there were advantages to adding some tags to variable names. So, I set out to gain the important advantages of the Hungarian notation in the least invasive way to the readability of Transcript for my own style. > Anyway, as long as it is consistent and works for you... I really appreciate the support from everyone looking and making helpful suggestions about my "deviations" from the norm, instead of just saying "Don't re-invent the wheel, we have a perfectly good one already". Thanks, Dennis From see3d at writeme.com Sun Jul 3 22:04:46 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 03 Jul 2005 22:04:46 -0400 Subject: Naming conventions [was: Food Fight] In-Reply-To: References: Message-ID: Eric, I like your suggestion and will use it. It is a better idea than my adding a less flexible tag to the handler name. Thanks, Dennis On Jul 3, 2005, at 2:29 AM, Eric Chatonet wrote: > Hi all, > > I followed this thread and I would like to share additional (off > topic) conventions I use since years that help me a lot when > reading (above all reading again some months later) my code: > > At the end of any line where I call another handler or function > (custom or system), I am used to put an add-up: > A comment sign (--) followed by a space (aesthetic need :-), a > delta (or what you want) and a capitalised letter which indicates > where is located the handler or the function used in this line: > nothing: it's in the same script > C: it's in in the card's script > Can be also G, S, MS (main stack), X (external), etc. > > As I use, each time I can, handlers or functions placed higher in > the message path, then I always know the effective message path of > my messages :-) > My two cents. > > Best Regards from Paris, > > Eric Chatonet. From M.Lange at ed.ac.uk Sun Jul 3 22:05:14 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Mon, 04 Jul 2005 03:05:14 +0100 Subject: design problem: fonts and spacing Message-ID: <1120442714.42c8995a339d3@staffmail.ed.ac.uk> >That leads to another question: What fonts is it _safe_ to assume one >will find on Mac, OSX, Windows? (Linux?) I know it's possible to ask >in a script, but that doesn't help very much with the design problem, >when something about the font is critical. Is there a list, >somewhere, of (the presumably very few) fontnames that will always >work everywhere? Hi Charles, Common fonts to all versions of Windows & Mac equivalents You will find information about user preference and reading performance in the presence of different types of fonts at: Eric, As you mentioned you recently developed softwares for older adults, you may be interested to know that in this same document provides abundant information about preferences of older adults: "Older Adults are more accurate with, and prefer larger font sizes. They also prefer sans serif fonts over serif fonts. As discussed by Bernard, Liao, and Mills (2001) reading online documents (about 2 pages), older adults significantly preferred the larger, 14-point font size (see Figure 4 below). In this study, serif fonts (Georgia and Times New Roman) were compared to sans serif fonts (Arial and Verdana) at 12- and 14-points. The 14-point fonts were found to be more legible, promote faster reading, and were preferred to the 12-point fonts. Also, at the 14-point size, serif fonts tended to support faster reading (see Figure 6). Examining participants' 1st and 2nd preference choice further shows the popularity of the 14-point size (see Figure 7). " Marielle From see3d at writeme.com Sun Jul 3 22:07:32 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 03 Jul 2005 22:07:32 -0400 Subject: Naming conventions In-Reply-To: <772230256.20050703091048@ahsoftware.net> References: <42B9F622.1070900@fourthworld.com> <54636F70-A1B2-44A0-8C42-40536025E3E7@writeme.com> <772230256.20050703091048@ahsoftware.net> Message-ID: <69B45067-18B3-49C4-812E-7A50301B2914@writeme.com> Mark, This is a good template suggestion, I will give it or something similar VERY serious consideration for adding to my scripts also. Thanks, Dennis On Jul 3, 2005, at 12:10 PM, Mark Wieder wrote: > Dennis- > > To add to your discussion of conventions: > > I've got a standard format for commenting my handlers that looks like > > -------------------------------------------- > -- HandlerName > -- > -- Description of this block of code > -- Uses: any global values used or external variables modified > -- Returns: description of return value for functions > -- Usage: > -- HandlerName parameters > -------------------------------------------- > > as in: > > -------------------------------------------- > -- assertNotEqual > -- > -- Causes a runtime error in the IDE if the > -- arguments are not the same. > -- > -- Usage: > -- > -- on MyTest pValue > -- assertNotEqual pValue, zero > -- put 1000 / pValue into gSomeGlobal > -- end MyTest > -------------------------------------------- From charles.hartman at conncoll.edu Sun Jul 3 22:43:03 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 3 Jul 2005 22:43:03 -0400 Subject: design problem: fonts and spacing In-Reply-To: <1120442714.42c8995a339d3@staffmail.ed.ac.uk> References: <1120442714.42c8995a339d3@staffmail.ed.ac.uk> Message-ID: <33C9C928-281A-4015-A65D-DA37EB55D628@conncoll.edu> That's exactly what I needed -- thanks. I guess I need to shift all my Courier bits to Courier New. I *know* there's a simple way to do that throughout the stack file -- I'll work that out. And then I guess I want to test (on openStack in the main stack) the platform, and if Palatino is available, use it, and otherwise something else (perhaps Verdana, though I dislike sans-serif fonts). This sounds like time for a Property Set, to be shared by all the cards I've made . . . something else to figure out how to do. Excellent! (Python and C I know; Transcript I'm just getting into.) Charles Hartman On Jul 3, 2005, at 10:05 PM, Marielle Lange wrote: >> That leads to another question: What fonts is it _safe_ to assume one >> will find on Mac, OSX, Windows? (Linux?) I know it's possible to ask >> in a script, but that doesn't help very much with the design problem, >> when something about the font is critical. Is there a list, >> somewhere, of (the presumably very few) fontnames that will always >> work everywhere? >> > > Hi Charles, > > Common fonts to all versions of Windows & Mac equivalents > > > You will find information about user preference and reading > performance in the > presence of different types of fonts at: > > > Eric, > > As you mentioned you recently developed softwares for older adults, > you may be > interested to know that in this same document provides abundant > information > about preferences of older adults: > "Older Adults are more accurate with, and prefer larger font sizes. > They also > prefer sans serif fonts over serif fonts. As discussed by Bernard, > Liao, and > Mills (2001) reading online documents (about 2 pages), older adults > significantly preferred the larger, 14-point font size (see Figure > 4 below). In > this study, serif fonts (Georgia and Times New Roman) were compared > to sans > serif fonts (Arial and Verdana) at 12- and 14-points. The 14-point > fonts were > found to be more legible, promote faster reading, and were > preferred to the > 12-point fonts. Also, at the 14-point size, serif fonts tended to > support > faster reading (see Figure 6). Examining participants' 1st and 2nd > preference > choice further shows the popularity of the 14-point size (see > Figure 7). " > > Marielle > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From stephenREVOLUTION at barncard.com Sun Jul 3 22:51:52 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 3 Jul 2005 21:51:52 -0500 Subject: How do I make simple multiple user access app? In-Reply-To: <1120440740.42c891a48b800@staffmail.ed.ac.uk> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> Message-ID: And if you have a Mac, CocoaMySQL (client) is far better for managing a MySQL database than the server-based phpMyAdmin, in my opinion, and it's free. Navicat is good, too and there are versions for Mac and PC, but it is not free. sqb > >To master MySQL is another story. But, by my experience, to manage a >very simple >database using phpmyadmin is easier than simple scripting and stack structure. > >Marielle From jhurley at infostations.com Mon Jul 4 00:19:37 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 3 Jul 2005 21:19:37 -0700 Subject: Where are my sub-menus? In-Reply-To: <20050704023904.F0CD9824D18@mail.runrev.com> References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: > >Message: 7 >Date: Sun, 3 Jul 2005 23:33:08 +0200 >From: Eric Chatonet >Subject: Re: Where are my sub-menus? >To: How to use Revolution >Message-ID: <3AA194D2-5896-4429-AA33-E3F87EC2A315 at sosmartsoftware.com> >Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; > format=flowed > >Hi Jim, > >There is a threshold: no sub-menus with a few controls and sub-menus >with more than 20 controls. >So go on working and you will get back your sub-menus ;-) > Hi Eric, So that's it. I thought I had been hallucinating. Thanks, Jim From kee at kagi.com Mon Jul 4 00:21:08 2005 From: kee at kagi.com (kee nethery) Date: Sun, 3 Jul 2005 21:21:08 -0700 Subject: CGI and AppleScript In-Reply-To: References: Message-ID: On Jun 29, 2005, at 3:32 PM, Robert Brenstein wrote: >> And if so is there any way to call AppleScript from a CGI? > > It is possible but you need acgi dispatcher > > http://www.sentman.com/acgi/ We use this and it works quite well. Many of the code generation algorithms we run are hypertalk in a hypercard standalone. (We also are the store for it.) Kee Nethery Kagi From kee at kagi.com Mon Jul 4 00:29:05 2005 From: kee at kagi.com (kee nethery) Date: Sun, 3 Jul 2005 21:29:05 -0700 Subject: Tiger breaks hyperCard? In-Reply-To: References: Message-ID: <145D745B-3301-424D-B793-BEE71AF91495@kagi.com> If you are running Hypercard on the startup volume, it runs fine until you try to edit a script. That does not work. If you are running externals in Hypercard, no clue whether they still function or not, I imagine they do, mostly. If you want to edit scripts in Hypercard just create a small disk image and plop Hypercard and the home stack into that virtual disk. Then you can edit scripts just fine running that copy of Hypercard. The offending code appears to me to be the script editor that is separate code inside Hypercard. The Apple tech support folks at WWDC had the following response when I mentioned the problem "Hypercard is not supported, OS9 is not supported, we cannot help you." Kee Nethery From eric.chatonet at sosmartsoftware.com Mon Jul 4 03:55:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Jul 2005 09:55:24 +0200 Subject: Fwd: Tiger, HC and Reports References: <20050703164924.40708.qmail@web33304.mail.mud.yahoo.com> Message-ID: Hi all, Christopher Rosien sent me the following mail: can interest HC users. D?but du message r?exp?di? : > FYI, > here are two posts to the HC list that suggest the > problem with and a workaround for Tiger, HC and > Reports under Tiger > > http://finance.groups.yahoo.com/group/HyperCard/message/24932 > > http://finance.groups.yahoo.com/group/HyperCard/message/24913 > > :) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at harryscollar.com Mon Jul 4 04:29:11 2005 From: alex at harryscollar.com (Alex Shaw) Date: Mon, 04 Jul 2005 18:29:11 +1000 Subject: quick dirty ftp transfer? In-Reply-To: <20050704023904.F0CD9824D18@mail.runrev.com> References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: <42C8F357.2090703@harryscollar.com> hi I haven't had much time to disect libURL but does anyone know if it is easy/possible/done to rig up a quick ftp-like transfer between 2 (or more) stacks using a combo of the libURLftpUploadFile and libURLDownloadToFile commands? I just want to take advantage of the ability to send large file easily between stacks without the hassle of all the other ftp stuff (because i don't need it and would rather add it to a custom authenticity system), and obviously i don't really wanna code my own file-chomping scripts :) regards alex From dcragg at lacscentre.co.uk Mon Jul 4 05:34:44 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Jul 2005 10:34:44 +0100 Subject: quick dirty ftp transfer? In-Reply-To: <42C8F357.2090703@harryscollar.com> References: <20050704023904.F0CD9824D18@mail.runrev.com> <42C8F357.2090703@harryscollar.com> Message-ID: On 4 Jul 2005, at 09:29, Alex Shaw wrote: > hi > > I haven't had much time to disect libURL but does anyone know if it > is easy/possible/done to rig up a quick ftp-like transfer between 2 > (or more) stacks using a combo of the libURLftpUploadFile and > libURLDownloadToFile commands? Alex, can you give us a bit more information about what you're trying to do? Are the stacks in question on separate machines? How are the machines networked, LAN or only by internet? You could use the libUrl ftp commands, but you'd need to go through an ftp server. I'm not sure, but I gather from your mail that you don't want to do that. Cheers Dave > > I just want to take advantage of the ability to send large file > easily between stacks without the hassle of all the other ftp stuff > (because i don't need it and would rather add it to a custom > authenticity system), and obviously i don't really wanna code my > own file-chomping scripts :) > > regards > alex > From engleerica at yahoo.com Mon Jul 4 07:13:11 2005 From: engleerica at yahoo.com (Eric Engle) Date: Mon, 4 Jul 2005 04:13:11 -0700 (PDT) Subject: Hosting Stacks? In-Reply-To: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: <20050704111311.51580.qmail@web60525.mail.yahoo.com> Does anyone know a good free webhost that allows stacks and standalones to be uploaded? Neither yahoo nor yahoo briefcase allow me to upload stacks (or standalones) :( I have some goodies i would like to share :) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From rev at armbase.com Mon Jul 4 07:29:25 2005 From: rev at armbase.com (rev at armbase.com) Date: Mon, 04 Jul 2005 12:29:25 +0100 Subject: Hosting Stacks? In-Reply-To: <20050704111311.51580.qmail@web60525.mail.yahoo.com> References: <20050704111311.51580.qmail@web60525.mail.yahoo.com> Message-ID: <1120476565.42c91d952a6e8@webmail.armbase.com> Quoting Eric Engle : > Does anyone know a good free webhost that allows stacks and standalones to be > uploaded? Well not standalones, but if you want to share stacks there is revonline. cheers bob From revinfo1155 at aol.com Mon Jul 4 07:54:46 2005 From: revinfo1155 at aol.com (revinfo1155 at aol.com) Date: Mon, 04 Jul 2005 07:54:46 -0400 Subject: Hosting Stacks? In-Reply-To: <1120476565.42c91d952a6e8@webmail.armbase.com> References: <20050704111311.51580.qmail@web60525.mail.yahoo.com> <1120476565.42c91d952a6e8@webmail.armbase.com> Message-ID: <8C74EA64EAF1DD1-894-DCAA@FWM-R42.sysops.aol.com> Don't know a free one but mac idisk does it hassle free. jack -----Original Message----- From: rev at armbase.com To: How to use Revolution Sent: Mon, 04 Jul 2005 12:29:25 +0100 Subject: Re: Hosting Stacks? Quoting Eric Engle : > Does anyone know a good free webhost that allows stacks and standalones to be > uploaded? Well not standalones, but if you want to share stacks there is revonline. cheers bob _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From yoursignup at yahoo.com Mon Jul 4 08:01:12 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Mon, 4 Jul 2005 02:01:12 -1000 Subject: Hosting Stacks? In-Reply-To: <20050704111311.51580.qmail@web60525.mail.yahoo.com> Message-ID: What about if the standalone is zipped? Everyone uploads and downloads zips -Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Eric Engle Sent: Monday, July 04, 2005 1:13 AM To: use-revolution at lists.runrev.com Subject: Hosting Stacks? Does anyone know a good free webhost that allows stacks and standalones to be uploaded? Neither yahoo nor yahoo briefcase allow me to upload stacks (or standalones) :( I have some goodies i would like to share :) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Mon Jul 4 08:11:39 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 4 Jul 2005 07:11:39 -0500 Subject: Fwd: Tiger, HC and Reports In-Reply-To: References: <20050703164924.40708.qmail@web33304.mail.mud.yahoo.com> Message-ID: Is there any compelling reason (really) to use Tiger at all at this time? I don't see any earth-shattering features. sqb From charles.hartman at conncoll.edu Mon Jul 4 08:15:46 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 4 Jul 2005 08:15:46 -0400 Subject: design problem: fonts and spacing In-Reply-To: <1120442714.42c8995a339d3@staffmail.ed.ac.uk> References: <1120442714.42c8995a339d3@staffmail.ed.ac.uk> Message-ID: Thanks again. By the way, there are some errors to watch out for on this page. It says Lucida Console and Monaco are monospace; they're not. It also says New York and MS Serif are sans serif (!). I don't know if there are others. Charles Hartman On Jul 3, 2005, at 10:05 PM, Marielle Lange wrote: > > Common fonts to all versions of Windows & Mac equivalents > > > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From charles.hartman at conncoll.edu Mon Jul 4 08:17:44 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 4 Jul 2005 08:17:44 -0400 Subject: Tiger, HC and Reports In-Reply-To: References: <20050703164924.40708.qmail@web33304.mail.mud.yahoo.com> Message-ID: Only if you want to use applications that demand it -- of which, by now, there are at least dozens. Or if you want a Safari that performs at decent speed . . . On Jul 4, 2005, at 8:11 AM, Stephen Barncard wrote: > Is there any compelling reason (really) to use Tiger at all at this > time? > > I don't see any earth-shattering features. > > sqb > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From nicolas_cueto at yahoo.com Mon Jul 4 09:58:47 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Mon, 4 Jul 2005 22:58:47 +0900 Subject: making my first video game References: <003201c57707$80baa840$0b01a8c0@niconiko04zbtb><7B5C0C13-3847-4D9C-8299-D162DBFA35F2@major-k.de><007801c57a99$66247f20$0b01a8c0@niconiko04zbtb><49ef330820f71a9423213a3a5168288b@swcp.com> <0b4b9830c0b99ce1c05b08dc97afeb18@swcp.com> Message-ID: <01d201c580a0$80a84040$0b01a8c0@niconiko04zbtb> Hello All, I hope I'm not asking for too much hand- holding on this one. The shooting effect in the old space invaders game is what I'm after. I'm studying Tuviah Snyder's "Bouncy" stack to learn about multiple objects moving at the same time (the invaders) and the moving paddle (the space gun), BUT what has got me stumped is how to create the stream of "bullets" that shoot out from the gun and, upon contact with a targer, set off a reaction. Does that make sense? Thanks for reading this far. Cheers, Nicolas Cueto From richmond at mail.maclaunch.com Fri Jul 1 13:04:41 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri, 01 Jul 2005 13:04:41 -0400 Subject: Embedded objects in fields Message-ID: I have just downloaded the SuperCard 4.5 demo and found they have a new feature: allowObjects this lets the user embed object (images and so on) inside FIELDS: WOW - I would love scrolling text fields with pictures! Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From webmaster at dreamscapesoftware.com Mon Jul 4 10:03:47 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 04 Jul 2005 09:03:47 -0500 Subject: quick dirty ftp transfer? In-Reply-To: References: <20050704023904.F0CD9824D18@mail.runrev.com> <42C8F357.2090703@harryscollar.com> Message-ID: <42C941C3.4010603@dreamscapesoftware.com> Dave Cragg wrote: > You could use the libUrl ftp commands, but you'd need to go through an > ftp server. I'm not sure, but I gather from your mail that you don't > want to do that. I think you'd be much better off taking advantage of Sockets, but if your looking for quick and dirty then FTP is a way to go. Problem is that you can't simultaneously upload from 1 stack and download from another (well, it's possible, but NEVER recommended). You have to upload the entire file first then download it to the other. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From robert.cailliau at free.fr Sat Jul 2 05:16:48 2005 From: robert.cailliau at free.fr (Robert Cailliau) Date: Sat, 2 Jul 2005 11:16:48 +0200 Subject: Parameterising an application Message-ID: Hello, When building an app containing several stacks, one may want to use some constants that are to be used by more than one of the stacks. E.g. I may want to use a set of colours or some dimension such as a fontsize that should be available everywhere. Yet I do not want to declare the values more than once. It seems I can do this in one of the following ways: (1) declare and initialise a global variable, then declare and use it in other stacks: Mainstack: global gRed on Initialise put "255,0,0" into gRed end Initialise Other stack: global gRed ... set the backgroundcolor of field "X" to gRed ... (2) create and set a property of the mainstack and use it in other stacks. Mainstack: on Initialise set the pRed of this stack to "255,0,0" end Initialise Other stack: ... set the backgroundcolor of field "X" to the pRed of stack "Main" ... (3) declare a constant and duplicate that line of code in all stacks. Mainstack: constant cRed = "255,0,0" Other stack: constant cRed = "255,0,0" ... set the backgroundcolor of field "X" to cRed ... Methods (1) and (2) have the disadvantage that I need to separate the declaration from the value assignment and/or need to write code in an initialisation routine. Method (3) is in some sense worse because when I change my mind as to the value, I have to change it in all stacks that use it. It seems I cannot do it by some statement like: global constant cRed = "255,0,0" However, this restriction does not apply to handlers: If I write a handler in the main stack's script and then call it from a substack, I do not have to make any declaration in the substack. Similarly, it is sufficient to write start using stack to get access to all its handlers. Maybe (suggestion) there should be a "global constant" statement, such that any global constants are application-wide and this would also apply to global constants declared in stacks used as libraries. Since I designed and wrote my own languages and compilers (back in the 70's!) and spent a lot of time thinking about modular programming, I know that I'm asking for something that can only be implemented efficiently in a fully compiled language and not in an interpreted one (C uses the horrible "header files" for this purpose). But actually I do not care how global constants are implemented: it will in fact have to be implemented in the same way as a global variable with implicit initialisation, thereby excluding some optimisations. E.g. when I write constant cMargin = 35 ... put 2*cMargin into lExtraSpace ... Revolution can actually compile this into put 70 into lExtraSpace and this optimisation would no longer be possible with values of global constants. However, that is irrelevant: it is also impossible with any of the other methods I gave. What is much more important is that a global constant statement would allow me to collect all the application-wide values in one place, making the code cleaner and more robust. There is one way in which I can use constant declarations right now: I could write a handler that looks at all the scripts of all the objects in my application and puts the block of constant declarations at the start of the scripts (or some place marked in some convention). This is rather more ugly though. Or can I have this facility already but I missed some part of the documentation? Or has anyone a simpler and equally effective solution in terms of existing syntax? Robert. From keith at vortex.co.uk Mon Jul 4 10:06:31 2005 From: keith at vortex.co.uk (Keith Martin) Date: Mon, 4 Jul 2005 15:06:31 +0100 Subject: How do I make simple multiple user access app? In-Reply-To: <1120440740.42c891a48b800@staffmail.ed.ac.uk> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> Message-ID: <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> Marielle Lange wrote: > Just in case not. I wonder if you know of PhPMyAdmin (wrongly named > as what it > does is administer MySQL db). and Stephen Bancard added: > And if you have a Mac, CocoaMySQL (client) is far better for > managing a MySQL database than the server-based phpMyAdmin, in my > opinion, and it's free. Thanks both of you. I use PHPMyAdmin right now for some ongoing MySQL tests. I don't have any serious problem with it, although it could certainly be better. Stephen, I'll grab a copy of CocoaMySQL and see how that goes, thanks! k ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From webmaster at dreamscapesoftware.com Mon Jul 4 10:11:31 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 04 Jul 2005 09:11:31 -0500 Subject: making my first video game In-Reply-To: <01d201c580a0$80a84040$0b01a8c0@niconiko04zbtb> References: <003201c57707$80baa840$0b01a8c0@niconiko04zbtb><7B5C0C13-3847-4D9C-8299-D162DBFA35F2@major-k.de><007801c57a99$66247f20$0b01a8c0@niconiko04zbtb><49ef330820f71a9423213a3a5168288b@swcp.com> <0b4b9830c0b99ce1c05b08dc97afeb18@swcp.com> <01d201c580a0$80a84040$0b01a8c0@niconiko04zbtb> Message-ID: <42C94393.5040501@dreamscapesoftware.com> Nicolas, Someone may prove me wrong, but that type of game might be a little too intense for Revolution. I do hope that someone will prove me wrong as I'd love to make my own Space Invaders style game! Problem is that you've got multiple objects moving at the same time. That's a lot of script to process. Say 1 ship, 1 to 50 shots, 10 Alien Crafts and don't forget the powerups, upgrades and scrolling background. There is a great stack on Edge Detection out there that will give you a way to determine whether an object (err...ship) was hit. You can download it at < www.curryk.com/collide.html >. That should give you something to work with. I hope that you can prove my theory wrong...so Good Luck!! Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ Nicolas Cueto wrote: > Hello All, > > I hope I'm not asking for too much hand- > holding on this one. > > The shooting effect in the old space invaders > game is what I'm after. I'm studying Tuviah > Snyder's "Bouncy" stack to learn about > multiple objects moving at the same time > (the invaders) and the moving paddle > (the space gun), BUT what has got me > stumped is how to create the stream of > "bullets" that shoot out from the gun and, > upon contact with a targer, set off a reaction. > > Does that make sense? > > Thanks for reading this far. > > Cheers, > Nicolas Cueto > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Mon Jul 4 10:12:06 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Jul 2005 16:12:06 +0200 Subject: Embedded objects in fields In-Reply-To: References: Message-ID: <300BDFAA-4296-4198-8EF9-BCEA52B18671@sosmartsoftware.com> Hi son of Matthew :-), > WOW - I would love scrolling text fields with pictures! ImageSource was introduced in Rev 1.1 Specifies an image to be displayed in place of the specified character in a field. set the imageSource of character to {imageID |imageName |imageURL | empty} So... 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From nicolas_cueto at yahoo.com Mon Jul 4 10:37:18 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Mon, 4 Jul 2005 23:37:18 +0900 Subject: making my first video game Message-ID: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> Derek Bump offered: > That's a lot of script to process. Say 1 ship, 1 to 50 shots, 10 Alien > Crafts and don't > forget the powerups, upgrades and scrolling background. Oh, I'm not aiming to make a space invaders game. What I'm after is a space invaders-like feature, namely, multiple shots. And only 1 to 10 shots, 5 Alien crafts (actually, phonemes falling from the sky), and no powerups, upgrades nor scrolling background. That'd be way over my meager scripting abilities! Thanks, too, for the reference to the Edge Detection stack. Actually, for the "alien crafts", I'm thinking of copying Tuviah Snyder's idea of using round buttons with a thick border. Kind of looks like a space ship. > I hope that you can prove my theory wrong...so Good Luck!! Not much chance of that. So, let's hope for someone else. Cheers, Nicolas Cueto From charles.hartman at conncoll.edu Mon Jul 4 11:14:28 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 4 Jul 2005 11:14:28 -0400 Subject: Embedded objects in fields In-Reply-To: References: Message-ID: On Jul 1, 2005, at 1:04 PM, Mathewson wrote: > I have just downloaded the SuperCard 4.5 demo and found > they have a new feature: > > allowObjects > > this lets the user embed object (images and so on) inside > FIELDS: > > WOW - I would love scrolling text fields with pictures! -- and buttons! (At the moment I'm doing this is a non-scrolling field inside a scrolling group, but aside from being tedious that has other disadvantages, such as the scroll-wheel not working right.) Charles Hartman From dbrooks at unlserve.unl.edu Mon Jul 4 11:15:20 2005 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Mon, 4 Jul 2005 10:15:20 -0500 Subject: CGI and AppleScript In-Reply-To: References: Message-ID: I've used Dispatcher successfully BUT if the form has a textarea space, it quickly can send in many bytes. In my hands, there seems to be a 2^11 (2048) byte cut off in what dispatcher will forward to RunRev. Dave Brooks > > On Jun 29, 2005, at 3:32 PM, Robert Brenstein wrote: > >>> And if so is there any way to call AppleScript from a CGI? >> >> It is possible but you need acgi dispatcher >> >> http://www.sentman.com/acgi/ > > We use this and it works quite well. Many of the code generation > algorithms we run are hypertalk in a hypercard standalone. > > (We also are the store for it.) > > Kee Nethery > Kagi > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dcragg at lacscentre.co.uk Mon Jul 4 12:00:38 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Jul 2005 17:00:38 +0100 Subject: making my first video game In-Reply-To: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> References: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> Message-ID: <134453DB-5796-4F78-86F4-C2DD59A1DF85@lacscentre.co.uk> On 4 Jul 2005, at 15:37, Nicolas Cueto wrote: > Derek Bump offered: > > >> That's a lot of script to process. Say 1 ship, 1 to 50 shots, 10 >> Alien >> Crafts and don't >> forget the powerups, upgrades and scrolling background. >> > > Oh, I'm not aiming to make a space invaders game. What > I'm after is a space invaders-like feature, namely, multiple > shots. And only 1 to 10 shots, 5 Alien crafts (actually, > phonemes falling from the sky), and no powerups, upgrades > nor scrolling background. That'd be way over my meager > scripting abilities! Hi Nicolas I've seen this done, and in fact I've converted an old Hyprcard stack to Rev with exactly this kind of activity. It was a lot of fun. Unfortunately, it was in a commercial product so I can't just pass over the stack. But here's the gist of one way to do it. (Very simple example) In this case, there were 5 falling targets, each with a letter. A word was spoken, and the user tries to hit the target with the corresponding letter by moving left and right controls, and pressing the "fire" button when aligned with the target. In this activity, if the wrong target was hit, the missile just passed through the target. (This may not be exciting enough, but I'll leave that to you.) Also, there is no stream of missiles, just one at a time. Naturally, the most important thing is the coolness of the sound when you fire the missile. (Something like "pshwooooo") on fireMissile ## the "target" image is determined elsewhere put the cTargetImage of this card into tTarget ## first work out the left and right edges of the target put the left of image tTarget into tL put the right of image tTarget into tR ##play your cool sound ## it's good if it plays as soon as the button is clicked play audioclip "missile" ## set the starting position of the missile set the loc of image "missile" to the loc of image "spaceShip" show image "missile" ##determine whether it's a hit or not before you even move the missile ## and determine where you want your missile to disappear if it's a miss put item 1 of the loc of image "missile" into Xloc if xLoc >= tL and xLoc <= tR then ##hit put true into tHit put the loc of image tTarget into tDestLoc put xLoc into item 1 of tDestLoc else put false into tHit put xLoc & ",20" into tDestLoc end if set the moveSpeed to 600 move image "missile" to tDestLoc hide image "missile" if tHit then hide image tTarget play audioclip "destruct" wait until the sound is done end if end fireMissile Cheers Dave From gcanyon at inspiredlogic.com Mon Jul 4 12:05:38 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Mon, 4 Jul 2005 09:05:38 -0700 Subject: compileIt for revolution? In-Reply-To: <42BBFC94.8030905@sover.net> References: <20050622160127.1D86B93012B@mail.runrev.com> <42B9F9D8.4080302@fourthworld.com> <2CA261D3-98AD-4DC3-84DF-D44C69A55D5C@inspiredlogic.com> <42BBFC94.8030905@sover.net> Message-ID: I still can't download this from RevOnline. If I'm the only one then fine, but otherwise can you make it available for download in some other way, or at least try re-uploading it to RevOnline? On Jun 24, 2005, at 5:29 AM, Jon wrote: > If anyone wants to try to help me speed optimize my image > processing loops, download the obvious program from my user space. > Load an image of your choice (but hopefully larger than your > screen, to be realistic), then select Brightness, then Linear. > From kray at sonsothunder.com Mon Jul 4 12:18:21 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Jul 2005 11:18:21 -0500 Subject: [ANN] RevZilla 2.0.3 Available Message-ID: Just a quick note to let you know there was a couple of bug fixes in the latest release that were causing submission errors when making changes to existing bugs. You can get it at the usual places - RevOnline, RevNet, and my web site at: http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm Enjoy! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Mon Jul 4 12:25:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Jul 2005 11:25:42 -0500 Subject: Parameterising an application In-Reply-To: Message-ID: On 7/2/05 4:16 AM, "Robert Cailliau" wrote: > Methods (1) and (2) have the disadvantage that I need to separate the > declaration from the value assignment and/or need to write code in an > initialisation routine. Method (3) is in some sense worse because > when I change my mind as to the value, I have to change it in all > stacks that use it. Yup. > It seems I cannot do it by some statement like: > > global constant cRed = "255,0,0" > > However, this restriction does not apply to handlers: If I write a > handler in the main stack's script and then call it from a substack, > I do not have to make any declaration in the substack. Similarly, it > is sufficient to write > > start using stack > > to get access to all its handlers. > > Maybe (suggestion) there should be a "global constant" statement, > such that any global constants are application-wide and this would > also apply to global constants declared in stacks used as libraries. (Here we go again...) ;-) Sorry, Robert, but there were two VERY LONG threads on the Improve Rev list recently about this, and the bottom line result was that if it is important to you then vote for it in BugZilla (Bug #2401) and we'll see if RunRev puts it in. For right now, it seems that the simplest way to simulate global constants is to create a function handler in a stack that you can get to (like a library stack) that returns the static value and then use that in your code. Ex. libStuff function cRed return "255,0,0" end cRed Elsewhere: set the backgroundColor of field 1 to cRed() HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From eric.chatonet at sosmartsoftware.com Mon Jul 4 12:26:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Jul 2005 18:26:04 +0200 Subject: [ANN] New Tutorial available from So Smart Software Message-ID: Paris, Mon, 4 Jul 2005 18:25:00 +0100 ---------------------- English version ------------------------- Hello, So Smart Software has the pleasure of announcing the availability of a new tutorial: How to Manage Resizing This stack explains how to position, scale, etc. all controls in a card when the window is resized with the help of the Geometry Manager or by scripting. Tips and tricks, commented scripts, FAQ and example stacks. Print function included. If you have already downloaded the Tutorials Picker plugin (from Rev Online or my web-site), this 17th tutorial will appear automatically in the list. This tutorial can be downloaded as a zip archive separately from http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en Note that the version available through Tutorials Picker will be the only one which will be updated if needed. Best regards, Eric Chatonet. If you don't want to be on this low traffic list, you can unsubscribe by emailing to mailinglist at sosmartsoftware.com with "unsubscribe" (without the quotes) in the subject line. --------------------- Version fran?aise ------------------------ Bonjour, So Smart Software a le plaisir d'annoncer la disponibilit? d'un nouveau didacticiel : Comment redimensionner le contenu d'une fen?tre Cette pile explique comment positionner, mettre ? l'?chelle, etc. les contr?les dans une carte en fonction des dimensions de la fen?tre ? l'aide du Geometry Manager ou par script. Nombreux trucs et astuces, scripts expliqu?s, FAQ et piles d'exemple. Fonction d'impression incluse. Si vous avez d?j? t?l?charg? le plugin Tutorials Picker (depuis Rev Online ou depuis mon site), ce 17?me didacticiel appara?tra automatiquement dans la liste. Le didacticiel est ?galement disponible sous la forme d'une arhive zip en allant ? http://www.sosmartsoftware.com/? r=revolution_didacticiels&l=fr Notez que la version disponible via Tutorials Picker sera la seule ? faire l'objet d'?ventuelles mises ? jour. Cordialement, Eric Chatonet. Si vous souhaitez vous d?sinscrire de cette liste, envoyez un mail ? mailinglist at sosmartsoftware.com avec "unsubscribe" (sans les guillemets) comme sujet. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From b.xavier at internet.lu Mon Jul 4 12:12:29 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 4 Jul 2005 18:12:29 +0200 Subject: compileIt for revolution? In-Reply-To: Message-ID: <20050704164050.7AB828248E1@mail.runrev.com> Geoff did you get a corrupted zip archive too? yop! Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Geoff Canyon > Sent: Monday, July 04, 2005 18:06 > To: How to use Revolution > Subject: Re: compileIt for revolution? > > I still can't download this from RevOnline. If I'm the only > one then fine, but otherwise can you make it available for > download in some other way, or at least try re-uploading it > to RevOnline? > > On Jun 24, 2005, at 5:29 AM, Jon wrote: > > > If anyone wants to try to help me speed optimize my image > > processing loops, download the obvious program from my user > space. > > Load an image of your choice (but hopefully larger than > your screen, > > to be realistic), then select Brightness, then Linear. > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Mon Jul 4 13:09:48 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 4 Jul 2005 13:09:48 -0400 Subject: making my first video game In-Reply-To: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> References: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> Message-ID: <119a317a985ccdd5c75f5307ab6c53bf@adelphia.net> In an old SC stack I broke down the collective movements of mutliple object that needed to move. Instead of move object 1 from 0,0 to 50,50 end and then move object 2 from 0,0 to 40,40 end etc. I tried a script where: repeat this list until all moves are done move object 1 from 0,0 to 10,10 move object 2 from 0,0 to 9,9 move object 1 from 10,10 to 20,20 move object 2 from 10,10 to 19,19 the concept worked ok in SC tom On Jul 4, 2005, at 10:37 AM, Nicolas Cueto wrote: > Derek Bump offered: > >> That's a lot of script to process. Say 1 ship, 1 to 50 shots, 10 >> Alien >> Crafts and don't >> forget the powerups, upgrades and scrolling background. > > Oh, I'm not aiming to make a space invaders game. What > I'm after is a space invaders-like feature, namely, multiple > shots. And only 1 to 10 shots, 5 Alien crafts (actually, > phonemes falling from the sky), and no powerups, upgrades > nor scrolling background. That'd be way over my meager > scripting abilities! > > Thanks, too, for the reference to the Edge Detection stack. > Actually, for the "alien crafts", I'm thinking of copying > Tuviah Snyder's idea of using round buttons with a thick > border. Kind of looks like a space ship. > >> I hope that you can prove my theory wrong...so Good Luck!! > > Not much chance of that. So, let's hope for someone else. > > Cheers, > Nicolas Cueto > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From kray at sonsothunder.com Mon Jul 4 13:12:31 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Jul 2005 12:12:31 -0500 Subject: [ANN] Ken Forgot To Upload Files (was "RevZilla 2.0.3 Available") Message-ID: 'nuff said... Download link should work now... :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From alex at tweedly.net Mon Jul 4 13:17:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 18:17:38 +0100 Subject: making my first video game In-Reply-To: <01d201c580a0$80a84040$0b01a8c0@niconiko04zbtb> References: <003201c57707$80baa840$0b01a8c0@niconiko04zbtb><7B5C0C13-3847-4D9C-8299-D162DBFA35F2@major-k.de><007801c57a99$66247f20$0b01a8c0@niconiko04zbtb><49ef330820f71a9423213a3a5168288b@swcp.com> <0b4b9830c0b99ce1c05b08dc97afeb18@swcp.com> <01d201c580a0$80a84040$0b01a8c0@niconiko04zbtb> Message-ID: <42C96F32.3060902@tweedly.net> Nicolas Cueto wrote: >Hello All, > >I hope I'm not asking for too much hand- >holding on this one. > >The shooting effect in the old space invaders >game is what I'm after. I'm studying Tuviah >Snyder's "Bouncy" stack to learn about >multiple objects moving at the same time >(the invaders) and the moving paddle >(the space gun), BUT what has got me >stumped is how to create the stream of >"bullets" that shoot out from the gun and, >upon contact with a targer, set off a reaction. > > > If I remember correctly (which is doubtful after all these years), the original Space Invaders only allowed one shot at a time. That was a significant feature, because it dictated part of the technique needed to play - it was very expensive to shoot and miss, because you then couldn't fire again until that missile had dragged its way slowly to the top of the screen. (Of course, it was really moving quickly, but it felt like it was going soooo slowly :-) However, multiple missiles should be quite feasible if you want that. >Does that make sense? > > That sounds fairly "do-able". I'd be tempted to try button-with-image for the aliens (and player, and mother ships), but use Geoff Canyon's "polygon with marker and invisible edge" trick to do the missiles. Create a polygon graphic, with the "marker edges" set to represent a missile (e.g. 0,0 2,0 2,-8 0,-10 -2,-8 -2,0 0,0) and check the 'filled' checkbox. Then place missiles by setting the points of the polygon, e.g. 100,100 100,60 100,40 100,100 Note the blank lines so the edges aren't drawn, and the last line = the first line. Then a simple timer for each 'alien' button (or one timer for all buttons, but move the aliens one at a time ....) and off you go. The timer handler for the missile(s) can include the collision detection with the aliens (I haven't looked at the site Derek gave you - but beware of using too general a function - for one stream of missiles matching against a set of same-sized aliens, this should be easy). -- 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.8.8/37 - Release Date: 01/07/2005 From alex at tweedly.net Mon Jul 4 13:38:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 18:38:12 +0100 Subject: compileIt for revolution? In-Reply-To: References: <20050622160127.1D86B93012B@mail.runrev.com> <42B9F9D8.4080302@fourthworld.com> <2CA261D3-98AD-4DC3-84DF-D44C69A55D5C@inspiredlogic.com> <42BBFC94.8030905@sover.net> Message-ID: <42C97404.8070907@tweedly.net> Geoff Canyon wrote: > I still can't download this from RevOnline. If I'm the only one then > fine, but otherwise can you make it available for download in some > other way, or at least try re-uploading it to RevOnline? > Geoff - did you not see the email from 6/29 where I posted the central part of the code in question ? You can find it at gmane.comp.ide.revolution.user:61341 RevOnline has decided to disown me :-( - so I've posted a copy on my site. This includes some commented out sections where I was playing around - please ignore them. In your message box, enter go url "http://www.tweedly.net/RunRev/agtimage.rev" You'll then need to do "Files/Open" to give it an image to use (stick to something smaller than 800x600) Then "Brightness/Linear" to compute the histogram (I think the action is commented out - takes long enough to do this first part). Note I already sent one email describing some obvious improvements - but that still left the performance a couple of orders of magnitude too slow ... this one is at gmane.comp.ide.revolution.user:61547 -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/2005 From rodneys at io.com Mon Jul 4 13:39:14 2005 From: rodneys at io.com (Rodney Somerstein) Date: Mon, 4 Jul 2005 13:39:14 -0400 Subject: Kevin Miller's scripting conference chat log In-Reply-To: <42B88195.3060608@hyperactivesw.com> References: <42B88195.3060608@hyperactivesw.com> Message-ID: >During our last scripting conference, Kevin Miller gave a >presentation on Revolution 2.6 and answered questions from the >participants about Revolution and future plans. I have posted the >transcript of that portion of the conference, and you can download >it here: > > > >You will need a program that can open .rtf files to read it. > >The remainder of the conference was Richard Gaskin's presentation on >the message hierarchy. The transcript of that portion is contained >in the downloadable scripting conference stack as usual. > I have tried to download this several times and get a file not found error. Can you please correct the above link or re-upload the file so that it is downloadable? Thanks, -Rodney From alex at tweedly.net Mon Jul 4 13:45:35 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 18:45:35 +0100 Subject: Parameterising an application In-Reply-To: References: Message-ID: <42C975BF.4090009@tweedly.net> Ken Ray wrote: > >(Here we go again...) ;-) > >Sorry, Robert, but there were two VERY LONG threads on the Improve Rev list >recently about this, > Since 90% of the folks on this list doesn't, and can't, see what's been discussed on the Improve list, that's not especially helpful. >and the bottom line result was that if it is important >to you then vote for it in BugZilla (Bug #2401) and we'll see if RunRev puts >it in. > > > It looks (from the comment in BZ 2401) as though some interesting discussion happened - but without knowing what that was, it's hard to avoid repeating it here. And certainly hard to vote for "the answer" without knowing why it's "the answer". -- 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.8.8/37 - Release Date: 01/07/2005 From jperryl at ecs.fullerton.edu Mon Jul 4 13:45:55 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 Jul 2005 10:45:55 -0700 (PDT) Subject: making my first video game In-Reply-To: <01d201c580a0$80a84040$0b01a8c0@niconiko04zbtb> Message-ID: Kinda like Asteroids? Didn't somebody on this group do one of those? (I may have it on my university's ftp server... will have to take a look if nobody else has located it already). Judy On Mon, 4 Jul 2005, Nicolas Cueto wrote: > Hello All, > > I hope I'm not asking for too much hand- > holding on this one. > > The shooting effect in the old space invaders > game is what I'm after. From jperryl at ecs.fullerton.edu Mon Jul 4 13:47:34 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 Jul 2005 10:47:34 -0700 (PDT) Subject: Embedded objects in fields In-Reply-To: Message-ID: Richmond, As you are probably less of a goober than I, take a look at imageSource. While in my current harried state I was not able to get it to work, I know that others have. This allows you to do precisely what you desire (well, okay, I don't know about the precision part...). Judy On Fri, 1 Jul 2005, Mathewson wrote: > I have just downloaded the SuperCard 4.5 demo and found > they have a new feature: > > allowObjects > > this lets the user embed object (images and so on) inside > FIELDS: > > WOW - I would love scrolling text fields with pictures! From see3d at writeme.com Mon Jul 4 13:55:31 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 04 Jul 2005 13:55:31 -0400 Subject: Stack Level Local/Globals Message-ID: Hi All, I have searched all over BZ looking for an enhancement to the global or local declarations that provide the missing Stack level scope in Transcript because I wanted to add my votes to it, but I can't seem to find it. Could someone point me to it, otherwise I will enter it. Global variable = Scope across all stacks --these are a pain to use because the scope is too broad so they need special naming conventions. Stack global variable = Scope across sub-stacks --this is the missing scope that could replace globals in most situations. Script local variable = Scope across script --we have this Local variable = Scope inside handler --we have this The stack global/local variable (I am not sure what it should be called) just has the scope of a single main-stack and sub-stacks. This means that I could assign "global" names to a project without having to take into consideration global names that may have been used by someone else. This seems like the missing scope piece that would simply solve many problems. It was suggested to me privately in an email, so I assumed that it has had an enhancement request in BZ. Dennis From jbondy at sover.net Mon Jul 4 14:44:47 2005 From: jbondy at sover.net (Jon) Date: Mon, 04 Jul 2005 14:44:47 -0400 Subject: Where are my sub-menus? In-Reply-To: References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: <42C9839F.4050906@sover.net> /curmudgeon_mode=on I'd rate this kind of undocumented, uncontrollable, and quirky "feature" as exactly the kind of thing to avoid. I understand that the intent is good, but the result is clearly confusion. How about a preference to control this behavior, and some documentation? It reminds me of the recent Windows (XP?) feature where menu entries disappear if you don't use them enough. I disable this on every system I encounter. /curmudgeon_mode=off :) Jon Jim Hurley wrote: >> >> Message: 7 >> Date: Sun, 3 Jul 2005 23:33:08 +0200 >> From: Eric Chatonet >> Subject: Re: Where are my sub-menus? >> To: How to use Revolution >> Message-ID: <3AA194D2-5896-4429-AA33-E3F87EC2A315 at sosmartsoftware.com> >> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; >> format=flowed >> >> Hi Jim, >> >> There is a threshold: no sub-menus with a few controls and sub-menus >> with more than 20 controls. >> So go on working and you will get back your sub-menus ;-) >> > > Hi Eric, > > So that's it. I thought I had been hallucinating. > > Thanks, > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Mon Jul 4 14:54:10 2005 From: jbondy at sover.net (Jon) Date: Mon, 04 Jul 2005 14:54:10 -0400 Subject: compileIt for revolution? In-Reply-To: References: <20050622160127.1D86B93012B@mail.runrev.com> <42B9F9D8.4080302@fourthworld.com> <2CA261D3-98AD-4DC3-84DF-D44C69A55D5C@inspiredlogic.com> <42BBFC94.8030905@sover.net> Message-ID: <42C985D2.6000807@sover.net> The stack is still available from www.jonbondy.com/jlbimage.rev :) Jon Geoff Canyon wrote: > I still can't download this from RevOnline. If I'm the only one then > fine, but otherwise can you make it available for download in some > other way, or at least try re-uploading it to RevOnline? > > On Jun 24, 2005, at 5:29 AM, Jon wrote: > >> If anyone wants to try to help me speed optimize my image processing >> loops, download the obvious program from my user space. Load an >> image of your choice (but hopefully larger than your screen, to be >> realistic), then select Brightness, then Linear. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Mon Jul 4 15:07:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Jul 2005 21:07:28 +0200 Subject: Stack Level Local/Globals In-Reply-To: References: Message-ID: Hi Dennis, I agree since I provide many tools for the community that are made to run in the IDE. So I never use globals but I prefer to refer to some custom properties stored in specific custom property sets in my plugins or in the revPreferences stack. BTW, I found that referring to custom properties is as fast as using global variables and they don't vanish when they are stored in revPreferences. That's great :-) But... The main aim with Rev is to build standalones where this problem does not exist since all yours globals are of course stack global variables ;-) Le 4 juil. 05 ? 19:55, Dennis Brown a ?crit : > I have searched all over BZ looking for an enhancement to the > global or local declarations that provide the missing Stack level > scope in Transcript because I wanted to add my votes to it, but I > can't seem to find it. Could someone point me to it, otherwise I > will enter it. > > Global variable = Scope across all stacks --these are a pain to use > because the scope is too broad so they need special naming > conventions. > Stack global variable = Scope across sub-stacks --this is the > missing scope that could replace globals in most situations. > Script local variable = Scope across script --we have this > Local variable = Scope inside handler --we have this > > The stack global/local variable (I am not sure what it should be > called) just has the scope of a single main-stack and sub-stacks. > This means that I could assign "global" names to a project without > having to take into consideration global names that may have been > used by someone else. This seems like the missing scope piece that > would simply solve many problems. It was suggested to me privately > in an email, so I assumed that it has had an enhancement request in > BZ. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Mon Jul 4 15:30:38 2005 From: jbondy at sover.net (Jon) Date: Mon, 04 Jul 2005 15:30:38 -0400 Subject: (no subject) In-Reply-To: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> References: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> Message-ID: <42C98E5E.9090201@sover.net> Marielle: Thanks for your thoughts. Others on the list have demonstrated to my satisfaction that there is no easy way to actually use the Rev language to manipulate the arrays in an efficient manner, Jim's comments notwithstanding. If I'm willing to use externals of any sort, it is easy to speed things up. My interest was only in writing portable code with Rev, not in learning or using ancillary facilities, if which there are myriad I'm sure. :) Jon Marielle Lange wrote: >>Jon, >> >>My point exactly: "a large array of numbers" = "data" So is the photograph >>you are computing the histogram on. Would either of these change, if you >>switch languages? Hence, they are external to your language, or "data." >> >>I write business application software, so I've never had to compute a >>histogram and admit I have no clue as to what's involved in that process. >> >>But, if you know the kind of data manipulation you will be doing in advance, >>you can parse, index, or otherwise reorganize the source data in such a way >>as to minimize large data sources or "large arrays." >> >>Now, depending on how well you organized your data, whether your language is >>in pcode or machine compiled, results in only milliseconds of difference. >> >> > >Jim, > >I support your view... I often have to manipulate huge lexical databases (50.000 >lines, 50 columns). Usint the same computer language, I was often able to cut >running time down from 30 minutes to 2 min. by using more effective resource >management techniques. > >Jon, > >If you cannot see ways in which you can reorganize your data... why not consider >using Awk for your array processing (something that Awk excels at). Awk is >freely available on any platform, doesn't take more than 200K, and can be >learned in one day for your purpose (simple array processing). It is quite easy >to call to it to do array processing on large data and get the result back to >revolution. You will find information about Awk at > (Why GAWK for AI?) > > >Marielle >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From jbondy at sover.net Mon Jul 4 15:33:04 2005 From: jbondy at sover.net (Jon) Date: Mon, 04 Jul 2005 15:33:04 -0400 Subject: regular expressions In-Reply-To: <1120391848.42c7d2a83c96c@staffmail.ed.ac.uk> References: <1120391848.42c7d2a83c96c@staffmail.ed.ac.uk> Message-ID: <42C98EF0.4010300@sover.net> Marielle: My personal reaction to statements like "of course it is very easy to make errors and quite difficult to keep track of what you are effectively doing" leaves me pretty much uninterested. Some of us do well with terse and complex languages. I'm on the other end, wanting visual clarity during coding, as a means towards more reliable code. Jon Marielle Lange wrote: >>Nobody *likes* RegEx. But it is powerful, and we use it because there >>is no practical alternative. I wish there were. >> >> > >Hi Dave, > >I do like regEx very much. Simply because that's the optimal solution to the >problem they address. That's an extraordinarily clever solution, which let you >write in a single line, what could take you pages of programs to code. Thanks >to regular expressions, I wrote in less than 20 lines the equivalent of a >program that a colleague of mine had written in nearly 10 pages. > >Of course, the learning curve is very very slow... of course it is very easy to >make errors and quite difficult to keep track of what you are effectively >doing. My approach is to test my regEx in editors like BBedit (mac) or notetab >(pc) first, so that I can tune them in an environment where I can rapidly check >that the effects are as desired (and yes, this may take a few trial and >errors). > >Believe me, once you come to master regEx (which requires extensive use, in >different contexts) them, you come to see them as a real blessing rather than a >curse. After a rocky start, you just fall deeply in love with them. > >Marielle >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From revolution at derbrill.de Mon Jul 4 16:02:58 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 4 Jul 2005 22:02:58 +0200 Subject: compileIt for revolution? In-Reply-To: <20050704170003.88FAE824934@mail.runrev.com> Message-ID: <9DED7AE2-ECC6-11D9-8CA4-0030659A795C@derbrill.de> I got a question: Is the goal only to add the charToNum values for Red,Green and blue for each pixel? I?m not sure If I understand the original script correctly. If so there is a very speedy alternative. If not could you please explain in a few words of pseudo code what the script needs to do? Thanks, Malte From alex at tweedly.net Mon Jul 4 16:10:30 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 21:10:30 +0100 Subject: compileIt for revolution? In-Reply-To: <9DED7AE2-ECC6-11D9-8CA4-0030659A795C@derbrill.de> References: <9DED7AE2-ECC6-11D9-8CA4-0030659A795C@derbrill.de> Message-ID: <42C997B6.80606@tweedly.net> Malte Brill wrote: > > > I got a question: Is the goal only to add the charToNum values for > Red,Green and blue for each pixel? I?m not sure If I understand the > original script correctly. If so there is a very speedy alternative. > If not could you please explain in a few words of pseudo code what the > script needs to do? > Goal is to create a histogram of total pixel values i.e. repeat with i = 1 to 768 put 0 into histogram[i] end repeat repeat for each pixel P in img "image" add 1 to histogram[P.red + P.green + P.blue] end repeat The *real* goal is to then create a translation table which linearizes these values, and then revisit them doing repeat for each pixel P in img "image" put translation(P.red, P.green, P.blue]) into P end repeat -- 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.8.8/37 - Release Date: 01/07/2005 From kray at sonsothunder.com Mon Jul 4 16:35:20 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Jul 2005 15:35:20 -0500 Subject: Parameterising an application In-Reply-To: <42C975BF.4090009@tweedly.net> Message-ID: On 7/4/05 12:45 PM, "Alex Tweedly" wrote: > Ken Ray wrote: > >> >> (Here we go again...) ;-) >> >> Sorry, Robert, but there were two VERY LONG threads on the Improve Rev list >> recently about this, >> > Since 90% of the folks on this list doesn't, and can't, see what's been > discussed on the Improve list, that's not especially helpful. Well that may be true, but since AFAIK all the people on the Improve list are on the Use list, starting the same discussion all over again would cause all those people who were involved the first time to repost their opinions *again*. This was also discussed a couple of years ago - you can look it up at Google, search for: global constants site:lists.runrev.com >> and the bottom line result was that if it is important >> to you then vote for it in BugZilla (Bug #2401) and we'll see if RunRev puts >> it in. >> > It looks (from the comment in BZ 2401) as though some interesting > discussion happened - but without knowing what that was, it's hard to > avoid repeating it here. And certainly hard to vote for "the answer" > without knowing why it's "the answer". If you'd like to restart the discussion, go ahead... it seems to be very popular indeed... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Mon Jul 4 16:52:57 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 13:52:57 -0700 Subject: regular expressions In-Reply-To: <981371612.20050703085629@ahsoftware.net> References: <1120391848.42c7d2a83c96c@staffmail.ed.ac.uk> <981371612.20050703085629@ahsoftware.net> Message-ID: JavaScript defined a regex class fairly early on to insulate users of that xTalk-like language from the rigors of RegEx syntax, which can be not only daunting but is inherently unreadable, sort of like assembly language. Dan On Jul 3, 2005, at 8:56 AM, Mark Wieder wrote: > Marielle- > > Sunday, July 3, 2005, 4:57:28 AM, you wrote: > > ML> Of course, the learning curve is very very slow... of course it > is very easy to > ML> make errors and quite difficult to keep track of what you are > effectively > ML> doing. My approach is to test my regEx in editors like BBedit > (mac) or notetab > ML> (pc) first, so that I can tune them in an environment where I > can rapidly check > ML> that the effects are as desired (and yes, this may take a few > trial and > ML> errors). > > I'm also quite fond of The Regex Coach (pc) > > http://weitz.de/index.html > > ML> Believe me, once you come to master regEx (which requires > extensive use, in > ML> different contexts) them, you come to see them as a real > blessing rather than a > ML> curse. After a rocky start, you just fall deeply in love with > them. > > ...although I dare say that anyone who has trouble with Hungarian > notation will run screaming from regex syntax. Very powerful, but > about as far from xTalk's natural language approach as you can get... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dcragg at lacscentre.co.uk Mon Jul 4 16:59:59 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Mon, 4 Jul 2005 21:59:59 +0100 Subject: Stack Level Local/Globals In-Reply-To: References: Message-ID: <0CB0CBCD-3BFD-467D-B566-C94AD1F24B5E@lacscentre.co.uk> On 4 Jul 2005, at 20:07, Eric Chatonet wrote: > Hi Dennis, > > I agree since I provide many tools for the community that are made > to run in the IDE. I agree too. :) > So I never use globals but I prefer to refer to some custom > properties stored in specific custom property sets in my plugins or > in the revPreferences stack. > BTW, I found that referring to custom properties is as fast as > using global variables and they don't vanish when they are stored > in revPreferences. > That's great :-) Eric, my own testing shows that accessing custom properties is significantly slower than accessing globals. (Over 20 times slower in a simple test.) When I have to refer to custom properties frequently (for example when going through hundreds of elements of a customPropertySet), I usually copy them to a variable first. But perhaps the access times vary by circumstances. This was the most recent test I ran. global gTest on mouseUp set the cTest of me to 100 put 100 into gTest put 100000 into tTimes put the milliseconds into tStart repeat tTimes get gTest end repeat put the milliseconds - tStart into tOut put the milliseconds into tStart repeat tTimes get the cTest of me end repeat put cr & the milliseconds - tStart after tOut put tOut end mouseUp >> >> The stack global/local variable (I am not sure what it should be >> called) just has the scope of a single main-stack and sub-stacks. How about just "stack variable"? Cheers Dave From alex at tweedly.net Mon Jul 4 17:04:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 22:04:19 +0100 Subject: Button leaving behind droppings Message-ID: <42C9A453.7060609@tweedly.net> Is there something else I ought to do (or not do) here ? Create a new mainstack Create a button in it (all default values) edit the card script to say on mouseMove put the loc of button "button" into tLoc put item 1 of the mouseloc into item 1 of tLoc set the loc of button "button" to tLoc end mouseMove and the button moves along with the mouse, just like you'd want. Then Inspect the button, and select "default button" - now the button moves, but leaves behind "droppings" as it moves. Is there something else I ought to do to move a "default" button, or should I BZ this ? (winXP, Rev 2.6, and 2.5 but not 2.2) -- 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.8.8/37 - Release Date: 01/07/2005 From revdan at danshafer.com Mon Jul 4 17:08:49 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 14:08:49 -0700 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: References: Message-ID: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> On OS X 10.4.1 with Rev 2.6.1, PDFs are not among the file types one can load into a QT Player. Unless, of course, I'm missing something. At least I don't seem to be able simply to point a QT Player at a PDF file; the file name is dimmed in the file dialog. Dan On Jul 3, 2005, at 2:40 PM, Sivakatirswami wrote: > Goal: Show PDF's inside a Revolution QT player object with PDF > hyperlinks clickable. > > Tests so far, can someone confirm? (even better tell us how to do it) > > 1) Create PDF spread of two pages of a magazine, source is IDCS2, > target format is Acrobat 7.0 > > 2) open Rev, create player object, point the player to the PDF > file.. it appears... And, what is even better... on zoom in (scale > up) the text looks really great! > > 3) Go back to IDCS2, hyper link a URL on the page. Output to PDF > again.. check the PDF.. The hyperlink is working, it's hot, click > and it will open the web site in acrobat, or your browser (your > choice) > > 4) Go back to Rev. Point the player now to the PDF that has the > hypertext link. > > :-( player object goes blank... > > OK ? is it QT or Revolution? Let's find out.... > > 5) drop the PDF with hypertext link on QT Player... it opens... > hyperlink is not there. But QT will at least show the file as a > single movie frame. > > 6) back to Revolution, Toggle the filename of the player object > between > a) the same page/PDF with no links: it appears in Revolution > b) the same page with one hyperlink: player goes blank. > > Conclusion: Revolution will not import the PDF with an embedded > Hypertext link into a QT player object. > > Our expectations for inter-application file format interoperability > here are probably just "out of this world." so much so that to call > this a bug would be unfair to the Revolution engineers... after all > I don't ask Acrobat to make chocolate chip cookies and then find > out it doesn't work and call tech support at Adobe. But the > trouble with Revolution is, it tends to give you this sense of "We > can do anything we want." > > I guess finding a way to map PDF hyperlinks to hot spots with > linked URL in the QT player is asking a lot.. but I thought to pose > this question to the forum of the more experienced. I have seen a > few here some who seem to be deep into the PDF file format... > > TIA > > Sivakatirswami > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revolution at derbrill.de Mon Jul 4 17:09:25 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 4 Jul 2005 23:09:25 +0200 Subject: use-revolution Digest, Vol 22, Issue 14 In-Reply-To: <20050704170003.88FAE824934@mail.runrev.com> Message-ID: Hi Alex, here is the fastest we have been discussing in chatRev until now. ( chatrev.cjb.net ) Thanks to kWeed, Mark and BvG! Still room for optimization though. on mouseUp put the milliseconds into gorb put 0 into counter put 0 into newValue put 0 into line 768 of newHistogram repeat for each char theChar in the imageData of img 1 add 1 to counter if counter mod 4=0 then add charToNum(theChar) to newValue if line newValue of newhistoGram is not a number then put 1 into line (newValue) of newHistoGram else add 1 to line (newValue) of newHistogram end if put 0 into newValue else add charToNum(theChar) to newValue end if end repeat repeat for each line theLine in newhistogram if theLine is a number then put theLine&cr after theHistogram else put 0&cr after theHistogram end if end repeat delete char -1 of theHistogram put theHistogram into fld "test" --split theHistogram by return if you want an array answer the milliseconds-gorb end mouseUp Cheers, malte From alex at tweedly.net Mon Jul 4 17:09:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 22:09:38 +0100 Subject: Parameterising an application In-Reply-To: References: Message-ID: <42C9A592.7020503@tweedly.net> Ken Ray wrote: >On 7/4/05 12:45 PM, "Alex Tweedly" wrote: > > > >If you'd like to restart the discussion, go ahead... it seems to be very >popular indeed... > > No - I'd really like *not* to restart it, or to re-tread old ground (esp. for those of you who'd be seeing it again so soon after the last time). I was hoping that you (or someone) could not just mention that it had been discussed, but maybe give a summary (or some of the highlights) so we could understand and appreciate the reason why BZ 2041 was the right answer, and which other ones had been considered and rejected compared to it. -- 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.8.8/37 - Release Date: 01/07/2005 From revolution at derbrill.de Mon Jul 4 17:10:55 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 4 Jul 2005 23:10:55 +0200 Subject: compileIt for revolution? In-Reply-To: <20050704205552.E49CE82492A@mail.runrev.com> Message-ID: <1C2050FC-ECD0-11D9-8CA4-0030659A795C@derbrill.de> Ooopsie wrong header , sorry! Hi Alex, here is the fastest we have been discussing in chatRev until now. ( chatrev.cjb.net ) Thanks to kWeed, Mark and BvG! Still room for optimization though. on mouseUp put the milliseconds into gorb put 0 into counter put 0 into newValue put 0 into line 768 of newHistogram repeat for each char theChar in the imageData of img 1 add 1 to counter if counter mod 4=0 then add charToNum(theChar) to newValue if line newValue of newhistoGram is not a number then put 1 into line (newValue) of newHistoGram else add 1 to line (newValue) of newHistogram end if put 0 into newValue else add charToNum(theChar) to newValue end if end repeat repeat for each line theLine in newhistogram if theLine is a number then put theLine&cr after theHistogram else put 0&cr after theHistogram end if end repeat delete char -1 of theHistogram put theHistogram into fld "test" --split theHistogram by return if you want an array answer the milliseconds-gorb end mouseUp Cheers, malte From revdan at danshafer.com Mon Jul 4 17:13:40 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 14:13:40 -0700 Subject: Printing to PDF on OS X In-Reply-To: <97b586f1b63718f9942e1104886d41bd@maseurope.net> References: <97b586f1b63718f9942e1104886d41bd@maseurope.net> Message-ID: <54D7E6A4-42FF-4D14-90B9-1203A968AAC8@danshafer.com> Your stack works fine on OS X 10.4.1 with Rev 2.6.1 here. I get a PDF with the card in it. Dan On Jul 3, 2005, at 5:32 PM, Mark Smith wrote: > Can anyone tell me how I can print 1 card to a pdf. The following > produced a pdf ok, but it was blank... > > on printMe > open printing with dialog > if the result is "Cancel" then exit printme > print cd 1 of this stack > close printing > end print me > > if I choose the "Print" option when the dialog appears, the printer > prints the card, but if I choose the "save as pdf option" and > "Save", the pdf is created, but it does not have any content. > > I'm stumped. > > Thanks, > > Mark Smith > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ambassador at fourthworld.com Mon Jul 4 17:15:49 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Jul 2005 14:15:49 -0700 Subject: Stack Level Local/Globals In-Reply-To: <0CB0CBCD-3BFD-467D-B566-C94AD1F24B5E@lacscentre.co.uk> References: <0CB0CBCD-3BFD-467D-B566-C94AD1F24B5E@lacscentre.co.uk> Message-ID: <42C9A705.2050608@fourthworld.com> Dave Cragg wrote: > > On 4 Jul 2005, at 20:07, Eric Chatonet wrote: > >> Hi Dennis, >> >> I agree since I provide many tools for the community that are made to >> run in the IDE. > > > I agree too. :) > >> So I never use globals but I prefer to refer to some custom >> properties stored in specific custom property sets in my plugins or >> in the revPreferences stack. >> BTW, I found that referring to custom properties is as fast as using >> global variables and they don't vanish when they are stored in >> revPreferences. >> That's great :-) > > > Eric, my own testing shows that accessing custom properties is > significantly slower than accessing globals. (Over 20 times slower in a > simple test.) When I have to refer to custom properties frequently (for > example when going through hundreds of elements of a > customPropertySet), I usually copy them to a variable first. But > perhaps the access times vary by circumstances. > > This was the most recent test I ran. > > global gTest > on mouseUp > set the cTest of me to 100 > put 100 into gTest > put 100000 into tTimes > put the milliseconds into tStart > repeat tTimes > get gTest > end repeat > put the milliseconds - tStart into tOut > put the milliseconds into tStart > repeat tTimes > get the cTest of me > end repeat > put cr & the milliseconds - tStart after tOut > put tOut > end mouseUp That sounds slow expressed as relative figures, but when we look at the speed per access it's not so bad for many uses: Milliseconds per access for- global: 0.00058 property: 0.00441 function: 0.00297 I usually use functions instead of constants for constant-like things, as they have the same read-only benefit of true constants but have the convenience of not requiring declaration. In this test I had this function in the card script: function cTest return 100 end cTest I was surprised the function call was so fast relative to accessing a property, but either way isn't so bad for occassional access. If you're doing a lot of processing of the data you could copy it to a local var during the heavy lifting. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Jul 4 17:19:11 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Jul 2005 14:19:11 -0700 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> Message-ID: <42C9A7CF.2040400@fourthworld.com> Dan Shafer wrote: > On OS X 10.4.1 with Rev 2.6.1, PDFs are not among the file types one > can load into a QT Player. > > Unless, of course, I'm missing something. At least I don't seem to be > able simply to point a QT Player at a PDF file; the file name is dimmed > in the file dialog. Good news: That's just a filtering thang; from your own script you can set a player to a PDF and it'll display nicely. Bad news: This capability doesn't exist in the Windows version of QT. :( -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdan at danshafer.com Mon Jul 4 17:18:58 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 14:18:58 -0700 Subject: Embedded objects in fields In-Reply-To: References: Message-ID: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> Just my two cents -- and it's a holiday here so my brain may be otherwise engaged -- I think putting buttons into scrolling fields is a terrible UI idea. By definition, it puts certain functionality out of the reach of the user until and unless s/he scrolls the field. Lotus NOtes allowed this and every time I saw an app designed to take advantage of it, users got confused. I suspect I feel the same way about buttons in scrolling GROUPS. Interactive functionality needs to be where users can...well...interact with it, no? Dan (who fears he's probably started another one of those "up your opinion" threads that are so much fun) On Jul 4, 2005, at 8:14 AM, Charles Hartman wrote: > > On Jul 1, 2005, at 1:04 PM, Mathewson wrote: > > >> I have just downloaded the SuperCard 4.5 demo and found >> they have a new feature: >> >> allowObjects >> >> this lets the user embed object (images and so on) inside >> FIELDS: >> >> WOW - I would love scrolling text fields with pictures! >> > > > -- and buttons! (At the moment I'm doing this is a non-scrolling > field inside a scrolling group, but aside from being tedious that > has other disadvantages, such as the scroll-wheel not working right.) > > Charles Hartman > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Mon Jul 4 17:23:45 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Jul 2005 23:23:45 +0200 Subject: Stack Level Local/Globals In-Reply-To: <0CB0CBCD-3BFD-467D-B566-C94AD1F24B5E@lacscentre.co.uk> References: <0CB0CBCD-3BFD-467D-B566-C94AD1F24B5E@lacscentre.co.uk> Message-ID: Hi Dave, I am sure you are right but I was thinking in a practical way. Most globals are not hundreds of elements. Often a Boolean value is enough (at the very worst a dozen of lines). Then it does not seem *practically* significant if it takes 20/1000 of 1 millisecond instead of 1/1000 of 1 millisecond :-) Here is a tiny test I have just made: on mouseUp global gTest put true into gTest put the milliseconds into tStart repeat 1000 put gTest into temp end repeat put the milliseconds - tStart end mouseUp > 1 millisecond for 1000 loops on mouseUp put the milliseconds into tStart repeat 1000 put the uTest of me into temp -- contains "true" end repeat put the milliseconds - tStart end mouseUp > 15 milliseconds for 1000 loops. Very bad indeed but in fact not at all significant ;-) Le 4 juil. 05 ? 22:59, Dave Cragg a ?crit : > Eric, my own testing shows that accessing custom properties is > significantly slower than accessing globals. (Over 20 times slower > in a simple test.) When I have to refer to custom properties > frequently (for example when going through hundreds of elements of > a customPropertySet), I usually copy them to a variable first. But > perhaps the access times vary by circumstances. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Mon Jul 4 17:25:47 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Jul 2005 14:25:47 -0700 Subject: Embedded objects in fields In-Reply-To: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> Message-ID: <42C9A95B.9010808@fourthworld.com> >> WOW - I would love scrolling text fields with pictures! > > -- and buttons! (At the moment I'm doing this is a non-scrolling > field inside a scrolling group, but aside from being tedious that has > other disadvantages, such as the scroll-wheel not working right.) To get scroll wheel support you can put a graphic behind the other objects in the group sized to match the group's formattedHeigh and formattedWidth, then add this to the group script: on rawKeyDown k get the vScroll of me if k = 65308 then -- scroll wheel up set the vScroll of me to (it + 70) else if k = 65309 then -- scroll wheel down set the vScroll of me to (it - 70) else pass rawKeyDown end rawKeyDown I used 70 there because it matched the size of the objects being viewed in my app; you can use any scroll increment that works for your needs. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From charles.hartman at conncoll.edu Mon Jul 4 17:30:11 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 4 Jul 2005 17:30:11 -0400 Subject: Embedded objects in fields In-Reply-To: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> Message-ID: <68AC55C4-9597-4F26-ACAC-0CB18E8EBD00@conncoll.edu> Oh, I think as a generalization that makes excellent sense. In this particular case, it may or may not. This is a straight, lame, read- this-card tutorial app; some cards are too long not to scroll (already less than ideal from a UI standpoint, but I don't want to make the stack as big as the biggest card, or keep changing the stack's size, and many cards are such clear logical units they can't be broken up without creating conceptual confusion). A few cards have special go-here-for-more-information buttons, and those buttons are logically attached to particular pieces of the text. Within that framework, I don't see how to do otherwise than the bit whose ugliness you're quite right to point out. Of course the whole framework may be screwy -- but that's a very large question about the design & efficacy of on-screen tutorials. Charles Hartman On Jul 4, 2005, at 5:18 PM, Dan Shafer wrote: > Just my two cents -- and it's a holiday here so my brain may be > otherwise engaged -- I think putting buttons into scrolling fields > is a terrible UI idea. By definition, it puts certain functionality > out of the reach of the user until and unless s/he scrolls the > field. Lotus NOtes allowed this and every time I saw an app > designed to take advantage of it, users got confused. > > I suspect I feel the same way about buttons in scrolling GROUPS. > Interactive functionality needs to be where users > can...well...interact with it, no? > > Dan (who fears he's probably started another one of those "up your > opinion" threads that are so much fun) > > > On Jul 4, 2005, at 8:14 AM, Charles Hartman wrote: > > >> >> On Jul 1, 2005, at 1:04 PM, Mathewson wrote: >> >> >> >>> I have just downloaded the SuperCard 4.5 demo and found >>> they have a new feature: >>> >>> allowObjects >>> >>> this lets the user embed object (images and so on) inside >>> FIELDS: >>> >>> WOW - I would love scrolling text fields with pictures! >>> >>> >> >> >> -- and buttons! (At the moment I'm doing this is a non-scrolling >> field inside a scrolling group, but aside from being tedious that >> has other disadvantages, such as the scroll-wheel not working right.) >> >> Charles Hartman >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From charles.hartman at conncoll.edu Mon Jul 4 17:31:17 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 4 Jul 2005 17:31:17 -0400 Subject: Embedded objects in fields In-Reply-To: <42C9A95B.9010808@fourthworld.com> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> <42C9A95B.9010808@fourthworld.com> Message-ID: <48414513-F4E0-4474-8A5A-DD4FC0028FE0@conncoll.edu> Cool! On Jul 4, 2005, at 5:25 PM, Richard Gaskin wrote: >>> WOW - I would love scrolling text fields with pictures! >>> >> >> -- and buttons! (At the moment I'm doing this is a non-scrolling >> field inside a scrolling group, but aside from being tedious that >> has other disadvantages, such as the scroll-wheel not working right.) >> > > To get scroll wheel support you can put a graphic behind the other > objects in the group sized to match the group's formattedHeigh and > formattedWidth, then add this to the group script: > > > on rawKeyDown k > get the vScroll of me > if k = 65308 then -- scroll wheel up > set the vScroll of me to (it + 70) > else if k = 65309 then -- scroll wheel down > set the vScroll of me to (it - 70) > else pass rawKeyDown > end rawKeyDown > > > I used 70 there because it matched the size of the objects being > viewed in my app; you can use any scroll increment that works for > your needs. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From robert.cailliau at free.fr Mon Jul 4 17:33:27 2005 From: robert.cailliau at free.fr (Robert Cailliau) Date: Mon, 4 Jul 2005 23:33:27 +0200 Subject: Naming conventions [was: Food Fight] Message-ID: Dennis, Here is what I have been using since Hypercard in the late 80's, augmented now for Revolution: (and see some further comments at the end) Robert. ------------------------------------------------------------ Naming conventions Identifiers start with a capital and each word in the name also has a capital. There may be a prefix letter, which then is lower case: c constant f formal parameter g global variable i index (loops, arrays) l local variable n number of things p custom property h label field (heading) The use of these prefix letters significantly reduces the number of different names to be invented by allowing meaningful variants on a base name. For example, the base name Line could be used in fLines (formal parameter), lLines (local work copy), iLine (index into fLines or lLines), nLines (the number of lines in fLines) and so on. Transcript does not allow procedure nesting. Handlers that should be nested get names prefixed with that of the handler they should be in. You can read more on http://robert.cailliau.free.fr/ByLetter/C/Computing/ComputerScience/NamingConventions.html which is longer and more pedantic. Robert. From jbondy at sover.net Mon Jul 4 17:34:01 2005 From: jbondy at sover.net (Jon) Date: Mon, 04 Jul 2005 17:34:01 -0400 Subject: compileIt for revolution? In-Reply-To: <9DED7AE2-ECC6-11D9-8CA4-0030659A795C@derbrill.de> References: <9DED7AE2-ECC6-11D9-8CA4-0030659A795C@derbrill.de> Message-ID: <42C9AB49.6080508@sover.net> Malte: The goal was general image manipulation. That includes 1) generating histogram information 2) calculating transfer functions 3) applying transfer functions 4) computing brightness for a pixel 5) modifying brightness for a pixel etc :) Jon Malte Brill wrote: > > > I got a question: Is the goal only to add the charToNum values for > Red,Green and blue for each pixel? I?m not sure If I understand the > original script correctly. If so there is a very speedy alternative. > If not could you please explain in a few words of pseudo code what the > script needs to do? > > Thanks, > > Malte > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katir at hindu.org Mon Jul 4 17:37:39 2005 From: katir at hindu.org (Sivakatirswami) Date: Mon, 4 Jul 2005 11:37:39 -1000 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42C9A7CF.2040400@fourthworld.com> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> Message-ID: <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> Aiyo! (Lamentations) Windows won't play PDFs in QT... Richard: did that windows machine have QT 7 for Windows loaded? I'm sure you know this already but Apple just released QT with H.264 format capabilities for Windows just a few weeks ago... so I just wanted to check if this was happening in the latest QT, Dan: in the top of the open dialog box when clicking the browse button in a Rev QT Player, it defaults to "QuickTime Movie", just choose "All Files" and then the PDF files will be available as a file choice (OSX). But the "not on Windows" really a show stopper for this project. We will call our friends at Apple tomorrow and beg! Sivakatirswami On Jul 04, 2005, at 11:19 AM, Richard Gaskin wrote: > Dan Shafer wrote: > >> On OS X 10.4.1 with Rev 2.6.1, PDFs are not among the file types >> one can load into a QT Player. >> Unless, of course, I'm missing something. At least I don't seem to >> be able simply to point a QT Player at a PDF file; the file name >> is dimmed in the file dialog. >> > > Good news: That's just a filtering thang; from your own script you > can set a player to a PDF and it'll display nicely. > > Bad news: This capability doesn't exist in the Windows version of > QT. :( > From revdan at danshafer.com Mon Jul 4 17:37:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 14:37:39 -0700 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42C9A7CF.2040400@fourthworld.com> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> Message-ID: On Jul 4, 2005, at 2:19 PM, Richard Gaskin wrote: > Dan Shafer wrote: > >> On OS X 10.4.1 with Rev 2.6.1, PDFs are not among the file types >> one can load into a QT Player. >> Unless, of course, I'm missing something. At least I don't seem to >> be able simply to point a QT Player at a PDF file; the file name >> is dimmed in the file dialog. >> > > Good news: That's just a filtering thang; from your own script you > can set a player to a PDF and it'll display nicely. > But not in the property settings for the player object? So I need to script the player to respond to an event to open a file at runtime. Seems kinda clunky. But I'll give it a go. > Bad news: This capability doesn't exist in the Windows version of > QT. :( > No comment from the guy who is currently wearing a T-shirt that says, "Friends Don't Let Friends Use Windows." :-) Dan > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revdan at danshafer.com Mon Jul 4 17:40:17 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 14:40:17 -0700 Subject: Embedded objects in fields In-Reply-To: <68AC55C4-9597-4F26-ACAC-0CB18E8EBD00@conncoll.edu> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> <68AC55C4-9597-4F26-ACAC-0CB18E8EBD00@conncoll.edu> Message-ID: <01462351-F9F1-4BF0-A03D-449CAAFD00B0@danshafer.com> I'd be inclined to have the More Info button outside the field and have it activate only when appropriate (e.g., when the user has scrolled all the way through the field or reached a certain point or whatever). But that's just me. Dan On Jul 4, 2005, at 2:30 PM, Charles Hartman wrote: > Oh, I think as a generalization that makes excellent sense. In this > particular case, it may or may not. This is a straight, lame, read- > this-card tutorial app; some cards are too long not to scroll > (already less than ideal from a UI standpoint, but I don't want to > make the stack as big as the biggest card, or keep changing the > stack's size, and many cards are such clear logical units they > can't be broken up without creating conceptual confusion). A few > cards have special go-here-for-more-information buttons, and those > buttons are logically attached to particular pieces of the text. > > Within that framework, I don't see how to do otherwise than the bit > whose ugliness you're quite right to point out. Of course the whole > framework may be screwy -- but that's a very large question about > the design & efficacy of on-screen tutorials. > > Charles Hartman > > > On Jul 4, 2005, at 5:18 PM, Dan Shafer wrote: > > >> Just my two cents -- and it's a holiday here so my brain may be >> otherwise engaged -- I think putting buttons into scrolling fields >> is a terrible UI idea. By definition, it puts certain >> functionality out of the reach of the user until and unless s/he >> scrolls the field. Lotus NOtes allowed this and every time I saw >> an app designed to take advantage of it, users got confused. >> >> I suspect I feel the same way about buttons in scrolling GROUPS. >> Interactive functionality needs to be where users >> can...well...interact with it, no? >> >> Dan (who fears he's probably started another one of those "up your >> opinion" threads that are so much fun) >> >> >> On Jul 4, 2005, at 8:14 AM, Charles Hartman wrote: >> >> >> >>> >>> On Jul 1, 2005, at 1:04 PM, Mathewson wrote: >>> >>> >>> >>> >>>> I have just downloaded the SuperCard 4.5 demo and found >>>> they have a new feature: >>>> >>>> allowObjects >>>> >>>> this lets the user embed object (images and so on) inside >>>> FIELDS: >>>> >>>> WOW - I would love scrolling text fields with pictures! >>>> >>>> >>>> >>> >>> >>> -- and buttons! (At the moment I'm doing this is a non-scrolling >>> field inside a scrolling group, but aside from being tedious that >>> has other disadvantages, such as the scroll-wheel not working >>> right.) >>> >>> Charles Hartman >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > Charles Hartman > Professor of English, Poet in Residence > Connecticut College > charles.hartman at conncoll.edu > *the Scandroid* is at cherry.conncoll.edu/cohar/Programs > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From see3d at writeme.com Mon Jul 4 17:42:07 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 04 Jul 2005 17:42:07 -0400 Subject: Stack Level Local/Globals In-Reply-To: References: Message-ID: <2D630432-DB68-4E8C-9607-4162CE06E60D@writeme.com> On Jul 4, 2005, at 3:07 PM, Eric Chatonet wrote: > Hi Dennis, > > I agree since I provide many tools for the community that are made > to run in the IDE. > So I never use globals but I prefer to refer to some custom > properties stored in specific custom property sets in my plugins or > in the revPreferences stack. > BTW, I found that referring to custom properties is as fast as > using global variables and they don't vanish when they are stored > in revPreferences. > That's great :-) Eric, This sounded like good news, so I ran a test to see how fast a global vs custom property set would run. I used the following script (the first time through is many times slower as the array elements need to be created, so the timings are separate for the first or the average of the next times): ------------------ [snip] REPEAT 1000 times --change to 100 for second example, and 10 for third example put "A nice line to repeat"&cr after stuff END repeat put the long seconds into strt REPEAT with y=1 to 100 --Y values, change to 1000 for second example REPEAT with x=1 to 100 --X values, change to 1000 for third example -- put stuff into stuffArrayG[x,y] --use this line for global time test -- set the stuffArrayP[x&&y] of this stack to stuff --use this line for custom property time test -- END repeat END repeat put the long seconds - strt ------------------ The timings for the first test of 10,000 elements: 10,000 Custom Property Set Array: First: 5 sec, Next: 0.5 sec 10,000 Global Array: First: 15 sec, Next: 0.3 sec So this is very surprising. Global arrays require three times as much time to create an element as a Custom Property Set array. However, the global arrays are almost twice as fast for repeated stores to an element that already exists. ------------------ However, when I change the REPEAT 1000 times to REPEAT 100 times and change with y=1 to 100 to with y=1 to 1000, I get the following times for 100,000 elements but same amount of data: 100,000 Custom Property Set Array: First: 3.5 sec, Next: 2.3 sec 100,000 Global Array: First: 1.2 sec, Next: 1.0 sec Now it appears that the globals are about 2.5 as fast as the custom properties. ------------------ Now, when I change the REPEAT 1000 times to REPEAT 100 times and change with y=1 to 100 to with y=1 to 1000, I get the following times for 1,000,000 elements but still the same amount of data: 1,000,000 Custom Property Set Array: First: 25 sec, Next: 25 sec 1,000,000 Global Array: First: 11 sec, Next: 10.5 sec Now it appears that the globals stay about 2.5 times as fast as the custom properties. Changing the script to time the read operation gives: 1,000,000 Custom Property Set Array: 27 sec 1,000,000 Global Array: 8.7 sec ------------------ The conclusions are a bit hard to understand for this example, but it appears that custom properties sets used instead of global arrays are about 2.5 times as slow for writing and 3 times as slow for reading, except for the case where a very large data string is stored, then it seems to take much longer for the globals to create a very large data space for each element. I can only conclude that the method used for creating new data space for globals involves a lot of shuffling of memory structures, while the method used for custom properties is simpler. However, it is only a guess at this point. In any case using custom properties for the compute intensive arrays would significantly slow my program. However, they would be a viable alternative to globals for many cases. > But... > The main aim with Rev is to build standalones where this problem > does not exist since all yours globals are of course stack global > variables ;-) I would agree, except that with the DreamCard product, It is now practical for a user to run everything in the IDE --which is what I do. The only reason that I would want want to make a stand alone (which can not be done with DreamCard anyway) is so that I could run more than one application at the same time in different OS "threads". Dennis From ambassador at fourthworld.com Mon Jul 4 18:08:50 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Jul 2005 15:08:50 -0700 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> Message-ID: <42C9B372.7040509@fourthworld.com> Dan Shafer wrote: >> Good news: That's just a filtering thang; from your own script you >> can set a player to a PDF and it'll display nicely. >> > But not in the property settings for the player object? So I need to > script the player to respond to an event to open a file at runtime. > Seems kinda clunky. But I'll give it a go. For any real work with players or referenced image you need to write your own scripts to handle them anyway. The IDE uses a full path to the media, which works so long as you never move either the stack or the media it references. Relative paths kinda work if you hand-edit them in the Inspector, but they're currently implemented to be relative to the current directory, which is volatile. So as long as one successfully prays that no script will ever touch the current directory, and that the relative path to your stack will be the same as to your standalone (that rules out OS X unless you move you media inside the bundle), relative paths kinda work. The rest of the time we need clever scripts. HTML has done a good job of familiarizing a significant portion of humanity with true relative paths, paths which are relative to the file referencing them. The stackfiles property works like that, and there is a request to consider changing how relative paths work with media to be consistent with this widely-used paradigm: In the meantime, we write clever scripts to get past the clunky funky media paths issue. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From alex at tweedly.net Mon Jul 4 18:24:46 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Jul 2005 23:24:46 +0100 Subject: use-revolution Digest, Vol 22, Issue 14 In-Reply-To: References: Message-ID: <42C9B72E.7010007@tweedly.net> Malte Brill wrote: > Hi Alex, > > here is the fastest we have been discussing in chatRev until now. > ( chatrev.cjb.net ) > Thanks to kWeed, Mark and BvG! > > Still room for optimization though. > Thanks Malte (and others on chatrev). Interesting approach to use lines instead of arrays - but I think that even with 768 lines, the searching for the lines adds up to more than an array lookup. This version took 4 seconds on my sample photo. I thought there was space for improvement in the bit that said : > if line newValue of newhistoGram is not a number then > put 1 into line (newValue) of newHistoGram > else > add 1 to line (newValue) of newHistogram > end if You could save a condition test each time by initializing the whole list to 0 repeat 768 time put "0" & cr after newHistogram end repeat and then you could simply add 1 to line (newValue) of newHistogram without the if test. That brings it down from 4 seconds to 3.2 ..... But n fact, that's not as fast the version I posted last Thursday (see http://article.gmane.org/gmane.comp.ide.revolution.user/61547 for all those details). Here's the current table of comparative results .... Initial total 17 seconds (including unnecessary copy into arrays) Initial proper 17 seconds chatrev 4 seconds chatrev + 3.2 seconds simple loop 2 seconds really ugly 1.2 seconds where the last two are from Thursday's email. simple loop was simply >> repeat for each char c in lImageData >> add chartonum(c) to temp >> add 1 to count >> if count = 4 then >> add 1 to histo[temp] >> end if >> put 0 into temp >> put 0 into count >> end repeat The really ugly version did the same as this but instead of incrementing the histo array element every time, it incremented a char in a list (because we know that lookup of "char N of var" is much faster than either array lookup or "line N of var"), and when that reached 255, it got reset to 0 and the histo element updated accordingly). Really ugly - but 40% faster. > repeat for each char c in lImageData > add chartonum(c) to temp > add 1 to count > if count = 4 then > add 1 to temp -- because 1:256, not 0:255 > put numtochar(chartonum(char temp of mytemp) + 1) into char temp > of mytemp > if chartonum(char temp of mytemp) = 255 then > add 255 to histo[temp-1] > put czero into char temp of mytemp > end if > -- add 1 to histo[temp] > put 0 into temp > put 0 into count > end if > end repeat > repeat with i = 1 to maxHist > add chartonum(char i of mytemp) to histo[i-1] > end repeat -- 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.8.8/37 - Release Date: 01/07/2005 From ambassador at fourthworld.com Mon Jul 4 18:30:24 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Jul 2005 15:30:24 -0700 Subject: use-revolution Digest, Vol 22, Issue 14 In-Reply-To: <42C9B72E.7010007@tweedly.net> References: <42C9B72E.7010007@tweedly.net> Message-ID: <42C9B880.40701@fourthworld.com> Since each pass through the loop involves checking for the same number of steps (4), could a stop option in the repeat statement be helpful? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Mon Jul 4 18:57:31 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Jul 2005 17:57:31 -0500 Subject: Kevin Miller's scripting conference chat log In-Reply-To: References: <42B88195.3060608@hyperactivesw.com> Message-ID: <42C9BEDB.1010905@hyperactivesw.com> On 7/4/05 12:39 PM, Rodney Somerstein wrote: >> During our last scripting conference, Kevin Miller gave a presentation >> on Revolution 2.6 and answered questions from the participants about >> Revolution and future plans. I have posted the transcript of that >> portion of the conference, and you can download it here: >> >> >> >> You will need a program that can open .rtf files to read it. >> >> The remainder of the conference was Richard Gaskin's presentation on >> the message hierarchy. The transcript of that portion is contained in >> the downloadable scripting conference stack as usual. >> > > I have tried to download this several times and get a file not found > error. Can you please correct the above link or re-upload the file so > that it is downloadable? Sorry, apparently in the server update the file got lost. I've reuploaded, so try the link again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 4 19:01:43 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Jul 2005 18:01:43 -0500 Subject: Scripting conference Groups stack uploaded Message-ID: <42C9BFD7.8060006@hyperactivesw.com> The scripting conference stack for this weekend has been uploaded for you to study in advance. This week's conference is on Groups and Backgrounds, presented by veteran educator Judy Perry. To download the stack and to get information about the date and time, go to the usual web page: See you there! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Mon Jul 4 19:03:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 00:03:28 +0100 Subject: use-revolution Digest, Vol 22, Issue 14 In-Reply-To: <42C9B880.40701@fourthworld.com> References: <42C9B72E.7010007@tweedly.net> <42C9B880.40701@fourthworld.com> Message-ID: <42C9C040.4090606@tweedly.net> Richard Gaskin wrote: > > Since each pass through the loop involves checking for the same number > of steps (4), could a stop option in the repeat statement be helpful? > step option ? That might help a bit - I'm not quite sure how you'd add a "step" option to the "repeat for each char" form (nb we need to access almost every character, not just every fourth one). I guess you could invent some syntax like repeat for each 4 chars (c1,c2,c3,c4) in the imageData of img "image" add 1 to histo[chartonum(c2) + chartonum(c3) + chartonum(c4)] end repeat at a (very) rough count, that could maybe save 50% !! N loop repeats / tests 4N char assignments 3N retrieves 2N additions N array lookups N additions versus > repeat for each char c in lImageData > add chartonum(c) to temp > add 1 to count > if count = 4 then > add 1 to histo[temp] > end if > put 0 into temp > put 0 into count > end repeat 4N loop repeats / test 4N char assignments 4N additions 4N tests N array lookups N additions 4N assignments 4N assignments So I think the addition of a "step" option to the "repeat for each" form of loop would be worthwhile - and I hope someone can come up with a better syntax than I used above !! -- 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.8.8/37 - Release Date: 01/07/2005 From dcragg at lacscentre.co.uk Mon Jul 4 19:20:33 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 5 Jul 2005 00:20:33 +0100 Subject: Stack Level Local/Globals In-Reply-To: References: <0CB0CBCD-3BFD-467D-B566-C94AD1F24B5E@lacscentre.co.uk> Message-ID: Hi Eric You're right of course (and Richard too). But it's useful to know for those times when you do need to access custom properties frequently. As you pointed out, one of the advanatges of custom properties is their persistence when a stack is saved. And one of the advantages of globals is their lack of persistence. I usually need both types of properties in any app. So I like Dennis' suggestion for "stack globals", which would add more useability and reliability than standard globals. (But I think we are in agreement on this.) Cheers Dave On 4 Jul 2005, at 22:23, Eric Chatonet wrote: > Hi Dave, > > I am sure you are right but I was thinking in a practical way. > Most globals are not hundreds of elements. > Often a Boolean value is enough (at the very worst a dozen of lines). > Then it does not seem *practically* significant if it takes 20/1000 > of 1 millisecond instead of 1/1000 of 1 millisecond :-) From alex at harryscollar.com Mon Jul 4 19:35:11 2005 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 05 Jul 2005 09:35:11 +1000 Subject: quick dirty ftp transfer? In-Reply-To: <20050704143316.191458248F9@mail.runrev.com> References: <20050704143316.191458248F9@mail.runrev.com> Message-ID: <42C9C7AF.8000708@harryscollar.com> hi dave the stacks reside on different networked machines, and i need to simply transfer large files from client stacks to a simple backup server stack so i was just hoping to wrap a simple transfer mechanism around the libURL commands without having to setup a specific ftp server regards alex > On 4 Jul 2005, at 09:29, Alex Shaw wrote: > > >>hi >> >>I haven't had much time to disect libURL but does anyone know if it >>is easy/possible/done to rig up a quick ftp-like transfer between 2 >>(or more) stacks using a combo of the libURLftpUploadFile and >>libURLDownloadToFile commands? > > Alex, can you give us a bit more information about what you're trying > to do? Are the stacks in question on separate machines? How are the > machines networked, LAN or only by internet? > > You could use the libUrl ftp commands, but you'd need to go through > an ftp server. I'm not sure, but I gather from your mail that you > don't want to do that. > > Cheers > Dave > From sarahr at genesearch.com.au Mon Jul 4 20:09:20 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 5 Jul 2005 10:09:20 +1000 Subject: Scripting conference Groups stack uploaded In-Reply-To: <42C9BFD7.8060006@hyperactivesw.com> References: <42C9BFD7.8060006@hyperactivesw.com> Message-ID: Hi Jacque, > The scripting conference stack for this weekend has been uploaded > for you to study in advance. This week's conference is on Groups > and Backgrounds, presented by veteran educator Judy Perry. To > download the stack and to get information about the date and time, > go to the usual web page: Now you're not even trying to get the date & time right :-) Why not post it in seconds? On your system, convert your local date & time for the conference into seconds and post that to the list. Then when we all receive the email, we just have to convert it back to date and time and it will appear in our own local times, taking advantage of the feature of "the seconds" that drives me crazy :-) Cheers, Sarah From kee at kagi.com Mon Jul 4 21:12:26 2005 From: kee at kagi.com (kee nethery) Date: Mon, 4 Jul 2005 18:12:26 -0700 Subject: path to the stack? In-Reply-To: <42C98E5E.9090201@sover.net> References: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> <42C98E5E.9090201@sover.net> Message-ID: <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> I'm trying to create a text file that will be the prefs file for a standalone. I'm running this script on a development stack under rev 2.6 on Mac OS X 10.4.x and getting nothing back: put the filename of this stack into thePath thePath stays empty after that runs. My plan was to take this absolute path, replace the name of the stack with the name of my prefs file, and then store the prefs file in the same directory as the stack so that under all platforms it would be stored in a known location. This script above is almost exactly taken word for word from the example in the documentation shown below. put the filename of stack "My Main" into thePath 1. Why isn't this working? 2. Does anyone have a sample script for putting a prefs file in a known location that does work that I could use? 3. Will I need to watch out for a path that is inside the package contents for the standalone (if I get that far in my coding)? Thanks in advance Kee Nethery From mark at maseurope.net Mon Jul 4 21:23:46 2005 From: mark at maseurope.net (Mark Smith) Date: Tue, 5 Jul 2005 02:23:46 +0100 Subject: path to the stack? In-Reply-To: <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> References: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> <42C98E5E.9090201@sover.net> <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> Message-ID: Is this a case for specialFolderPath("preferences") ? Mark On 5 Jul 2005, at 02:12, kee nethery wrote: > I'm trying to create a text file that will be the prefs file for a > standalone. I'm running this script on a development stack under rev > 2.6 on Mac OS X 10.4.x and getting nothing back: > > put the filename of this stack into thePath > > thePath stays empty after that runs. > > My plan was to take this absolute path, replace the name of the stack > with the name of my prefs file, and then store the prefs file in the > same directory as the stack so that under all platforms it would be > stored in a known location. This script above is almost exactly taken > word for word from the example in the documentation shown below. > > put the filename of stack "My Main" into thePath > > 1. Why isn't this working? > 2. Does anyone have a sample script for putting a prefs file in a > known location that does work that I could use? > 3. Will I need to watch out for a path that is inside the package > contents for the standalone (if I get that far in my coding)? > > Thanks in advance > Kee Nethery > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Mon Jul 4 21:26:01 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 4 Jul 2005 18:26:01 -0700 Subject: path to the stack? In-Reply-To: <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> References: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> <42C98E5E.9090201@sover.net> <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> Message-ID: Kee.... No clue what might be going on here. IWOMM (It Works On My Machine). I can't get that property to return empty no matter what I do EXCEPT if I run it before I've saved the stack. Then, of course, it has no filename property (or, more accurately, that property is empty). And, yes, you do need to be aware of pathing issues when you create an OS X bundle standalone. Check the docs for filename of stack property; there's a cross-platform note there that outlines the issue. Dan On Jul 4, 2005, at 6:12 PM, kee nethery wrote: > I'm trying to create a text file that will be the prefs file for a > standalone. I'm running this script on a development stack under > rev 2.6 on Mac OS X 10.4.x and getting nothing back: > > put the filename of this stack into thePath > > thePath stays empty after that runs. > > My plan was to take this absolute path, replace the name of the > stack with the name of my prefs file, and then store the prefs file > in the same directory as the stack so that under all platforms it > would be stored in a known location. This script above is almost > exactly taken word for word from the example in the documentation > shown below. > > put the filename of stack "My Main" into thePath > > 1. Why isn't this working? > 2. Does anyone have a sample script for putting a prefs file in a > known location that does work that I could use? > 3. Will I need to watch out for a path that is inside the package > contents for the standalone (if I get that far in my coding)? > > Thanks in advance > Kee Nethery > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jacque at hyperactivesw.com Mon Jul 4 21:26:33 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Jul 2005 20:26:33 -0500 Subject: Scripting conference Groups stack uploaded In-Reply-To: References: <42C9BFD7.8060006@hyperactivesw.com> Message-ID: <42C9E1C9.7050205@hyperactivesw.com> On 7/4/05 7:09 PM, Sarah Reichelt wrote: > Hi Jacque, > >> The scripting conference stack for this weekend has been uploaded for >> you to study in advance. This week's conference is on Groups and >> Backgrounds, presented by veteran educator Judy Perry. To download >> the stack and to get information about the date and time, go to the >> usual web page: > > > Now you're not even trying to get the date & time right :-) LOL! Hey, once burned, twice shy. And thrice burned...what? Emergency room? > > Why not post it in seconds? On your system, convert your local date & > time for the conference into seconds and post that to the list. > > Then when we all receive the email, we just have to convert it back to > date and time and it will appear in our own local times, taking > advantage of the feature of "the seconds" that drives me crazy :-) What a great idea. It is no surprise it comes from the lady who will be doing the conference on dates and times. Okay, the next scripting conference will be at 1120924800 seconds. I am curious to know if this works for all time zones everywhere. For those who want to try it, run this in the message box: get "1120924800";convert it to short date and time;put it To be safe, double-check the web page anyway. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From yoursignup at yahoo.com Mon Jul 4 21:34:59 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Mon, 4 Jul 2005 15:34:59 -1000 Subject: path to the stack? In-Reply-To: <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> Message-ID: kee, Try using effective as in : put the effective filename of this stack into thePath or, if you just want the path: set the itemDelimiter to "/" get item 1 to -2 of the effective filename of this stack put it into thePath if you want a terminating slash change last line to: put it & "/" into the thePath -Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of kee nethery Sent: Monday, July 04, 2005 3:12 PM To: How to use Revolution Subject: path to the stack? I'm trying to create a text file that will be the prefs file for a standalone. I'm running this script on a development stack under rev 2.6 on Mac OS X 10.4.x and getting nothing back: put the filename of this stack into thePath thePath stays empty after that runs. My plan was to take this absolute path, replace the name of the stack with the name of my prefs file, and then store the prefs file in the same directory as the stack so that under all platforms it would be stored in a known location. This script above is almost exactly taken word for word from the example in the documentation shown below. put the filename of stack "My Main" into thePath 1. Why isn't this working? 2. Does anyone have a sample script for putting a prefs file in a known location that does work that I could use? 3. Will I need to watch out for a path that is inside the package contents for the standalone (if I get that far in my coding)? Thanks in advance Kee Nethery _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rstace at uow.edu.au Mon Jul 4 21:45:22 2005 From: rstace at uow.edu.au (Ray Stace) Date: Tue, 05 Jul 2005 11:45:22 +1000 Subject: Scripting conference Groups stack uploaded In-Reply-To: <42C9E1C9.7050205@hyperactivesw.com> Message-ID: Returns 7/10/05 2:00 AM in the time zone for Sydney Australia. Might not get many 'live' participants at that time ;?) On 5/7/05 11:26 AM, "J. Landman Gay" wrote: > > What a great idea. It is no surprise it comes from the lady who will be > doing the conference on dates and times. Okay, the next scripting > conference will be at 1120924800 seconds. > > I am curious to know if this works for all time zones everywhere. For > those who want to try it, run this in the message box: > > get "1120924800";convert it to short date and time;put it > > To be safe, double-check the web page anyway. :) > From sarahr at genesearch.com.au Mon Jul 4 21:51:27 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 5 Jul 2005 11:51:27 +1000 Subject: path to the stack? In-Reply-To: <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> References: <1120391635.42c7d1d3cf138@staffmail.ed.ac.uk> <42C98E5E.9090201@sover.net> <70185210-05F1-4E67-953F-97FF1DF853B1@kagi.com> Message-ID: > I'm trying to create a text file that will be the prefs file for a > standalone. I'm running this script on a development stack under > rev 2.6 on Mac OS X 10.4.x and getting nothing back: > > put the filename of this stack into thePath > > thePath stays empty after that runs. Is "this stack" the mainStack or a sub-stack? A sub-stack does not have a file path. This line will always work: get the filename of stack (the mainStack of this stack) > > My plan was to take this absolute path, replace the name of the > stack with the name of my prefs file, and then store the prefs file > in the same directory as the stack so that under all platforms it > would be stored in a known location. This script above is almost > exactly taken word for word from the example in the documentation > shown below. > > put the filename of stack "My Main" into thePath > > 1. Why isn't this working? > 2. Does anyone have a sample script for putting a prefs file in a > known location that does work that I could use? > 3. Will I need to watch out for a path that is inside the package > contents for the standalone (if I get that far in my coding)? Have a look at my recent article in revJournal about saving data: I recommend using the specialFolderPath("Preferences") to store your prefs file, but if you use the fileName method above to locate your stack file, in an OS X bundle, you will get the path to the Contents/ MacOS folder inside the bundle. This can be a problem if the user doesn't have admin privileges and can't write to the Applications folder. HTH, Sarah From transcom at comcast.net Mon Jul 4 15:38:24 2005 From: transcom at comcast.net (Michael Mandaville) Date: Mon, 04 Jul 2005 12:38:24 -0700 Subject: ("sqlite", filepath...) Message-ID: How can I program a new database, made with altSQLite, to put the database in the same folder i.e., the filepath, where the user created a new stack from the application? Is there a certain piece of code which picks up the name of their file (chosen by the user) and then automatically put into the 'filepath' ? Thank you From sarahr at genesearch.com.au Mon Jul 4 22:05:47 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 5 Jul 2005 12:05:47 +1000 Subject: Parameter checking Message-ID: <8E45905F-86BE-45C6-BE6C-DEE1551D01E4@genesearch.com.au> Hi All, I have a stack that contains a set of commands for talking to a serial device. The commands & functions all get a set of parameters, each with only one character. The characters vary: some parameters are numeric, some alphabetic. The ranges vary, so one parameter could be any letter from A to N while another can be either J, T or E. Numeric parameters have allowed ranges also. As you can imagine, sending the wrong info to the serial box causes big problems. What I am thinking of doing is writing a general parameter checker, so I can send it each parameter, plus some string defining what is allowed. If it returned an error, then I would refuse to send the command to the serial box. Firstly, has anyone done anything like this? If so, would they be prepared to share the code or some of their ideas. Secondly, has anyone any suggestions of the best way to do this? I can do it in a long-winded manner, but I feel sure that some RegEx wizard (Ken, are you listening), would be able to come up with a really neat way to solve this. Here is pseudo-code is what I want to do: on sendSerialCommand p1, p2, p3 -- p1 must be A-P or a-p if paramError(p1,"A-P|a-p") then exit to top -- p1 must be a number from 1 to 8 if paramError(p2,"1-8") then exit to top -- p1 must be either S or D if paramError(p3,"S|D") then exit to top sendSerialString p1 & p2 & p3 end sendSerialCommand TIA, Sarah From webmaster at dreamscapesoftware.com Mon Jul 4 22:16:14 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 04 Jul 2005 21:16:14 -0500 Subject: quick dirty ftp transfer? In-Reply-To: <42C9C7AF.8000708@harryscollar.com> References: <20050704143316.191458248F9@mail.runrev.com> <42C9C7AF.8000708@harryscollar.com> Message-ID: <42C9ED6E.3070709@dreamscapesoftware.com> Alex Shaw wrote: > the stacks reside on different networked machines, and i need to simply > transfer large files from client stacks to a simple backup server stack > so i was just hoping to wrap a simple transfer mechanism around the > libURL commands without having to setup a specific ftp server Well, if the networks are connected then you can just copy the file to the different machine. This eliminates the need for a client/server app. If they are on 2 different networks that are not connected, then I would recommend you go the sockets route. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From kray at sonsothunder.com Mon Jul 4 22:21:29 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Jul 2005 21:21:29 -0500 Subject: Parameter checking In-Reply-To: <8E45905F-86BE-45C6-BE6C-DEE1551D01E4@genesearch.com.au> Message-ID: On 7/4/05 9:05 PM, "Sarah Reichelt" wrote: > Secondly, has anyone any suggestions of the best way to do this? I > can do it in a long-winded manner, but I feel sure that some RegEx > wizard (Ken, are you listening), would be able to come up with a > really neat way to solve this. Yes, Sarah, I'm listening... :-) > Here is pseudo-code is what I want to do: > > on sendSerialCommand p1, p2, p3 > -- p1 must be A-P or a-p > if paramError(p1,"A-P|a-p") then exit to top > -- p1 must be a number from 1 to 8 > if paramError(p2,"1-8") then exit to top > -- p1 must be either S or D > if paramError(p3,"S|D") then exit to top > > sendSerialString p1 & p2 & p3 > end sendSerialCommand You can use RegEx to see if an incoming param matches a set of strings or numbers. The basic rules are: 1) Put what you're looking for in brackets 2) If you actually have a range to check, you can use the hyphen between (even for letters). So, for example, if you are checking to see if p1 is between A and P (case insensitive), you can do this: if not matchText(p1,"(?i)[A-P]") then exit to top OR this: if not matchText(p1,"[A-Pa-p]") then exit to top the (?i) means to be case insensitive. Here's a few more from your example: if not matchText(p2,"[1-8]") then exit to top if not matchText(p3,"[SD]") then exit to top -- note s,d won't match if not matchText(p3,"(?i)[SD]") then exit to top -- matches SDsd if not matchText(p3,"[SDsd]") then exit to top -- matches SDsd HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From see3d at writeme.com Mon Jul 4 22:33:15 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 04 Jul 2005 22:33:15 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> Message-ID: To all the speed freaks, I know that I have pushed for faster array processing and have even proposed an "Array sub-processor" as a possible solution. However, after giving this much thought, I don't believe that a separate array sub-processor is needed to solve the problem of speed. Transcript could provide the speed needed for processing arrays in a simpler way. If Transcript had an array declaration command that allowed the user to fix the dimensions and data size/type for an array and limited the "keys" to integer indexes, then high speed array processing could be built-in. Normally it would be a pain to have to dim all arrays. Arrays in Transcript are sparsely populated and very general now --and could be further extended to make them even better for many general purpose solutions. However, there is a class of problems that need speed and generally lend themselves to fixing the type and size. These problems are quite common, but rarely seen implemented in Transcript because of the slow array processing speed. The key is that once an array is fixed in size and type, the runtime does not need to do extensive checking of the data to determine the operation code, and the keys do not have to be looked up in a hash table to find the location of the element --just use the indexes directly. The compiler can then generate the code for a much simpler runtime operator. These declared arrays would run 10 to 100 times faster than the type-less ones for the kind of operations that are required by image processing, AI, statistics, and many other applications. This is the main reason array processing runs so much faster in other languages. Having fast array structures then opens up the possibility for a larger set of array operators or even an efficient way to pass the array pointers directly to an external. The links between the rest of the data structures in Transcript and these dimensioned arrays become seamless. Conceptually, the implementation of a dimensioned array would be as if it were a single string variable. In other words, just a contiguous chunk of memory that you can index into based on the supplied dimensions. We already have the concept of a pointer in Transcript. When we say "get char (expression) of variable", "(expression)" is a pointer. That expression can be the index into a conceptual n dimensional character array. However, at present we are limited to directly accessing only a single byte. We could say "get char (expression) to (expression+4) of variable", to get 32 bits of information, but even if we know that it is supposed to represent a 32 bit floating point number, we have no way of telling Transcript that, so it will just hand us back 4 characters that could at best be translated into a 4 digit (including decimal point) number like 3.14. However, if we told the compiler that we want our variable to have 1000 rows by 1000 columns of 4 byte words, then the "get variable[25,64]" could get a 4 byte string of characters in lightning speed. We could say that If we initialized our array with strings, we would get strings back. If we initialized it with numbers, we would get numbers back --which is very Transcript like, or we could just specify the type. The point is that a single dimensioned array, like a single variable, can hold only one data type at a time. The advantage of such an arrangement is not only speed, but also compactness. If we are interested in speed it is likely that we have a large quantity of data. Arrays in Transcript today have a large overhead due to the key structure. Dimensioned arrays could easily take half the space or even less. The syntax could be very simple like: global myArray[1000,1000]=0 --numeric array local myArray[1000,1000,5]=false --Boolean array local myArray[1000]="" --empty character array local myArray[100,300]="abcd" --4 character word array Dennis From see3d at writeme.com Mon Jul 4 22:35:56 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 04 Jul 2005 22:35:56 -0400 Subject: Scripting conference Groups stack uploaded In-Reply-To: <42C9E1C9.7050205@hyperactivesw.com> References: <42C9BFD7.8060006@hyperactivesw.com> <42C9E1C9.7050205@hyperactivesw.com> Message-ID: <0342C78D-DE2C-4264-ACF2-D19F314AEFE8@writeme.com> Gives me 12:00 PM EST which is correct. On Jul 4, 2005, at 9:26 PM, J. Landman Gay wrote: > get "1120924800";convert it to short date and time;put it From sarahr at genesearch.com.au Mon Jul 4 22:39:09 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 5 Jul 2005 12:39:09 +1000 Subject: Parameter checking In-Reply-To: References: Message-ID: <7982A134-2625-44AF-B470-DFECDD432F09@genesearch.com.au> > You can use RegEx to see if an incoming param matches a set of > strings or > numbers. The basic rules are: > > 1) Put what you're looking for in brackets > 2) If you actually have a range to check, you can use the hyphen > between > (even for letters). > > So, for example, if you are checking to see if p1 is between A and > P (case > insensitive), you can do this: > > if not matchText(p1,"(?i)[A-P]") then exit to top > > OR this: > > if not matchText(p1,"[A-Pa-p]") then exit to top > > the (?i) means to be case insensitive. Here's a few more from your > example: > > if not matchText(p2,"[1-8]") then exit to top > if not matchText(p3,"[SD]") then exit to top -- note s,d won't > match > if not matchText(p3,"(?i)[SD]") then exit to top -- matches SDsd > if not matchText(p3,"[SDsd]") then exit to top -- matches SDsd > > HTH, You bet it does. Thanks Ken, you're a genius! Sarah From yoursignup at yahoo.com Mon Jul 4 22:59:55 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Mon, 4 Jul 2005 16:59:55 -1000 Subject: Scripting conference Groups stack uploaded In-Reply-To: <42C9E1C9.7050205@hyperactivesw.com> Message-ID: Gives me 7/9/05 6:00 AM, which is the correct Hawaii Standard Time (HST) for 12:00 PM EST. Now the question is, will this match EST in the winter when most of the US switches to Daylight Savings and we don't. Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of J. Landman Gay Sent: Monday, July 04, 2005 3:27 PM Cc: How to use Revolution Subject: Re: Scripting conference Groups stack uploaded On 7/4/05 7:09 PM, Sarah Reichelt wrote: > Hi Jacque, > >> The scripting conference stack for this weekend has been uploaded for >> you to study in advance. This week's conference is on Groups and >> Backgrounds, presented by veteran educator Judy Perry. To download >> the stack and to get information about the date and time, go to the >> usual web page: > > > Now you're not even trying to get the date & time right :-) LOL! Hey, once burned, twice shy. And thrice burned...what? Emergency room? > > Why not post it in seconds? On your system, convert your local date & > time for the conference into seconds and post that to the list. > > Then when we all receive the email, we just have to convert it back to > date and time and it will appear in our own local times, taking > advantage of the feature of "the seconds" that drives me crazy :-) What a great idea. It is no surprise it comes from the lady who will be doing the conference on dates and times. Okay, the next scripting conference will be at 1120924800 seconds. I am curious to know if this works for all time zones everywhere. For those who want to try it, run this in the message box: get "1120924800";convert it to short date and time;put it To be safe, double-check the web page anyway. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From sarahr at genesearch.com.au Tue Jul 5 00:02:23 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 5 Jul 2005 14:02:23 +1000 Subject: Scripting conference Groups stack uploaded In-Reply-To: References: Message-ID: <653B42DA-78BB-4248-9D5F-394E57E22818@genesearch.com.au> On 05/07/2005, at 1:01 PM, Jim Bufalini wrote: > Gives me 7/9/05 6:00 AM, which is the correct Hawaii Standard Time > (HST) for > 12:00 PM EST. Now the question is, will this match EST in the > winter when > most of the US switches to Daylight Savings and we don't. > > Jim > I think it will still show your correct time, with or without daylight savings. Certainly when I was sending data across time zones using the seconds, I had to apply 2 fixes: one for the time zone and another for daylight savings. Altering Jacque's script for international systems: get "1120924800";convert it to short system date and time;put it Unfortunately, it still gives me a time of 2 am :-( Sarah From kray at sonsothunder.com Tue Jul 5 00:04:50 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Jul 2005 23:04:50 -0500 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: Message-ID: On 7/4/05 9:33 PM, "Dennis Brown" wrote: > The advantage of such an arrangement is not only speed, but also > compactness. If we are interested in speed it is likely that we have > a large quantity of data. Arrays in Transcript today have a large > overhead due to the key structure. Dimensioned arrays could easily > take half the space or even less. The syntax could be very simple like: > > global myArray[1000,1000]=0 --numeric array > local myArray[1000,1000,5]=false --Boolean array > local myArray[1000]="" --empty character array > local myArray[100,300]="abcd" --4 character word array I really like this idea, Dennis, but I'm not sure I like the approach to dimensioning, only because of Transcript's history of being able to interpret things as strings, even if not quoted. So is: local myArray[100,300]="false" a boolean array, or a 5-character word array? Perhaps it's acceptable to be more picky about this (i.e. the above would be a 5 character word array), since we don't currently have a way of assigning a type, but I think there's a better way. For example, using your approach, if you wanted a 25 character word array, you'd have to provide a 25-character-long string. It seems to me that the main thing is not the *type* of data, but for the interpreter to know that there is a fixed size to array elements. So perhaps something like: local myArray[100,300] length 5 or something like that... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From chipp at chipp.com Tue Jul 5 00:17:00 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 04 Jul 2005 23:17:00 -0500 Subject: ("sqlite", filepath...) In-Reply-To: References: Message-ID: <42CA09BC.70605@chipp.com> Hi Michael, You should check out these two properties: the address the filename You can find the path to the standalone using 'the address property'. You can find the path to a given stack using 'the effective filename' property. Michael Mandaville wrote: > How can I program a new database, made with altSQLite, to put the database > in the same folder i.e., the filepath, where the user created a new stack > from the application? > > Is there a certain piece of code which picks up the name of their file > (chosen by the user) and then automatically put into the 'filepath' ? From stephenREVOLUTION at barncard.com Tue Jul 5 01:10:08 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 00:10:08 -0500 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> Message-ID: I could never figure out how to use phpMyAdmin to actually let me ENTER data (if it does at all), not just build the structure. Often I'll use CocoaMySQL to build the schema and stuff the database with data, then use my app after that. It uses an easy to use spreadsheet metaphor to enter data. This way I have good data to start testing my app right away. Import/Export is a snap and it reads the first line of my data to get the fieldnames for import. On many web based projects that mainly need to display lists from a database (such as a tour schedule for CSN) I just enter the data directly from CocoaMySQL and don't have to create an entry or admin panel. Much easier to use than a web-based app. sqb >Marielle Lange wrote: > >>Just in case not. I wonder if you know of PhPMyAdmin (wrongly named >>as what it >>does is administer MySQL db). > >and Stephen Bancard added: > >>And if you have a Mac, CocoaMySQL (client) is far better for >>managing a MySQL database than the server-based phpMyAdmin, in my >>opinion, and it's free. > >Thanks both of you. I use PHPMyAdmin right now for some ongoing >MySQL tests. I don't have any serious problem with it, although it >could certainly be better. Stephen, I'll grab a copy of CocoaMySQL >and see how that goes, thanks! > >k > From stephenREVOLUTION at barncard.com Tue Jul 5 01:23:01 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 00:23:01 -0500 Subject: [Bug 2813] High Speed Array Subprocessor instruction extensions In-Reply-To: <20050704212835.22CFDBCCD04@www.runrev.com> References: <20050704212835.22CFDBCCD04@www.runrev.com> Message-ID: This is where OPTIONAL 'typing' would be very, very useful. sqb >http://support.runrev.com/bugdatabase/show_bug.cgi?id=2813 > > > > > >------- Additional Comments From see3d at writeme.com 2005-07-04 17:28 ------- >After giving this much thought, I don't believe that it is needed to have a >seperate array subprocessor. Transcript could provide the speed needed for >processing arrays in a simpler way. If Transcript had an array >declaration command >that allowed the user to fix the dimensions and data size/type for >an array and >limited the "keys" to integer indexes, then high speed array >processing could be >built-in. The key is that once an array is fixed in size and type, the >compiler/runtime does not need to do extensive checking of the data >to determine >the operation code. The compiler can then generate the code for a >much simpler >runtime operator. These declared arrays would run 10 to 100 times >faster than the >typless ones for the kind of operations that are required by image >processing, AI, >statistics, and many other applications. > > >---------- >Posted by RevZilla 2.0.3 > > > >------- You are receiving this mail because: ------- >You are a voter for the bug, or are watching someone who is. From jperryl at ecs.fullerton.edu Tue Jul 5 01:29:54 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 Jul 2005 22:29:54 -0700 (PDT) Subject: Where are my sub-menus? In-Reply-To: <42C9839F.4050906@sover.net> Message-ID: Raskin would be horrified. Judy On Mon, 4 Jul 2005, Jon wrote: > It reminds me of the > recent Windows (XP?) feature where menu entries disappear if you don't > use them enough. I disable this on every system I encounter. From jperryl at ecs.fullerton.edu Tue Jul 5 01:34:44 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 4 Jul 2005 22:34:44 -0700 (PDT) Subject: Scripting conference Groups stack uploaded In-Reply-To: Message-ID: And, here, I'm just hoping that I wake up in time ;-) Judy On Tue, 5 Jul 2005, Sarah Reichelt wrote: > Hi Jacque, > Now you're not even trying to get the date & time right :-) > > Why not post it in seconds? On your system, convert your local date & > time for the conference into seconds and post that to the list. From eric.chatonet at sosmartsoftware.com Tue Jul 5 02:37:23 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Jul 2005 08:37:23 +0200 Subject: Stack Level Local/Globals In-Reply-To: <2D630432-DB68-4E8C-9607-4162CE06E60D@writeme.com> References: <2D630432-DB68-4E8C-9607-4162CE06E60D@writeme.com> Message-ID: Hi Dennis, Nice tests :-) I agree: The conclusions are a bit hard to understand... I am inclined to think that for intensive calculations (repeat for each pixel tPixel ;-) global arrays would be always preferable. In most cases and *practically*, custom properties "slowness" (as I explained it in a previous post) is not a problem. Depends on the context. I bet that, in many cases, code optimisation has to be searched for elsewhere :-) Le 4 juil. 05 ? 23:42, Dennis Brown a ?crit : > The conclusions are a bit hard to understand for this example, but > it appears that custom properties sets used instead of global > arrays are about 2.5 times as slow for writing and 3 times as slow > for reading, except for the case where a very large data string is > stored, then it seems to take much longer for the globals to create > a very large data space for each element. I can only conclude that > the method used for creating new data space for globals involves a > lot of shuffling of memory structures, while the method used for > custom properties is simpler. However, it is only a guess at this > point. > > In any case using custom properties for the compute intensive > arrays would significantly slow my program. However, they would be > a viable alternative to globals for many cases. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rev at armbase.com Tue Jul 5 05:45:17 2005 From: rev at armbase.com (rev at armbase.com) Date: Tue, 05 Jul 2005 10:45:17 +0100 Subject: filepaths and seeing clearly Message-ID: <1120556717.42ca56ad81e58@webmail.armbase.com> Hi All I have to share this wee story about how I have been battering my head on the wall due to filepaths. I hope it can be of use to some. Here goes...... I have an app which has a components folder with externals in it. I can use absolute paths.... on mouseUp set the hideConsoleWindows to true put "c:\Armbase\Components\PDATconv.exe /I" && quote & "c:\Armbase\Components\Armbase.xdf" & quote into mycommandline get shell(mycommandline) put url("file:c:\Armbase\Components\Armbase.txt") into tFile repeat for each line tLine in tFile put item 1 of tLine into fld "field1" put item 2 of tLine into fld "field2" put item 3 of tLine into fld "field3" put item 4 of tLine into fld "field4" put item 5 of tLine into fld "field5" put item 6 of tLine into fld "field6" create card -- for next line of values end repeat delete last card -- last card was never loaded with values -- now each line is displayed on a separate card end mouseUp But I cannot get relative paths working using various scripts that I have canibalised and recreated in many guises. I was at my wits end over this one. Even considering posting about paying someone to do it for me even though the app is free. However, I sat back today and thought. Hold on!!!!!!! All I want is the user to be able to put the .exe anywhere. And here is the "really silly bit" where I shouted at myself :-) BOB!!!!! THE COMPONENTS FOLDER DOES NOT HAVE TO FOILLOW THE .EXE. :-) And so it was a eureka moment. I was trying to be too neat and have the folder all self-contained. Why? I simply have to use Installgadget to put the components folder in the same place and then the user can put the .exe where they like. So blooming easy. So the moral of the story is.... Sometimes it is easier to work with the problem as it is.. rather than try too hard to be elegant. Hope this is of use to some. Regards Bob; Sunny Scotland (honest it really is) From ridge11103 at btinternet.com Tue Jul 5 05:46:22 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Tue, 05 Jul 2005 10:46:22 +0100 Subject: Button leaving behind droppings In-Reply-To: <42C9A453.7060609@tweedly.net> Message-ID: on 4/7/05 10:04 pm, Alex Tweedly wrote : Is there something else I ought to do (or not do) here ? Create a new mainstack Create a button in it (all default values) edit the card script to say on mouseMove put the loc of button "button" into tLoc put item 1 of the mouseloc into item 1 of tLoc set the loc of button "button" to tLoc end mouseMove and the button moves along with the mouse, just like you'd want. Then Inspect the button, and select "default button" - now the button moves, but leaves behind "droppings" as it moves. Is there something else I ought to do to move a "default" button, or should I BZ this ? (winXP, Rev 2.6, and 2.5 but not 2.2) ************************** Alex, this looks seriously weird on Mac OS 9 - all button styles seem to be equally affected. Horrible! The following looks even worse, predictably on mouseMove put the loc of button "button" into tLoc put the mouseloc into tLoc set the loc of button "button" to tLoc end mouseMove When I want to move something, I do "grab btn "button"" and all is well. So what's going on? John -- From dcragg at lacscentre.co.uk Tue Jul 5 06:07:13 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 5 Jul 2005 11:07:13 +0100 Subject: Parameter checking In-Reply-To: References: Message-ID: On 5 Jul 2005, at 03:21, Ken Ray wrote: > > So, for example, if you are checking to see if p1 is between A and > P (case > insensitive), you can do this: > > if not matchText(p1,"(?i)[A-P]") then exit to top > > OR this: > > if not matchText(p1,"[A-Pa-p]") then exit to top Ken, I think you need to make it like this: if not matchText(p1,"^[A-Pa-p]$") then exit to top Otherwise it will match strings that contain the target character, which I don't think is what Sarah wants. e.g. 123B will pass the test. So for the other examples if not matchText(p2,"^[1-8]$") then exit to top if not matchText(p3,"^[SD]$") then exit to top -- note s,d won't match if not matchText(p3,"(?i)^[SD]$") then exit to top -- matches SDsd if not matchText(p3,"^[SDsd]$") then exit to top -- matches SDsd Cheers Dave From dcragg at lacscentre.co.uk Tue Jul 5 06:27:27 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 5 Jul 2005 11:27:27 +0100 Subject: Button leaving behind droppings In-Reply-To: <42C9A453.7060609@tweedly.net> References: <42C9A453.7060609@tweedly.net> Message-ID: <0CCBB76E-2B0A-49F6-99BE-79262059178F@lacscentre.co.uk> On 4 Jul 2005, at 22:04, Alex Tweedly wrote: > > Is there something else I ought to do (or not do) here ? > > Create a new mainstack > Create a button in it (all default values) > > edit the card script to say > > on mouseMove > put the loc of button "button" into tLoc > put item 1 of the mouseloc into item 1 of tLoc > set the loc of button "button" to tLoc > end mouseMove > > and the button moves along with the mouse, just like you'd want. > > Then Inspect the button, and select "default button" - now the > button moves, but leaves behind "droppings" as it moves. On OS X, I get the droppings too, (I always wondered what the technical term was. Thanks.) but only when the button is selected and is set as default. It seems the droppings are left by the selection handles, and not the button. Is that the same on Windows? Cheers Dave From ridge11103 at btinternet.com Tue Jul 5 06:37:30 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Tue, 05 Jul 2005 11:37:30 +0100 Subject: Button leaving behind droppings In-Reply-To: <42C9A453.7060609@tweedly.net> Message-ID: But on further reflection - this is the behaviour you have scripted! You haven't said anything about erasing the remains of the last "set the loc". The "grab" command presumably does pay attention to this... Yes? John *********************************** on 4/7/05 10:04 pm, Alex Tweedly wrote : Is there something else I ought to do (or not do) here ? Create a new mainstack Create a button in it (all default values) edit the card script to say on mouseMove put the loc of button "button" into tLoc put item 1 of the mouseloc into item 1 of tLoc set the loc of button "button" to tLoc end mouseMove and the button moves along with the mouse, just like you'd want. Then Inspect the button, and select "default button" - now the button moves, but leaves behind "droppings" as it moves. Is there something else I ought to do to move a "default" button, or should I BZ this ? (winXP, Rev 2.6, and 2.5 but not 2.2) ************************** From rev at armbase.com Tue Jul 5 06:42:13 2005 From: rev at armbase.com (rev at armbase.com) Date: Tue, 05 Jul 2005 11:42:13 +0100 Subject: insert text at cursor Message-ID: <1120560133.42ca6405127ee@webmail.armbase.com> Hi All. I cant find the answer to this on in the docs or list archive. I can use a button and revgourl to go to my webmail page and the cursor is in the first field, however, I would like to paste in the username at the cursor and tab to the next field to enter a password. I tried the first step to launch the browser and go to the page. The cursor is ther but all attempts to add a line into the script that adds text at the cursor have failed. The docs naturally concentrate on inserting text etc in a stack field. Any ideas, or is this even possible? Cheers Bob From alex at harryscollar.com Tue Jul 5 07:20:18 2005 From: alex at harryscollar.com (Alex Shaw) Date: Tue, 05 Jul 2005 21:20:18 +1000 Subject: quick dirty ftp transfer? In-Reply-To: <20050705103753.CA4C482497D@mail.runrev.com> References: <20050705103753.CA4C482497D@mail.runrev.com> Message-ID: <42CA6CF2.9000100@harryscollar.com> hmmm.. no netbios or samba here (don't like em) so looks like good old raw sockets will have to do :) looks like i have to print out libURL, thanks derek regards alex > Well, if the networks are connected then you can just copy the file to > the different machine. This eliminates the need for a client/server > app. If they are on 2 different networks that are not connected, then I > would recommend you go the sockets route. > > > Derek Bump > Dreamscape Software From 3mcgrath at adelphia.net Tue Jul 5 07:31:06 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Jul 2005 07:31:06 -0400 Subject: Embedded objects in fields In-Reply-To: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> Message-ID: <1f0078a3d03a1e4d8972d4743cfda003@adelphia.net> 2 cents: I agree. It is not good moving buttons in fields or groups. It makes it too hard for users to develop a motor plan for those buttons. A motor plan is what happens during touch typing or even during walking where our muscles develop a plan to those activities without having to think about it. In fact having to think about it is what slows us down. Try to think about the muscles in your legs moving while walking down the stairs - careful because you might actually fall down. Using motor plans is the 'only' way to become truly proficient at using professional software. This is true for menus as well - constantly moving menus around make a user stop and then have to search for the menu and item visually. There have been hundreds of papers and years of research done on this. It is part of what I do for a living. I think that games might be the exception to this where movement is a part of the fun of the game. Tom On Jul 4, 2005, at 5:18 PM, Dan Shafer wrote: > Just my two cents -- and it's a holiday here so my brain may be > otherwise engaged -- I think putting buttons into scrolling fields is > a terrible UI idea. By definition, it puts certain functionality out > of the reach of the user until and unless s/he scrolls the field. > Lotus NOtes allowed this and every time I saw an app designed to take > advantage of it, users got confused. > > I suspect I feel the same way about buttons in scrolling GROUPS. > Interactive functionality needs to be where users > can...well...interact with it, no? > > Dan (who fears he's probably started another one of those "up your > opinion" threads that are so much fun) > > > On Jul 4, 2005, at 8:14 AM, Charles Hartman wrote: > >> >> On Jul 1, 2005, at 1:04 PM, Mathewson wrote: >> >> >>> I have just downloaded the SuperCard 4.5 demo and found >>> they have a new feature: >>> >>> allowObjects >>> >>> this lets the user embed object (images and so on) inside >>> FIELDS: >>> >>> WOW - I would love scrolling text fields with pictures! >>> >> >> >> -- and buttons! (At the moment I'm doing this is a non-scrolling >> field inside a scrolling group, but aside from being tedious that has >> other disadvantages, such as the scroll-wheel not working right.) >> >> Charles Hartman >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From charles.hartman at conncoll.edu Tue Jul 5 07:46:31 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 5 Jul 2005 07:46:31 -0400 Subject: Embedded objects in fields In-Reply-To: <1f0078a3d03a1e4d8972d4743cfda003@adelphia.net> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> <1f0078a3d03a1e4d8972d4743cfda003@adelphia.net> Message-ID: <8DE4AD58-135D-47C2-BF3B-1D955FF8221E@conncoll.edu> Yes, but couldn't it be argued that in this sense a tutorial app -- in effect, just a slicker & thinner alternative to a textbook -- has requirements-on-the-user's-attention different from a normal, "productive" app? Even *opposite* requirements? Slow 'em down! Block that skimming! OK, I know it isn't as simple (or as complicated?) as that . . . I just keep remembering Einstein, Things should be as simple as possible, and no simpler. But I didn't mean to start a UI or HIG thread. Charles Hartman On Jul 5, 2005, at 7:31 AM, Thomas McGrath III wrote: > 2 cents: > > I agree. It is not good moving buttons in fields or groups. It > makes it too hard for users to develop a motor plan for those > buttons. A motor plan is what happens during touch typing or even > during walking where our muscles develop a plan to those activities > without having to think about it. > > In fact having to think about it is what slows us down. Try to > think about the muscles in your legs moving while walking down the > stairs - careful because you might actually fall down. Using motor > plans is the 'only' way to become truly proficient at using > professional software. This is true for menus as well - constantly > moving menus around make a user stop and then have to search for > the menu and item visually. > > There have been hundreds of papers and years of research done on > this. It is part of what I do for a living. > > I think that games might be the exception to this where movement is > a part of the fun of the game. > > Tom > > On Jul 4, 2005, at 5:18 PM, Dan Shafer wrote: > > >> Just my two cents -- and it's a holiday here so my brain may be >> otherwise engaged -- I think putting buttons into scrolling fields >> is a terrible UI idea. By definition, it puts certain >> functionality out of the reach of the user until and unless s/he >> scrolls the field. Lotus NOtes allowed this and every time I saw >> an app designed to take advantage of it, users got confused. >> >> I suspect I feel the same way about buttons in scrolling GROUPS. >> Interactive functionality needs to be where users >> can...well...interact with it, no? >> >> Dan (who fears he's probably started another one of those "up your >> opinion" threads that are so much fun) >> >> >> On Jul 4, 2005, at 8:14 AM, Charles Hartman wrote: >> >> >>> >>> On Jul 1, 2005, at 1:04 PM, Mathewson wrote: >>> >>> >>> >>>> I have just downloaded the SuperCard 4.5 demo and found >>>> they have a new feature: >>>> >>>> allowObjects >>>> >>>> this lets the user embed object (images and so on) inside >>>> FIELDS: >>>> >>>> WOW - I would love scrolling text fields with pictures! >>>> >>>> >>> >>> >>> -- and buttons! (At the moment I'm doing this is a non-scrolling >>> field inside a scrolling group, but aside from being tedious that >>> has other disadvantages, such as the scroll-wheel not working >>> right.) >>> >>> Charles Hartman >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, > Rev 2.6 > > > Advanced Media Group > Eagle Works Art & Sculpture > Semantic Compaction Systems > Prentke Romich Company > Prentke Romich International > SCIconics, LLC > Artist > Thomas J McGrath III > 3mcgrath at adelphia.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbondy at sover.net Tue Jul 5 08:01:43 2005 From: jbondy at sover.net (Jon) Date: Tue, 05 Jul 2005 08:01:43 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> Message-ID: <42CA76A7.9080804@sover.net> "These declared arrays would run 10 to 100 times faster than the type-less ones for the kind of operations that are required by image processing, AI, statistics, and many other applications." Given the detailed work that Alex (?) did a week or two ago with my algorithms, I am not at all sure that your optimism is warranted. That said, I love the idea Jon Dennis Brown wrote: > To all the speed freaks, > > I know that I have pushed for faster array processing and have even > proposed an "Array sub-processor" as a possible solution. However, > after giving this much thought, I don't believe that a separate array > sub-processor is needed to solve the problem of speed. Transcript > could provide the speed needed for processing arrays in a simpler way. > > If Transcript had an array declaration command that allowed the user > to fix the dimensions and data size/type for an array and limited the > "keys" to integer indexes, then high speed array processing could be > built-in. > > Normally it would be a pain to have to dim all arrays. Arrays in > Transcript are sparsely populated and very general now --and could be > further extended to make them even better for many general purpose > solutions. However, there is a class of problems that need speed and > generally lend themselves to fixing the type and size. These > problems are quite common, but rarely seen implemented in Transcript > because of the slow array processing speed. > > The key is that once an array is fixed in size and type, the runtime > does not need to do extensive checking of the data to determine the > operation code, and the keys do not have to be looked up in a hash > table to find the location of the element --just use the indexes > directly. The compiler can then generate the code for a much simpler > runtime operator. These declared arrays would run 10 to 100 times > faster than the type-less ones for the kind of operations that are > required by image processing, AI, statistics, and many other > applications. This is the main reason array processing runs so much > faster in other languages. > > Having fast array structures then opens up the possibility for a > larger set of array operators or even an efficient way to pass the > array pointers directly to an external. The links between the rest > of the data structures in Transcript and these dimensioned arrays > become seamless. > > Conceptually, the implementation of a dimensioned array would be as > if it were a single string variable. In other words, just a > contiguous chunk of memory that you can index into based on the > supplied dimensions. We already have the concept of a pointer in > Transcript. When we say "get char (expression) of variable", > "(expression)" is a pointer. That expression can be the index into > a conceptual n dimensional character array. However, at present we > are limited to directly accessing only a single byte. We could say > "get char (expression) to (expression+4) of variable", to get 32 bits > of information, but even if we know that it is supposed to represent > a 32 bit floating point number, we have no way of telling Transcript > that, so it will just hand us back 4 characters that could at best be > translated into a 4 digit (including decimal point) number like > 3.14. However, if we told the compiler that we want our variable to > have 1000 rows by 1000 columns of 4 byte words, then the "get > variable[25,64]" could get a 4 byte string of characters in lightning > speed. We could say that If we initialized our array with strings, > we would get strings back. If we initialized it with numbers, we > would get numbers back --which is very Transcript like, or we could > just specify the type. The point is that a single dimensioned array, > like a single variable, can hold only one data type at a time. > > The advantage of such an arrangement is not only speed, but also > compactness. If we are interested in speed it is likely that we have > a large quantity of data. Arrays in Transcript today have a large > overhead due to the key structure. Dimensioned arrays could easily > take half the space or even less. The syntax could be very simple like: > > global myArray[1000,1000]=0 --numeric array > local myArray[1000,1000,5]=false --Boolean array > local myArray[1000]="" --empty character array > local myArray[100,300]="abcd" --4 character word array > > Dennis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Tue Jul 5 08:16:09 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Jul 2005 08:16:09 -0400 Subject: Scripting conference Groups stack uploaded In-Reply-To: References: Message-ID: <6d4fd42bd3505ceb9215069b5d7d8e32@adelphia.net> returns: 7/9/05 12:00 PM in Pittsburgh, PA, USA Tom On Jul 4, 2005, at 9:45 PM, Ray Stace wrote: >> get "1120924800";convert it to short date and time;put it Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From alex at tweedly.net Tue Jul 5 08:22:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 13:22:19 +0100 Subject: Button leaving behind droppings In-Reply-To: <0CCBB76E-2B0A-49F6-99BE-79262059178F@lacscentre.co.uk> References: <42C9A453.7060609@tweedly.net> <0CCBB76E-2B0A-49F6-99BE-79262059178F@lacscentre.co.uk> Message-ID: <42CA7B7B.9080101@tweedly.net> Dave Cragg wrote: > > On OS X, I get the droppings too, (I always wondered what the > technical term was. Thanks.) but only when the button is selected and > is set as default. It seems the droppings are left by the selection > handles, and not the button. Is that the same on Windows? No. When I select the button, I get two sets of droppings - remnants of gray squares from the selection handle - remnants of black lines along the trailing edge of the button When the button is not selected, I get only the black lines left behind - and they are only on the trailing edge, and are apparently single pixel width. When I switch from Edit (pointer) tool to Run (browse) tool, the droppings all disappear. When I hit an arrow key, they all disappear. But when I hit the tab key, focus moves to the next button, but the droppings remain. Thanks to you and John for checking - I feel safe entering it as a BZ now - #2974 -- 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.8.8/37 - Release Date: 01/07/2005 From alex at tweedly.net Tue Jul 5 08:25:33 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 13:25:33 +0100 Subject: Button leaving behind droppings In-Reply-To: References: Message-ID: <42CA7C3D.8080006@tweedly.net> John Ridge wrote: >But on further reflection - this is the behaviour you have scripted! You >haven't said anything about erasing the remains of the last "set the loc". >The "grab" command presumably does pay attention to this... > >Yes? > > No. You never say anything about erasing at the old location (in fact, I don't know if there is any way to do that). To change the location of an object you set its location - and it disappears from the old location and appears at the new one. Nothing else needed. The "grab" command comes with limitations - e.g. the object follows the mouse completely - not simply in one dimension as I need, it can only be used when the mouseloc is within the object, etc. (according to the docs - I've never used it, so can't confirm those). -- 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.8.8/37 - Release Date: 01/07/2005 From eric.chatonet at sosmartsoftware.com Tue Jul 5 08:30:45 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Jul 2005 14:30:45 +0200 Subject: Button leaving behind droppings In-Reply-To: <42CA7B7B.9080101@tweedly.net> References: <42C9A453.7060609@tweedly.net> <0CCBB76E-2B0A-49F6-99BE-79262059178F@lacscentre.co.uk> <42CA7B7B.9080101@tweedly.net> Message-ID: <092519ED-31DE-4824-A784-CE8DE3154ECF@sosmartsoftware.com> Hi Alex, Could not we call that an IDE worrying dysfunction dedicated to programmers? There's a little chance to encounter this feature in any standalone or even in any stack normally used :-) Le 5 juil. 05 ? 14:22, Alex Tweedly a ?crit : > Dave Cragg wrote: > > >> >> On OS X, I get the droppings too, (I always wondered what the >> technical term was. Thanks.) but only when the button is selected >> and is set as default. It seems the droppings are left by the >> selection handles, and not the button. Is that the same on Windows? >> > > No. > When I select the button, I get two sets of droppings > - remnants of gray squares from the selection handle > - remnants of black lines along the trailing edge of the button > > When the button is not selected, I get only the black lines left > behind - and they are only on the trailing edge, and are apparently > single pixel width. > > When I switch from Edit (pointer) tool to Run (browse) tool, the > droppings all disappear. When I hit an arrow key, they all > disappear. But when I hit the tab key, focus moves to the next > button, but the droppings remain. > > Thanks to you and John for checking - I feel safe entering it as a > BZ now - #2974 > > -- > Alex Tweedly http://www.tweedly.net 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Tue Jul 5 08:30:55 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Jul 2005 08:30:55 -0400 Subject: Button leaving behind droppings In-Reply-To: References: Message-ID: This is only in the IDE in 'work' mode. If you switch to the pointer(versus selection arrow) there are no droppings. Is it a bug or an anomaly? There are many anomalies when working in the 'work' part of the ide. Tom On Jul 5, 2005, at 5:46 AM, John Ridge wrote: > > Then Inspect the button, and select "default button" - now the button > moves, but leaves behind "droppings" as it moves. > > Is there something else I ought to do to move a "default" button, or > should I BZ this ? > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Tue Jul 5 08:43:31 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Jul 2005 08:43:31 -0400 Subject: Embedded objects in fields In-Reply-To: <8DE4AD58-135D-47C2-BF3B-1D955FF8221E@conncoll.edu> References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> <1f0078a3d03a1e4d8972d4743cfda003@adelphia.net> <8DE4AD58-135D-47C2-BF3B-1D955FF8221E@conncoll.edu> Message-ID: Charles, I am a firm believer in "Rules are meant to be broken" and KISS (Keep it simple stupid). I am also a Rebel at heart so I take the suggestions from people about good form and then 'see' what it might look like in real life. If my alternative solution works and is good enough than I go for it. Also, I believe the audience is your judge and depending on who the tutorial is for should dictate the actions you take. I will say there are very good reasons for some standards and guidelines. And simple for a user is not always simple for the programmer in fact it sometimes takes complicated solutions to make something appear simple for the user. Lastly, I feel it is our duty as programmers(even hobbiest) to make any app or tutorial follow good form and suggest others to think the same way. I would love to see your stack when finished. GL Tom On Jul 5, 2005, at 7:46 AM, Charles Hartman wrote: > Yes, but couldn't it be argued that in this sense a tutorial app -- in > effect, just a slicker & thinner alternative to a textbook -- has > requirements-on-the-user's-attention different from a normal, > "productive" app? Even *opposite* requirements? Slow 'em down! Block > that skimming! OK, I know it isn't as simple (or as complicated?) as > that . . . I just keep remembering Einstein, Things should be as > simple as possible, and no simpler. But I didn't mean to start a UI or > HIG thread. > > Charles Hartman > > > On Jul 5, 2005, at 7:31 AM, Thomas McGrath III wrote: > >> 2 cents: >> >> I agree. It is not good moving buttons in fields or groups. It makes >> it too hard for users to develop a motor plan for those buttons. A >> motor plan is what happens during touch typing or even during walking >> where our muscles develop a plan to those activities without having >> to think about it. >> >> In fact having to think about it is what slows us down. Try to think >> about the muscles in your legs moving while walking down the stairs - >> careful because you might actually fall down. Using motor plans is >> the 'only' way to become truly proficient at using professional >> software. This is true for menus as well - constantly moving menus >> around make a user stop and then have to search for the menu and item >> visually. >> >> There have been hundreds of papers and years of research done on >> this. It is part of what I do for a living. >> >> I think that games might be the exception to this where movement is a >> part of the fun of the game. >> >> Tom >> >> On Jul 4, 2005, at 5:18 PM, Dan Shafer wrote: >> >> >>> Just my two cents -- and it's a holiday here so my brain may be >>> otherwise engaged -- I think putting buttons into scrolling fields >>> is a terrible UI idea. By definition, it puts certain functionality >>> out of the reach of the user until and unless s/he scrolls the >>> field. Lotus NOtes allowed this and every time I saw an app designed >>> to take advantage of it, users got confused. >>> >>> I suspect I feel the same way about buttons in scrolling GROUPS. >>> Interactive functionality needs to be where users >>> can...well...interact with it, no? >>> >>> Dan (who fears he's probably started another one of those "up your >>> opinion" threads that are so much fun) >>> >>> >>> On Jul 4, 2005, at 8:14 AM, Charles Hartman wrote: >>> >>> >>>> >>>> On Jul 1, 2005, at 1:04 PM, Mathewson wrote: >>>> >>>> >>>> >>>>> I have just downloaded the SuperCard 4.5 demo and found >>>>> they have a new feature: >>>>> >>>>> allowObjects >>>>> >>>>> this lets the user embed object (images and so on) inside >>>>> FIELDS: >>>>> >>>>> WOW - I would love scrolling text fields with pictures! >>>>> >>>>> >>>> >>>> >>>> -- and buttons! (At the moment I'm doing this is a non-scrolling >>>> field inside a scrolling group, but aside from being tedious that >>>> has other disadvantages, such as the scroll-wheel not working >>>> right.) >>>> >>>> Charles Hartman >>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >>> >>> >> >> >> Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, >> Rev 2.6 >> >> >> Advanced Media Group >> Eagle Works Art & Sculpture >> Semantic Compaction Systems >> Prentke Romich Company >> Prentke Romich International >> SCIconics, LLC >> Artist >> Thomas J McGrath III >> 3mcgrath at adelphia.net >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From rjb at robelko.com Tue Jul 5 08:47:53 2005 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 5 Jul 2005 14:47:53 +0200 Subject: Button leaving behind droppings In-Reply-To: References: Message-ID: >This is only in the IDE in 'work' mode. If you switch to the >pointer(versus selection arrow) there are no droppings. > >Is it a bug or an anomaly? There are many anomalies when working in >the 'work' part of the ide. > >Tom I somehow doubt this is a bug. It probably works same in both modes, the difference being that IDE does tons of things behind the scenes (just fire the message watcher and watch all the messages from IDE) with a side-effect of not being able to update the display fast enough when extra processing is required (selection markers, default button outline). Robert From klaus at major-k.de Tue Jul 5 09:17:17 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Jul 2005 15:17:17 +0200 Subject: Button leaving behind droppings In-Reply-To: References: Message-ID: <41254900-B78A-437F-BD82-D25A33D49771@major-k.de> Hi Robert, >> This is only in the IDE in 'work' mode. If you switch to the >> pointer(versus selection arrow) there are no droppings. >> Is it a bug or an anomaly? There are many anomalies when working >> in the 'work' part of the ide. >> Tom > I somehow doubt this is a bug. It's an engine bug since it also happens with Metacard! The handles should NOT leave trails and it only affects "default" buttons, but both on OS X and on my Win XP Home here... Forcing a screen redraw will fix it. > It probably works same in both modes, the difference being that IDE > does tons of things behind the scenes (just fire the message > watcher and watch all the messages from IDE) with a side-effect of > not being able to update the display fast enough when extra > processing is required (selection markers, default button outline). > > Robert Regards Klaus Major klaus at major-k.de http://www.major-k.de From alex at tweedly.net Tue Jul 5 09:26:50 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 14:26:50 +0100 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <42CA76A7.9080804@sover.net> References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> <42CA76A7.9080804@sover.net> Message-ID: <42CA8A9A.5090904@tweedly.net> Dennis wrote: > "These declared arrays would run 10 to 100 times faster than the > type-less ones for the kind of operations that are required by image > processing, AI, statistics, and many other applications." > Jon wrote: > Given the detailed work that Alex (?) did a week or two ago with my > algorithms, I am not at all sure that your optimism is warranted. > That said, I love the idea I too love the idea. I think it would extend the scope of pure-Transcipt to cover a wide range of interesting problems. When it coalesces into a solid Bugzilla enhancement request, it will get quite a few of my votes. But this on its own will not make pure-Transcript feasible for image processing tasks. Imagine that the engine could be incredibly fast at accessing these"dimensioned arrays". We can easily benchmark to see how long it would take for various assumptions about how fast it *could* possibly be. For a 6MP loop: doing nothing take 430 ms assigning to a scalar variable takes 1500 ms accessing via an index (char i of var) takes 2500 ms incrementing via an index (char i of var) takes 5200 ms idealized version of histogram takes 10400 ms So even if the optimization of "dimensioned arrays" achieves everything it can hope for, and can access those arrays through a single index look-up - it will still take 10 seconds to do a histogram for an image of the size produced by last year's consumer cameras. It is still, IMO, a worthwhile addition to the language, and would allow us to do a lot of things that are beyond pure-Transcript today but are less demanding than image processing. In some future combination with a "compileIt" optimization (and perhaps some optimizing of "repeat with" loops) it might stretch to cover image processing. But honestly, image processing is a specialized area, and I think it might well be better served by using a specialized (already written) package, such as ImageMagick, or PIL, or .... either through an external, a command-line or process call, or via RPC-like socket communication. In fact, an RPC-like mechanism would also help with the ability to take full advantage of multi-core or multi-CPU systems. Since the near-term (5-10 year) growth in PC performance is likely to come from multiple processors rather than faster linear CPU cycle times, anyone doing image processing needs to be looking at using multiple threads or multiple processes to gain those benefits - and so an RPC-like mechanism has a lot going for it ... -- 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.8.8/37 - Release Date: 01/07/2005 From alex at tweedly.net Tue Jul 5 09:35:27 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 14:35:27 +0100 Subject: Button leaving behind droppings In-Reply-To: <092519ED-31DE-4824-A784-CE8DE3154ECF@sosmartsoftware.com> References: <42C9A453.7060609@tweedly.net> <0CCBB76E-2B0A-49F6-99BE-79262059178F@lacscentre.co.uk> <42CA7B7B.9080101@tweedly.net> <092519ED-31DE-4824-A784-CE8DE3154ECF@sosmartsoftware.com> Message-ID: <42CA8C9F.9000108@tweedly.net> Eric Chatonet wrote: > Hi Alex, > > Could not we call that an IDE worrying dysfunction dedicated to > programmers? > There's a little chance to encounter this feature in any standalone > or even in any stack normally used :-) > Actually, I encountered this in "normal" stack usage :-) The Mac version of the problem (only droppings from selection handles) I might consider an IDE-only problem, but on WinXP it leaves behind remnants of the edges of the button itself, even with "Suspend Dev tools" in place. I was thinking about the Space Invaders game mentioned by Nicholas, and thought I'd play for 5 minutes. The easiest way to handle the "player" in SI was to create a button, give it an image and have it move horizontally to track the mouse - and immediately I saw the problem. OK - once I investigated it a bit, I discovered that making it not be the default button cured it, but it took me a little while playing with different option settings on the button to find that. So it's certainly not a serious problem - but it's definitely a problem, and if I had been developing on a Mac, I wouldn't have known that on the PC an "unselected" button has this bad habit. -- 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.8.8/37 - Release Date: 01/07/2005 From alex at tweedly.net Tue Jul 5 09:40:11 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 14:40:11 +0100 Subject: Button leaving behind droppings In-Reply-To: References: Message-ID: <42CA8DBB.6070901@tweedly.net> Thomas McGrath III wrote: > This is only in the IDE in 'work' mode. If you switch to the > pointer(versus selection arrow) there are no droppings. > No it's not. I think it is "IDE-only" on OSX, but on WinXP it happens all the time - even when I build a standalone and run that. > Is it a bug or an anomaly? There are many anomalies when working in > the 'work' part of the ide. > It's a bug. -- 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.8.8/37 - Release Date: 01/07/2005 From jhurley at infostations.com Tue Jul 5 10:06:41 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 5 Jul 2005 07:06:41 -0700 Subject: ANN Spring things In-Reply-To: <20050704023904.F0CD9824D18@mail.runrev.com> References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: I have been working with springs and have developed a few utilities which might interest others. The iconic spring is easily described geometrically, but difficult to describe in terms of its Cartesian coordinates and so they are a good candidate for Turtle Graphics. For some of applications, the raw coordinate geometry of Run Rev is much too difficult. Included among the applications: *How to design shock absorbers *A commercial for Run Rev: It is revealed in the answer to the question: "How many programmers does it take to change a light?" *A jack-in-the-box In the message box: go stack url "http://home.infostations.net/jhurley/StringThings.rev" Jim P.S. Don't you people ever sleep? I'm having trouble keeping up with the list. From see3d at writeme.com Tue Jul 5 10:20:37 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 05 Jul 2005 10:20:37 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: References: Message-ID: <2FDF5373-0987-476C-A73A-8DD1068FD329@writeme.com> On Jul 5, 2005, at 12:04 AM, Ken Ray wrote: > I really like this idea, Dennis, but I'm not sure I like the > approach to > dimensioning, only because of Transcript's history of being able to > interpret things as strings, even if not quoted. So is: > > local myArray[100,300]="false" > > a boolean array, or a 5-character word array? Perhaps it's > acceptable to be > more picky about this (i.e. the above would be a 5 character word > array), > since we don't currently have a way of assigning a type, but I > think there's > a better way. For example, using your approach, if you wanted a 25 > character > word array, you'd have to provide a 25-character-long string. > > It seems to me that the main thing is not the *type* of data, but > for the > interpreter to know that there is a fixed size to array elements. > So perhaps > something like: > > local myArray[100,300] length 5 > > or something like that... Ken, Yes, that is why I wanted to start a discussion about his before putting in a BZ request. There is more than one approach to the syntax even though the basic idea is the same. It might be better to separate the declaration of the variable from the dimension statement. Since Transcript does not care what type or length a variable is when it is declared, no change would actually be needed to declare its scope. That way it is easier to include the dimension command later with non-constant arguments --which would be better for resizable graphics. There is no reason that a variable could not be re-dimensioned more than once --however the contents would get reset. I thought that it would be just as easy to specify the type implicit in the data value that was used to initialize the string --fixed dimension arrays have every element filled except in the case of a string array that includes a char count which could be zero. I don't think the user should have to know the exact internal format of the data type chosen --unless he is writing an external. If there are two sizes of integer formats, then perhaps they are specified a short or long instead of 2 byte or 4 byte. Having a variable length string type is another fine point. Does it make sense to have a variable length string type at all, since Transcript is already very robust in the string area. Perhaps it is sufficient to have only a fixed number of chars that are padded out with a "blank" char. I could go either way, but having a char count for a string type would be more general and it would increase the number of uses. Perhaps the length is a max of 127 or 255 characters --only short strings would benefit from a fixed length array. I still have a lot of questions about how different people would use this type of array. Right now, I could use over half of the types below in just one application that does not even use any images: local myArray dim myArray[ imageHeight, imageWidth ] RGBpixel=0,0,0 --how many image pixel formats do we need? dim myArray[ rows, columns, pages ] realNumber=0 --do we need 32 and 64 bit numbers? dim myArray[ rows, columns ] short integer=0 --do we need 8,16,32 bit numbers? What does Rev internally support now? dim myArray[ rows, columns ] string=20 --length initialized to 0, good for short variable length strings dim myArray[ rows, columns ] chars="abcd" --always 4 bytes long, good for fixed format words dim myArray[ rows, columns, map ] boolean=0 --compact one bit logic arrays, bit masks Dennis From klaus at major-k.de Tue Jul 5 10:29:27 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Jul 2005 16:29:27 +0200 Subject: XML Message-ID: Hi friends, i am currently learning XML (in Rev) and have a little question, that could not be answered with the Rev docs... Quote from the www3 school :-) XML is a cross-platform (SIC!), software and hardware independent tool for transmitting information. But Rev's XML is NOT? I created a nice and simple XML document on my OS X with Sarah's stack (thanks a lot Sarah!!!) and all umlauts are of course GONE when i open that file on windows with Rev :-/ Big fun! Looks like the Rev external does not add an encoding header (?) like: (Like Apple does...) as exspected nor does it saves the file as UTF8 unicode, so it would work crossplatform :-/ Only this simple header is added: which is not too helpful for crossplatform compatibility. Do I have to change the header manually? Or what can i do at all? Any hints are very welcome! Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Tue Jul 5 10:29:30 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Jul 2005 16:29:30 +0200 Subject: ANN Spring things In-Reply-To: References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: <71B151F2-1412-4F6E-9647-38B15A6EB200@sosmartsoftware.com> Hi Jim, Amazing! When maths reach natural effects :-) Thanks for your post. Le 5 juil. 05 ? 16:06, Jim Hurley a ?crit : > I have been working with springs and have developed a few utilities > which might interest others. > > The iconic spring is easily described geometrically, but difficult > to describe in terms of its Cartesian coordinates and so they are a > good candidate for Turtle Graphics. > > For some of applications, the raw coordinate geometry of Run Rev is > much too difficult. > > Included among the applications: > > *How to design shock absorbers > *A commercial for Run Rev: It is revealed in the answer to the > question: "How many programmers does it take to change a light?" > *A jack-in-the-box > > In the message box: > > go stack url "http://home.infostations.net/jhurley/ > StringThings.rev" > > Jim > > P.S. Don't you people ever sleep? I'm having trouble keeping up > with the list. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Tue Jul 5 10:36:53 2005 From: jbondy at sover.net (Jon) Date: Tue, 05 Jul 2005 10:36:53 -0400 Subject: ANN Spring things In-Reply-To: References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: <42CA9B05.4080300@sover.net> Jim Hurley wrote: > P.S. Don't you people ever sleep? I'm having trouble keeping up with > the list. I think Rev is becoming too popular. Maybe we need to do something about that! :) Jon From see3d at writeme.com Tue Jul 5 10:44:22 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 05 Jul 2005 10:44:22 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <42CA8A9A.5090904@tweedly.net> References: <64878EF567131D4596246171F75FD4A97445AC@m-epo-1.epo.cdc.gov> <42CA76A7.9080804@sover.net> <42CA8A9A.5090904@tweedly.net> Message-ID: On Jul 5, 2005, at 9:26 AM, Alex Tweedly wrote: > Dennis wrote: > > >> "These declared arrays would run 10 to 100 times faster than the >> type-less ones for the kind of operations that are required by >> image processing, AI, statistics, and many other applications." >> >> > Jon wrote: > > >> Given the detailed work that Alex (?) did a week or two ago with >> my algorithms, I am not at all sure that your optimism is >> warranted. That said, I love the idea >> > > > I too love the idea. I think it would extend the scope of pure- > Transcipt to cover a wide range of interesting problems. When it > coalesces into a solid Bugzilla enhancement request, it will get > quite a few of my votes. > > But this on its own will not make pure-Transcript feasible for > image processing tasks. > > Imagine that the engine could be incredibly fast at accessing > these"dimensioned arrays". We can easily benchmark to see how long > it would take for various assumptions about how fast it *could* > possibly be. > > For a 6MP loop: > doing nothing take 430 ms > assigning to a scalar variable takes 1500 ms > accessing via an index (char i of var) takes 2500 ms > incrementing via an index (char i of var) takes 5200 ms > idealized version of histogram takes 10400 ms > > So even if the optimization of "dimensioned arrays" achieves > everything it can hope for, and can access those arrays through a > single index look-up - it will still take 10 seconds to do a > histogram for an image of the size produced by last year's consumer > cameras. > > It is still, IMO, a worthwhile addition to the language, and would > allow us to do a lot of things that are beyond pure-Transcript > today but are less demanding than image processing. In some future > combination with a "compileIt" optimization (and perhaps some > optimizing of "repeat with" loops) it might stretch to cover image > processing. > > But honestly, image processing is a specialized area, and I think > it might well be better served by using a specialized (already > written) package, such as ImageMagick, or PIL, or .... either > through an external, a command-line or process call, or via RPC- > like socket communication. > > In fact, an RPC-like mechanism would also help with the ability to > take full advantage of multi-core or multi-CPU systems. Since the > near-term (5-10 year) growth in PC performance is likely to come > from multiple processors rather than faster linear CPU cycle times, > anyone doing image processing needs to be looking at using multiple > threads or multiple processes to gain those benefits - and so an > RPC-like mechanism has a lot going for it ... Alex, Jon, I completely agree that this would not make Transcript into a PhotoShop application. The image processing I was referring to was more along the lines of image manipulation that could be produced 5 years ago by a "C" program. In other words, Transcript is lagging good compiled languages by two orders of magnitude in array processing (not including dedicated vector processors). That just means that we have to look backwards in time to what could be done when CPUs ran at 20 MHz. I would like to see us get up to the 200 MHz era for general stuff. Specialized native commands like a package of array operators that approximate the capabilities of APL would of course improve the performance significantly, but for now I would just like to get over the hump of having the base functionality that could support better things in the future. Having this fixed format might also make it possible to have an efficient way to call an external with a pointer to the array to add a lot of missing functionality --but this is outside my experience. Dennis From gefisher at mac.com Tue Jul 5 11:13:50 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Tue, 5 Jul 2005 10:13:50 -0500 Subject: Embedded objects in fields Message-ID: <7b2f81834fc382d8d88e01f6d46758b7@mac.com> On July 5, 2005 6:31:06 AM CDT Tom III wrote: > 2 cents: > > I agree. It is not good moving buttons in fields or groups. It makes it > too hard for users to develop a motor plan for those buttons. A motor > plan is what happens during touch typing or even during walking where > our muscles develop a plan to those activities without having to think > about it. > > In fact having to think about it is what slows us down. Try to think > about the muscles in your legs moving while walking down the stairs - > careful because you might actually fall down. Using motor plans is the > 'only' way to become truly proficient at using professional software. > This is true for menus as well - constantly moving menus around make a > user stop and then have to search for the menu and item visually. > > There have been hundreds of papers and years of research done on this. > It is part of what I do for a living. > > I think that games might be the exception to this where movement is a > part of the fun of the game. Yeah, a lot of my games use this effect. However games are not known for adhering to the published UIGs. :-) > > Tom The Best, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From b.xavier at internet.lu Tue Jul 5 11:27:32 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 5 Jul 2005 17:27:32 +0200 Subject: ANN Spring things In-Reply-To: <71B151F2-1412-4F6E-9647-38B15A6EB200@sosmartsoftware.com> Message-ID: <20050705152155.AC0CF82488F@mail.runrev.com> I agree with Eric... potentialissimo! So the spring, the ferrari colors... Actually makes me think that Rev can catchup to Catia... http://www.ibm.com/catia - the runrev of car industry and manufacturers, testers and designers. This kind of program opens your mind just as Rev would... I like cars but actually this program was made by Dassault (i think) who makes airplanes, rockets, etc... Then again, im already working on something like this with some new TAOO extensions to come... Jim, if you want to add some "physics" handling to TAOO you are more than welcome! You'll be the first! TAOO will add time-based testing, universe matrices and context situational condition stochastic simulations and the rest ;) for example Put the long name of grp Spring["frontleft"] of grp car into thisspring coil thisspring Uncoil thisSpring combining it with a strut, car dampers, bushings and road porosity/weather/humidity/aborbstion, etc... would make this more interesting... The real challenge now is to get the spring coiling while rolling over a road with bumps (small sin waves). I doubt RR can handle the 10000 myriad parts in a 5 second simulation. Nor can it do the 7000 runs with GA (genetic algorithms) to find optimal configurations - this is what i heard in Stutgart a few weeks ago where a Ferarri GT testing team was doing. That simulation took them a week on a high-end PC. Just for a springs setting! ;) But it's not just the road and the spring. Dont forget the tyres and the parameter zillinos pieces that come with them to interface the car to the road ;) So what's the point? What's the value in this? How do you see the car handle the way you want? How do you control the testing? http://www-306.ibm.com/software/applications/plm/catiav5/ says simply "IA V5 is the leading product development solution for all manufacturing organizations, from OEMs through their supply chains to small independent producers. The range of its capabilities allows CATIA V5 to be applied in a wide variety of industries, such as aerospace, automotive, industrial machinery, electrical, electronics, shipbuilding, plant design, and consumer goods, including design for such diverse products as jewelry and clothing." Catia is a complicated beast. Rev is not maybe? That depends on us the developpers. And for Rev it would be easy to control Catia - I tell you this because it's the same way i've adapted MC to manage a large NT network. How i've kind of mastered a way to make software work for any subject any time... But knowing how the spring works is where it's at all the time! If Rev doesn't know how a spring should work then there's little chance that Rev can "efficiently" control Catia to find an optimum spring choice. The more we teach Rev how to make it available easily is the way to do that... So Jim, there's your invitation for a PPU module in TAOO/Rev/MC... Physic Processing Unit's a the next GPUs of the trade. That was G for graphics if you're not HW graphic card aware... Without these, simulators like GTR wouldn't be so totally realistic. The point is that TAOO should be able to bring in this context oriented "knowledge and intelligence" to the user. get iscoiled(thespring) I tried to do some optimization tests with RunRev with NN and BestFitPermutations (1-2D only) and forget it - without serious array transforms in terms of speed, speedier loop executions and better cpu usage (on x86 at least), Rev remains slow - and it's not the user handling stuff - as usual. A compiler is needed in my best of professional opinion to reach a quarter of the power of Catia - the parallels are interesting... If Rev wants to become Enterprise candy, then it should provide the power power-users will demand of it sooner or later... In the best fit problem i created some time ago, the speed to get the solution depended on the number of items you want to mix and beyond 8 items to combine into a best fit function which took already long minutes, 9 items jumped to over an hour long... just 2 cents on the line of thought today... I going galactic with Rev now ;) cheers Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Eric Chatonet > Sent: Tuesday, July 05, 2005 16:30 > To: How to use Revolution > Subject: Re: ANN Spring things > > Hi Jim, > > Amazing! > When maths reach natural effects :-) > Thanks for your post. > > Le 5 juil. 05 ? 16:06, Jim Hurley a ?crit : > > > I have been working with springs and have developed a few utilities > > which might interest others. > > > > The iconic spring is easily described geometrically, but > difficult to > > describe in terms of its Cartesian coordinates and so they > are a good > > candidate for Turtle Graphics. > > > > For some of applications, the raw coordinate geometry of Run Rev is > > much too difficult. > > > > Included among the applications: > > > > *How to design shock absorbers > > *A commercial for Run Rev: It is revealed in the answer to the > > question: "How many programmers does it take to change a light?" > > *A jack-in-the-box > > > > In the message box: > > > > go stack url "http://home.infostations.net/jhurley/ > > StringThings.rev" > > > > Jim > > > > P.S. Don't you people ever sleep? I'm having trouble > keeping up with > > the list. > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ridge11103 at btinternet.com Tue Jul 5 11:28:33 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Tue, 05 Jul 2005 16:28:33 +0100 Subject: Button leaving behind droppings In-Reply-To: <42CA7C3D.8080006@tweedly.net> Message-ID: on 5/7/05 1:25 pm, Alex Tweedly wrote : No. You never say anything about erasing at the old location (in fact, I don't know if there is any way to do that). To change the location of an object you set its location - and it disappears from the old location and appears at the new one. Nothing else needed. ************************************* I see what you mean. I've also tried set the loc of button "button" to the mouseLoc as a mouseUp handler in a field with lockText set to true. Clicking outside the field clears the droppings, but repeated clicks within the field leave two edges behind... I wondered if it was something to do with mouseMove - but it ain't! I'll look at your BZ John -- From eric.chatonet at sosmartsoftware.com Tue Jul 5 11:38:00 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Jul 2005 17:38:00 +0200 Subject: [ANN][EN][FR] Stacks Picker 1.1 and Encoded Text Picker 1.1 Message-ID: Paris, Mon, 5 Jul 2005 17:40:00 +0100 ---------------------- English version ------------------------- Hello, So Smart Software has the pleasure of announcing the availability of 2 updated freeware plugins for DreamCard/Revolution you can dowload from my web-site: Stacks Picker 1.1 Category: Working environment Description: Stacks Picker lets you organize stacks in sets: with just one mouse- click, you open, close, start using, etc. any stack or a whole set at once. Stacks Picker makes switching between several working environments easy. Many options: sets accumulation or exclusive behaviour, launching at startup, etc. Bilingual help (English/French) included. Identical appearance on all platforms. Encoded Text Picker 1.1 Category: HTML and URLencode translator Description: Ability to translate both to and from HTML and/or URLEncode. Integrated search and replace features (including tab and return.) Ability to determine text style and color. Copy function. Bilingual help (English/French) included. Identical appearance on all platforms. Enjoy, Best regards from Paris, Eric Chatonet. --------------------- Version fran?aise ------------------------ Bonjour, So Smart Software a le plaisir d'annoncer la disponibilit? de 2 mises ? jour de plugins pour DreamCard/Revolution que vous pouvez t?l?charger librement depuis mon site : Comment redimensionner le contenu d'une fen?tre Stacks Picker 1.1 Cat?gorie: Environnement de travail Description: Stacks Picker permet d'un seul clic d'ouvrir, fermer, mettre en service, etc. un nombre quelconque de piles organis?es en jeux. Pour chaque pile, choix entre la mise ? disposition, l'ouverture, la mise en service, auto ou manuelles, etc. Options d'exclusion ou de cumul des jeux entre eux, de lancement auto au d== E9marrage, etc. Pile d'aide bilingue (fran?ais/anglais) incluse. Apparence identique sur toutes les plate-formes. Encoded Text Picker 1.1 Cat?gorie: Traducteur HTML et URLEncode Description: Traduction en tous sens depuis et vers les encodages HTML et URLEncode Recherche/remplacement int?gr?e (y compris tab et return). Commandes de style et de couleur du texte. Fonction copie. Pile d'aide bilingue (fran?ais/anglais) incluse. Apparence identique sur toutes les plates-formes. Bonnes d?couvertes, Cordialement, Eric Chatonet. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From mwieder at ahsoftware.net Tue Jul 5 12:01:42 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Jul 2005 09:01:42 -0700 Subject: [Bug 2813] High Speed Array Subprocessor instruction extensions In-Reply-To: References: <20050704212835.22CFDBCCD04@www.runrev.com> Message-ID: <361937265.20050705090142@ahsoftware.net> Stephen- Monday, July 4, 2005, 10:23:01 PM, you wrote: SB> This is where OPTIONAL 'typing' would be very, very useful. That's Bugzilla #2783... -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Tue Jul 5 12:05:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Jul 2005 11:05:16 -0500 Subject: Parameter checking In-Reply-To: Message-ID: On 7/5/05 5:07 AM, "Dave Cragg" wrote: > > On 5 Jul 2005, at 03:21, Ken Ray wrote: > > >> >> So, for example, if you are checking to see if p1 is between A and >> P (case >> insensitive), you can do this: >> >> if not matchText(p1,"(?i)[A-P]") then exit to top >> >> OR this: >> >> if not matchText(p1,"[A-Pa-p]") then exit to top > > Ken, I think you need to make it like this: > > if not matchText(p1,"^[A-Pa-p]$") then exit to top > > > Otherwise it will match strings that contain the target character, > which I don't think is what Sarah wants. Well, she said the only one letter would be passed as a parameter, so I didn't feel I needed ^ or $, but you're right... if the needs change and it becomes more than one character, it will be necessary to add those, and in fact it would have been better to have them on in the first place so no code changes need to be made if the params change. Good catch, Dave! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jperryl at ecs.fullerton.edu Tue Jul 5 12:05:40 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 5 Jul 2005 09:05:40 -0700 (PDT) Subject: Embedded objects in fields In-Reply-To: <1f0078a3d03a1e4d8972d4743cfda003@adelphia.net> Message-ID: Yes, and one of my favorites to use in teaching is "The Art of the Obvious" (Lind, Johnson & Sandblad, CHI 1992). While it is largely concerned with "automatically processed components of the task of reading frequently used documents", the authors contend that their findings suggest "implications for task analysis and interface design". Specifically, they (and others) have posited that one of the very few visual attributes that humans always automatically (without additional conscious processing or thought) register is location. Thus, scrolling buttons = requires higher-level brain function and this does not making using an interface analogous to the eventual functional automaticity of, say, driving a car. Fascinating read; if anyone's interested, I can email you the PDF. Basically, their experimental design was to take hospital and other medical charts, remove the higher-level data (numbers and specific letters) and replace them all with XXXs in an emergency room context to see if/how the doctors could still roughly review the "information" for rapid diagnoses ... and... they could because they were familiar with the layout of the various forms and knew what the presence (or absence) of those XXXs in specific locations could signify. Judy On Tue, 5 Jul 2005, Thomas McGrath III wrote: > I agree. It is not good moving buttons in fields or groups. It makes it > too hard for users to develop a motor plan for those buttons. A motor > plan is what happens during touch typing or even during walking where > our muscles develop a plan to those activities without having to think > about it. > > There have been hundreds of papers and years of research done on this. From mwieder at ahsoftware.net Tue Jul 5 12:09:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Jul 2005 09:09:35 -0700 Subject: ANN Spring things In-Reply-To: References: <20050704023904.F0CD9824D18@mail.runrev.com> Message-ID: <1402410506.20050705090935@ahsoftware.net> Jim- Tuesday, July 5, 2005, 7:06:41 AM, you wrote: JH> P.S. Don't you people ever sleep? I'm having trouble keeping up with the list. ...sleep is overrated... -- -Mark Wieder mwieder at ahsoftware.net From kray at sonsothunder.com Tue Jul 5 12:08:59 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Jul 2005 11:08:59 -0500 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <2FDF5373-0987-476C-A73A-8DD1068FD329@writeme.com> Message-ID: > Having a variable length string type is another fine point. Does it > make sense to have a variable length string type at all, since > Transcript is already very robust in the string area. Perhaps it is > sufficient to have only a fixed number of chars that are padded out > with a "blank" char. I could go either way, but having a char count > for a string type would be more general and it would increase the > number of uses. Perhaps the length is a max of 127 or 255 characters > --only short strings would benefit from a fixed length array. Good questions - I think Mark Waddingham's going to have to weigh in here to let us know exactly how Rev stores/manages arrays for us to go too much farther other than to declare dimensioning syntax. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From charles.hartman at conncoll.edu Tue Jul 5 12:10:18 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 5 Jul 2005 12:10:18 -0400 Subject: Embedded objects in fields In-Reply-To: References: <2EEFF1F1-D9E8-478A-8B05-90F00CAE35D2@danshafer.com> <1f0078a3d03a1e4d8972d4743cfda003@adelphia.net> <8DE4AD58-135D-47C2-BF3B-1D955FF8221E@conncoll.edu> Message-ID: <3745DB90-2B95-4E32-923D-836AFDD0692E@conncoll.edu> I'll love to see it finished too . . . It may be a while; it's got *lots* of finicky little pieces. On Jul 5, 2005, at 8:43 AM, Thomas McGrath III wrote: > I would love to see your stack when finished. > > GL > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From kray at sonsothunder.com Tue Jul 5 12:10:33 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Jul 2005 11:10:33 -0500 Subject: XML In-Reply-To: Message-ID: On 7/5/05 9:29 AM, "Klaus Major" wrote: > Looks like the Rev external does not add an encoding header (?) like: > (Like Apple does...) > as exspected nor does it saves the file as UTF8 unicode, so it would > work crossplatform :-/ > > Only this simple header is added: > > which is not too helpful for crossplatform compatibility. > > Do I have to change the header manually? Or what can i do at all? > Any hints are very welcome! I think you'd have to change the header manually - I don't know if you can have the Rev XML handler make that happen. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Tue Jul 5 12:12:49 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Jul 2005 09:12:49 -0700 Subject: Scripting conference Groups stack uploaded In-Reply-To: <42C9E1C9.7050205@hyperactivesw.com> References: <42C9BFD7.8060006@hyperactivesw.com> <42C9E1C9.7050205@hyperactivesw.com> Message-ID: <1042603944.20050705091249@ahsoftware.net> Jacque- Monday, July 4, 2005, 6:26:33 PM, you wrote: JLG> I am curious to know if this works for all time zones everywhere. For JLG> those who want to try it, run this in the message box: JLG> get "1120924800";convert it to short date and time;put it This is great. Can you get this added to the web page? BTW: gives me 9AM PDT. -- -Mark Wieder mwieder at ahsoftware.net From jperryl at ecs.fullerton.edu Tue Jul 5 12:11:58 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 5 Jul 2005 09:11:58 -0700 (PDT) Subject: Embedded objects in fields In-Reply-To: <8DE4AD58-135D-47C2-BF3B-1D955FF8221E@conncoll.edu> Message-ID: Not if Lind, Johnson & Sandblad are correct. In fact, I rmember being in a situation many moons ago in which I was failing a third semester calculus class (working my way up from an "F" to a hoped-for "C"). As I had eventually noticed that my instructor tended to just take exam problems that were in the text, I all but memorized the textbook and, when the final exam (which I aced!) arrived, as I saw each problem, I could pretty much tell you the following about it with relationship to the textbook: *roughly where in the text it was *whether it was on the left page or the right page *whether it was near the top, middle, or bottom *what color ink it was in. Part of what makes books (Rev and Dan: are you listening???) more usable than online docs is that, over 600 years or so, we have developed layout and organizational conventions for books that allow us to use them more effectively because we can automatically process some of the task components of reading. BTW, I love HCI threads! Judy On Tue, 5 Jul 2005, Charles Hartman wrote: > Yes, but couldn't it be argued that in this sense a tutorial app -- > in effect, just a slicker & thinner alternative to a textbook -- has > requirements-on-the-user's-attention different from a normal, > "productive" app? Even *opposite* requirements? Slow 'em down! Block > that skimming! OK, I know it isn't as simple (or as complicated?) as > that . . . I just keep remembering Einstein, Things should be as > simple as possible, and no simpler. But I didn't mean to start a UI > or HIG thread. From kray at sonsothunder.com Tue Jul 5 12:19:42 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Jul 2005 11:19:42 -0500 Subject: insert text at cursor In-Reply-To: <1120560133.42ca6405127ee@webmail.armbase.com> Message-ID: On 7/5/05 5:42 AM, "rev at armbase.com" wrote: > Hi All. > > I cant find the answer to this on in the docs or list archive. > > I can use a button and revgourl to go to my webmail page and the cursor is in > the first field, however, I would like to paste in the username at the cursor > and tab to the next field to enter a password. > > I tried the first step to launch the browser and go to the page. The cursor is > ther but all attempts to add a line into the script that adds text at the > cursor have failed. > > The docs naturally concentrate on inserting text etc in a stack field. > > Any ideas, or is this even possible? Well, it *might* be possible, but it won't be easy. It's not as simple as "put into web page field ". If you are filling in a form on the webmail page, it is possible that the page you go to might be a CGI - if it is, you might be able to pass parameters to it so that when you go there the field is filled in. (You can tell if it uses a CGI by looking at the resulting URL after you manually go to the browser page - if the location string in the address bar includes something like .cgi or .asp or .php, followed by a "?" and a series of parameters fomatted as "param=value", then it uses a CGI.) If it doesn't use a CGI, you still may be able to put your data into the field by automating the browser from the outside through AppleScript, VB Script, etc., although most browsers are pretty "dumb" where that stuff's concerned. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Tue Jul 5 12:21:18 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Jul 2005 09:21:18 -0700 Subject: Where are my sub-menus? In-Reply-To: References: Message-ID: <42CAB37E.2060402@fourthworld.com> Judy Perry wrote: > On Mon, 4 Jul 2005, Jon wrote: > >> It reminds me of the recent Windows (XP?) feature where menu >> entries disappear if you don't use them enough. I disable >> this on every system I encounter. > > Raskin would be horrified. So would the authors of the Microsoft Human Interface Guidelines. What application and which of its menu items do this? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Tue Jul 5 12:24:09 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Jul 2005 09:24:09 -0700 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> Message-ID: <42CAB429.4070800@fourthworld.com> Sivakatirswami wrote: > Aiyo! (Lamentations) > > Windows won't play PDFs in QT... > > Richard: did that windows machine have QT 7 for Windows loaded? > > I'm sure you know this already but Apple just released QT with H.264 > format capabilities for Windows just a few weeks ago... so I just > wanted to check if this was happening in the latest QT, I haven't the foggiest. What is "H.264" and what happens when you try it with QT 7 on Win? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From klaus at major-k.de Tue Jul 5 12:44:34 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Jul 2005 18:44:34 +0200 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42CAB429.4070800@fourthworld.com> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> <42CAB429.4070800@fourthworld.com> Message-ID: <24EB4E89-86AE-46AB-B4B7-A013B018AEA2@major-k.de> Hi Richard, > Sivakatirswami wrote: > >> Aiyo! (Lamentations) >> Windows won't play PDFs in QT... >> Richard: did that windows machine have QT 7 for Windows loaded? >> I'm sure you know this already but Apple just released QT with H. >> 264 format capabilities for Windows just a few weeks ago... so I >> just wanted to check if this was happening in the latest QT, >> > > I haven't the foggiest. What is "H.264" well this is exactly ONE more than "H.263" :-D Actually this is a video codec. But Apple only released a TEST version of QT 7 for Windows until today! > and what happens when you try it with QT 7 on Win? No idea, but this thread was about displaying PDF in a player, so i don't think that this will work on windows even with QT 7. > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Tue Jul 5 12:46:07 2005 From: klaus at major-k.de (Klaus Major) Date: Tue, 5 Jul 2005 18:46:07 +0200 Subject: XML In-Reply-To: References: Message-ID: <63557770-0CEF-4EAA-868B-EF37D3C5F388@major-k.de> Hi Ken, > On 7/5/05 9:29 AM, "Klaus Major" wrote: >> Looks like the Rev external does not add an encoding header (?) like: >> (Like Apple does...) >> as exspected nor does it saves the file as UTF8 unicode, so it would >> work crossplatform :-/ >> >> Only this simple header is added: >> >> which is not too helpful for crossplatform compatibility. >> >> Do I have to change the header manually? Or what can i do at all? >> Any hints are very welcome! >> > > I think you'd have to change the header manually - I don't know if > you can > have the Rev XML handler make that happen. thanks, i was afraid of that. So much for standards... ;-) > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com Regards Klaus Major klaus at major-k.de http://www.major-k.de From jbondy at sover.net Tue Jul 5 12:42:37 2005 From: jbondy at sover.net (Jon) Date: Tue, 05 Jul 2005 12:42:37 -0400 Subject: Where are my sub-menus? In-Reply-To: <42CAB37E.2060402@fourthworld.com> References: <42CAB37E.2060402@fourthworld.com> Message-ID: <42CAB87D.5030501@sover.net> "What application and which of its menu items do this?" Well, the OS, for one. The feature is called Personalized Menus. The doc says "Personalized Menus keeps the Programs menu clean by hiding items you haven't used recently, while still keeping other programs easily accessible. You can gain access to hidden programs by clicking the down arrow at the bottom of the Programs menu". Similar "features" are provided with other MS products, like Office. Yetch. Bletch. Yuck. Good for casual users, but death to anyone with decent reflexes and physical memory. :) Jon Richard Gaskin wrote: > Judy Perry wrote: > > > On Mon, 4 Jul 2005, Jon wrote: > > > >> It reminds me of the recent Windows (XP?) feature where menu > >> entries disappear if you don't use them enough. I disable > >> this on every system I encounter. > > > > Raskin would be horrified. > > So would the authors of the Microsoft Human Interface Guidelines. > > What application and which of its menu items do this? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jhurley at infostations.com Tue Jul 5 12:53:37 2005 From: jhurley at infostations.com (Jim Hurley) Date: Tue, 5 Jul 2005 09:53:37 -0700 Subject: ANN Spring things In-Reply-To: <20050705160644.8567E824D36@mail.runrev.com> References: <20050705160644.8567E824D36@mail.runrev.com> Message-ID: > >Message: 7 >Date: Tue, 5 Jul 2005 17:27:32 +0200 >From: "MisterX" >Subject: RE: ANN Spring things >To: "'How to use Revolution'" >Message-ID: <20050705152155.AC0CF82488F at mail.runrev.com> >Content-Type: text/plain; charset="iso-8859-1" > >(snip) > >So what's the point? What's the value in this? How do you see the car handle >the way you want? How do you control the testing? >(snip) Xavier, Whew! Too much for me. I can only handle the springs. The rest of the car is up to the engineers. :-) (There is a good deal more physics at Run Rev's web site: http://downloads.runrev.com/stacks_apps/turtlegraphics.php ) Jim From ambassador at fourthworld.com Tue Jul 5 13:05:07 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Jul 2005 10:05:07 -0700 Subject: Where are my sub-menus? In-Reply-To: <42CAB87D.5030501@sover.net> References: <42CAB37E.2060402@fourthworld.com> <42CAB87D.5030501@sover.net> Message-ID: <42CABDC3.4080206@fourthworld.com> Jon wrote: > "What application and which of its menu items do this?" > > Well, the OS, for one. The feature is called Personalized Menus. The > doc says "Personalized Menus keeps the Programs menu clean by hiding > items you haven't used recently, while still keeping other programs > easily accessible. You can gain access to hidden programs by clicking > the down arrow at the bottom of the Programs menu". Similar "features" > are provided with other MS products, like Office. > > Yetch. Bletch. Yuck. Good for casual users, but death to anyone with > decent reflexes and physical memory. Ah, I see. It's not like this is happening with normal application menus; the Start menu is a special case. I can see arguments both ways. It would be good to read the research behind the decision, but alas no major OS vendor publishes their HI research anymore (it's a different world than when Tog worked at Apple). My opinion: all OS features must be presumed to be driven by marketing, CEO whim, or other counter-productive source until the vendor publishes the rationale behind the decision. With the "why", the "what" must remain suspect. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From douggilliland at gmail.com Tue Jul 5 13:10:14 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Tue, 5 Jul 2005 13:10:14 -0400 Subject: Multiple Choice Editor stack Message-ID: <890e3d2605070510107e52b2ff@mail.gmail.com> As a Dreamcard newbe I am going through the tutorial movies on the web site. I've authored two programs for my high school Chemistry students and would now like to construct some quizzes that go along with the programs. I viewed the Multiple Choice Quiz movie but can't find the stacks that the movie makes reference to. Searched the Dreamcard folder, my HD and the Revolution site but no go. Anyone tell me where I can find the multiple choice editor sample stack? Thanks, Doug Gilliland From ridge11103 at btinternet.com Tue Jul 5 13:11:06 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Tue, 05 Jul 2005 18:11:06 +0100 Subject: [ANN][EN][FR] Stacks Picker 1.1 and Encoded Text Picker 1.1 In-Reply-To: Message-ID: Eric, I *love* the encoded text picker - I have too many thumbs to type HTML otherwise! You know the acronym WIBNI? "Wouldn't It Be Nice If..." - something the developer really doesn't want to hear - but WIBNI you allowed also in plain-> HTML (does it make sense for URLencode?) the option to change font size and to select the font... And the fonts could (optionally?) be limited to a list of "approved" cross-platform fonts. Thanks again John From alex at tweedly.net Tue Jul 5 13:34:09 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 05 Jul 2005 18:34:09 +0100 Subject: Multiple Choice Editor stack In-Reply-To: <890e3d2605070510107e52b2ff@mail.gmail.com> References: <890e3d2605070510107e52b2ff@mail.gmail.com> Message-ID: <42CAC491.6060104@tweedly.net> Douglas Gilliland wrote: >As a Dreamcard newbe I am going through the tutorial movies on the web >site. I've authored two programs for my high school Chemistry students >and would now like to construct some quizzes that go along with the >programs. > >I viewed the Multiple Choice Quiz movie but can't find the stacks that >the movie makes reference to. Searched the Dreamcard folder, my HD and >the Revolution site but no go. >Anyone tell me where I can find the multiple choice editor sample stack? > > RevOnline / Learning Centre / Sample Work / Sample Projects / Sample Projects .... and it's 2/3 of the way down the first page of samples -- 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.8.8/37 - Release Date: 01/07/2005 From mwieder at ahsoftware.net Tue Jul 5 13:40:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Jul 2005 10:40:35 -0700 Subject: Where are my sub-menus? In-Reply-To: <42CAB87D.5030501@sover.net> References: <42CAB37E.2060402@fourthworld.com> <42CAB87D.5030501@sover.net> Message-ID: <127869706.20050705104035@ahsoftware.net> Jon- Tuesday, July 5, 2005, 9:42:37 AM, you wrote: J> Well, the OS, for one. The feature is called Personalized Menus. The J> doc says "Personalized Menus keeps the Programs menu clean by hiding J> items you haven't used recently, while still keeping other programs J> easily accessible. You can gain access to hidden programs by clicking J> the down arrow at the bottom of the Programs menu". Similar "features" J> are provided with other MS products, like Office. Worse yet, this is the *default* setting. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION at barncard.com Tue Jul 5 14:02:43 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 13:02:43 -0500 Subject: [Bug 2813] High Speed Array Subprocessor instruction extensions In-Reply-To: <361937265.20050705090142@ahsoftware.net> References: <20050704212835.22CFDBCCD04@www.runrev.com> <361937265.20050705090142@ahsoftware.net> Message-ID: I just VOTED. thanks >Stephen- > >Monday, July 4, 2005, 10:23:01 PM, you wrote: > >SB> This is where OPTIONAL 'typing' would be very, very useful. > >That's Bugzilla #2783... > >-- >-Mark Wieder > mwieder at ahsoftware.net > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION at barncard.com Tue Jul 5 14:04:30 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 13:04:30 -0500 Subject: sleep In-Reply-To: <1402410506.20050705090935@ahsoftware.net> References: <20050704023904.F0CD9824D18@mail.runrev.com> <1402410506.20050705090935@ahsoftware.net> Message-ID: Us older guys do 'power naps'... heh heh sqb >Jim- > >Tuesday, July 5, 2005, 7:06:41 AM, you wrote: > >JH> P.S. Don't you people ever sleep? I'm having trouble keeping up >with the list. > >...sleep is overrated... > >-- >-Mark Wieder > mwieder at ahsoftware.net > From stephenREVOLUTION at barncard.com Tue Jul 5 14:13:14 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 13:13:14 -0500 Subject: Message to Listmom: a couple of blank lines after list text. In-Reply-To: <42CAB429.4070800@fourthworld.com> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> <42CAB429.4070800@fourthworld.com> Message-ID: Just a little annoyance, but I've noticed that since Rev has changed web providers that their footers are exactly on the next line after the last line after the message. (note example below) This has led to confusion (at least for me) as it appears that the footer is part of the message it contains. Would it be possible to have a blank line and some kind of separator in the footer - it would make the posts easier to read and skim. >I haven't the foggiest. What is "H.264" and what happens when you >try it with QT 7 on Win? >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution <---------here is my last line of msg----sqb-----------> From stephenREVOLUTION at barncard.com Tue Jul 5 14:21:02 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 13:21:02 -0500 Subject: Message to Listmom: a couple of blank lines after list text. In-Reply-To: References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> <42CAB429.4070800@fourthworld.com> Message-ID: As if to prove me wrong... the listserv just did what I requested. It appears to be intermittent with this feature.... > ><---------here is my last line of msg----sqb-----------> >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution this is a last line of text without dashes. From eric.chatonet at sosmartsoftware.com Tue Jul 5 15:12:25 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Jul 2005 21:12:25 +0200 Subject: [ANN][EN][FR] Stacks Picker 1.1 and Encoded Text Picker 1.1 In-Reply-To: References: Message-ID: <33B8B41C-89AF-400A-A45E-292F8877572A@sosmartsoftware.com> Hi John, The new version of Encoded Text Picker allows to use the Text menu of Revolution. But may be it's not enough :-) As I am always fond of new features coming from users feedback (the best ones), I shall implement this request and let all know shortly :-) Thanks for your interest about my work. Le 5 juil. 05 ? 19:11, John Ridge a ?crit : > I *love* the encoded text picker - I have too many thumbs to type HTML > otherwise! > You know the acronym WIBNI? "Wouldn't It Be Nice If..." - something > the > developer really doesn't want to hear - but WIBNI you allowed also in > plain-> HTML (does it make sense for URLencode?) the option to > change font > size and to select the font... And the fonts could (optionally?) be > limited > to a list of "approved" cross-platform fonts. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From charles.hartman at conncoll.edu Tue Jul 5 15:37:26 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 5 Jul 2005 15:37:26 -0400 Subject: Embedded objects in fields In-Reply-To: References: Message-ID: <9BA415E5-2920-4A94-A536-4E391371CC82@conncoll.edu> Sure -- though this is exactly not (if not _exactly_ the opposite of) the tutorial situation I'm talking about. That is: if the *abstruseness* of some information is part of the point of that information, doesn't an interface for getting at it that makes the path to it *not* automatic reinforce the point of the information? A huge percentage of what we do on computers isn't like this; early interfaces were bad because they made everything obscure including the 95% that shouldn't be. All the UI guidelines are ways of making designers conscious of that & so correcting it. My point is that, while doing clerical work on a computer (which is most of what most people use programs for -- from email to w.p. to googling) shouldn't make any extra, irrelevant demands on users' attention, I don't believe that applies to everything people do on computers. On Jul 5, 2005, at 12:05 PM, Judy Perry wrote: > Yes, and one of my favorites to use in teaching is "The Art of the > Obvious" (Lind, Johnson & Sandblad, CHI 1992). > > While it is largely concerned with "automatically processed > components of > the task of reading frequently used documents", the authors contend > that > their findings suggest "implications for task analysis and interface > design". > > Specifically, they (and others) have posited that one of the very few > visual attributes that humans always automatically (without additional > conscious processing or thought) register is location. > > Thus, scrolling buttons = requires higher-level brain function and > this > does not making using an interface analogous to the eventual > functional > automaticity of, say, driving a car. > > Fascinating read; if anyone's interested, I can email you the PDF. > Basically, their experimental design was to take hospital and other > medical charts, remove the higher-level data (numbers and specific > letters) and replace them all with XXXs in an emergency room > context to > see if/how the doctors could still roughly review the "information" > for > rapid diagnoses ... and... they could because they were familiar > with the > layout of the various forms and knew what the presence (or absence) of > those XXXs in specific locations could signify. > > Judy > > On Tue, 5 Jul 2005, Thomas McGrath III wrote: > > >> I agree. It is not good moving buttons in fields or groups. It >> makes it >> too hard for users to develop a motor plan for those buttons. A motor >> plan is what happens during touch typing or even during walking where >> our muscles develop a plan to those activities without having to >> think >> about it. >> >> > > > >> There have been hundreds of papers and years of research done on >> this. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From see3d at writeme.com Tue Jul 5 15:59:32 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 05 Jul 2005 15:59:32 -0400 Subject: Stack Level Local/Globals In-Reply-To: References: Message-ID: Ok folks, I posted the following BZ for the stack level variables. Vote for it if you want it. Dennis ------------------------------------------------------------------------ ------------- http://support.runrev.com/bugdatabase/show_bug.cgi?id=2975 Summary: Stack scope variable declarations Product: Revolution Version: 2.6 Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: Transcript Language AssignedTo: engineteam at runrev.com ReportedBy: see3d at writeme.com QAContact: enginebugs at lists.runrev.com The stack scope variable (I am not sure what it should be called) just has the scope of a single main-stack and sub-stacks. This means that I could assign "global" names to a project without having to take into consideration global names that may have been used by someone else. This seems like the missing scope piece that would simply solve many problems. It was not my idea originally, but I just seems right. Global variable = Scope across all stacks --are a pain to use because the scope is too broad so they need special naming conventions. They are all right for a stand alone, but DreamCard users don't make stand alones and run in the IDE. Loading several stacks at the same time is not unusual, but the potential for global conflicts is great and a pain to debug. Tool makers also have to deal with this problem. Stack scope variable = Scope across sub-stacks --this is the missing scope that could replace globals in most situations. The stack variable would not conflict with any other mainstack projects in memory. Dennis ---------- Posted by RevZilla 2.0.3 ------- You are receiving this mail because: ------- You reported the bug, or are watching the reporter. From dburgun at dsl.pipex.com Tue Jul 5 16:34:17 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 5 Jul 2005 21:34:17 +0100 Subject: Help!!! Lost Some Stack Data In-Reply-To: References: Message-ID: Hi, I just opened a .rev stack and a major object group that I have been working on has disappeared! I really don't fancy putting it all in again! I do have a Standalone that had the missing group in to, is there anyway to retreive this from the Standalone so I can put it back into a .rev file??? Thanks in advance Dave From jacque at hyperactivesw.com Tue Jul 5 16:50:16 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Jul 2005 15:50:16 -0500 Subject: Scripting conference Groups stack uploaded In-Reply-To: References: Message-ID: <42CAF288.1020203@hyperactivesw.com> On 7/4/05 8:45 PM, Ray Stace wrote: > Returns 7/10/05 2:00 AM in the time zone for Sydney Australia. > Might not get many 'live' participants at that time ;)? Unfortuntely, that's the right time for the Aussies. Actually, everyone who has reported in about the seconds conversion has given the right time, which I have to say is pretty neat. I will start announcing future conference times in seconds from now on, I think. We tried really hard to find a conference time that would accomodate everyone all around the world. It proved impossible, largely because we couldn't figure out a way to prevent the earth from rotating. So to fix this problem, I am working on a little stack called "TimeWarpGadget". This stack, when completed, will allow you to stop time and attend the conference at your leisure. I confess that progress has been very slow. Every time I set a breakpoint, I drop into the debugger an hour before I started and the script I'm debugging hasn't been written yet. As soon as I solve this little glitch, I'll be looking for testers. > On 5/7/05 11:26 AM, "J. Landman Gay" wrote: > > > >>What a great idea. It is no surprise it comes from the lady who will be >>doing the conference on dates and times. Okay, the next scripting >>conference will be at 1120924800 seconds. >> >>I am curious to know if this works for all time zones everywhere. For >>those who want to try it, run this in the message box: >> >> get "1120924800";convert it to short date and time;put it >> >>To be safe, double-check the web page anyway. :) >> > > > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Jul 5 16:51:55 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Jul 2005 15:51:55 -0500 Subject: Scripting conference Groups stack uploaded In-Reply-To: References: Message-ID: <42CAF2EB.9030403@hyperactivesw.com> On 7/5/05 12:34 AM, Judy Perry wrote: > And, here, I'm just hoping that I wake up in time ;-) Give us your phone number and we'll start calling you at 5 AM just to make sure. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rev at armbase.com Tue Jul 5 16:54:25 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 5 Jul 2005 21:54:25 +0100 Subject: Help!!! Lost Some Stack Data In-Reply-To: References: Message-ID: You wrote: > Hi, > > I just opened a .rev stack and a major object group that I have been > working on has disappeared! I really don't fancy putting it all in again! > I do have a Standalone that had the missing group in to, is there anyway > to retreive this from the Standalone so I can put it back into a .rev > file??? I don't know if you can do this with the main stack but if it is a substack then that is easy but you could try this. You can clone a stack within a standalone. Try using another stack to clone the stack in the standalone. It is a total guess. all the best Bob > > Thanks in advance Dave > > _______________________________________________ use-revolution mailing > list use-revolution at lists.runrev.com Please visit this url to subscribe, > unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Tue Jul 5 16:54:02 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Tue, 5 Jul 2005 16:54:02 -0400 Subject: Scripting conference Groups stack uploaded Message-ID: <64878EF567131D4596246171F75FD4A946A313@m-epo-1.epo.cdc.gov> I would suggest adding a second dimension to your time-array. This allows for time travel without violating causality. (just make sure you don't get stuck in the inner dimension - might give a whole new meaning to idea of getting back to your roots) -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Tuesday, July 05, 2005 4:50 PM Cc: use-revolution at lists.runrev.com Subject: Re: Scripting conference Groups stack uploaded On 7/4/05 8:45 PM, Ray Stace wrote: > Returns 7/10/05 2:00 AM in the time zone for Sydney Australia. > Might not get many 'live' participants at that time ;)- Unfortuntely, that's the right time for the Aussies. Actually, everyone who has reported in about the seconds conversion has given the right time, which I have to say is pretty neat. I will start announcing future conference times in seconds from now on, I think. We tried really hard to find a conference time that would accomodate everyone all around the world. It proved impossible, largely because we couldn't figure out a way to prevent the earth from rotating. So to fix this problem, I am working on a little stack called "TimeWarpGadget". This stack, when completed, will allow you to stop time and attend the conference at your leisure. I confess that progress has been very slow. Every time I set a breakpoint, I drop into the debugger an hour before I started and the script I'm debugging hasn't been written yet. As soon as I solve this little glitch, I'll be looking for testers. > On 5/7/05 11:26 AM, "J. Landman Gay" wrote: > > > >>What a great idea. It is no surprise it comes from the lady who will be >>doing the conference on dates and times. Okay, the next scripting >>conference will be at 1120924800 seconds. >> >>I am curious to know if this works for all time zones everywhere. For >>those who want to try it, run this in the message box: >> >> get "1120924800";convert it to short date and time;put it >> >>To be safe, double-check the web page anyway. :) >> > > > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Tue Jul 5 16:58:02 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Jul 2005 22:58:02 +0200 Subject: Help!!! Lost Some Stack Data In-Reply-To: References: Message-ID: <6E641480-B82C-4DB4-9EFA-8DB7A5D54DAD@sosmartsoftware.com> Hi Dave, I never tested it but you will find on RevNet: Disassembler stack Very simple app to convert a MetaCard or RunRev standalone back to the plain stack: .exe --> .mc Very preliminary, but it seems to be working: send comments to sjoerdoptland at s2theatertechniek.nl Sjoerd Op 't Land S2 Software www.s2theatertechniek.nl Seems for Windows only? PS. Have you checked your *lost* group in the app browser? Le 5 juil. 05 ? 22:34, David Burgun a ?crit : > I just opened a .rev stack and a major object group that I have > been working on has disappeared! I really don't fancy putting it > all in again! I do have a Standalone that had the missing group in > to, is there anyway to retreive this from the Standalone so I can > put it back into a .rev file??? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From stephenREVOLUTION at barncard.com Tue Jul 5 16:59:56 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 15:59:56 -0500 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> Message-ID: another reason to use a local MySQL client such as CocoaMySQL is that it can be much more secure than a web based utility such as phpMyAdmin or Escuel as the MySQL server only works with IPs one specifies. (at least with my ISP). >I could never figure out how to use phpMyAdmin to actually let me >ENTER data (if it does at all), not just build the structure. > >Often I'll use CocoaMySQL to build the schema and stuff the database >with data, then use my app after that. It uses an easy to use >spreadsheet metaphor to enter data. > >This way I have good data to start testing my app right away. >Import/Export is a snap and it reads the first line of my data to >get the fieldnames for import. On many web based projects that >mainly need to display lists from a database (such as a tour >schedule for CSN) I just enter the data directly from CocoaMySQL and >don't have to create an entry or admin panel. > >Much easier to use than a web-based app. > >sqb > From rev at armbase.com Tue Jul 5 17:11:01 2005 From: rev at armbase.com (Bob Hartley) Date: Tue, 5 Jul 2005 22:11:01 +0100 Subject: Help!!! Lost Some Stack Data Message-ID: On 05/07/2005 21:54:25, Bob Hartley (rev at armbase.com) wrote: > You wrote: > > > Hi, > > > > I just opened a .rev stack and a major object group that I have been > > working on has disappeared! I really > don't fancy putting it all in again! > > I do have a Standalone that had the missing group in to, is there anyway > > to retreive this from the Standalone so I can put it back into a .rev > > file??? > > I don't > know if you can do this with the main stack but if it is a substack > then that is easy but you could try this. You can clone a stack within a > standalone. Try using another stack to clone the stack in the standalone. Sorry I wrote that inn a total hurry. Tested my idea (even put in a button on a cloned substack to try and clone another substack in the .exe (this opend the stack with the button) No luck.. sorry to raise your hopes. regards bob You could try > > It is a total guess. > > all the best > Bob > > > > Thanks in advance Dave > > > > _______________________________________________ use-revolution mailing > > list use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Tue Jul 5 17:16:51 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Jul 2005 17:16:51 -0400 Subject: Where are my sub-menus? In-Reply-To: <42CABDC3.4080206@fourthworld.com> References: <42CAB37E.2060402@fourthworld.com> <42CAB87D.5030501@sover.net> <42CABDC3.4080206@fourthworld.com> Message-ID: <42b182095deae489be65aba80a5e82cd@adelphia.net> Richard, No, this is happening with normal applications but it is an OS preference. If you don't use certain menu items in MS Outlook then they are hidden from view (not really gone) and they are replaced with a blank line with a double arrow at the right hand side that when pressed will then reveal the items missing. It is a problem. But worse is if there are certain items at the top of a menu and at the bottom of the menu then you have two blank line with arrow access items. it really gets confusing. I have seen it in every new XP computer set to 'On' by default. Tom On Jul 5, 2005, at 1:05 PM, Richard Gaskin wrote: > Jon wrote: >> "What application and which of its menu items do this?" >> Well, the OS, for one. The feature is called Personalized Menus. >> The doc says "Personalized Menus keeps the Programs menu clean by >> hiding items you haven't used recently, while still keeping other >> programs easily accessible. You can gain access to hidden programs >> by clicking the down arrow at the bottom of the Programs menu". >> Similar "features" are provided with other MS products, like Office. >> Yetch. Bletch. Yuck. Good for casual users, but death to anyone >> with decent reflexes and physical memory. > > Ah, I see. It's not like this is happening with normal application > menus; the Start menu is a special case. Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From dburgun at dsl.pipex.com Tue Jul 5 17:20:23 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 5 Jul 2005 22:20:23 +0100 Subject: Help!!! Lost Some Stack Data In-Reply-To: <6E641480-B82C-4DB4-9EFA-8DB7A5D54DAD@sosmartsoftware.com> References: <6E641480-B82C-4DB4-9EFA-8DB7A5D54DAD@sosmartsoftware.com> Message-ID: Hi Eric, I checked in the App browser, it's gone. I will take a look at the disassembler but I only have a Mac so if it's windoze only I probably out of luck, although I do have both a MacOS X and WIndoze Standalone. Thanks for your help, I'll try to rescue it a bit more, else it's typing it all in again. I really don't know what happened, all was fine, I quit saved the stack, quit RunRev and the group was gone when I re-opened it! All the Best Dave >Hi Dave, > >I never tested it but you will find on RevNet: >Disassembler stack >Very simple app to convert a MetaCard or RunRev standalone back to >the plain stack: .exe --> .mc >Very preliminary, but it seems to be working: send comments to >sjoerdoptland at s2theatertechniek.nl >Sjoerd Op 't Land >S2 Software >www.s2theatertechniek.nl > >Seems for Windows only? > >PS. Have you checked your *lost* group in the app browser? > >Le 5 juil. 05 ? 22:34, David Burgun a ?crit : > >>I just opened a .rev stack and a major object group that I have >>been working on has disappeared! I really don't fancy putting it >>all in again! I do have a Standalone that had the missing group in >>to, is there anyway to retreive this from the Standalone so I can >>put it back into a .rev file??? > > From 3mcgrath at adelphia.net Tue Jul 5 17:32:06 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 5 Jul 2005 17:32:06 -0400 Subject: Embedded objects in fields In-Reply-To: <9BA415E5-2920-4A94-A536-4E391371CC82@conncoll.edu> References: <9BA415E5-2920-4A94-A536-4E391371CC82@conncoll.edu> Message-ID: Charles, That's so true and maybe we will see some great changes in HIG in the future. But I wonder if the interface should match the point unless of course as an example. Of course you can do it, but is it then more like an artists statement or a designers point? Will the users of the Tutorials get this? It certainly peeks my interest. I read L.E. Modesitt's books on "Recluse" and at first read had difficulty until I realized he was trying to emulate the theme/plot of the story in his writing style. His book is about order/chaos (good/evil ) and when describing the idea of Order (vs Chaos) he would write very deliberately in a structured way and when writing about Chaos he was all over the place. In the end I enjoyed it and read all of the other 10 books in the series. But it was hard to get over at first and he seemed to drop the style after the first two books. FWIW Tom On Jul 5, 2005, at 3:37 PM, Charles Hartman wrote: > Sure -- though this is exactly not (if not _exactly_ the opposite of) > the tutorial situation I'm talking about. That is: if the > *abstruseness* of some information is part of the point of that > information, doesn't an interface for getting at it that makes the > path to it *not* automatic reinforce the point of the information? > > A huge percentage of what we do on computers isn't like this; early > interfaces were bad because they made everything obscure including the > 95% that shouldn't be. All the UI guidelines are ways of making > designers conscious of that & so correcting it. My point is that, > while doing clerical work on a computer (which is most of what most > people use programs for -- from email to w.p. to googling) shouldn't > make any extra, irrelevant demands on users' attention, I don't > believe that applies to everything people do on computers. > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From nicolas_cueto at yahoo.com Tue Jul 5 18:29:04 2005 From: nicolas_cueto at yahoo.com (Nicolas Cueto) Date: Wed, 6 Jul 2005 07:29:04 +0900 Subject: is within rectangle References: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> <134453DB-5796-4F78-86F4-C2DD59A1DF85@lacscentre.co.uk> Message-ID: <020f01c581b0$f4180810$0b01a8c0@niconiko04zbtb> Hello All, Further to my "invaders" game-making (which, thanks to the List, is almost done), I now'd like to check when the leading edge of one object -- its bottom, in this case -- makes contact with the leading edge of another -- i.e., its top. I tried: if loc of [A] is within the rectangle of [B] which almost works perfectly, except [A] can graze the periphery areas of [B] with- out setting off the if-statement. So, I also tried bottomLeft, bottomRight, etc, but still no go. And I was going to try setting the hotPoint but I've no idea about what pixel to make hot. Confused by relative location of objects, Nicolas Cueto From kray at sonsothunder.com Tue Jul 5 18:58:22 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 05 Jul 2005 17:58:22 -0500 Subject: Where are my sub-menus? In-Reply-To: <42b182095deae489be65aba80a5e82cd@adelphia.net> Message-ID: On 7/5/05 4:16 PM, "Thomas McGrath III" <3mcgrath at adelphia.net> wrote: > Richard, > > No, this is happening with normal applications but it is an OS > preference. It's also a "per-application" preference as well; Word, Excel, Outlook, etc., all have this in they're "Customize" dialogs. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From revdan at danshafer.com Tue Jul 5 18:59:37 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Jul 2005 15:59:37 -0700 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> Message-ID: <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> But CocoaMySQL appears broken with Tiger. At least it didn't work for me. Refused to connect to any of my databases. I downloaded the MySQL Administrator from the MySQL site. Works great but doesn't allow me to manage database content. So what? I use Rev! Dan On Jul 5, 2005, at 1:59 PM, Stephen Barncard wrote: > another reason to use a local MySQL client such as CocoaMySQL is > that it can be much more secure than a web based utility such as > phpMyAdmin or Escuel as the MySQL server only works with IPs one > specifies. (at least with my ISP). > > >> I could never figure out how to use phpMyAdmin to actually let me >> ENTER data (if it does at all), not just build the structure. >> >> Often I'll use CocoaMySQL to build the schema and stuff the >> database with data, then use my app after that. It uses an easy to >> use spreadsheet metaphor to enter data. >> >> This way I have good data to start testing my app right away. >> Import/Export is a snap and it reads the first line of my data to >> get the fieldnames for import. On many web based projects that >> mainly need to display lists from a database (such as a tour >> schedule for CSN) I just enter the data directly from CocoaMySQL >> and don't have to create an entry or admin panel. >> >> Much easier to use than a web-based app. >> >> sqb >> >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sarahr at genesearch.com.au Tue Jul 5 19:02:20 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 6 Jul 2005 09:02:20 +1000 Subject: Help!!! Lost Some Stack Data In-Reply-To: References: Message-ID: > I just opened a .rev stack and a major object group that I have > been working on has disappeared! I really don't fancy putting it > all in again! I do have a Standalone that had the missing group in > to, is there anyway to retreive this from the Standalone so I can > put it back into a .rev file??? Does your standalone have the sub-stacks as separate files, possibly inside an OS X bundle? If so, you can just open any sub-stack in Rev. Are you sure the group has really gone? Does it appear in the list if you go to the Object menu and choose Place Group? Can you see it in the Application Browser, maybe it is invisible or moved out of view. Sarah From soapdog at mac.com Tue Jul 5 19:02:31 2005 From: soapdog at mac.com (Andre Garzia) Date: Tue, 5 Jul 2005 20:02:31 -0300 Subject: I am back... Message-ID: Hi Folks, I am now back from RevConWest and my little trip to Hawaii. I finally managed to migrate my files to the new laptop. So I am now able to see and help with the list, something that was impossible with three computers trying to manage the same mail account... irgh, IMAP is not that cool thing when Tiger SmartFolders start war with Panther Filters... geez. If someone here tried to mail me in the last two weeks, please do it again, I lost to much emails... sorry. As for comming back, I updated the FTPCommander stack on RevOnline, now it has a glossy interface and drag & drop support for both droping local folder in the "local folder" field, this way is easier to set the local folder, much cooler than using "answer folder" and you can drop files on the remote file listing field too, the files will be uploaded. A simple ftp client, with source, be happy! Cheers andre From lists at mangomultimedia.com Tue Jul 5 19:05:40 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Jul 2005 16:05:40 -0700 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> Message-ID: <69019ff96db5880e1846e0398e2482fb@mangomultimedia.com> On Jul 5, 2005, at 3:59 PM, Dan Shafer wrote: > But CocoaMySQL appears broken with Tiger. At least it didn't work for > me. Refused to connect to any of my databases. I downloaded the MySQL > Administrator from the MySQL site. Works great but doesn't allow me to > manage database content. So what? I use Rev! Dan, Are you running MySQL 4.1? If so it was probably a password issue. After doing the password fix that has been mentioned on this list CocoaMySQL works fine with MySQL 4.1 on Tiger. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From sarahr at genesearch.com.au Tue Jul 5 19:06:45 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Wed, 6 Jul 2005 09:06:45 +1000 Subject: Scripting conference Groups stack uploaded In-Reply-To: <42CAF288.1020203@hyperactivesw.com> References: <42CAF288.1020203@hyperactivesw.com> Message-ID: > We tried really hard to find a conference time that would > accomodate everyone all around the world. It proved impossible, > largely because we couldn't figure out a way to prevent the earth > from rotating. So to fix this problem, I am working on a little > stack called "TimeWarpGadget". This stack, when completed, will > allow you to stop time and attend the conference at your leisure. > > I confess that progress has been very slow. Every time I set a > breakpoint, I drop into the debugger an hour before I started and > the script I'm debugging hasn't been written yet. As soon as I > solve this little glitch, I'll be looking for testers. LOL! I'll be available to help testing in June 2003 or possibly 2007 :-) Sarah From stephenREVOLUTION at barncard.com Tue Jul 5 19:25:01 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Tue, 5 Jul 2005 18:25:01 -0500 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> Message-ID: Dan, you said you were migrating to Dreamhost. Did you make sure your local machine or network's IP is included with your user info ? Also all names and pw must be lower case... it takes a bit of futzing to make it all happy. I'm a 'late adopter' to Tiger so I haven't tested it. Development seems to have stopped. I'm looking around, at first look there seems to be a new competitor: YourSQL. Haven't tested it yet but is being developed. http://yoursql.ludit.it/ sqb >But CocoaMySQL appears broken with Tiger. At least it didn't work >for me. Refused to connect to any of my databases. I downloaded the >MySQL Administrator from the MySQL site. Works great but doesn't >allow me to manage database content. So what? I use Rev! > >Dan From revdan at danshafer.com Tue Jul 5 19:46:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Jul 2005 16:46:31 -0700 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: <69019ff96db5880e1846e0398e2482fb@mangomultimedia.com> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> <69019ff96db5880e1846e0398e2482fb@mangomultimedia.com> Message-ID: <22FFD524-9EA3-4FE8-8C12-2C5005E22CCC@danshafer.com> that may have been the problem, Trevor. When I noticed CocoaMySQL hadn't been updated in a long time, i figured I'd be better off finding a more active project to use anyway. dan On Jul 5, 2005, at 4:05 PM, Trevor DeVore wrote: > On Jul 5, 2005, at 3:59 PM, Dan Shafer wrote: > > >> But CocoaMySQL appears broken with Tiger. At least it didn't work >> for me. Refused to connect to any of my databases. I downloaded >> the MySQL Administrator from the MySQL site. Works great but >> doesn't allow me to manage database content. So what? I use Rev! >> > > Dan, > > Are you running MySQL 4.1? If so it was probably a password > issue. After doing the password fix that has been mentioned on > this list CocoaMySQL works fine with MySQL 4.1 on Tiger. > > > > -- > Trevor DeVore > Blue Mango Multimedia > trevor at mangomultimedia.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From katir at hindu.org Tue Jul 5 19:52:09 2005 From: katir at hindu.org (Sivakatirswami) Date: Tue, 5 Jul 2005 13:52:09 -1000 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42CAB429.4070800@fourthworld.com> References: <54045D89-171B-41A1-A3CD-88059E824AC1@danshafer.com> <42C9A7CF.2040400@fourthworld.com> <0BBC581C-EFF4-42E8-B1B2-B819CB3197DB@hindu.org> <42CAB429.4070800@fourthworld.com> Message-ID: <586FF1C5-9110-4680-93E6-119E177F535C@hindu.org> H.264 is Apple's latest hi-definition format for video. It's really quite incredible (go www.apple.com and then quicktime) I don't have a window's machine handy... Andre is checking it out. On Jul 05, 2005, at 6:24 AM, Richard Gaskin wrote: > Sivakatirswami wrote: > >> Aiyo! (Lamentations) >> Windows won't play PDFs in QT... >> Richard: did that windows machine have QT 7 for Windows loaded? >> I'm sure you know this already but Apple just released QT with H. >> 264 format capabilities for Windows just a few weeks ago... so I >> just wanted to check if this was happening in the latest QT, >> > > I haven't the foggiest. What is "H.264" and what happens when you > try it with QT 7 on Win? > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Jul 5 19:54:06 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 6 Jul 2005 01:54:06 +0200 Subject: ANN Spring things In-Reply-To: Message-ID: <20050705234815.D685A8249B1@mail.runrev.com> Jim, You're too modest ;) Good job though! That's a nice graphic on the Rev website ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Jim Hurley > Sent: Tuesday, July 05, 2005 18:54 > To: use-revolution at lists.runrev.com > Subject: RE: ANN Spring things > > > > >Message: 7 > >Date: Tue, 5 Jul 2005 17:27:32 +0200 > >From: "MisterX" > >Subject: RE: ANN Spring things > >To: "'How to use Revolution'" > >Message-ID: <20050705152155.AC0CF82488F at mail.runrev.com> > >Content-Type: text/plain; charset="iso-8859-1" > > > >(snip) > > > >So what's the point? What's the value in this? How do you > see the car > >handle the way you want? How do you control the testing? > >(snip) > > > Xavier, > > Whew! Too much for me. I can only handle the springs. The > rest of the car is up to the engineers. :-) (There is a good > deal more physics at Run Rev's web site: > http://downloads.runrev.com/stacks_apps/turtlegraphics.php ) > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alen.ljubas at vk.t-com.hr Tue Jul 5 20:17:42 2005 From: alen.ljubas at vk.t-com.hr (Alen Ljubas) Date: Wed, 6 Jul 2005 02:17:42 +0200 Subject: No subject In-Reply-To: <20050704205552.E49CE82492A@mail.runrev.com> Message-ID: <20050706001801.4A7A3F8007@ls401.t-com.hr> Need trial number for Revolution and Dreamcard !!! You are not send a message with trial serial number.Please, Send trial number. Thank you. From ambassador at fourthworld.com Tue Jul 5 20:23:46 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Jul 2005 17:23:46 -0700 Subject: No subject In-Reply-To: <20050706001801.4A7A3F8007@ls401.t-com.hr> References: <20050706001801.4A7A3F8007@ls401.t-com.hr> Message-ID: <42CB2492.2090207@fourthworld.com> Alen Ljubas wrote: > Need trial number for Revolution and Dreamcard !!! > You are not send a message with trial serial number.Please, > Send trial number. Thank you. Need you to request a trial number through normal channels !!! You are not to send a message with a request fo a trial serial number.Please, register for a trial number. Thank you. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdan at danshafer.com Tue Jul 5 20:29:53 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Jul 2005 17:29:53 -0700 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> Message-ID: <213B4289-8A02-479F-8A48-0A6EB9FCE54A@danshafer.com> Hi, Steven.... I'm still migrating to Dreamhost but the CocoaMySQL issue was separate. I did look at YourSQL and as I recall wasn't impressed (or it didn't work for some reason). I was using both of these tools on a local (OS X) MySQL database. dan On Jul 5, 2005, at 4:25 PM, Stephen Barncard wrote: > Dan, you said you were migrating to Dreamhost. Did you make sure > your local machine or network's IP is included with your user > info ? Also all names and pw must be lower case... it takes a bit > of futzing to make it all happy. > > I'm a 'late adopter' to Tiger so I haven't tested it. Development > seems to have stopped. > > I'm looking around, at first look there seems to be a new > competitor: YourSQL. Haven't tested it yet but is being developed. > > http://yoursql.ludit.it/ > > sqb > > >> But CocoaMySQL appears broken with Tiger. At least it didn't work >> for me. Refused to connect to any of my databases. I downloaded >> the MySQL Administrator from the MySQL site. Works great but >> doesn't allow me to manage database content. So what? I use Rev! >> >> Dan >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revdan at danshafer.com Tue Jul 5 20:33:08 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Jul 2005 17:33:08 -0700 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> Message-ID: <9DDE4EA0-BFB9-4747-A952-A8292513A966@danshafer.com> Well, I re-downloaded YourSQL and tested it and it ran first time just very nicely. So maybe I had an earlier version that wasn't quite ready. Thanks for the reminder/pointer. I'm going to poke at it a bit, see if I can tick it off. dan On Jul 5, 2005, at 4:25 PM, Stephen Barncard wrote: > Dan, you said you were migrating to Dreamhost. Did you make sure > your local machine or network's IP is included with your user > info ? Also all names and pw must be lower case... it takes a bit > of futzing to make it all happy. > > I'm a 'late adopter' to Tiger so I haven't tested it. Development > seems to have stopped. > > I'm looking around, at first look there seems to be a new > competitor: YourSQL. Haven't tested it yet but is being developed. > > http://yoursql.ludit.it/ > > sqb > > >> But CocoaMySQL appears broken with Tiger. At least it didn't work >> for me. Refused to connect to any of my databases. I downloaded >> the MySQL Administrator from the MySQL site. Works great but >> doesn't allow me to manage database content. So what? I use Rev! >> >> Dan >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jspencer78 at mac.com Tue Jul 5 21:40:04 2005 From: jspencer78 at mac.com (James Spencer) Date: Tue, 5 Jul 2005 20:40:04 -0500 Subject: CocoaMySQL -- was : How do I make simple multiple user access app? In-Reply-To: <9DDE4EA0-BFB9-4747-A952-A8292513A966@danshafer.com> References: <1120440740.42c891a48b800@staffmail.ed.ac.uk> <02457711-EE57-4C89-9236-025EFB6C716B@vortex.co.uk> <81AF5103-7A66-46EE-9EEF-1EB861784E19@danshafer.com> <9DDE4EA0-BFB9-4747-A952-A8292513A966@danshafer.com> Message-ID: <02078FC6-7402-4A7F-9309-144A8F76FFC6@mac.com> Having spent the last few days finally getting mySQL to work here, from the research that I did over the last days, the problem with all of these things, Rev, CocoaMySQL, YourSQL, etc. all may have related to the major change that mySQL did with how it hashes passwords with version 4.1. If you set up passwords under a post 4.1 server setup but were using a pre 4.1 client (such as Rev), it won't connect. The solution that has been suggested here (resetting the passwords using SET PASSWORD FOR 'some_user'@'some_host' = OLD_PASSWORD('mypass'); should fix the problem for all these clients. Having done this (reset my passwords for the old hashing), Rev is working as is CocoaMySQL (I don't know whether there is a password problem with the latter or not; I fixed my passwords before trying it and now at least it is working fine under Tiger. Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" On Jul 5, 2005, at 7:33 PM, Dan Shafer wrote: > Well, I re-downloaded YourSQL and tested it and it ran first time > just very nicely. > > So maybe I had an earlier version that wasn't quite ready. > > Thanks for the reminder/pointer. I'm going to poke at it a bit, see > if I can tick it off. > > dan > > On Jul 5, 2005, at 4:25 PM, Stephen Barncard wrote: > > >> Dan, you said you were migrating to Dreamhost. Did you make sure >> your local machine or network's IP is included with your user >> info ? Also all names and pw must be lower case... it takes a bit >> of futzing to make it all happy. >> >> I'm a 'late adopter' to Tiger so I haven't tested it. Development >> seems to have stopped. >> >> I'm looking around, at first look there seems to be a new >> competitor: YourSQL. Haven't tested it yet but is being developed. >> >> http://yoursql.ludit.it/ >> >> sqb >> >> >> >>> But CocoaMySQL appears broken with Tiger. At least it didn't work >>> for me. Refused to connect to any of my databases. I downloaded >>> the MySQL Administrator from the MySQL site. Works great but >>> doesn't allow me to manage database content. So what? I use Rev! >>> >>> Dan >>> >>> From jspencer78 at mac.com Tue Jul 5 21:59:03 2005 From: jspencer78 at mac.com (James Spencer) Date: Tue, 5 Jul 2005 20:59:03 -0500 Subject: mySQL database query Message-ID: <68361138-A6EB-4348-BE90-133203E08139@mac.com> As long as we are talking about mySQL, is there a way to programatically refresh a database query? I have a master/detail form which includes a button to delete the currently selected record and this works fine insofar as it deletes the record from the database but the fields and table all still show the record I just deleted. I can "manually" refresh using a button tied to the refresh SQL action but I would like to force the refresh upon deletion of the record. I can't find a transcript command which will force the tied fields to show the correct data without the additional user action of clicking another button. James P. Spencer Rochester, MN jspencer78 at mac.com "Badges?? We don't need no stinkin badges!" From chipp at chipp.com Tue Jul 5 22:15:44 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 05 Jul 2005 21:15:44 -0500 Subject: is within rectangle In-Reply-To: <020f01c581b0$f4180810$0b01a8c0@niconiko04zbtb> References: <01d801c580a5$e21a22d0$0b01a8c0@niconiko04zbtb> <134453DB-5796-4F78-86F4-C2DD59A1DF85@lacscentre.co.uk> <020f01c581b0$f4180810$0b01a8c0@niconiko04zbtb> Message-ID: <42CB3ED0.1010406@chipp.com> Nicholas, try: if (item 1 of the loc of [A], the top of [A]) is within the rectangle of [B] Nicolas Cueto wrote: > Hello All, > > Further to my "invaders" game-making (which, > thanks to the List, is almost done), I now'd like > to check when the leading edge of one object -- > its bottom, in this case -- makes contact with > the leading edge of another -- i.e., its top. From sonesond1 at southernct.edu Tue Jul 5 22:39:20 2005 From: sonesond1 at southernct.edu (Dan Soneson) Date: Tue, 05 Jul 2005 22:39:20 -0400 Subject: Embedded objects in fields In-Reply-To: <20050706015435.43347824D08@mail.runrev.com> Message-ID: <27C473A5-EDC7-11D9-8C18-00039303CE26@southernct.edu> > Oh, I think as a generalization that makes excellent sense. In this > particular case, it may or may not. This is a straight, lame, read- > this-card tutorial app; some cards are too long not to scroll > (already less than ideal from a UI standpoint, but I don't want to > make the stack as big as the biggest card, or keep changing the > stack's size, and many cards are such clear logical units they can't > be broken up without creating conceptual confusion). A few cards have > special go-here-for-more-information buttons, and those buttons are > logically attached to particular pieces of the text. > > Within that framework, I don't see how to do otherwise than the bit > whose ugliness you're quite right to point out. Of course the whole > framework may be screwy -- but that's a very large question about the > design & efficacy of on-screen tutorials. > > Charles Hartman Hi Charles, Sorry to jump in so late in this thread, but I too have been overwhelmed by the traffic on this list, and only get the list in digest mode. In any case, back to what ignited this discussion, it seems like what you are looking for is the ability to navigate from within a field. Did you look into creating hyperlinks with text within the field? Set the textstyle of a chunk of text within the field to link, set the linktext to the card/stack destination, and write a script to navigate to the linktext of the text. Check out the linkText property and the linkClicked message in the documents. BTW, glad to see another Rev user from Connecticut! Dan From charles.hartman at conncoll.edu Tue Jul 5 22:53:34 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 5 Jul 2005 22:53:34 -0400 Subject: Embedded objects in fields In-Reply-To: <27C473A5-EDC7-11D9-8C18-00039303CE26@southernct.edu> References: <27C473A5-EDC7-11D9-8C18-00039303CE26@southernct.edu> Message-ID: Oh yes, I'm doing that all over the place for cross-references (from one card to another in a Reference substack). The buttons in question are navigation on a different level -- connections to further information on some detail of the topic a card addresses. > Sorry to jump in so late in this thread, but I too have been > overwhelmed by the traffic on this list, and only get the list in > digest mode. In any case, back to what ignited this discussion, it > seems like what you are looking for is the ability to navigate from > within a field. Did you look into creating hyperlinks with text > within the field? Set the textstyle of a chunk of text within the > field to link, set the linktext to the card/stack destination, and > write a script to navigate to the linktext of the text. Check out > the linkText property and the linkClicked message in the documents. > > BTW, glad to see another Rev user from Connecticut! > > Dan > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From charles.hartman at conncoll.edu Tue Jul 5 23:07:22 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 5 Jul 2005 23:07:22 -0400 Subject: Setting fonts Message-ID: This is a pretty newbie question; what I'm looking for is the right general direction to take. This Dreamcard stack will need to run under the Player on both Mac (where I'm writing it) and Windows. The app centers on many cards that are full of information, usually in a scrolling text field. Most of the text in the field uses whatever I set as the font for the main stack (obviously) -- Palatino on Mac, probably Times New Roman on Windows. Certain lines within the text on many cards need to be in a monospaced font (Courier on Mac, Courier New on Windows). So two linked questions: What's the best way to set the overall font in a script for the main stack (in an "if the platform is" structure presumably)? I notice that if I just set the font for the main stack (for example, from the message box), it changes on all the cards as expected, though of course not in the lines specified with a particular font (Courier) -- but ALSO not AFTER that text that's marked off for Courier. So that "if the platform is" doesn't seem to be be thorough enough. And then, how do I set the font for the monospaced lines on all cards? I suppose the stupid brute-force method would be (on opening the main stack) to loop through all lines in the text in all relevant fields in all cards in all substacks. Slow & absurd. Should I be looking at property sets instead? (That *sounds* right, but I don't really understand it yet.) Will this get around the inconsistency in the "main" (stack's default) font that I mentioned? And since the monospaced lines aren't a separate object from the text around them, can they have a property (which can belong to a property set)? (Putting the monospaced lines into separate objects would be quite a mess, especially since they're embedded in scrolling fields, all of which I would then have to turn into scrolling groups instead, on dozens and dozens of cards.) Any guidance welcome. Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From revdan at danshafer.com Tue Jul 5 23:14:12 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Jul 2005 20:14:12 -0700 Subject: mySQL database query In-Reply-To: <68361138-A6EB-4348-BE90-133203E08139@mac.com> References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> Message-ID: James.... What constitutes "the correct data" to display after the deletion? Empty fields? Previous record? Next record? In some sort of sort sequence? Once you can define that, I think writing a bit of Transcript to give you what you want is pretty easy but there's no sort of de facto rule about what the display should show after a record is deleted. Dan On Jul 5, 2005, at 6:59 PM, James Spencer wrote: > As long as we are talking about mySQL, is there a way to > programatically refresh a database query? I have a master/detail > form which includes a button to delete the currently selected > record and this works fine insofar as it deletes the record from > the database but the fields and table all still show the record I > just deleted. I can "manually" refresh using a button tied to the > refresh SQL action but I would like to force the refresh upon > deletion of the record. I can't find a transcript command which > will force the tied fields to show the correct data without the > additional user action of clicking another button. > > James P. Spencer > Rochester, MN > > jspencer78 at mac.com > > "Badges?? We don't need no stinkin badges!" > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From ps1 at softseven.org Tue Jul 5 23:40:25 2005 From: ps1 at softseven.org (Paul Salyers) Date: Tue, 05 Jul 2005 22:40:25 -0500 Subject: Voice command In-Reply-To: References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> Message-ID: <6.1.1.1.2.20050705223614.03315480@softseven.org> Does Rev have any kind of voice command where I could speak into a mic and the spoken words will print in a text box? Also interested in having where the speakers/head pones will play what is to be read by the user from a varabels . any help here? Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From revdan at danshafer.com Wed Jul 6 01:27:21 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 5 Jul 2005 22:27:21 -0700 Subject: Voice command In-Reply-To: <6.1.1.1.2.20050705223614.03315480@softseven.org> References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> <6.1.1.1.2.20050705223614.03315480@softseven.org> Message-ID: <26A6D83C-AF36-498F-AF1D-380756B5146E@danshafer.com> Not sure how this would be handled in Rev, but OS X has these capabilities in some form or another. I'm experimenting with a new program called iListen that claims to take dictation and voice commands for OS X. Dan On Jul 5, 2005, at 8:40 PM, Paul Salyers wrote: > > > > Does Rev have any kind of voice command where I could speak into a > mic and the spoken words will print in a text box? > > Also interested in having where the speakers/head pones will play > what is to be read by the user from a varabels . > > any help here? > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Wed Jul 6 02:07:33 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 08:07:33 +0200 Subject: Setting fonts In-Reply-To: References: Message-ID: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> Hi Charles, Some clues which can help: 1. Combining a specified font and a "not specified" font: If you have a field with no font specified (use owner's font) and then you set the font for some lines, for instance, to Courier New (selecting these lines and choosing the right font in the Text menu). Then when you set the textFont of the stack (by script or in the properties inspector), only lines which use owner's font will change: they will appear in the specified font but the lines previously set in Courier New will stay unchanged. This way assumes that the monospaced font you use is the same on all platforms and other texts may change (or the opposite). To implement the feature, you can use a switch (or if/then/else) structure in a preOpenStack handler: on preOpenStack switch the platform case "MacOS" set the textFont of this stack to x break case "Win32" set the textFont of this stack to y break default answerNotSupported :-) end switch end preOpenStack Note: If you have many other things to change according to the platform, you might be interested in switching profiles. 2. Using "cross-platform" fonts: For Mac OS X and Win XP, you can use fonts available on both platform: Arial, Comic sans MS, Courier New, Georgia, Tahoma, Textile, Times or Verdana (may be I missed one or two). Then the problem is gone :-) Best Regards from Paris, Eric Chatonet. Le 6 juil. 05 ? 05:07, Charles Hartman a ?crit : > This Dreamcard stack will need to run under the Player on both Mac > (where I'm writing it) and Windows. The app centers on many cards > that are full of information, usually in a scrolling text field. > Most of the text in the field uses whatever I set as the font for > the main stack (obviously) -- Palatino on Mac, probably Times New > Roman on Windows. Certain lines within the text on many cards need > to be in a monospaced font (Courier on Mac, Courier New on Windows). > > So two linked questions: What's the best way to set the overall > font in a script for the main stack (in an "if the platform is" > structure presumably)? I notice that if I just set the font for the > main stack (for example, from the message box), it changes on all > the cards as expected, though of course not in the lines specified > with a particular font (Courier) -- but ALSO not AFTER that text > that's marked off for Courier. So that "if the platform is" doesn't > seem to be be thorough enough. And then, how do I set the font for > the monospaced lines on all cards? > > I suppose the stupid brute-force method would be (on opening the > main stack) to loop through all lines in the text in all relevant > fields in all cards in all substacks. Slow & absurd. Should I be > looking at property sets instead? (That *sounds* right, but I don't > really understand it yet.) Will this get around the inconsistency > in the "main" (stack's default) font that I mentioned? And since > the monospaced lines aren't a separate object from the text around > them, can they have a property (which can belong to a property set)? > > (Putting the monospaced lines into separate objects would be quite > a mess, especially since they're embedded in scrolling fields, all > of which I would then have to turn into scrolling groups instead, > on dozens and dozens of cards.) ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From JimAultWins at yahoo.com Wed Jul 6 03:44:41 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 06 Jul 2005 00:44:41 -0700 Subject: Voice command In-Reply-To: <6.1.1.1.2.20050705223614.03315480@softseven.org> Message-ID: Paul, Look at the speakable commands. Not only are a file, a Finder command, (and more) speakable, but Applescripts can be run by command. This would mean that many complex operations are possible for interacting with a Rev stack. If you turn on Speakable Items, two of the applescripts used are "Minimize all windows" & "Show all windows" for the Finder Double click on the file icons in folder "Speakable Items" in a Finder window and you will see the Script Editor open. Now add that Rev can "hear" the tell commands and send shell commands, and this might get part of what you want. This is not a dictation software. One example I use is "Menu" spoken invokes the following Keyboard Shortcut found in System Preferences .. Focus on Menu as ctrl-F2 Receipe : Open System Prefs->Keyboard&Mouse>Keyboard Shortcuts Turn off Focus on Menu ctrl F2 -1- speak "Define a keyboard command" -2- type ctrl-F2 -3- type the word "menu" -4- click OK Turn on Focus on Menu again if you want to use this Now speaking 'menu' will focus on the menu, allowing arrow keys, tab, home, end, pgup, pgdn to navigate the menu Jim Ault Las Vegas On 7/5/05 8:40 PM, "Paul Salyers" wrote: > > > > Does Rev have any kind of voice command where I could speak into a mic and > the spoken words will print in a text box? > > Also interested in having where the speakers/head pones will play what is > to be read by the user from a varabels . > > any help here? > > > Paul Salyers > PS1 - Senior Rep. > PS1 at softseven.org > Http://ps1.SoftSeven.org > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Wed Jul 6 04:29:33 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 6 Jul 2005 09:29:33 +0100 Subject: Setting a Group as a Background In-Reply-To: References: Message-ID: Hi, I couldn't get the Group back that I lost last night, so I re-entered it all, took until 2 am! I now have another problem, the Group was a "Background" and now that I have re-entered it, I can't it it to appear on the other cards in the stack. Do I have to delete and recreate all the other cards in the Stack????? Help! Thanks a lot All the Best Dave From xbury.cs at clearstream.com Wed Jul 6 04:33:23 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 6 Jul 2005 10:33:23 +0200 Subject: Setting a Group as a Background In-Reply-To: Message-ID: Hi Dave, That's the story... But you can use the "Place" command to place your group on different cards if you want. Should be an easy script... Look at "place" in the revdocs... That's where i found it... cheers Xavier On 06/07/2005 10:29:33 use-revolution-bounces wrote: >Hi, > >I couldn't get the Group back that I lost last night, so I re-entered >it all, took until 2 am! I now have another problem, the Group was a >"Background" and now that I have re-entered it, I can't it it to >appear on the other cards in the stack. Do I have to delete and >recreate all the other cards in the Stack????? > >Help! > >Thanks a lot >All the Best >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dburgun at dsl.pipex.com Wed Jul 6 05:50:45 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 6 Jul 2005 10:50:45 +0100 Subject: Setting a Group as a Background In-Reply-To: References: Message-ID: Hi, Phew! I hope that works, will try it in a minute! Thanks for the tip All the Best Dave >Hi Dave, > >That's the story... But you can use the "Place" command to place your >group on different cards if you want. >Should be an easy script... > >Look at "place" in the revdocs... That's where i found it... > >cheers >Xavier > >On 06/07/2005 10:29:33 use-revolution-bounces wrote: >>Hi, >> >>I couldn't get the Group back that I lost last night, so I re-entered >>it all, took until 2 am! I now have another problem, the Group was a >>"Background" and now that I have re-entered it, I can't it it to >>appear on the other cards in the stack. Do I have to delete and >>recreate all the other cards in the Stack????? >> >>Help! >> >>Thanks a lot >>All the Best >>Dave >>_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >subscription >>preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > > >----------------------------------------- >Visit us at http://www.clearstream.com > >IMPORTANT MESSAGE > >Internet communications are not secure and therefore Clearstream >International does not accept legal responsibility for the contents of >this message. > >The information contained in this e-mail is confidential and may be >legally privileged. It is intended solely for the addressee. If you are >not the intended recipient, any disclosure, copying, distribution or >any action taken or omitted to be taken in reliance on it, is >prohibited and may be unlawful. Any views expressed in this e-mail are >those of the individual sender, except where the sender specifically >states them to be the views of Clearstream International or of any of >its affiliates or subsidiaries. > >END OF DISCLAIMER >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From dburgun at dsl.pipex.com Wed Jul 6 05:52:26 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Wed, 6 Jul 2005 10:52:26 +0100 Subject: Difference between "field" and "label" Message-ID: Hi, I need to distinguish between a "field" (enterable) and a "label" (non enterable). They are alll just fields in RunRev, is there a recommended way for a script to tell the difference? Thanks a lot All the Best Dave From cnscd_dan at yahoo.com Wed Jul 6 05:53:40 2005 From: cnscd_dan at yahoo.com (Dan Ianciac) Date: Wed, 6 Jul 2005 02:53:40 -0700 (PDT) Subject: (no subject) Message-ID: <20050706095340.50955.qmail@web33115.mail.mud.yahoo.com> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From eric.chatonet at sosmartsoftware.com Wed Jul 6 05:58:39 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 11:58:39 +0200 Subject: Difference between "field" and "label" In-Reply-To: References: Message-ID: <4FAB1907-AB30-40CA-9BD4-F8A189178F74@sosmartsoftware.com> Hi Dave, Both are fields but their properties do not share the same status: locktext, dontWrap, traversalOn, opaque, text alignment, etc. You could make a new stack, create a label field and an editable field then open at the same time (by locking the padlock) both properties palettes and study the differences at ease :-) Le 6 juil. 05 ? 11:52, David Burgun a ?crit : > I need to distinguish between a "field" (enterable) and a > "label" (non enterable). They are alll just fields in RunRev, is > there a recommended way for a script to tell the difference? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From mark at maseurope.net Wed Jul 6 06:03:39 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 6 Jul 2005 11:03:39 +0100 Subject: Difference between "field" and "label" In-Reply-To: References: Message-ID: When you create the field, if you chose a label field from the palette, it will, by default, have a name like "Label Field". If you've not renamed it, and assuming that none of your editable fields have the word "Label" in their name, you can use < if "Label" is in the name of field x then >, otherwise, you'll have to go and rename them all... Or, assuming that all your editable fields have their lockText property set to false, you could use that as a test... Cheers, Mark On 6 Jul 2005, at 10:52, David Burgun wrote: > Hi, > > I need to distinguish between a "field" (enterable) and a "label" (non > enterable). They are alll just fields in RunRev, is there a > recommended way for a script to tell the difference? > > Thanks a lot > All the Best > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Wed Jul 6 08:03:39 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 6 Jul 2005 08:03:39 -0400 Subject: Setting fonts In-Reply-To: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> Message-ID: Yes, that's what I'm doing. However, as I said, the text _after_ the specified-font text does _not_ switch to the altered owner's font. Let me clarifiy: a field contains a dozen lines, let's say; the first six and last four have been created using Palatino, with Palatino as the stack font, so there's no font specification on any of those lines. Lines 7-8 have had their Text Formatting properties altered so their font is specified as Courier. Now in the main stack's script I insert the line "set the textfont of me to 'Arial'" and save and close the stack and its substacks and reopen. Now on that example card, in that field, lines 1-6 are Arial, 7-8 are Courier (all as expected) -- but lines 9-12 are still in Palatino. I'm beginning to think this is a bug. I'll file a BZ on it. Any ideas on workarounds meanwhile? That don't involve iterating over all lines in all fields on all cards?? Charles Hartman On Jul 6, 2005, at 2:07 AM, Eric Chatonet wrote: > 1. Combining a specified font and a "not specified" font: > If you have a field with no font specified (use owner's font) and > then you set the font for some lines, for instance, to Courier New > (selecting these lines and choosing the right font in the Text menu). > Then when you set the textFont of the stack (by script or in the > properties inspector), only lines which use owner's font will > change: they will appear in the specified font but the lines > previously set in Courier New will stay unchanged. > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From eric.chatonet at sosmartsoftware.com Wed Jul 6 08:22:47 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 14:22:47 +0200 Subject: Setting fonts In-Reply-To: References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> Message-ID: Hi Charles, What version of Rev do you use? Which platform? Here it's working: First, you set all textfont specs of any field, card and stack to empty. You paste a text in any field. You select the text and set its textfont to "Use Owner's Font" (empty) You select the lines you want to be in another font as Courier and set them. Now you set the textfont of the stack to any font and all lines the textfont of which were empty adopt the specified font (your 9-12 lines included). You can change the textfont stack and it's going to work. You can save and reopen the stack: all is perfect. Rev 2.6 Mac OS X10.4.1 Le 6 juil. 05 ? 14:03, Charles Hartman a ?crit : > Yes, that's what I'm doing. However, as I said, the text _after_ > the specified-font text does _not_ switch to the altered owner's font. > > Let me clarifiy: a field contains a dozen lines, let's say; the > first six and last four have been created using Palatino, with > Palatino as the stack font, so there's no font specification on any > of those lines. Lines 7-8 have had their Text Formatting properties > altered so their font is specified as Courier. Now in the main > stack's script I insert the line "set the textfont of me to > 'Arial'" and save and close the stack and its substacks and reopen. > Now on that example card, in that field, lines 1-6 are Arial, 7-8 > are Courier (all as expected) -- but lines 9-12 are still in Palatino. > > I'm beginning to think this is a bug. I'll file a BZ on it. Any > ideas on workarounds meanwhile? That don't involve iterating over > all lines in all fields on all cards?? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Wed Jul 6 08:58:11 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 6 Jul 2005 08:58:11 -0400 Subject: Voice command In-Reply-To: <26A6D83C-AF36-498F-AF1D-380756B5146E@danshafer.com> References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> <6.1.1.1.2.20050705223614.03315480@softseven.org> <26A6D83C-AF36-498F-AF1D-380756B5146E@danshafer.com> Message-ID: <4f73e27e1bb44503ef6c21a99d18377e@adelphia.net> Dragon PRO is very good and crossplatform to boot. tom On Jul 6, 2005, at 1:27 AM, Dan Shafer wrote: > Not sure how this would be handled in Rev, but OS X has these > capabilities in some form or another. > > I'm experimenting with a new program called iListen that claims to > take dictation and voice commands for OS X. > > Dan > > On Jul 5, 2005, at 8:40 PM, Paul Salyers wrote: > >> >> >> >> Does Rev have any kind of voice command where I could speak into a >> mic and the spoken words will print in a text box? >> >> Also interested in having where the speakers/head pones will play >> what is to be read by the user from a varabels . >> >> any help here? >> >> >> Paul Salyers >> PS1 - Senior Rep. >> PS1 at softseven.org >> Http://ps1.SoftSeven.org >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Wed Jul 6 09:01:04 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 6 Jul 2005 09:01:04 -0400 Subject: (no subject) In-Reply-To: <20050706095340.50955.qmail@web33115.mail.mud.yahoo.com> References: <20050706095340.50955.qmail@web33115.mail.mud.yahoo.com> Message-ID: <6e13ce8019feb71b7398558dcf4df05d@adelphia.net> On Jul 6, 2005, at 5:53 AM, Dan Ianciac wrote: > > From eric.chatonet at sosmartsoftware.com Wed Jul 6 09:03:42 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 15:03:42 +0200 Subject: (no subject) In-Reply-To: <6e13ce8019feb71b7398558dcf4df05d@adelphia.net> References: <20050706095340.50955.qmail@web33115.mail.mud.yahoo.com> <6e13ce8019feb71b7398558dcf4df05d@adelphia.net> Message-ID: <6E4D5EBA-0DFE-4F24-983E-F5CBC0B01B97@sosmartsoftware.com> Hi tom, Your answer is as terse as the question :-) Since the subject is no subject... you are perfectly right! Le 6 juil. 05 ? 15:01, Thomas McGrath III a ?crit : > On Jul 6, 2005, at 5:53 AM, Dan Ianciac wrote: > > >> >> > 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Wed Jul 6 09:11:23 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 6 Jul 2005 09:11:23 -0400 Subject: (no subject) In-Reply-To: <6E4D5EBA-0DFE-4F24-983E-F5CBC0B01B97@sosmartsoftware.com> References: <20050706095340.50955.qmail@web33115.mail.mud.yahoo.com> <6e13ce8019feb71b7398558dcf4df05d@adelphia.net> <6E4D5EBA-0DFE-4F24-983E-F5CBC0B01B97@sosmartsoftware.com> Message-ID: <37f326f3872b8ebf49bc35155dc1046d@adelphia.net> Eric, It felt like I was saying a lot in my reply. You have to read between the lines! :-) On Jul 6, 2005, at 9:03 AM, Eric Chatonet wrote: > Hi tom, > > Your answer is as terse as the question :-) > Since the subject is no subject... you are perfectly right! > > Le 6 juil. 05 ? 15:01, Thomas McGrath III a ?crit : > >> On Jul 6, 2005, at 5:53 AM, Dan Ianciac wrote: >> >> >>> >>> >> > > Best Regards from Paris, > > Eric Chatonet. From jspencer78 at charter.net Tue Jul 5 21:52:20 2005 From: jspencer78 at charter.net (James Spencer) Date: Tue, 5 Jul 2005 20:52:20 -0500 Subject: mySQL database query refreshing Message-ID: <8B10F417-65FB-4D3D-894E-A2C2E2917B8E@charter.net> As long as we are talking about mySQL, is there a way to programatically refresh a database query? I have a master/detail form which includes a button to delete the currently selected record and this works fine insofar as it deletes the record from the database but the fields and table all still show the record I just deleted. I can "manually" refresh s using a button tied to the refresh SQL action but I would like to force the refresh upon deletion of the record. I don't see either a rev command which will force the tied fields to show the correct data without the additional user action of clicking another button. James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From richmond at mail.maclaunch.com Mon Jul 4 13:25:21 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Mon, 04 Jul 2005 13:25:21 -0400 Subject: How I embedded a Movie in a Scrolling Text File Message-ID: OK, OK, I tell a lie: But a pretty good one: I have just uploaded to my website (Click on the button "SCROLLER COASTER" ON THE PAFE 'fILES') a stack that contains a scrollable GROUP containing a (non-scrollable) text FIELD, an IMAGE that links to a VIDEOCLIP, and a BUTTON that links to an AUDIOCLIP. Foolishly, I forgot to set the LOCKLOCATION of the group to TRUE, so it may go all 'wonky' with you: if so set the group's dimensions to 450 wide by 300 high - and, please don't fiddle with any of the embedded objects. Look forward to feedback, sincerely, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From ms1 at soas.ac.uk Wed Jul 6 09:48:42 2005 From: ms1 at soas.ac.uk (Muaadh salih) Date: Wed, 6 Jul 2005 14:48:42 +0100 Subject: Animation Builder Message-ID: Coming back to revolution 2.6 , having left using it when in version 2.0, I could not find the animation Builder ( within the tool menu) . Has it been repalced ? if so with what ? or been given anther name and tucked somewhere ? any help ?!! -- All the best Muaadh Salih SOAS Department of Near & Middle Eastern Studies Tel . +44 (0)2078984354 From jspencer78 at mac.com Wed Jul 6 10:14:07 2005 From: jspencer78 at mac.com (James Spencer) Date: Wed, 6 Jul 2005 09:14:07 -0500 Subject: mySQL database query In-Reply-To: References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> Message-ID: <70122D56-C49C-4F81-8884-80B03B6ADED6@mac.com> I think if I saw any one of these variations on "correct data" I could figure out how to do the others but my instinctive answer would be the previous record (or the new first record if the first record were the one deleted.) My first go at this isn't fussy; I just "know" that leaving a record displayed that isn't in the database any more is probably "wrong". (I haven't even looked at sorting the records yet.) Thanks much for helping this newby to dbs. Spence James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" On Jul 5, 2005, at 10:14 PM, Dan Shafer wrote: > James.... > > What constitutes "the correct data" to display after the deletion? > Empty fields? Previous record? Next record? In some sort of sort > sequence? > > Once you can define that, I think writing a bit of Transcript to > give you what you want is pretty easy but there's no sort of de > facto rule about what the display should show after a record is > deleted. > > Dan > > On Jul 5, 2005, at 6:59 PM, James Spencer wrote: > > >> As long as we are talking about mySQL, is there a way to >> programatically refresh a database query? I have a master/detail >> form which includes a button to delete the currently selected >> record and this works fine insofar as it deletes the record from >> the database but the fields and table all still show the record I >> just deleted. I can "manually" refresh using a button tied to the >> refresh SQL action but I would like to force the refresh upon >> deletion of the record. I can't find a transcript command which >> will force the tied fields to show the correct data without the >> additional user action of clicking another button. >> > From 3mcgrath at adelphia.net Wed Jul 6 10:14:30 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 06 Jul 2005 10:14:30 -0400 Subject: Voice command In-Reply-To: <4f73e27e1bb44503ef6c21a99d18377e@adelphia.net> References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> <6.1.1.1.2.20050705223614.03315480@softseven.org> <26A6D83C-AF36-498F-AF1D-380756B5146E@danshafer.com> <4f73e27e1bb44503ef6c21a99d18377e@adelphia.net> Message-ID: <671793836ab0b1a5823c6d9ca23c8cde@adelphia.net> I also have a stack in my user space in RevOnline called "Say and Listen in Rev using Applescript" which shows how to listen in Rev. Tom On Jul 6, 2005, at 8:58 AM, Thomas McGrath III wrote: > Dragon PRO is very good and crossplatform to boot. > > tom > > On Jul 6, 2005, at 1:27 AM, Dan Shafer wrote: > >> Not sure how this would be handled in Rev, but OS X has these >> capabilities in some form or another. >> >> I'm experimenting with a new program called iListen that claims to >> take dictation and voice commands for OS X. >> >> Dan >> >> On Jul 5, 2005, at 8:40 PM, Paul Salyers wrote: >> >>> >>> >>> >>> Does Rev have any kind of voice command where I could speak into a >>> mic and the spoken words will print in a text box? >>> >>> Also interested in having where the speakers/head pones will play >>> what is to be read by the user from a varabels . >>> >>> any help here? >>> >>> >>> Paul Salyers >>> PS1 - Senior Rep. >>> PS1 at softseven.org >>> Http://ps1.SoftSeven.org >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.6 > > > Advanced Media Group > Eagle Works Art & Sculpture > Semantic Compaction Systems > Prentke Romich Company > Prentke Romich International > SCIconics, LLC > Artist > Thomas J McGrath III > 3mcgrath at adelphia.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From eric.chatonet at sosmartsoftware.com Wed Jul 6 10:19:56 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 16:19:56 +0200 Subject: Animation Builder In-Reply-To: References: Message-ID: <2184EED1-8909-45FC-9BB0-18799C90A3AE@sosmartsoftware.com> Hi Muaadh, The animation builder is no longer a part of the Rev IDE but you can find it in the Unsupported Stacks package by going to: http://support.runrev.com/resources/unsupported.php Le 6 juil. 05 ? 15:48, Muaadh salih a ?crit : > Coming back to revolution 2.6 , having left using it when in > version 2.0, I could not find the > animation Builder ( within the tool menu) . > Has it been repalced ? if so with what ? or been given anther name > and tucked somewhere ? > any help ?!! Best Regards from Paris, Eric Chatonet. ---------------------------------------------------------------- So Smart Software Free plugins and tutorials on my website For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ---------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From YourSignup at Yahoo.com Wed Jul 6 10:54:45 2005 From: YourSignup at Yahoo.com (Jim Bufalini) Date: Wed, 6 Jul 2005 04:54:45 -1000 Subject: Managing substacks - best way? Message-ID: Hi all, Lets say you create a substack or someone shares a stack with a library or other type of substack that you want to incorporate in other projects. What's the best way to separate out that substack from the original Main stack (without actually separating it from the original project by setting it's main stack to itself) and then, adding it to another project? I've been setting the substack to a main stack of itself. Saving the substack. Closing the original main stack without save. Opening a new main stack. Opening what was the substack. Setting the main stack of the opened former substack to the new main stack. Kind of a PITA (Pain In The A__). Isn't there a better way? Jim From m.young at mac.com Wed Jul 6 10:57:40 2005 From: m.young at mac.com (Michael Young) Date: Wed, 6 Jul 2005 08:57:40 -0600 Subject: Voice command In-Reply-To: <20050706125341.E44D9824943@mail.runrev.com> References: <20050706125341.E44D9824943@mail.runrev.com> Message-ID: <36296311dbbca70d5e67af9af51e46c4@mac.com> Paul, The question "Does Rev have any kind of voice command where I could speak into mic and the spoken words will print in a text box?" sounds like you are asking RR to do voice recognition. IMHO, it is unrealistic to expect RR to have voice recognition capability. I mean as best as I can tell even IBM gave up on VR on the desktop. Dragon Pro used to be cross platform, but it is not currently. http://www.dragonsys.com/ http://knowledgebase.scansoft.com/view.asp?tnID=4959&sQuery=macintosh IBM ViaVoice is still available on Macintosh in addition to Windows, but when I have tried to move voice files between Macintosh and Windows it has not worked. So VV is not really cross platform. Plus VV does not appear to be actively developed since IBM dumped VV off to Scansoft that long ago bought Dragon Systems. http://www.dragonsys.com/viavoice/ iListen is a Macintosh only product http://www.macspeech.com/ , by a Mac only company. http://www.macspeech.com/company/ However I have grave doubts about the long term viability of MacSpeech and iListen, since they have been hinting/promising/etc. for several years that they will develop medical, legal and etc. vocabularies (needed to improve VR out of the box) and it has not happened. http://macspeech.crmhelp.net/index.php? _a=knowledgebase&_j=rate&_i=56&type=yes http://macspeech.crmhelp.net/index.php? _a=knowledgebase&_j=questiondetails&_i=56 OTOH, MacSpeech does keep developing add-on products for more main stream applications so there still may be hope. :-) http://macspeech.crmhelp.net/index.php? _a=knowledgebase&_j=questiondetails&_i=82&nav=+%26gt%3B+%3Ca+href%3D%27i ndex.php%3F_a%3Dknowledgebase%26_j%3Dsubcat%26_i%3D1%27%3EPre%2FPost+Sal es+Questions%3C%2Fa%3E http://www.macspeech.com/store/default.php? cPath=3&osCsid_private=d47e7d12c82ca38df389633404b73248 HTH, Michael On Jul 6, 2005, at 6:53 AM, use-revolution-request at lists.runrev.com wrote: > Dragon PRO is very good and crossplatform to boot. > > tom > > On Jul 6, 2005, at 1:27 AM, Dan Shafer wrote: > >> Not sure how this would be handled in Rev, but OS X has these >> capabilities in some form or another. >> >> I'm experimenting with a new program called iListen that claims to >> take dictation and voice commands for OS X. >> >> Dan >> >> On Jul 5, 2005, at 8:40 PM, Paul Salyers wrote: >> >>> >>> >>> >>> Does Rev have any kind of voice command where I could speak into a >>> mic and the spoken words will print in a text box? >>> >>> Also interested in having where the speakers/head pones will play >>> what is to be read by the user from a varabels . >>> >>> any help here? >>> >>> >>> Paul Salyers >>> PS1 - Senior Rep. >>> PS1 at softseven.org >>> Http://ps1.SoftSeven.org From Roger.E.Eller at sealedair.com Wed Jul 6 10:58:47 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 6 Jul 2005 10:58:47 -0400 Subject: PDFs in QT Player -- Hot Links Challenge Message-ID: > Aiyo! (Lamentations) > > Windows won't play PDFs in QT... > > Richard: did that windows machine have QT 7 for Windows loaded? > > I'm sure you know this already but Apple just released QT with H.264 > format capabilities for Windows just a few weeks ago... so I just > wanted to check if this was happening in the latest QT, > > Dan: in the top of the open dialog box when clicking the browse > button in a Rev QT Player, it defaults to "QuickTime Movie", just > choose "All Files" and then the PDF files will be available as a > file choice (OSX). > > But the "not on Windows" really a show stopper for this project. We > will call our friends at Apple tomorrow and beg! > > Sivakatirswami Since you probably don't need to edit the PDF, you can use the shareware Ghostscript to convert a PDF via command-line to a displayable GIF, JPG, PNG or other raster format that Revolution will accept. The syntax is like so: gswin32c.exe -sDEVICE=png16 -r72 -sOutputFile=MyOutput.png MyInput.pdf And of course you can do this with Rev's shell capability, then load the resulting image for display. Roger Eller References: Message-ID: <6B4EB1BC-0A93-475E-BAD8-B1E2CE390417@sosmartsoftware.com> Hi Jim, 1. Clone the substack (it will be a mainstack named copy of ) 2. set it as a substack of another mainStack 3. Change its name (be careful with conflicts when 2 stacks/substacks have the same name) Hope this helps. Le 6 juil. 05 ? 16:54, Jim Bufalini a ?crit : > Lets say you create a substack or someone shares a stack with a > library or > other type of substack that you want to incorporate in other projects. > What's the best way to separate out that substack from the original > Main > stack (without actually separating it from the original project by > setting > it's main stack to itself) and then, adding it to another project? > > I've been setting the substack to a main stack of itself. Saving the > substack. Closing the original main stack without save. Opening a > new main > stack. Opening what was the substack. Setting the main stack of the > opened > former substack to the new main stack. Kind of a PITA (Pain In The > A__). > Isn't there a better way? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From b.xavier at internet.lu Wed Jul 6 11:01:26 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 6 Jul 2005 17:01:26 +0200 Subject: Managing substacks - best way? In-Reply-To: Message-ID: <20050706145530.03DDB82491E@mail.runrev.com> Hi Jim, > Hi all, > > Lets say you create a substack or someone shares a stack with > a library or other type of substack that you want to > incorporate in other projects. > What's the best way to separate out that substack from the > original Main stack (without actually separating it from the > original project by setting it's main stack to itself) and > then, adding it to another project? Just open the substack, and clone it (you dont need to open it actually but it might save a couple errors trying to clone the thing. After that, it's important to change the name. All your images have changed IDs too (if im correct). And save... > I've been setting the substack to a main stack of itself. > Saving the substack. Closing the original main stack without > save. Opening a new main stack. Opening what was the > substack. Setting the main stack of the opened former > substack to the new main stack. Kind of a PITA (Pain In The A__). > Isn't there a better way? > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From tominjapan at excite.com Wed Jul 6 11:13:58 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Wed, 6 Jul 2005 11:13:58 -0400 (EDT) Subject: cgi trouble Message-ID: <20050706151358.DB59FB981@xprdmailfe14.nwk.excite.com> Excited--just got my first rev cgi 'thing' up and running Sad--problems arise I keep getting 404 errors "requested resource not found". Here's the situation: call cgi-> it starts a stack and gets a html form with a prompt enter some info and press "submit" -> it sends the info to the same cgi script...and then trouble. I've played with the scipt for long enough trying to debug it. Here's my last attempt. It doesn't even try to use the rev stack, just put out the info. #!revolution on startup read from stdin until empty --I tried with "get" first. put it after tparam put "Password_trial.rev" into theStack start using theStack set the defaultstack to theStack if tparam is not empty then put the the passlog of stack theStack into x put "Content-Type: text/plain" & cr & cr & x & cr & tparam into tResult else put makepass() into tResult --this works, creates a form. end if put tResult end startup any suggestions would be most appreciated! tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From tominjapan at excite.com Wed Jul 6 11:24:14 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Wed, 6 Jul 2005 11:24:14 -0400 (EDT) Subject: cgi trouble Message-ID: <20050706152414.E7D59B982@xprdmailfe14.nwk.excite.com> Hurray! I just fixed my own problem! (a little thing overlooked, naturally) Now if I can only get rid of these annoying 500 errors! tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From rev at armbase.com Wed Jul 6 11:26:43 2005 From: rev at armbase.com (rev at armbase.com) Date: Wed, 06 Jul 2005 16:26:43 +0100 Subject: Managing substacks - best way? In-Reply-To: References: Message-ID: <1120663603.42cbf8337beef@webmail.armbase.com> Quoting Jim Bufalini : > Hi all, > > Lets say you create a substack or someone shares a stack with a library or > other type of substack that you want to incorporate in other projects. > What's the best way to separate out that substack from the original Main > stack (without actually separating it from the original project by setting > it's main stack to itself) and then, adding it to another project? I clone a substack of a .exe using this script. global tStackName, tFileName on doFileNew ask file "Name new database file:" with "MyDatabase.abd" if it is empty then exit to top put it into tFileName if char -4 to -1 of tFileName is not ".abd" then put ".abd" after tFileName set the itemDelimiter to "/" put last item of tFileName into tStackName --Puts the filename you created into a variable that can be used to name the stack later set the visible of stack "Master Database" to false clone stack "Master database" -- so you dont see it popup on cloning set the name of stack it to tStackName set the title of stack tStackName to (char 1 to -5 of tStackName) set the minWidth of stack tStackName to 800 set the minHeight of stack tStackName to 600 set the fileName of stack tStackName to tFileName -- "tFileName" is the full pathname of the file the user named earlier. set the visible of stack "Master Database" to true put the stackFileType into tSaveStackFileType set the stackFileType to "RevoABD_" save stack tStackName set the stackFileType to tSaveStackFileType show stack tStackName toplevel stack tStackName end doFileNew I'm sure you can canibalise bits of this. I think I originally canibalised this one from the list or bits from the employee database that came with earlier versions of runrev. hope ot is of use. cheers bob > > I've been setting the substack to a main stack of itself. Saving the > substack. Closing the original main stack without save. Opening a new main > stack. Opening what was the substack. Setting the main stack of the opened > former substack to the new main stack. Kind of a PITA (Pain In The A__). > Isn't there a better way? > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From yoursignup at yahoo.com Wed Jul 6 11:38:28 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Wed, 6 Jul 2005 05:38:28 -1000 Subject: Managing substacks - best way? In-Reply-To: <6B4EB1BC-0A93-475E-BAD8-B1E2CE390417@sosmartsoftware.com> Message-ID: Hi Eric, Can't find in the IDE clone a substack. Do you mean write a script? Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Eric Chatonet Sent: Wednesday, July 06, 2005 4:59 AM To: YourSignup at Yahoo.com; How to use Revolution Subject: Re: Managing substacks - best way? Hi Jim, 1. Clone the substack (it will be a mainstack named copy of ) 2. set it as a substack of another mainStack 3. Change its name (be careful with conflicts when 2 stacks/substacks have the same name) Hope this helps. Le 6 juil. 05 ? 16:54, Jim Bufalini a ?crit : > Lets say you create a substack or someone shares a stack with a > library or > other type of substack that you want to incorporate in other projects. > What's the best way to separate out that substack from the original > Main > stack (without actually separating it from the original project by > setting > it's main stack to itself) and then, adding it to another project? > > I've been setting the substack to a main stack of itself. Saving the > substack. Closing the original main stack without save. Opening a > new main > stack. Opening what was the substack. Setting the main stack of the > opened > former substack to the new main stack. Kind of a PITA (Pain In The > A__). > Isn't there a better way? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Jul 6 11:45:07 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 17:45:07 +0200 Subject: Managing substacks - best way? In-Reply-To: References: Message-ID: <299C1E8C-D647-420C-B078-78E7B9CAA17E@sosmartsoftware.com> Hi Jim, Have a look at the clone command in the docs: Duplicates an object. clone the selectedObject clone player "Hard Day's Night" clone this card clone stack (A substack is a stack too) If the object is a stack, the newly created stack is opened. It is named "Copy of" and the stack's name. The clone command places the long id property of the newly created object in the it variable. You can type it in the message box (or do it script :-) Le 6 juil. 05 ? 17:38, Jim Bufalini a ?crit : > Hi Eric, > > Can't find in the IDE clone a substack. Do you mean write a script? > > Jim 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Wed Jul 6 12:11:37 2005 From: jbondy at sover.net (Jon) Date: Wed, 06 Jul 2005 12:11:37 -0400 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: References: Message-ID: <42CC02B9.1060505@sover.net> I'm confused: if all you want to do is see a PDF, you can use Acrobat... Roger.E.Eller at sealedair.com wrote: >>Aiyo! (Lamentations) >> >>Windows won't play PDFs in QT... >> >>Richard: did that windows machine have QT 7 for Windows loaded? >> >>I'm sure you know this already but Apple just released QT with H.264 >>format capabilities for Windows just a few weeks ago... so I just >>wanted to check if this was happening in the latest QT, >> >>Dan: in the top of the open dialog box when clicking the browse >>button in a Rev QT Player, it defaults to "QuickTime Movie", just >>choose "All Files" and then the PDF files will be available as a >>file choice (OSX). >> >>But the "not on Windows" really a show stopper for this project. We >>will call our friends at Apple tomorrow and beg! >> >>Sivakatirswami >> >> > >Since you probably don't need to edit the PDF, you can use the shareware >Ghostscript to convert a PDF via command-line to a displayable GIF, JPG, >PNG or other raster format that Revolution will accept. > >The syntax is like so: > >gswin32c.exe -sDEVICE=png16 -r72 -sOutputFile=MyOutput.png MyInput.pdf > >And of course you can do this with Rev's shell capability, then load the >resulting image for display. > >Roger Eller >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From see3d at writeme.com Wed Jul 6 12:15:59 2005 From: see3d at writeme.com (Dennis Brown) Date: Wed, 06 Jul 2005 12:15:59 -0400 Subject: Stack Level Local/Globals In-Reply-To: References: Message-ID: <87F43118-8E00-4034-A2D8-5A3AEC74164A@writeme.com> On Jul 6, 2005, at 9:22 AM, Robert Brenstein wrote: > ... any stack-based definition of scope is restrictive one way or > the other. If we make it only a single stack, it is very limited. > If substacks are included, then it is less but it still lacks > flexibility. What if I do not want the mainstack to have access to > some global but have a few substacks share them? Or just have a > global specific to a single substack? What if my project > encompasses a couple mainstacks (including a standalone with > substacks kept independently, not so uncommon situation -- granted > I could use then normal globals but that restricts development in > IDE)? What about situations when a program clones its substacks, > like IDE editor? Robert, The idea behind all the various global/local declarations, is that they start at a certain point in the stack script hierarchy and work down from there. A global is accessible everywhere, even places that are not likely intended. The problem is that you might choose a name that somebody else also used, or that you might have used in another project that you load into the IDE at the same time as your current project. This possibility puts significant constraints on what names you can safely use for globals --which goes against the idea of making a name descriptive of its use. Everyone seems to agree that we need a solution for this. A stack scope variable would be accessible to a main-stack and its sub-stacks only. I proposed that a stack scope variable would be the effective replacement for globals in most projects, isolating them from the IDE and other project stacks. That way the user is in charge of his own mistakes. I believe this is a useful concept in its simplicity. It is very much in keeping with the current scheme and would cover most situations for the beginner who is the most likely to get tripped up by globals. As far as restricting the scope in your own projects. If you are writing your own projects, then you are in charge of the naming of variables for your project. You can easily choose names and declare them only in the places you want to use them. However, you are right that they do not carry the same expanse of scope as a global. > The concept of namespaces is inherently more flexible and allows > more control in any direction and scope without binding to a > specific object and without imposing any preconditions. So, what > you suggest would just be one possible scenerio. Namespaces would > allow libraries to have documented globals. It would allow to use > globals instead of remotely accessing custom properties. > > I also think that having namespaces will be a prerequisite for > making Rev more OO, which is on the planning board. > > Robert My proposal does not mean that I am not in favor of an additional namespace scheme. This might be favored by professional programmers and IDE tool makers. I have also proposed in another thread the possibility of declaring a name that can be invisibly appended to global names internally that would in fact make your globals unique without having to deal with the ugliness of the name everywhere in the scripts. Kind of like setting the itemDel. I also proposed other schemes. Please describe for us unfamiliar with namespaces how you would envision them working and the syntax with Transcript. Thanks, Dennis From klaus at major-k.de Wed Jul 6 12:41:16 2005 From: klaus at major-k.de (Klaus Major) Date: Wed, 6 Jul 2005 18:41:16 +0200 Subject: disabling "Preferences" on OS X Message-ID: <0D0B266E-A626-4220-A5CC-B9996CF1018E@major-k.de> Hi friends, short question: Does anyone know how to disable a "Preferences" menu item on OS X???? Putting a "(" before it does NOT work, the Application menu of OS X happily keeps on showing an active "Preferences" menu item :-/ Please don't tell me i can't! ;-) Completely omitting the "Edit" menu would be a BIT overkill ;-) and would hurt the Apple HIG, if i remember correctly. Do I? Regards Klaus Major klaus at major-k.de http://www.major-k.de From mark at maseurope.net Wed Jul 6 12:08:20 2005 From: mark at maseurope.net (Mark Smith) Date: Wed, 6 Jul 2005 17:08:20 +0100 Subject: Setting fonts In-Reply-To: References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> Message-ID: <32068fb266d9847067683ac410e777f8@maseurope.net> I just tried exactly what you described, and it worked just as it should. This on OS 10.3.9, G4 powerbook, Rev v2.6. Strangely, though, in the recent thread about changing text size in a field, preserving relative sizes of styled text, I came across the same thing, where changing the textSize of a field affected only the unstyled text before a block of styled text, but not the unstyled text after.... However, the problem went away, without me doing anything about it, and from the test just now, seems to be staying away. This must be a bug, so worth bugzilla-ing, but if it's intermittent, it'll be a bitch to solve... Good luck, Mark On 6 Jul 2005, at 13:03, Charles Hartman wrote: > Yes, that's what I'm doing. However, as I said, the text _after_ the > specified-font text does _not_ switch to the altered owner's font. > > Let me clarifiy: a field contains a dozen lines, let's say; the first > six and last four have been created using Palatino, with Palatino as > the stack font, so there's no font specification on any of those > lines. Lines 7-8 have had their Text Formatting properties altered so > their font is specified as Courier. Now in the main stack's script I > insert the line "set the textfont of me to 'Arial'" and save and close > the stack and its substacks and reopen. Now on that example card, in > that field, lines 1-6 are Arial, 7-8 are Courier (all as expected) -- > but lines 9-12 are still in Palatino. > > I'm beginning to think this is a bug. I'll file a BZ on it. Any ideas > on workarounds meanwhile? That don't involve iterating over all lines > in all fields on all cards?? > > Charles Hartman > > > On Jul 6, 2005, at 2:07 AM, Eric Chatonet wrote: > >> 1. Combining a specified font and a "not specified" font: >> If you have a field with no font specified (use owner's font) and >> then you set the font for some lines, for instance, to Courier New >> (selecting these lines and choosing the right font in the Text menu). >> Then when you set the textFont of the stack (by script or in the >> properties inspector), only lines which use owner's font will change: >> they will appear in the specified font but the lines previously set >> in Courier New will stay unchanged. >> > > Charles Hartman > Professor of English, Poet in Residence > Connecticut College > charles.hartman at conncoll.edu > *the Scandroid* is at cherry.conncoll.edu/cohar/Programs > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Wed Jul 6 13:15:56 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 6 Jul 2005 13:15:56 -0400 Subject: PDFs in QT Player -- Hot Links Challenge Message-ID: On 07/06/2005 at 12:11 PM, Jon wrote: > I'm confused: if all you want to do is see a PDF, you can use Acrobat... Yes, you could if that is your only objective. But -- not -- if you intend to display it -- inside -- a revolution application window on the Windows platform. My suggestion was intended to fill the void of not being able to use QuickTime to display a PDF in rev as you can easily do on Mac OS X. Roger Eller Message-ID: I import jpg and png images and use them as background images on large cards then put fields on them with data. This card is then printed. If a PDF was the background instead of a jpg or png it would print faster and clearer. Is this possible using your inside quicktime method? On 7/6/05 1:15 PM, "Roger.E.Eller at sealedair.com" wrote: > On 07/06/2005 at 12:11 PM, Jon wrote: > >> I'm confused: if all you want to do is see a PDF, you can use Acrobat... > > Yes, you could if that is your only objective. > > But -- not -- if you intend to display it -- inside -- a revolution > application window on the Windows platform. My suggestion was intended to > fill the void of not being able to use QuickTime to display a PDF in rev > as you can easily do on Mac OS X. > > Roger Eller > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From eric.chatonet at sosmartsoftware.com Wed Jul 6 13:40:12 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 19:40:12 +0200 Subject: Setting fonts In-Reply-To: <32068fb266d9847067683ac410e777f8@maseurope.net> References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> <32068fb266d9847067683ac410e777f8@maseurope.net> Message-ID: Hi Mark and Charles, I have had many struggles with fonts and sizes until I understood correctly inheritance problems and, above all, some weird behaviours of the engine. For instance: if you set the textFont to empty, the textSize is set to empty too (this feature has been discussed on this list about a year ago) and there are other rather weird features... I can only tell you one thing: we have to be "clean" and a "certain" steps order in a process regarding fonts and sizes has to be respected when building a stack. In particular, it seems that when you manipulate fields and fonts and sizes in all directions, kinds of droppings (see previous posts about default buttons :-) can remain. That's not clear in the docs: so try, test and test again ;-) Le 6 juil. 05 ? 18:08, Mark Smith a ?crit : > I just tried exactly what you described, and it worked just as it > should. This on OS 10.3.9, G4 powerbook, Rev v2.6. > > Strangely, though, in the recent thread about changing text size in > a field, preserving relative sizes of styled text, I came across > the same thing, where changing the textSize of a field affected > only the unstyled text before a block of styled text, but not the > unstyled text after.... > > However, the problem went away, without me doing anything about it, > and from the test just now, seems to be staying away. This must be > a bug, so worth bugzilla-ing, but if it's intermittent, it'll be a > bitch to solve... > > Good luck, > > Mark >> Le 6 juil. 05 ? 18:08, Eric Chatonet a ?crit : >> >> Here it's working: >> First, you set all textfont specs of any field, card and stack to >> empty. >> You paste a text in any field. >> You select the text and set its textfont to "Use Owner's >> Font" (empty) >> You select the lines you want to be in another font as Courier and >> set them. >> Now you set the textfont of the stack to any font and all lines >> the textfont of which were empty adopt the specified font (your >> 9-12 lines included). >> You can change the textfont stack and it's going to work. >> You can save and reopen the stack: all is perfect. > > On 6 Jul 2005, at 13:03, Charles Hartman wrote: > > >> Yes, that's what I'm doing. However, as I said, the text _after_ >> the specified-font text does _not_ switch to the altered owner's >> font. >> >> Let me clarifiy: a field contains a dozen lines, let's say; the >> first six and last four have been created using Palatino, with >> Palatino as the stack font, so there's no font specification on >> any of those lines. Lines 7-8 have had their Text Formatting >> properties altered so their font is specified as Courier. Now in >> the main stack's script I insert the line "set the textfont of me >> to 'Arial'" and save and close the stack and its substacks and >> reopen. Now on that example card, in that field, lines 1-6 are >> Arial, 7-8 are Courier (all as expected) -- but lines 9-12 are >> still in Palatino. >> >> I'm beginning to think this is a bug. I'll file a BZ on it. Any >> ideas on workarounds meanwhile? That don't involve iterating over >> all lines in all fields on all cards?? >> >> Charles Hartman >> >> >> On Jul 6, 2005, at 2:07 AM, Eric Chatonet wrote: >> >> >>> 1. Combining a specified font and a "not specified" font: >>> If you have a field with no font specified (use owner's font) and >>> then you set the font for some lines, for instance, to Courier >>> New (selecting these lines and choosing the right font in the >>> Text menu). >>> Then when you set the textFont of the stack (by script or in the >>> properties inspector), only lines which use owner's font will >>> change: they will appear in the specified font but the lines >>> previously set in Courier New will stay unchanged. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jperryl at ecs.fullerton.edu Wed Jul 6 13:43:13 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 6 Jul 2005 10:43:13 -0700 (PDT) Subject: Setting a Group as a Background In-Reply-To: Message-ID: Dave, As for losing it, you didn't perchance ungroup it to make any changes did you? That'll kill it for sure... You should be able to manually place your new group via the menu or teh message box or some other scripting place. Judy On Wed, 6 Jul 2005, David Burgun wrote: > Hi, > > I couldn't get the Group back that I lost last night, so I re-entered > it all, took until 2 am! I now have another problem, the Group was a > "Background" and now that I have re-entered it, I can't it it to > appear on the other cards in the stack. Do I have to delete and > recreate all the other cards in the Stack????? From jperryl at ecs.fullerton.edu Wed Jul 6 13:46:27 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 6 Jul 2005 10:46:27 -0700 (PDT) Subject: Animation Builder In-Reply-To: Message-ID: Muaadh: It was taken out but you can still get it and use it. I think maybe it's on the company's website under "unsupported stacks" or some such thing? Or, just take it out or your 2.0 folder? So I've been told... Judy On Wed, 6 Jul 2005, Muaadh salih wrote: > Coming back to revolution 2.6 , having left using it when in version > 2.0, I could not find the > animation Builder ( within the tool menu) . > Has it been repalced ? if so with what ? or been given anther name > and tucked somewhere ? > any help ?!! From bob.earp at ashford.ca Wed Jul 6 14:06:54 2005 From: bob.earp at ashford.ca (Robert J. Earp) Date: Wed, 06 Jul 2005 11:06:54 -0700 Subject: Embedded fonts Message-ID: <42CC1DBE.7080109@ashford.ca> Welcome back Andre !! It was nice meeting you in Monterey and I'm happy you and your new PB had a great time in Hawaii, although visions of you twirling poi in a grass skirt are a bit scary ;-) We spoke about the ability to embed fonts into runtime stacks and you said you thought it could be done. Have you had any more thoughts on the subject ? As an encouragement to Kevin & Co. to help support you with something meaningful, embedding fonts is absolutely essential for us to distribute multi media projects without having the hassle of loaders. We use custom fonts for a whole variety of purposes, a lot of the time not even to display words (simulation/animation of technical stuff), plus there is a very easy way to do this with the competition (TB) that actually has a not too bad interface!! Oh yes, and for the copyright issue, somehow TB takes a look at the font properties to see if it is legally copyable before allowing it to be embedded. I can send you a sample screen shot of the TB interface if you'd like. best, Bob... -- 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.8.9/42 - Release Date: 06/07/2005 From ps1 at softseven.org Wed Jul 6 14:17:12 2005 From: ps1 at softseven.org (Paul Salyers) Date: Wed, 06 Jul 2005 13:17:12 -0500 Subject: Voice command In-Reply-To: <671793836ab0b1a5823c6d9ca23c8cde@adelphia.net> References: <68361138-A6EB-4348-BE90-133203E08139@mac.com> <6.1.1.1.2.20050705223614.03315480@softseven.org> <26A6D83C-AF36-498F-AF1D-380756B5146E@danshafer.com> <4f73e27e1bb44503ef6c21a99d18377e@adelphia.net> <671793836ab0b1a5823c6d9ca23c8cde@adelphia.net> Message-ID: <6.1.1.1.2.20050706131050.033fc580@softseven.org> This is what I'm trying to accomplish revSpeechVoices([voiceGender]) revSpeechVoices() revSpeechVoices("female") put revSpeechVoices("neuter") into button "Voices Menu" totally lost tho, some one please send a sample working stack for the windows platform. thanks Paul Salyers PS1 - Senior Rep. PS1 at softseven.org Http://ps1.SoftSeven.org From userev at canelasoftware.com Wed Jul 6 14:24:49 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 6 Jul 2005 11:24:49 -0700 Subject: Embedded fonts In-Reply-To: <42CC1DBE.7080109@ashford.ca> References: <42CC1DBE.7080109@ashford.ca> Message-ID: <6580FB77-4154-4DBB-A9B5-D3646DDFD7AE@canelasoftware.com> On Jul 6, 2005, at 11:06 AM, Robert J. Earp wrote: > Welcome back Andre !! > It was nice meeting you in Monterey and I'm happy you and your new > PB had a great time in Hawaii, although visions of you twirling poi > in a grass skirt are a bit scary ;-) > > We spoke about the ability to embed fonts into runtime stacks and > you said you thought it could be done. Have you had any more > thoughts on the subject ? > > As an encouragement to Kevin & Co. to help support you with > something meaningful, embedding fonts is absolutely essential for > us to distribute multi media projects without having the hassle of > loaders. We use custom fonts for a whole variety of purposes, a > lot of the time not even to display words (simulation/animation of > technical stuff), plus there is a very easy way to do this with the > competition (TB) that actually has a not too bad interface!! > Oh yes, and for the copyright issue, somehow TB takes a look at the > font properties to see if it is legally copyable before allowing > it to be embedded. > > I can send you a sample screen shot of the TB interface if you'd like. > Assuming you have the rights to the fonts, lets focus on how this can be done. Store the fonts in a custom property and spit them out to the appropriate directory for each OS. This is really easy to do for Macs. If you take a look at RevNet, you can download CS Fonts Installer. It will give you an idea of how this can be done. Windows requires certain registry settings to be made. I have not taken the time to figure those out. Maybe someone here has and will be able to provide the needed changes. A workaround is to use an installer for your Windows fonts. I make the installer for the fonts and them suck that up into a custom property. Spit it out and run the installer if your app finds the needed fonts to be missing. I have done the above and it works perfectly. Let me know if you need more details on this. If you would like to see it in action, just write me off list and I will give you a code to unlock the fonts we sell. Mark Talluto -- CANELA Software http://www.canelasoftware.com From devin_asay at byu.edu Wed Jul 6 14:31:06 2005 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 06 Jul 2005 12:31:06 -0600 Subject: post command example? In-Reply-To: <42C246B9.3000103@materiaprima.fsnet.co.uk> References: <42C246B9.3000103@materiaprima.fsnet.co.uk> Message-ID: (Getting back to this after a week of vacation.) On Jun 29, 2005, at 12:59 AM, Martin Baxter wrote: > Devin Asay wrote: > >> I need to send some data to a php page on a web server, just a >> short string like "abc2". I've read all I can find on the post >> command in the documentation, but can't figure out how to format >> the data so the php script will read it. >> My stack: >> contents of fld "uid": "abc2" >> (I also tried [ name="netid" value="dna3" ] as the value of the >> field. Sans the [].) >> the post button script: >> on mouseUp >> post urlencode(fld "uid") to url fld "urlText" -- also tried >> without urlencode >> set the htmltext of fld "returnedText" to it >> end mouseUp >> The result returned makes it obvious that the php script >> executed, but never received the value "abc2". >> FWIW, the php script (one I wrote, that works when I hard code >> everything) uses the $POST_[value name here] format to grab the >> data. I am a neophyte in php land, but have used this method >> successfully in the past to pass values from html forms. >> There are no clear examples of how to do this in the docs, and >> the list archive at http://lists.runrev.com seems to be offline >> at the moment. Can anyone point me in the right direction? >> Devin >> > > Hi Devin, > > Maybe the problem is that you need to use ampersand to delimit the > name value pairs rather than space. > > Here is how I format the data > > put "any old text." into msgtext > put urlencode(msgtext) into msgtext > put "username" into tuser > put "username=" & tuser & "&message=" & msgtext into data > ## note no spaces and the use of ampersand to delimit the > ## name value pairs > ## tuser is known not to require urlencoding > put "http://domain/path/document.php" into phpurl > post data to url phpurl Thanks Martin. That did the trick! Devin Asay Humanities Technology and Research Support Center Brigham Young University From chipp at chipp.com Wed Jul 6 15:00:18 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 06 Jul 2005 14:00:18 -0500 Subject: Setting fonts [OT..abit] In-Reply-To: References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> Message-ID: <42CC2A42.30702@chipp.com> For those interested... I work on a PC, but port many apps to MacOSX. I've found the following works best for me regarding fonts. I typically set the textFont property of my stacks to Tahoma. This is the default system font on the PC and works great, especially with ClearType font rendering on WinXP. But, as Jeanne DeVoto mentioned to me, it doesn't come installed on Mac systems. Which is fine, because then it uses the default font: Lucinda Grande. best, Chipp From devin_asay at byu.edu Wed Jul 6 15:03:51 2005 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 06 Jul 2005 13:03:51 -0600 Subject: Post comand In-Reply-To: References: <42C1DB33.4020706@hyperactivesw.com> Message-ID: (Returning to this after a week on vacation.) On Jun 28, 2005, at 5:30 PM, Trevor DeVore wrote: > On Jun 28, 2005, at 4:20 PM, J. Landman Gay wrote: > >> I need to send some data to a php page on a web server, just a >> short string like "abc2". I've read all I can find on the post >> command in the documentation, but can't figure out how to format >> the data so the php script will read it. >> > > Take a look at libUrlFormData. It shows one way of doing this. Thanks Trevor. Very helpful. This entry ought to be cross referenced with the post command in the Rev Docs. How does one request a documentation enhancement? Bugzilla? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From Roger.E.Eller at sealedair.com Wed Jul 6 15:05:26 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Wed, 6 Jul 2005 15:05:26 -0400 Subject: Easily display PDF in rev on Mac OS X Message-ID: On 07/06/2005 at 01:32 PM, Bill wrote: > I import jpg and png images and use them as background images on large cards > then put fields on them with data. This card is then printed. If a PDF was > the background instead of a jpg or png it would print faster and clearer. > > Is this possible using your inside quicktime method? I cannot take credit for the quicktime method. A revolution QT player object can display any file format that is supported by QuickTime itself. Placing text fields over this image may be a problem though since it is acting as a "video area". As for printing and/or the quality/speed of the printing, I have never done this. Maybe someone else could answer with their experience. Roger Eller From chipp at chipp.com Wed Jul 6 15:06:46 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 06 Jul 2005 14:06:46 -0500 Subject: Managing substacks - best way? In-Reply-To: References: Message-ID: <42CC2BC6.1030509@chipp.com> Jim, If you're doing this in the IDE, there's a very simple way to do it. Open up the Main stack with the substack you want to 'move'. Open up the stack you want to 'move it to.' Open the prop editor for the substack to be moved. Select the new stack as the Main stack. Save the new stack. Now QUIT Rev (don't save the orig Main stack) and relaunch, open the new stack and you will see the substack there. By quitting Rev, you won't have problems with namespace conflicts or the IDE getting 'confused' over which stack is where. HTH, Chipp Jim Bufalini wrote: > Hi all, > > Lets say you create a substack or someone shares a stack with a library or > other type of substack that you want to incorporate in other projects. > What's the best way to separate out that substack from the original Main > stack (without actually separating it from the original project by setting > it's main stack to itself) and then, adding it to another project? > > I've been setting the substack to a main stack of itself. Saving the > substack. Closing the original main stack without save. Opening a new main > stack. Opening what was the substack. Setting the main stack of the opened > former substack to the new main stack. Kind of a PITA (Pain In The A__). > Isn't there a better way? From chipp at chipp.com Wed Jul 6 15:09:02 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 06 Jul 2005 14:09:02 -0500 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: References: Message-ID: <42CC2C4E.6010503@chipp.com> The new altBrowser for Tiger will open up PDF's within an altBrowser window. (Works on PC's too). -Chipp Roger.E.Eller at sealedair.com wrote: >>I'm confused: if all you want to do is see a PDF, you can use Acrobat... > Yes, you could if that is your only objective. > > But -- not -- if you intend to display it -- inside -- a revolution > application window on the Windows platform. From soapdog at mac.com Wed Jul 6 15:17:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 6 Jul 2005 16:17:00 -0300 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42CC2C4E.6010503@chipp.com> References: <42CC2C4E.6010503@chipp.com> Message-ID: On Jul 6, 2005, at 4:09 PM, Chipp Walters wrote: > The new altBrowser for Tiger will open up PDF's within an > altBrowser window. (Works on PC's too). > > -Chipp Chipp, that's marvelous!!!! Can you tell me if we can code our way to flip pages and if there's a way to zoom? Using QT Player, every 75 secs increment will flip a page, and by changing the rect of the player you achieve zoom. The only last piece is searching... but that is hard. I'd like to know if you guys have any way to interact with the pdf being displayed. Cheers andre From bill at bluewatermaritime.com Wed Jul 6 15:20:53 2005 From: bill at bluewatermaritime.com (Bill) Date: Wed, 06 Jul 2005 15:20:53 -0400 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42CC2C4E.6010503@chipp.com> Message-ID: Con text fields be put on top of this window as if it were a card object and the whole thing printed? On 7/6/05 3:09 PM, "Chipp Walters" wrote: > The new altBrowser for Tiger will open up PDF's within an altBrowser > window. (Works on PC's too). > > -Chipp > > Roger.E.Eller at sealedair.com wrote: > >>> I'm confused: if all you want to do is see a PDF, you can use Acrobat... > >> Yes, you could if that is your only objective. >> >> But -- not -- if you intend to display it -- inside -- a revolution >> application window on the Windows platform. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From keith at vortex.co.uk Wed Jul 6 16:26:15 2005 From: keith at vortex.co.uk (keith) Date: Wed, 6 Jul 2005 21:26:15 +0100 Subject: Setting fonts [OT..abit] In-Reply-To: <42CC2A42.30702@chipp.com> References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> <42CC2A42.30702@chipp.com> Message-ID: Sometime around 6/7/05 (at 14:00 -0500) Chipp Walters said: >I typically set the textFont property of my stacks to Tahoma. This >is the default system font on the PC and works great, especially >with ClearType font rendering on WinXP. But, as Jeanne DeVoto >mentioned to me, it doesn't come installed on Mac systems. Which is >fine, because then it uses the default font: Lucinda Grande. Well, the slightly less attractively named Lucida Grande, to be precise. The Lucida family was the result of research into legibility of type produced with low-resolution printers in the early 1980s. (One of the two designers of the Lucida family also created Apple's Chicago and Geneva, the two Mac system fonts from 1984 through to the mid-1990s or so.) It is a superb example of resolution-aware modern type design borrowing intelligently from type design standards and styles of the past few centuries. More practically for y'all reading this, the standard Windows 2000 and XP Lucida Sans is a close visual analog to Mac OS X's Lucida Grande. But it helps a lot if font smoothing is on on the PC. k -- +++++++++++++++++ ++++++++++++++++++++++++++++++++++ Keith Martin Technical Editor, MacUser magazine MacUser Help mailto:help at macuser.co.uk MacUser Work mailto:keith.martin at macuser.co.uk personal mailto:keith at vortex.co.uk Web http://www.vortex.co.uk work +44 (0)20 7907 6360 mobile 0790 954 1365 eFax +44 (0)870 831 7752 From r.beynon at liv.ac.uk Wed Jul 6 16:53:57 2005 From: r.beynon at liv.ac.uk (Rob Beynon) Date: Wed, 6 Jul 2005 21:53:57 +0100 Subject: Programming multi line selections Message-ID: <1306042068.20050706215357@liv.ac.uk> Colleagues, I have a small problem that is driving me nuts.. I have a series of lines in a field, and I want to program the selection of those lines according to the last character of the line...I wrote a button script thus... on mouseUp select empty put 0 into LineNo repeat for each line peptide in card field "audit" add 1 to LineNo if char(length(peptide)-1) of peptide = "K" then select line LineNo of field "audit" end repeat end mouseUp I've also tried setting the selected of line lineNo to true and setting the hilitedLine to lineNo Am I missing the point here? (probably). Also, how do I deselect all lines before I start (select empty doesn;t seem to achieve this). -- All best wishes, Rob (Created at 21:50 on 06/07/2005) ============================================================== Prof. Rob Beynon |+44 151 794 4312 (voice) Dept. Veterinary Preclinical |+44 151 794 4243 (fax) Sciences, University of Liverpool, Crown Street, Liverpool L69 7ZJ |mailto:r.beynon at liv.ac.uk -------------------------------------------------------------- http://www.liv.ac.uk/pfg |http://www.csiv.org ============================================================== From eric.chatonet at sosmartsoftware.com Wed Jul 6 16:59:20 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 22:59:20 +0200 Subject: Setting fonts [OT..abit] In-Reply-To: <42CC2A42.30702@chipp.com> References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> <42CC2A42.30702@chipp.com> Message-ID: <44DC0499-E938-4760-B8F5-031BE7DE02E9@sosmartsoftware.com> For those interested... (as said Chipp :-) Here are the shared fonts between Mac OS X and Windows XP: This does not mean that the result is exactly the same but these following fonts "are among the lines of the fontNames" for each platform. Arial (normal, black, narrow) Century Gothic Comic sans MS Courier New Georgia Impact Tahoma Times New Roman Verdana Webdings Wingdings Le 6 juil. 05 ? 21:00, Chipp Walters a ?crit : > For those interested... > > I work on a PC, but port many apps to MacOSX. I've found the > following works best for me regarding fonts. > > I typically set the textFont property of my stacks to Tahoma. This > is the default system font on the PC and works great, especially > with ClearType font rendering on WinXP. But, as Jeanne DeVoto > mentioned to me, it doesn't come installed on Mac systems. Which is > fine, because then it uses the default font: Lucinda Grande. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Wed Jul 6 17:05:49 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Jul 2005 23:05:49 +0200 Subject: Programming multi line selections In-Reply-To: <1306042068.20050706215357@liv.ac.uk> References: <1306042068.20050706215357@liv.ac.uk> Message-ID: <8F7C6566-78E6-4A00-889E-55BE89C113B2@sosmartsoftware.com> Hi Rob, When you select a line in a repeat loop, only the last found line will appear selected :-) Try to parse the lines by number and set the hilitedLines at the end: put 0 into LineNo repeat for each line peptide in card field "audit" add 1 to LineNo if char -1 of peptide = "K" then put LineNo & comma after tHilitedLines end repeat delete char -1 of tHilitedLines set the hilitedLines of field "audit" to tHilitedLines Le 6 juil. 05 ? 22:53, Rob Beynon a ?crit : > I have a small problem that is driving me nuts.. > > I have a series of lines in a field, and I want to program the > selection of those lines according to the last character of the > line...I wrote a button script thus... > > on mouseUp > select empty > put 0 into LineNo > repeat for each line peptide in card field "audit" > add 1 to LineNo > if char(length(peptide)-1) of peptide = "K" then select line > LineNo of field "audit" > end repeat > end mouseUp > > > I've also tried setting the selected of line lineNo to true > and setting the hilitedLine to lineNo 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Wed Jul 6 17:10:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Jul 2005 14:10:16 -0700 Subject: Setting fonts [OT..abit] In-Reply-To: <44DC0499-E938-4760-B8F5-031BE7DE02E9@sosmartsoftware.com> References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> <42CC2A42.30702@chipp.com> <44DC0499-E938-4760-B8F5-031BE7DE02E9@sosmartsoftware.com> Message-ID: <42CC48B8.9030208@fourthworld.com> Eric Chatonet wrote: > For those interested... (as said Chipp :-) > > Here are the shared fonts between Mac OS X and Windows XP: > This does not mean that the result is exactly the same Sadly, not at all. I went with Verdana on a project because I'd hoped to have similar font metrics on both projects. Bad move: Verdana on Windows has a much wider m-square than Verdana on OS X. Moral: Before settling on a font, compare screen shots with it on each platform. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gbojsza at gmail.com Wed Jul 6 17:58:45 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Wed, 6 Jul 2005 17:58:45 -0400 Subject: Opening Substack at a predetermined card Message-ID: <3d8af41505070614582e0af284@mail.gmail.com> I am not certain if my method is wrong or if this is a bug? My main stack has global productnumber on mouseUp do stuff determine productnumber open stack GBProduct end mouseUp My GBProduct stack global productnumber on preopenstack put productnumber -- this tells me if I am getting the right product number and yes I am go to card productnumber -- sometimes the correct card will open other times it remains at the previos card ?? end preopenstack I have checked the card names and verified content with the application browser. I have not found a pattern as to which cards open properly and which ones don't (seems random). Any suggestions or previous experience with this problem is appreciated. regards, From eric.chatonet at sosmartsoftware.com Wed Jul 6 18:03:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 00:03:28 +0200 Subject: Opening Substack at a predetermined card In-Reply-To: <3d8af41505070614582e0af284@mail.gmail.com> References: <3d8af41505070614582e0af284@mail.gmail.com> Message-ID: Hi Glen, You could try something like: on mouseUp do stuff determine productnumber go cd productnumber of stack GBProduct end mouseUp Le 6 juil. 05 ? 23:58, Glen Bojsza a ?crit : > I am not certain if my method is wrong or if this is a bug? > > My main stack has > > global productnumber > > on mouseUp > do stuff > determine productnumber > open stack GBProduct > end mouseUp > > My GBProduct stack > > global productnumber > on preopenstack > put productnumber -- this tells me if I am getting the right product > number and yes I am > go to card productnumber -- sometimes the correct card will open > other times it remains at the previos card ?? > end preopenstack 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From sarahr at genesearch.com.au Wed Jul 6 18:46:23 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 7 Jul 2005 08:46:23 +1000 Subject: Setting fonts [OT..abit] In-Reply-To: <44DC0499-E938-4760-B8F5-031BE7DE02E9@sosmartsoftware.com> References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> <42CC2A42.30702@chipp.com> <44DC0499-E938-4760-B8F5-031BE7DE02E9@sosmartsoftware.com> Message-ID: <81D1B620-992F-4CA3-9BE9-E6FF444805B6@genesearch.com.au> A word of warning. Not all of these are standard with a default Mac OS X installation. I think some come with Microsoft Office. > Here are the shared fonts between Mac OS X and Windows XP: > This does not mean that the result is exactly the same but these > following fonts "are among the lines of the fontNames" for each > platform. > > Arial (normal, black, narrow) > Century Gothic > Comic sans MS > Courier New > Georgia > Impact > Tahoma > Times New Roman > Verdana > Webdings > Wingdings > Out of Eric's list, the three listed below are NOT available on my Mac: Century Gothic Tahoma Wingdings Also, a Mac user (& presumably it is the same for Windows) has the ability to disable any fonts they like, even fonts used by the system. So you can never assume a particular font will be available. It would be nice to be able to specify a font-family as one does in CSS, so you can choose a few alternatives and default to serif or sans-serif as a last resort. Cheers, Sarah From scott at elementarysoftware.com Wed Jul 6 18:54:13 2005 From: scott at elementarysoftware.com (Scott Morrow) Date: Wed, 6 Jul 2005 15:54:13 -0700 Subject: difference between exists() & there is a Message-ID: <17b245820d21f417fb5c2a5496a2d9c8@elementarysoftware.com> With regards to substacks (not files or folders) is there a reason to choose one syntax over the other? < there is a stack "foo" > or < exists(stack "foo") > -Scott Morrow Elementary Software (Now with 20% less chalk dust !) web http://elementarysoftware.com/ email scott at elementarysoftware.com From erikhans08 at yahoo.com Wed Jul 6 19:19:52 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Wed, 6 Jul 2005 16:19:52 -0700 (PDT) Subject: unsolicited dehiliting of grouped radio buttons & list fields In-Reply-To: Message-ID: <20050706231952.22236.qmail@web33013.mail.mud.yahoo.com> unsolicited dehiliting of grouped radio buttons. unsolicited dehiliting of lines in a list field. is this fixed in later editions? short of an "on idle" or perennial "send in time" is there a way to keep fields and/or radio button groups moshed? p.s. my spell checker likes "defoliating" for "dehiliting". erik at erikhansen.org http://www.erikhansen.org ____________________________________________________ Sell on Yahoo! Auctions ? no fees. Bid on great items. http://auctions.yahoo.com/ From jbondy at sover.net Wed Jul 6 19:46:58 2005 From: jbondy at sover.net (Jon) Date: Wed, 06 Jul 2005 19:46:58 -0400 Subject: unsolicited dehiliting of grouped radio buttons & list fields In-Reply-To: <20050706231952.22236.qmail@web33013.mail.mud.yahoo.com> References: <20050706231952.22236.qmail@web33013.mail.mud.yahoo.com> Message-ID: <42CC6D72.80608@sover.net> What does "moshed" mean, please? Are we talking "mosh pit" here? Jon Erik Hansen wrote: >unsolicited dehiliting of grouped radio buttons. >unsolicited dehiliting of lines in a list field. >is this fixed in later editions? > >short of an "on idle" or perennial "send in time" >is there a way to keep fields and/or radio button >groups moshed? > >p.s. >my spell checker likes >"defoliating" for "dehiliting". > >erik at erikhansen.org http://www.erikhansen.org > > > >____________________________________________________ >Sell on Yahoo! Auctions ? no fees. Bid on great items. >http://auctions.yahoo.com/ >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From chipp at chipp.com Wed Jul 6 20:48:20 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 06 Jul 2005 19:48:20 -0500 Subject: object checkSum? Message-ID: <42CC7BD4.2090101@chipp.com> Short of MD5digesting the concatenation of all properties, scripts, custom props and propsets of an object, *OR* MD5digesting a single stack file with a specified object copied to it and saved locally... Is there an *easier* way to create a checkSum for a single RR object that I'm missing? best, Chipp From b.alleyne at btinternet.com Wed Jul 6 20:50:07 2005 From: b.alleyne at btinternet.com (Brian Alleyne) Date: Thu, 7 Jul 2005 01:50:07 +0100 Subject: Treeview control needed Message-ID: <200507070150.07611.b.alleyne@btinternet.com> Hi Does anyone know where I can get a stack or external that implements a treeview control? I've seen references on the various runrev resources sites but cannot seem to pinpoint an example. Cheers, Brian From ambassador at fourthworld.com Wed Jul 6 21:03:52 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Jul 2005 18:03:52 -0700 Subject: object checkSum? In-Reply-To: <42CC7BD4.2090101@chipp.com> References: <42CC7BD4.2090101@chipp.com> Message-ID: <42CC7F78.3010906@fourthworld.com> Chipp Walters wrote: > Short of MD5digesting the concatenation of all properties, scripts, > custom props and propsets of an object, *OR* MD5digesting a single stack > file with a specified object copied to it and saved locally... > > Is there an *easier* way to create a checkSum for a single RR object > that I'm missing? I had a similar need recently, and decided to go with the MD5 of the props and custom props (the objects I was working on have no scripts). If there's a better way I'd love to learn it, but for the moment the MD5/props route works pretty well. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From b.xavier at internet.lu Wed Jul 6 21:07:39 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 7 Jul 2005 03:07:39 +0200 Subject: object checkSum? In-Reply-To: <42CC7BD4.2090101@chipp.com> Message-ID: <20050707010140.B9D6682493B@mail.runrev.com> yes, the size is bytes of content, script and the [custom]-props[sets]... That's the shortest i can think of. In the HotKeyNO2 i convert this to an array of differences. No MD5 needed... what's the point? cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Thursday, July 07, 2005 02:48 > To: Use-Revolution > Subject: object checkSum? > > Short of MD5digesting the concatenation of all properties, > scripts, custom props and propsets of an object, *OR* > MD5digesting a single stack file with a specified object > copied to it and saved locally... > > Is there an *easier* way to create a checkSum for a single RR > object that I'm missing? > > best, > > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Wed Jul 6 21:12:05 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 06 Jul 2005 20:12:05 -0500 Subject: object checkSum? In-Reply-To: <42CC7F78.3010906@fourthworld.com> References: <42CC7BD4.2090101@chipp.com> <42CC7F78.3010906@fourthworld.com> Message-ID: <42CC8165.7020407@chipp.com> Here's what I've got so far..any suggestions? X, I'm not so sure about size, as it makes it necessary to write out a file, which certainly must take more time than MD5digest? function altObjChecksum pObjID --> THIS CREATES A CHECKSUM FOR RR OBJECTS --> IT INCLUDES PROPERTIES, SCRIPTS AND CUSTOMPROP SETS AND THEIR CUSTOM PROP VALUES --> PROPERTIES OF OBJECT put the properties of pObjID into tData --> THESE NECESSARY AS THEY CHANGE FROM STACK TO STACK --> ANYONE THINK OF ANY OTHERS WHICH MIGHT CHANGE?? TIA!! put "" into tData["id"] put "" into tData["visited"] put "" into tData["layer"] combine tData using cr and ":" --> SCRIPT OF OBJECT put cr & the script of pObjID after tData --> CUSTOM PROP SETS AND CUSTOM PROPS put the customPropertySets of pObjID into tCPlist repeat for each line L in tCPlist --> NO NEED TO 'MATCH' REV'S IDE PROPS if L is "cRevGeneral" then next repeat put the customProperties[L] of pObjID into tKeys combine tKeys using cr and ":" put cr & L & cr & tKeys after tData end repeat return URLencode(md5digest(tData)) end altObjChecksum Richard Gaskin wrote: > Chipp Walters wrote: > >> Short of MD5digesting the concatenation of all properties, scripts, >> custom props and propsets of an object, *OR* MD5digesting a single >> stack file with a specified object copied to it and saved locally... >> >> Is there an *easier* way to create a checkSum for a single RR object >> that I'm missing? > > > I had a similar need recently, and decided to go with the MD5 of the > props and custom props (the objects I was working on have no scripts). > If there's a better way I'd love to learn it, but for the moment the > MD5/props route works pretty well. > From sarahr at genesearch.com.au Wed Jul 6 21:13:09 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 7 Jul 2005 11:13:09 +1000 Subject: Treeview control needed In-Reply-To: <200507070150.07611.b.alleyne@btinternet.com> References: <200507070150.07611.b.alleyne@btinternet.com> Message-ID: <7BC97B09-5C33-42FF-829C-7A452FFC47C2@genesearch.com.au> > Does anyone know where I can get a stack or external that implements a > treeview control? I've seen references on the various runrev > resources sites > but cannot seem to pinpoint an example. > Scroll to the bottom of the page to find Marielle Lange's Tree View OR where you can find the Altuit XML TreeView List Control. HTH, Sarah From b.xavier at internet.lu Wed Jul 6 21:25:55 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 7 Jul 2005 03:25:55 +0200 Subject: object checkSum? In-Reply-To: <42CC8165.7020407@chipp.com> Message-ID: <20050707011953.83B8D824924@mail.runrev.com> write out a file? why? Here's an old version for a card checksum... Same can be applied to the props and the script. Of course it wont catch a color change in the props for example unless you add the numbers to the sum - it's very unlikely you'll find duplicates this way but nature has its ways. So the MD5 or a content to content comparison is usually the best way to catch a change... function GetCdStamp local y put 0 into y put length(cdScript()) into y put number of flds into fcount repeat with x = 1 to fcount add length(fld x) to y end repeat put number of flds into bcount repeat with x = 1 to bcount add length(bg btn x) to y end repeat put number of flds into fcount repeat with x = 1 to fcount add length(cd fld x) to y end repeat put number of flds into bcount repeat with x = 1 to bcount add length(btn x) to y end repeat return y end GetCdStamp > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Thursday, July 07, 2005 03:12 > To: How to use Revolution > Subject: Re: object checkSum? > > Here's what I've got so far..any suggestions? > X, I'm not so sure about size, as it makes it necessary to > write out a file, which certainly must take more time than MD5digest? > > > > function altObjChecksum pObjID > --> THIS CREATES A CHECKSUM FOR RR OBJECTS > --> IT INCLUDES PROPERTIES, SCRIPTS AND CUSTOMPROP SETS AND THEIR > CUSTOM PROP VALUES > > --> PROPERTIES OF OBJECT > put the properties of pObjID into tData > > --> THESE NECESSARY AS THEY CHANGE FROM STACK TO STACK > --> ANYONE THINK OF ANY OTHERS WHICH MIGHT CHANGE?? TIA!! > put "" into tData["id"] > put "" into tData["visited"] > put "" into tData["layer"] > > combine tData using cr and ":" > > --> SCRIPT OF OBJECT > put cr & the script of pObjID after tData > > --> CUSTOM PROP SETS AND CUSTOM PROPS > put the customPropertySets of pObjID into tCPlist > > repeat for each line L in tCPlist > --> NO NEED TO 'MATCH' REV'S IDE PROPS > if L is "cRevGeneral" then next repeat > > put the customProperties[L] of pObjID into tKeys > combine tKeys using cr and ":" > put cr & L & cr & tKeys after tData > end repeat > > return URLencode(md5digest(tData)) > > end altObjChecksum > > > Richard Gaskin wrote: > > Chipp Walters wrote: > > > >> Short of MD5digesting the concatenation of all properties, > scripts, > >> custom props and propsets of an object, *OR* MD5digesting a single > >> stack file with a specified object copied to it and saved > locally... > >> > >> Is there an *easier* way to create a checkSum for a single > RR object > >> that I'm missing? > > > > > > I had a similar need recently, and decided to go with the > MD5 of the > > props and custom props (the objects I was working on have > no scripts). > > If there's a better way I'd love to learn it, but for the > moment the > > MD5/props route works pretty well. > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From CSZASZ at kcs.kana.k12.wv.us Wed Jul 6 21:42:26 2005 From: CSZASZ at kcs.kana.k12.wv.us (CHARLES W SZASZ) Date: Wed, 06 Jul 2005 21:42:26 -0400 Subject: Scrolling list fields Message-ID: I am a Rev newbie. Two weeks ago I posted a message about creating an application that would calculate distance between schools using two scrolling list fields. The first scrolling list field is from a school and the second ?scrolling list field is to a school. It was suggested that I use custom properties. It was also suggested that the schools be numbered for each scrolling list field. For example School A would be 1, School B would be 2, etc. I have 80 schools and the distances for each of the schools to other schools. My question is how do I get the schools listed in numerical order or give them numbers in a scrolling list field? Charles Szasz Lead School Psychologist and Section 504 Coordinator Kanawha County Schools (304) 348-7770, Ext. 347 From alisterhp at mac.com Wed Jul 6 22:07:14 2005 From: alisterhp at mac.com (Alister Pillow) Date: Thu, 7 Jul 2005 11:37:14 +0930 Subject: Spotlight Message-ID: <4D04E080-57FA-4F96-8CE2-7220FB085244@mac.com> Hi, Has anyone tried out Spotlight searches with Revolution? I assumed that all text content would be included - but testing suggests that only Scripts are being indexed/searched. According to the Release notes for v2.6: > --- Spotlight support --- > > Use Spotlight to search within Revolution stacks on Mac OS Tiger. > This > feature is automatic and happens in the background. Regards, Alister. From mark at maseurope.net Wed Jul 6 22:11:45 2005 From: mark at maseurope.net (Mark Smith) Date: Thu, 7 Jul 2005 03:11:45 +0100 Subject: Scrolling list fields In-Reply-To: References: Message-ID: <2edb693f46f58f3fb343cbd6d3370b44@maseurope.net> Well, if it's a once only, set-up kind of thing, there's no reason not to simply type the numbers in as needed. To do it by script, on addNumbers repeat with n = 1 to the number of lines in fld "schoolList" put n & space before line n of fld "schoolList" end repeat end addNumbers Assuming that they've subsequently been jumbled up, then sort lines of fld "schoolList" numeric by word 1 of each will sort them. Or have I misunderstood the problem? Mark On 7 Jul 2005, at 02:42, CHARLES W SZASZ wrote: > I am a Rev newbie. Two weeks ago I posted a message about creating an > application that would > calculate distance between schools using two scrolling list fields. > The first scrolling list field is > from a school and the second ?scrolling list field is to a school. It > was suggested that I use > custom properties. It was also suggested that the schools be numbered > for each scrolling list > field. For example School A would be 1, School B would be 2, etc. I > have 80 schools and the > distances for each of the schools to other schools. My question is how > do I get the schools > listed in numerical order or give them numbers in a scrolling list > field? > > Charles Szasz > Lead School Psychologist and Section 504 Coordinator > Kanawha County Schools > (304) 348-7770, Ext. 347 > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Wed Jul 6 22:34:31 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 6 Jul 2005 22:34:31 -0400 Subject: Setting fonts In-Reply-To: References: <70416265-46BA-4688-8877-4DE2991B93A2@sosmartsoftware.com> Message-ID: I need to modify what I wrote before, quoted below. The text after the special-font (Courier) lines _does_ get set to whatever the new default or owner's font is -- UNLESS it (the lines without a specified contains any text _style_ changes. A bit in bold, or marked as a link, interrupts the transformation, and any text after that is in the old, pre-change default font. How should I get around this? I can imagine searching each card, putting any special-format text into temporary variables, setting the style of everything to Plain, changing the font, then reformatting . . . a nightmare. At the moment, nothing better is occurring to me. Charles Hartman On Jul 6, 2005, at 8:03 AM, Charles Hartman wrote: > Let me clarifiy: a field contains a dozen lines, let's say; the > first six and last four have been created using Palatino, with > Palatino as the stack font, so there's no font specification on any > of those lines. Lines 7-8 have had their Text Formatting properties > altered so their font is specified as Courier. Now in the main > stack's script I insert the line "set the textfont of me to > 'Arial'" and save and close the stack and its substacks and reopen. > Now on that example card, in that field, lines 1-6 are Arial, 7-8 > are Courier (all as expected) -- but lines 9-12 are still in Palatino. > From sarahr at genesearch.com.au Wed Jul 6 22:51:44 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 7 Jul 2005 12:51:44 +1000 Subject: Spotlight In-Reply-To: <4D04E080-57FA-4F96-8CE2-7220FB085244@mac.com> References: <4D04E080-57FA-4F96-8CE2-7220FB085244@mac.com> Message-ID: <01080E0A-B7DC-4EC6-9F05-ED3694867DC0@genesearch.com.au> > Has anyone tried out Spotlight searches with Revolution? I assumed > that all text content would be included - but testing suggests that > only Scripts are being indexed/searched. > > According to the Release notes for v2.6: > >> --- Spotlight support --- >> >> Use Spotlight to search within Revolution stacks on Mac OS Tiger. >> This >> feature is automatic and happens in the background. >> > From the Engine Change Log file: > Spotlight Plugin > ~~~~~~~~~~~~~~~~ > The engine now comes with a Spotlight meta-data imported. At > present, the importer sets the following data for indexing: > Title - set to the title of the main stack > Substacks - the list of substacks in the file > Text Content - a concatenation of all scripts in the stack. > > Note: the importer ignores stacks that have their password set Cheers, Sarah From jperryl at ecs.fullerton.edu Wed Jul 6 23:02:53 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 6 Jul 2005 20:02:53 -0700 (PDT) Subject: Setting fonts [OT..abit] In-Reply-To: <44DC0499-E938-4760-B8F5-031BE7DE02E9@sosmartsoftware.com> Message-ID: Really? Trebuchet MS isn't among the PC list? Judy On Wed, 6 Jul 2005, Eric Chatonet wrote: > For those interested... (as said Chipp :-) > > Here are the shared fonts between Mac OS X and Windows XP: > This does not mean that the result is exactly the same but these > following fonts "are among the lines of the fontNames" for each > platform. > > Arial (normal, black, narrow) > Century Gothic > Comic sans MS > Courier New > Georgia > Impact > Tahoma > Times New Roman > Verdana > Webdings > Wingdings > From kray at sonsothunder.com Wed Jul 6 23:26:48 2005 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 06 Jul 2005 22:26:48 -0500 Subject: difference between exists() & there is a In-Reply-To: <17b245820d21f417fb5c2a5496a2d9c8@elementarysoftware.com> Message-ID: > With regards to substacks (not files or folders) is there a reason to > choose one syntax over the other? > < there is a stack "foo" > or < exists(stack "foo") > Not AFAIK... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From ambassador at fourthworld.com Wed Jul 6 23:53:33 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Jul 2005 20:53:33 -0700 Subject: is it me? Message-ID: <42CCA73D.4090300@fourthworld.com> It seems that buttons of style default do not give any visual indication that they're being pressed in Tiger, even with the autoHilite set to true. Have any of you seen this? If you'll confirm I'll post to BZ... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarahr at genesearch.com.au Thu Jul 7 00:10:29 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 7 Jul 2005 14:10:29 +1000 Subject: is it me? In-Reply-To: <42CCA73D.4090300@fourthworld.com> References: <42CCA73D.4090300@fourthworld.com> Message-ID: > It seems that buttons of style default do not give any visual > indication that they're being pressed in Tiger, even with the > autoHilite set to true. > > Have any of you seen this? Checking this with a dialog in Safari containing one normal button & one default, this is what I get: with no mouse-click, default button pulses blue, other button just grey hold down mouse button on default button - pulsing stops hold down mouse button on other button - blue color leaves default button and moves to other button, but does not pulse. In Rev, the blue color does not leave the default button when another button is clicked, and the pulsing does not stop while clicked. Apart from these, OS X seems to allow for almost no feedback itself, so I'm not sure it is really a Rev problem. Cheers, Sarah From scott at tactilemedia.com Thu Jul 7 00:30:01 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 06 Jul 2005 21:30:01 -0700 Subject: is it me? In-Reply-To: <42CCA73D.4090300@fourthworld.com> Message-ID: Recently, Richard Gaskin wrote: > It seems that buttons of style default do not give any visual indication > that they're being pressed in Tiger, even with the autoHilite set to true. I've seen this for a while actually. Thought it was just me but it's definitely not a Tiger only thing (10.3.9 here). I've taken to using rectangular buttons to get feedback (hiliting) working. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From tereza at califex.com Thu Jul 7 02:00:31 2005 From: tereza at califex.com (Tereza Snyder) Date: Thu, 7 Jul 2005 01:00:31 -0500 Subject: Treeview control needed In-Reply-To: <200507070150.07611.b.alleyne@btinternet.com> References: <200507070150.07611.b.alleyne@btinternet.com> Message-ID: <2B6FB57D-2557-42C1-947A-99ACC451C29E@califex.com> On Jul 6, 2005, at 7:50 PM, Brian Alleyne wrote: > Hi > > Does anyone know where I can get a stack or external that implements a > treeview control? I've seen references on the various runrev > resources sites > but cannot seem to pinpoint an example. > > Cheers, > I have a reliable old tree field that's fairly efficient, and not XML, that works from tabbed text. Email me off list if you're interested. Tereza Snyder Califex Software, Inc. 800 Water Street Sauk City, WI 53583 608.643.2586 From Signe.Sanne at roman.uib.no Thu Jul 7 02:22:34 2005 From: Signe.Sanne at roman.uib.no (Signe Marie Sanne) Date: Thu, 07 Jul 2005 08:22:34 +0200 Subject: Programming multi line selections In-Reply-To: <1306042068.20050706215357@liv.ac.uk> References: <1306042068.20050706215357@liv.ac.uk> Message-ID: <42CCCA2A.50701@roman.uib.no> Rob Beynon skrev: > Colleagues, > > I have a small problem that is driving me nuts.. > > I have a series of lines in a field, and I want to program the > selection of those lines according to the last character of the > line...I wrote a button script thus... > > on mouseUp > select empty > put 0 into LineNo > repeat for each line peptide in card field "audit" > add 1 to LineNo > if char(length(peptide)-1) of peptide = "K" then select line LineNo of field "audit" > end repeat > end mouseUp Try if char -1 of peptide = "K" then select line LineNo of field "audit" -- Signe Marie Sanne 1. amanuensis/Senior lecturer Romansk institutt Tlf. +47 55 58 21 27 ?isteins gt. 1 Epost: signe.sanne at roman.uib.no Universitetet i Bergen http://www.hf.uib.no/mlab/Info/sms.html From eric.chatonet at sosmartsoftware.com Thu Jul 7 02:37:18 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 08:37:18 +0200 Subject: Scrolling list fields In-Reply-To: References: Message-ID: <7868442B-4DC0-4AA9-A070-E1E25A52625B@sosmartsoftware.com> Hi Charles, I saw the answer of Mark. If you don't want the user to see the numbers, you can use a list like the following using tabs: tab Set the tab-stops of the field to put the second item out of view. Sort your field with: set the itemDel to tab sort fld numeric by item 2 of each Hope this helps. Best Regards from Paris, Eric Chatonet. Le 7 juil. 05 ? 03:42, CHARLES W SZASZ a ?crit : > I am a Rev newbie. Two weeks ago I posted a message about creating > an application that would > calculate distance between schools using two scrolling list fields. > The first scrolling list field is > from a school and the second scrolling list field is to a school. > It was suggested that I use > custom properties. It was also suggested that the schools be > numbered for each scrolling list > field. For example School A would be 1, School B would be 2, etc. I > have 80 schools and the > distances for each of the schools to other schools. My question is > how do I get the schools > listed in numerical order or give them numbers in a scrolling list > field? ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bob.earp at ashford.ca Thu Jul 7 03:14:53 2005 From: bob.earp at ashford.ca (Robert J. Earp) Date: Thu, 07 Jul 2005 00:14:53 -0700 Subject: Embedding Fonts Message-ID: <42CCD66D.5020804@ashford.ca> Mark, thanks for the info however I'm looking primarily for a Win solution (as that's where pretty much all of my clients are) and it really does not help much having to mess around with loaders and registries and the like. A number of clients just don't want stuff loaded on their machines at all, and yes I know this does not make a lot of sense to some people. Somehow ToolBook does not do this, you simply tell it to embed a font and assuming you have the rights to the font then it allows you. Thanks again for the reply. best, Bob... >Assuming you have the rights to the fonts, lets focus on how this can >be done. Store the fonts in a custom property and spit them out to >the appropriate directory for each OS. This is really easy to do for >Macs. If you take a look at RevNet, you can download CS Fonts >Installer. It will give you an idea of how this can be done. >Windows requires certain registry settings to be made. I have not >taken the time to figure those out. Maybe someone here has and will >be able to provide the needed changes. A workaround is to use an >installer for your Windows fonts. I make the installer for the fonts >and them suck that up into a custom property. Spit it out and run >the installer if your app finds the needed fonts to be missing. > >I have done the above and it works perfectly. Let me know if you >need more details on this. If you would like to see it in action, >just write me off list and I will give you a code to unlock the fonts >we sell. > > >Mark Talluto >-- >CANELA Software >http://www.canelasoftware.com > -- 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.8.9/42 - Release Date: 06/07/2005 From eric.chatonet at sosmartsoftware.com Thu Jul 7 04:30:48 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 10:30:48 +0200 Subject: SelectionChanged issue Message-ID: <4537A83C-C626-447B-AEBA-CF723CAEBF03@sosmartsoftware.com> Hi all, When you click anywhere in the text of an editable field, selectionChanged is not sent by the engine (part of this behaviour is bugzilla #1057). A combination of selectionChanged and rawKeyUp does not allow to trap all events. So here is a best way than using a pending message (kind of 75-mm gun to shoot a spider as we say in French -:) to know if there is at least 1 selected char in a field and not only the insertion point blinking? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Thu Jul 7 04:34:35 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 7 Jul 2005 10:34:35 +0200 Subject: SelectionChanged issue In-Reply-To: <4537A83C-C626-447B-AEBA-CF723CAEBF03@sosmartsoftware.com> Message-ID: Hi Eric Just use the selectedchunk... You'll see the difference between one selected char and just an insertion point when word 4 of the selchunk <= than word 2 of the selchunk. If i remember correctly. Hope that answers it... On 07/07/2005 10:30:48 use-revolution-bounces wrote: >Hi all, > >When you click anywhere in the text of an editable field, >selectionChanged is not sent by the engine (part of this behaviour is >bugzilla #1057). >A combination of selectionChanged and rawKeyUp does not allow to trap >all events. >So here is a best way than using a pending message (kind of 75-mm gun >to shoot a spider as we say in French -:) to know if there is at >least 1 selected char in a field and not only the insertion point >blinking? > >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 site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Thu Jul 7 04:37:51 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 10:37:51 +0200 Subject: SelectionChanged issue In-Reply-To: References: Message-ID: <360393FF-4319-4F68-B2AB-27ABE4581FAB@sosmartsoftware.com> Hi Xavier, Thank you. You are right. But the problem is that I want to know that in real time to enable/ disable a button :-) Le 7 juil. 05 ? 10:34, xbury.cs at clearstream.com a ?crit : > Just use the selectedchunk... > > You'll see the difference between one selected char and just an > insertion > point > when word 4 of the selchunk <= than word 2 of the selchunk. If i > remember > correctly. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Thu Jul 7 04:41:09 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 7 Jul 2005 10:41:09 +0200 Subject: SelectionChanged issue In-Reply-To: <360393FF-4319-4F68-B2AB-27ABE4581FAB@sosmartsoftware.com> Message-ID: Then cover all the events possible (closefield, enterfield, etc...) Dont forget to "pass" the events... It's the best way. Im now aware of any problems. One other way which i use in a plugin is to send repeated checks with a timed send message. cheers Xavier On 07/07/2005 10:37:51 use-revolution-bounces wrote: >Hi Xavier, > >Thank you. >You are right. >But the problem is that I want to know that in real time to enable/ >disable a button :-) > >Le 7 juil. 05 ? 10:34, xbury.cs at clearstream.com a ?crit : > >> Just use the selectedchunk... >> >> You'll see the difference between one selected char and just an >> insertion >> point >> when word 4 of the selchunk <= than word 2 of the selchunk. If i >> remember >> correctly. > >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 site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Thu Jul 7 04:49:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 10:49:55 +0200 Subject: SelectionChanged issue In-Reply-To: References: Message-ID: Hi Xavier, Not any message is sent by the engine when you just click anywhere in the text of a field. My question was: Is there a best way than using a pending message (kind of 75-mm gun to shoot a spider as we say in French -:) to know in real time if there is at least 1 selected char in a field and not only the insertion point blinking? At the moment I use a pending message which checks if word 4 of the selectedChunk >= word 2 of the selectedChunk I would find a light solution :-) Le 7 juil. 05 ? 10:41, xbury.cs at clearstream.com a ?crit : > Then cover all the events possible (closefield, enterfield, etc...) > > Dont forget to "pass" the events... > > It's the best way. Im now aware of any problems. > > One other way which i use in a plugin is to send repeated checks > with a > timed send message. > > cheers > Xavier > > On 07/07/2005 10:37:51 use-revolution-bounces wrote: > >> Hi Xavier, >> >> Thank you. >> You are right. >> But the problem is that I want to know that in real time to enable/ >> disable a button :-) >> >> Le 7 juil. 05 ? 10:34, xbury.cs at clearstream.com a ?crit : >> >> >>> Just use the selectedchunk... >>> >>> You'll see the difference between one selected char and just an >>> insertion >>> point >>> when word 4 of the selchunk <= than word 2 of the selchunk. If i >>> remember >>> correctly. >>> >> >> 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 site http://www.sosmartsoftware.com/ >> Email eric.chatonet at sosmartsoftware.com/ >> Phone 33 (0)1 43 31 77 62 >> Mobile 33 (0)6 20 74 50 86 >> ---------------------------------------------------------------- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> > subscription > >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> > > > ----------------------------------------- > Visit us at http://www.clearstream.com > > IMPORTANT MESSAGE > > Internet communications are not secure and therefore Clearstream > International does not accept legal responsibility for the contents of > this message. > > The information contained in this e-mail is confidential and may be > legally privileged. It is intended solely for the addressee. If you > are > not the intended recipient, any disclosure, copying, distribution or > any action taken or omitted to be taken in reliance on it, is > prohibited and may be unlawful. Any views expressed in this e-mail are > those of the individual sender, except where the sender specifically > states them to be the views of Clearstream International or of any of > its affiliates or subsidiaries. > > END OF DISCLAIMER > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Thu Jul 7 04:53:00 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 7 Jul 2005 10:53:00 +0200 Subject: SelectionChanged issue In-Reply-To: Message-ID: I would say to use the mousewithin (the howitzer canon) or an idle message... Is the idle so bad? on idle get the selchunk if it is empty or myfield is not in it then pass idle end idle... a millisecond trigger should do the trick too... On 07/07/2005 10:49:55 use-revolution-bounces wrote: >Hi Xavier, > >Not any message is sent by the engine when you just click anywhere in >the text of a field. >My question was: >Is there a best way than using a pending message (kind of 75-mm gun >to shoot a spider as we say in French -:) to know in real time if >there is at least 1 selected char in a field and not only the >insertion point blinking? >At the moment I use a pending message which checks if word 4 of the >selectedChunk >= word 2 of the selectedChunk >I would find a light solution :-) > >Le 7 juil. 05 ? 10:41, xbury.cs at clearstream.com a ?crit : > >> Then cover all the events possible (closefield, enterfield, etc...) >> >> Dont forget to "pass" the events... >> >> It's the best way. Im now aware of any problems. >> >> One other way which i use in a plugin is to send repeated checks >> with a >> timed send message. >> >> cheers >> Xavier >> >> On 07/07/2005 10:37:51 use-revolution-bounces wrote: >> >>> Hi Xavier, >>> >>> Thank you. >>> You are right. >>> But the problem is that I want to know that in real time to enable/ >>> disable a button :-) >>> >>> Le 7 juil. 05 ? 10:34, xbury.cs at clearstream.com a ?crit : >>> >>> >>>> Just use the selectedchunk... >>>> >>>> You'll see the difference between one selected char and just an >>>> insertion >>>> point >>>> when word 4 of the selchunk <= than word 2 of the selchunk. If i >>>> remember >>>> correctly. >>>> >>> >>> Best Regards from Paris, >>> >>> Eric Chatonet. ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Thu Jul 7 05:07:39 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 11:07:39 +0200 Subject: SelectionChanged issue In-Reply-To: References: Message-ID: Xavier, Idle or mouseWithin are sent repeatedly by the engine. The delay is fixed according to the idleRate property (200 milliseconds by default) for both messages. Good to know... But here it does not interest me since I don't want a plugin to change this property within the user IDE and interfere with his/her own settings... Le 7 juil. 05 ? 10:53, xbury.cs at clearstream.com a ?crit : > I would say to use the mousewithin (the howitzer canon) or an idle > message... > > Is the idle so bad? > > on idle > get the selchunk > if it is empty or myfield is not in it then pass idle > end idle... > > a millisecond trigger should do the trick too... > > On 07/07/2005 10:49:55 use-revolution-bounces wrote: > >> Hi Xavier, >> >> Not any message is sent by the engine when you just click anywhere in >> the text of a field. >> My question was: >> Is there a best way than using a pending message (kind of 75-mm gun >> to shoot a spider as we say in French -:) to know in real time if >> there is at least 1 selected char in a field and not only the >> insertion point blinking? >> At the moment I use a pending message which checks if word 4 of the >> selectedChunk >= word 2 of the selectedChunk >> I would find a light solution :-) >> >> Le 7 juil. 05 ? 10:41, xbury.cs at clearstream.com a ?crit : >> >> >>> Then cover all the events possible (closefield, enterfield, etc...) >>> >>> Dont forget to "pass" the events... >>> >>> It's the best way. Im now aware of any problems. >>> >>> One other way which i use in a plugin is to send repeated checks >>> with a >>> timed send message. >>> >>> cheers >>> Xavier >>> >>> On 07/07/2005 10:37:51 use-revolution-bounces wrote: >>> >>> >>>> Hi Xavier, >>>> >>>> Thank you. >>>> You are right. >>>> But the problem is that I want to know that in real time to enable/ >>>> disable a button :-) >>>> >>>> Le 7 juil. 05 ? 10:34, xbury.cs at clearstream.com a ?crit : >>>> >>>> >>>> >>>>> Just use the selectedchunk... >>>>> >>>>> You'll see the difference between one selected char and just an >>>>> insertion >>>>> point >>>>> when word 4 of the selchunk <= than word 2 of the selchunk. If i >>>>> remember >>>>> correctly. >>>>> >>>>> >>>> >>>> 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Jul 7 06:00:42 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 12:00:42 +0200 Subject: [ANN][EN][FR] Encoded Text Picker enhanced Message-ID: <6564EC4F-2777-49FC-8DCB-C0EA30ED9DED@sosmartsoftware.com> Paris, Mon, 7 Jul 2005 12:00:00 +0100 ---------------------- English version ------------------------- Hello, After great feedbacks from users, I made interesting enhancements to the Encoded Text P?cker plugin released 2 days ago: What's new in version 1.2 : ? Interface revision. ? Addition of a font/size menu in the "Normal Text" section. ? Addition of a menu in the "HTML Text" section allowing to insert various tags. Encoded Text Picker 1.2 Category: HTML and URLencode translator Description: Ability to translate both to and from HTML and/or URLEncode. Integrated search and replace features (including tab and return.) Ability to determine text style and color. Copy function. Bilingual help (English/French) included. Identical appearance on all platforms. Enjoy, Best regards from Paris, Eric Chatonet. --------------------- Version fran?aise ------------------------ Bonjour, A la suite de commentaires pertinents ? propos de la version d'Encoded Text Picker parue il y a 2 jours, j'ai apport? diff?rentes am?liorations ? ce plugin : Quoi de neuf dans la version 1.2 : ? R?vision de l'interface. ? Ajout d'un menu dans la section "Normal Text" permettant de fixer la police et la taille de la s?lection. ? Ajout d'un menu dans la section "HTML Text" permettant d'ins?rer diff?rentes balises. Encoded Text Picker 1.2 Cat?gorie: Traducteur HTML et URLEncode Description: Traduction en tous sens depuis et vers les encodages HTML et URLEncode Recherche/remplacement int?gr?e (y compris tab et return). Commandes de style et de couleur du texte. Fonction copie. Pile d'aide bilingue (fran?ais/anglais) incluse. Apparence identique sur toutes les plates-formes. Bonnes d?couvertes, Cordialement, Eric Chatonet. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From charles.hartman at conncoll.edu Thu Jul 7 08:29:08 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 7 Jul 2005 08:29:08 -0400 Subject: Question on Geometry Message-ID: Is there a tutorial or overview of "Geometry" settings somewhere? Meanwhile I'm doing the old Try It & See. I've got a card with a field and a button (not grouped). If I set the Geometry of the field to "scale" and that of the button to "position", the combination doesn't stick. Apparently the two are tied together. That makes logical internal sense (the geometries of several items on a card are interdependent), but it doesn't make any sense from a UI standpoint. If the user resizes the card, it will be to make the field bigger, but making the button bigger just looks silly. What am I missing? Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From charles.hartman at conncoll.edu Thu Jul 7 08:33:29 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 7 Jul 2005 08:33:29 -0400 Subject: Setting fonts References: Message-ID: <4255DBC7-A113-4CD4-B092-B597A549CD91@conncoll.edu> (As far as I can tell this didn't go through when I sent it before.) I need to modify what I wrote before, quoted below. The text after the special-font (Courier) lines _does_ get set to whatever the new default or owner's font is -- UNLESS it (the lines without a specified contains any text _style_ changes. A bit in bold, or marked as a link, interrupts the transformation, and any text after that is in the old, pre-change default font. How should I get around this? I can imagine searching each card, putting any special-format text into temporary variables, setting the style of everything to Plain, changing the font, then reformatting . . . a nightmare. At the moment, nothing better is occurring to me. Charles Hartman On Jul 6, 2005, at 8:03 AM, Charles Hartman wrote: > Let me clarifiy: a field contains a dozen lines, let's say; the > first six and last four have been created using Palatino, with > Palatino as the stack font, so there's no font specification on any > of those lines. Lines 7-8 have had their Text Formatting properties > altered so their font is specified as Courier. Now in the main > stack's script I insert the line "set the textfont of me to > 'Arial'" and save and close the stack and its substacks and reopen. > Now on that example card, in that field, lines 1-6 are Arial, 7-8 > are Courier (all as expected) -- but lines 9-12 are still in Palatino. > From eric.chatonet at sosmartsoftware.com Thu Jul 7 09:05:15 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 15:05:15 +0200 Subject: Question on Geometry In-Reply-To: References: Message-ID: Hi Charles, You are a lucky man: I released 3 days ago a tutorial about geometry: Le 4 juillet 2005 ? 18:26:, Eric Chatonet a ?crit : > So Smart Software has the pleasure of announcing the availability > of a new tutorial: > How to Manage Resizing > > This stack explains how to position, scale, etc. all controls in a > card when the window is resized with the help of the Geometry > Manager or by scripting. > Tips and tricks, commented scripts, FAQ and example stacks. > Print function included. > > If you have already downloaded the Tutorials Picker plugin (from > Rev Online or my web-site), this 17th tutorial will appear > automatically in the list. > This tutorial can be downloaded as a zip archive separately from > http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en > Note that the version available through Tutorials Picker will be > the only one which will be updated if needed. Le 7 juil. 05 ? 14:29, Charles Hartman a ?crit : > Is there a tutorial or overview of "Geometry" settings somewhere? > > Meanwhile I'm doing the old Try It & See. I've got a card with a > field and a button (not grouped). If I set the Geometry of the > field to "scale" and that of the button to "position", the > combination doesn't stick. Apparently the two are tied together. > > That makes logical internal sense (the geometries of several items > on a card are interdependent), but it doesn't make any sense from a > UI standpoint. If the user resizes the card, it will be to make the > field bigger, but making the button bigger just looks silly. What > am I missing? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From tominjapan at excite.com Thu Jul 7 09:49:09 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Thu, 7 Jul 2005 09:49:09 -0400 (EDT) Subject: Running a Chat server via CGI Message-ID: <20050707134909.8E83F3BFF@xprdmailfe9.nwk.excite.com> I've got my rev chat server-client thing almost working. I was going to just run it off my desktop, but then I was given the opportunity to use some web-space and found that I could get a rev cgi engine up and working in no time--Weee! Now my question, before I waste mountains of time on this, what should I know? Can a cgi script write to sockets? My client-side will still be Rev stacks. any pointers would be appreciated tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From ridge11103 at btinternet.com Thu Jul 7 09:49:46 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Thu, 07 Jul 2005 14:49:46 +0100 Subject: [ANN][EN][FR] Encoded Text Picker enhanced In-Reply-To: <6564EC4F-2777-49FC-8DCB-C0EA30ED9DED@sosmartsoftware.com> Message-ID: I can't get v1.2 to put the HTML coding onto the clipboard. Instead it seems to be putting the text itself. This worked in v1.1, so... I don't think it's OS 9! Best wishes John From kray at sonsothunder.com Thu Jul 7 09:52:10 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Jul 2005 08:52:10 -0500 Subject: Setting fonts In-Reply-To: <4255DBC7-A113-4CD4-B092-B597A549CD91@conncoll.edu> Message-ID: > I need to modify what I wrote before, quoted below. > > The text after the special-font (Courier) lines _does_ get set to > whatever the new default or owner's font is -- UNLESS it (the lines > without a specified contains any text _style_ changes. A bit in bold, > or marked as a link, interrupts the transformation, and any text > after that is in the old, pre-change default font. That's correct. Inheritance of text attributes is broken as soon as any style changes. I wish it weren't so, but this is indeed the case. > How should I get around this? I can imagine searching each card, > putting any special-format text into temporary variables, setting the > style of everything to Plain, changing the font, then > reformatting . . . a nightmare. At the moment, nothing better is > occurring to me. I have successfully used a frontScript that would trap preOpenCard and then repeat through all of the fields and set their text attributes to a known common value, but also checking a custom property of the fields to see if special handling should occur for a particular field. It works really fast, and isn't too many lines of code. From kray at sonsothunder.com Thu Jul 7 09:55:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Jul 2005 08:55:06 -0500 Subject: Embedding Fonts In-Reply-To: <42CCD66D.5020804@ashford.ca> Message-ID: > Mark, thanks for the info however I'm looking primarily for a Win > solution (as that's where pretty much all of my clients are) and it > really does not help much having to mess around with loaders and > registries and the like. A number of clients just don't want stuff > loaded on their machines at all, and yes I know this does not make a lot > of sense to some people. Somehow ToolBook does not do this, you simply > tell it to embed a font and assuming you have the rights to the font > then it allows you. Yes, Flash and Director (among others) do the same thing... it would be a great advantage to have this in Rev also. Bob, if it's not already in Bugzilla as an enhancement request, I'd suggest you throw it in there. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bnz2 at cdc.gov Thu Jul 7 09:57:53 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 7 Jul 2005 09:57:53 -0400 Subject: Embedding Fonts Message-ID: <64878EF567131D4596246171F75FD4A946A324@m-epo-1.epo.cdc.gov> In order to acquire font information - revolution must look for a font file in some particular folder - right? Is there some IDE stack that is involved in doing this? If so, perhaps it could be altered to look for a font file in a different location, when requested to do so? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray Sent: Thursday, July 07, 2005 9:55 AM To: use-revolution at lists.runrev.com Subject: Re: Embedding Fonts > Mark, thanks for the info however I'm looking primarily for a Win > solution (as that's where pretty much all of my clients are) and it > really does not help much having to mess around with loaders and > registries and the like. A number of clients just don't want stuff > loaded on their machines at all, and yes I know this does not make a lot > of sense to some people. Somehow ToolBook does not do this, you simply > tell it to embed a font and assuming you have the rights to the font > then it allows you. Yes, Flash and Director (among others) do the same thing... it would be a great advantage to have this in Rev also. Bob, if it's not already in Bugzilla as an enhancement request, I'd suggest you throw it in there. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Jul 7 10:08:50 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 16:08:50 +0200 Subject: [ANN][EN][FR] Encoded Text Picker enhanced In-Reply-To: References: Message-ID: Hi John, The copy feature put the whole normal, HTML or URLEncoded text (or just the selection if there is one) on the clipboard. There are no fields especially dedicated to a kind of text: the same field is used for all. So, if you see HTML text in the Encoded Text Picker window, this HTML text should be on the clipboard. It acts exactly like that here. In addition, I made not any modification to this feature since version 1.0. So I wonder... May be you think you clicked on the Copy button but you did not ;-) More seriously, could you test further and let me know? Thank you. Le 7 juil. 05 ? 15:49, John Ridge a ?crit : > I can't get v1.2 to put the HTML coding onto the clipboard. Instead > it seems > to be putting the text itself. This worked in v1.1, so... 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From charles.hartman at conncoll.edu Thu Jul 7 10:12:45 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 7 Jul 2005 10:12:45 -0400 Subject: Setting fonts In-Reply-To: References: Message-ID: On Jul 7, 2005, at 9:52 AM, Ken Ray wrote: > > >> I need to modify what I wrote before, quoted below. >> >> The text after the special-font (Courier) lines _does_ get set to >> whatever the new default or owner's font is -- UNLESS it (the lines >> without a specified contains any text _style_ changes. A bit in bold, >> or marked as a link, interrupts the transformation, and any text >> after that is in the old, pre-change default font. >> > > That's correct. Inheritance of text attributes is broken as soon as > any > style changes. I wish it weren't so, but this is indeed the case. Oh dear. > > >> How should I get around this? I can imagine searching each card, >> putting any special-format text into temporary variables, setting the >> style of everything to Plain, changing the font, then >> reformatting . . . a nightmare. At the moment, nothing better is >> occurring to me. >> > > I have successfully used a frontScript that would trap preOpenCard > and then > repeat through all of the fields and set their text attributes to a > known > common value, but also checking a custom property of the fields to > see if > special handling should occur for a particular field. It works > really fast, > and isn't too many lines of code. > Cool. But (1) what about "special handling" that affects not a whole field but some chunks within the field? And (2) doesn't this approach take an awful lot of (that is, potentially a noticeable amount of) time? Charles Hartman > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From jperryl at ecs.fullerton.edu Thu Jul 7 10:23:17 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 7 Jul 2005 07:23:17 -0700 (PDT) Subject: Embedding Fonts In-Reply-To: Message-ID: Ken, Really? Director lets/let you embed fonts? (Sorry for continuing to look stoopid, but this was the first thing I asked of our program's 'Director Guru' in my edu-based MS program and he said 'no can do'... I guess I shouldn't be surprised??) Judy On Thu, 7 Jul 2005, Ken Ray wrote: > Yes, Flash and Director (among others) do the same thing... it would be a > great advantage to have this in Rev also. Bob, if it's not already in > Bugzilla as an enhancement request, I'd suggest you throw it in there. From gefisher at mac.com Thu Jul 7 10:26:54 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Thu, 7 Jul 2005 09:26:54 -0500 Subject: Question on Geometry Message-ID: at July 7, 2005 7:29:08 AM CDT Charles Hartman wrote: > Is there a tutorial or overview of "Geometry" settings somewhere? Try the "Geometry Manager" entries at this link: http://www.altuit.com/webs/altuit2/RunRev/VideoTutorials.htm HTH, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From richmond at mail.maclaunch.com Thu Jul 7 05:16:13 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Thu, 07 Jul 2005 05:16:13 -0400 Subject: embedding objects in scrolling fields & adolescents Message-ID: My experience with educational use of computers stretches back for years & with GUIs about 12 - so for what its worth this is why I think embedding objects in scrolling fields is a good thing: ['adolescents' is to be taken to mean pupils/students between 12 and 22 - no offence intended] On opening an educational multimedia program (such as those authored in Hypercard, RR, MC and so on) the first reaction is impulsive: the pupil clicks on every clickable thing in sight - all very interactive and guaranteeing that the amount of information absorbed by the pupil is minimal! If I wish my target audience to do some reading (OK, I know that in certain parts of the world reading is being played down - I am an old-fashioned reactionary) I have to find a way to stop the "mindless clicking" - there seem to be 2 solutions to this: 1. Just present windows filled with text alone . . . I have found (I've actually tried this!) that pupils go "off the boil" quicker than I can snap my fingers - a 19th century text book on-screen is a major turn-off. 2. Embed the 'jazzy buttons' in a scrollable text field and let the pupils know that the REWARD (Oh, No, not a behaviourist!) for reading the text will present itself in due course - admittedly some 'bright' pupil will just scroll down until he/she finds the clickables and miss out the reading. HOWEVER, I do believe that by embedding multimedia buttons / movie-players in the text this will minimise crazy clicking. While a large part of the world is hooked on the "I want it now" idea, and the servicing of the minimal attention span. I want to SLOW PUPILS DOWN so that they absorb information, see multimedia in a meaningful CONTEXT, and are forced to pay attention for more than a 2 second sound-bite. Sincerely, Richmond Mathewson __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From charles.hartman at conncoll.edu Thu Jul 7 10:33:48 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 7 Jul 2005 10:33:48 -0400 Subject: embedding objects in scrolling fields & adolescents In-Reply-To: References: Message-ID: Hear, hear! On Jul 7, 2005, at 5:16 AM, Mathewson wrote: > My experience with educational use of computers stretches > back for years & with GUIs about 12 - so for what its worth > this is why I think embedding objects in scrolling fields > is a good thing: > > ['adolescents' is to be taken to mean pupils/students > between 12 and 22 - no offence intended] > > On opening an educational multimedia program (such as those > authored in Hypercard, RR, MC and so on) the first reaction > is impulsive: the pupil clicks on every clickable thing in > sight - all very interactive and guaranteeing that the > amount of information absorbed by the pupil is minimal! > > If I wish my target audience to do some reading (OK, I know > that in certain parts of the world reading is being played > down - I am an old-fashioned reactionary) I have to find a > way to stop the "mindless clicking" - there seem to be 2 > solutions to this: > > 1. Just present windows filled with text alone . . . > I have found (I've actually tried this!) that pupils go > "off the boil" quicker than I can snap my fingers - a 19th > century text book on-screen is a major turn-off. > > 2. Embed the 'jazzy buttons' in a scrollable text field > and let the pupils know that the REWARD (Oh, No, not a > behaviourist!) for reading the text will present itself in > due course - admittedly some 'bright' pupil will just > scroll down until he/she finds the clickables and miss out > the reading. > > HOWEVER, I do believe that by embedding multimedia buttons > / movie-players in the text this will minimise crazy > clicking. > > While a large part of the world is hooked on the "I want it > now" idea, and the servicing of the minimal attention span. > I want to SLOW PUPILS DOWN so that they absorb information, > see multimedia in a meaningful CONTEXT, and are forced to > pay attention for more than a 2 second sound-bite. > > Sincerely, Richmond Mathewson > > __________________________________________________ > See Mathewson's software at: > > http://members.maclaunch.com/richmond/default.html > _______________________________________ > --------------------------------------------------------------- > The Think Different Store > http://www.thinkdifferentstore.com/ > For All Your Mac Gear > --------------------------------------------------------------- > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From klaus at major-k.de Thu Jul 7 10:43:33 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 7 Jul 2005 16:43:33 +0200 Subject: Embedding Fonts In-Reply-To: References: Message-ID: <76DEB15C-35E7-465A-8FC7-56CCF650D658@major-k.de> Hi Judy, > Ken, > > Really? Director lets/let you embed fonts? yes, and already when i touched Director the last time, which is now about 6 years ago (the year i discovered Metacard :-)... > (Sorry for continuing to look stoopid, but this was the first thing I > asked of our program's 'Director Guru' Sounds like he is just a con man ;-) > in my edu-based MS program and he > said 'no can do'... I guess I shouldn't be surprised??) > > Judy Best Klaus Major klaus at major-k.de http://www.major-k.de From userev at canelasoftware.com Thu Jul 7 13:01:22 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 7 Jul 2005 10:01:22 -0700 Subject: Embedding Fonts In-Reply-To: <42CCD66D.5020804@ashford.ca> References: <42CCD66D.5020804@ashford.ca> Message-ID: <392AE4C9-A699-4BE8-A716-0A6DE070A1E1@canelasoftware.com> On Jul 7, 2005, at 12:14 AM, Robert J. Earp wrote: > Mark, thanks for the info however I'm looking primarily for a Win > solution (as that's where pretty much all of my clients are) and it > really does not help much having to mess around with loaders and > registries and the like. A number of clients just don't want stuff > loaded on their machines at all, and yes I know this does not make > a lot of sense to some people. Somehow ToolBook does not do this, > you simply tell it to embed a font and assuming you have the rights > to the font then it allows you. I get it. The font is never installed in the first place with the TB method. A little slow I know. Sounds interesting. Mark Talluto -- CANELA Software http://www.canelasoftware.com From Ms1 at soas.ac.uk Thu Jul 7 13:11:24 2005 From: Ms1 at soas.ac.uk (Muaadh Salih) Date: Thu, 07 Jul 2005 17:11:24 +0000 Subject: linecolor Message-ID: <1120756284.c0bfe5a0Ms1@soas.ac.uk> How can one write a line script to set line color? We can set the linesize to a number but it seems we don't have such a property for line color any help ? From klaus at major-k.de Thu Jul 7 13:24:56 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 7 Jul 2005 19:24:56 +0200 Subject: linecolor In-Reply-To: <1120756284.c0bfe5a0Ms1@soas.ac.uk> References: <1120756284.c0bfe5a0Ms1@soas.ac.uk> Message-ID: Hi Muaadh, > How can one write a line script to set line color? > We can set the linesize to a number but it seems > we don't have such a property for line color > any help ? You can set the "linecolor" of Graphics, for other objects (like fields e.g.) you can set the "bordercolor" by script. Is that what you mean? Regards Klaus Major klaus at major-k.de http://www.major-k.de From rev at armbase.com Thu Jul 7 13:56:18 2005 From: rev at armbase.com (rev at armbase.com) Date: Thu, 07 Jul 2005 18:56:18 +0100 Subject: change font size Message-ID: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> Hi All I have a sript that inserts the name of a label on one stack, to that of the contents of a field on another stack. This works OK. I would like to change the font size (just like rev does in the text size bit of the inspector. I have a textfield (LabelNewTextsize) that the user can type in a value, I tried 24, and hoped that he text size would change to 24pt. But no luck. Any Ideas Regards Bob The script is below on mouseUp global tFileName set the text of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" set the name of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" set the textsize of field LabelName of stack tFileName to field LabelNewTextsize of stack "Armbase" --the above is OK and copies the label and changes its name to the contents of a field but the resize doesn't work end mouseUp From eric.chatonet at sosmartsoftware.com Thu Jul 7 14:01:16 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 20:01:16 +0200 Subject: change font size In-Reply-To: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> References: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> Message-ID: <7464C9EF-E99D-4834-B58C-660E0ECD8572@sosmartsoftware.com> Hi "armbase" :-), Probably the text size of your field is already set. So you could try this: set the textsize of char 1 to -1 of field LabelName of stack tFileName \ to field LabelNewTextsize of stack "Armbase" Hope this helps. Le 7 juil. 05 ? 19:56, rev at armbase.com a ?crit : > Hi All > I have a sript that inserts the name of a label on one stack, to > that of the > contents of a field on another stack. This works OK. > > I would like to change the font size (just like rev does in the > text size bit of > the inspector. I have a textfield (LabelNewTextsize) that the user > can type in a > value, I tried 24, and hoped that he text size would change to > 24pt. But no > luck. > > Any Ideas > Regards > Bob > > The script is below > > on mouseUp > global tFileName > set the text of field LabelName of stack tFileName to field > LabelNewName of > stack "Armbase" > set the name of field LabelName of stack tFileName to field > LabelNewName of > stack "Armbase" > set the textsize of field LabelName of stack tFileName to field > LabelNewTextsize of stack "Armbase" > --the above is OK and copies the label and changes its name to > the contents of > a field but the resize doesn't work > end mouseUp 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rev at armbase.com Thu Jul 7 14:03:38 2005 From: rev at armbase.com (rev at armbase.com) Date: Thu, 07 Jul 2005 19:03:38 +0100 Subject: change font size In-Reply-To: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> References: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> Message-ID: <1120759418.42cd6e7acf902@webmail.armbase.com> Quoting rev at armbase.com: > Hi All well just as I got it typed I came up with an idea. I used this script. > on mouseUp > global tFileName > set the text of field LabelName of stack tFileName to field LabelNewName of > stack "Armbase" > set the name of field LabelName of stack tFileName to field LabelNewName of > stack "Armbase" > set the textsize of field LabelName of stack tFileName to field > LabelNewTextsize of stack "Armbase" > --the above is OK and copies the label and changes its name to the contents > of > a field but the resize doesn't work > end mouseUp > New script on mouseUp global tFileName set the textsize of field LabelName of stack "Armbase" to field LabelNewTextsize of stack "Armbase" copy field "LabelName" of stack "Armbase" to card 1 of stack tFileName set the text of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" set the name of field LabelName of stack tFileName to field LabelNewName of stack "Armbase" --set the textsize of field LabelName of stack tFileName to field LabelNewTextsize of stack "Armbase" --the above is OK and copies the label and changes its name to the contents of a field but the resize doesn't work end mouseUp Now the problem with this is that the label is huge in the original stack. Any ideas about a cleaner workaround? I suppose I could create a prefernces stack for text etc. All the best Bob > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From rev at armbase.com Thu Jul 7 14:19:12 2005 From: rev at armbase.com (rev at armbase.com) Date: Thu, 07 Jul 2005 19:19:12 +0100 Subject: change font size In-Reply-To: <7464C9EF-E99D-4834-B58C-660E0ECD8572@sosmartsoftware.com> References: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> <7464C9EF-E99D-4834-B58C-660E0ECD8572@sosmartsoftware.com> Message-ID: <1120760352.42cd7220ecc2a@webmail.armbase.com> Quoting Eric Chatonet : > Hi "armbase" :-), Hi Eric Have you been over there? :-) Thanks for the idea. I think I'll make a preferences pane for label size, font and textsize now. Then an insert button for the user. Certainly your tip will be usefull. Cheers Bob; Sunny Scotland > > Probably the text size of your field is already set. > So you could try this: > > set the textsize of char 1 to -1 of field LabelName of stack tFileName \ > to field LabelNewTextsize of stack "Armbase" > > Hope this helps. > > Le 7 juil. 05 ? 19:56, rev at armbase.com a ?crit : > > > Hi All > > I have a sript that inserts the name of a label on one stack, to > > that of the > > contents of a field on another stack. This works OK. > > > > I would like to change the font size (just like rev does in the > > text size bit of > > the inspector. I have a textfield (LabelNewTextsize) that the user > > can type in a > > value, I tried 24, and hoped that he text size would change to > > 24pt. But no > > luck. > > > > Any Ideas > > Regards > > Bob > > > > The script is below > > > > on mouseUp > > global tFileName > > set the text of field LabelName of stack tFileName to field > > LabelNewName of > > stack "Armbase" > > set the name of field LabelName of stack tFileName to field > > LabelNewName of > > stack "Armbase" > > set the textsize of field LabelName of stack tFileName to field > > LabelNewTextsize of stack "Armbase" > > --the above is OK and copies the label and changes its name to > > the contents of > > a field but the resize doesn't work > > end mouseUp > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From howard.bornstein at gmail.com Thu Jul 7 14:29:53 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 7 Jul 2005 14:29:53 -0400 Subject: linecolor In-Reply-To: <200507071712.j67HCrId020167@ms-smtp-02.rdc-nyc.rr.com> References: <200507071712.j67HCrId020167@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc260507071129518e9c1c@mail.gmail.com> On 7/7/05, Muaadh Salih wrote: > How can one write a line script to set line color? > We can set the linesize to a number but it seems > we don't have such a property for line color > any help ? > If you're talking about setting the color of a text line, you can easily do this by: set the color of line 2 of fld "yourField" to "green" -- Regards, Howard Bornstein ----------------------- www.designeq.com From rjb at robelko.com Thu Jul 7 14:48:04 2005 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 7 Jul 2005 20:48:04 +0200 Subject: Programming multi line selections In-Reply-To: <8F7C6566-78E6-4A00-889E-55BE89C113B2@sosmartsoftware.com> References: <1306042068.20050706215357@liv.ac.uk> <8F7C6566-78E6-4A00-889E-55BE89C113B2@sosmartsoftware.com> Message-ID: >>Also, how do I deselect all lines before I start (select empty doesn;t >>seem to achieve this). >> >Hi Rob, > >When you select a line in a repeat loop, only the last found line >will appear selected :-) >Try to parse the lines by number and set the hilitedLines at the end: > > put 0 into LineNo > repeat for each line peptide in card field "audit" > add 1 to LineNo > if char -1 of peptide = "K" then put LineNo & comma after tHilitedLines > end repeat > delete char -1 of tHilitedLines > set the hilitedLines of field "audit" to tHilitedLines > The script from Eric will automatically unselect previous selection but in case you want to clear all yourself set the hilitedLines of fld "audit" to empty Robert From kray at sonsothunder.com Thu Jul 7 15:04:48 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Jul 2005 14:04:48 -0500 Subject: Setting fonts In-Reply-To: Message-ID: >> I have successfully used a frontScript that would trap preOpenCard >> and then >> repeat through all of the fields and set their text attributes to a >> known >> common value, but also checking a custom property of the fields to >> see if >> special handling should occur for a particular field. It works >> really fast, >> and isn't too many lines of code. >> > > Cool. But (1) what about "special handling" that affects not a whole > field but some chunks within the field? And (2) doesn't this approach > take an awful lot of (that is, potentially a noticeable amount of) time? Well, (1) if you needed to do that, you'd have to store the chunk you wanted to affect and how you wanted to affect it, like a custom property with: 1,5,bold 6,20,italic which would make the first 5 chars bold and the next 15 chars italic (I know, a bad example, but you know what I mean). (2) No, it doesn't (surprisingly). I have screens with a hundred+ objects on it and executing even something that repeats through the fields and sets their text attributes is very fast. Rev is well-suited to do this kind of stuff, it seems. From ridge11103 at btinternet.com Thu Jul 7 15:27:04 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Thu, 07 Jul 2005 20:27:04 +0100 Subject: [ANN][EN][FR] Encoded Text Picker enhanced In-Reply-To: Message-ID: on 7/7/05 3:08 pm, Eric Chatonet wrote : More seriously, could you test further and let me know? Thank you. ***************************** Must be finger trouble. I did test it several times, but obviously not enough.Test, test, then test again... Sorry! Best wishes John From eric.chatonet at sosmartsoftware.com Thu Jul 7 15:57:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 21:57:28 +0200 Subject: change font size In-Reply-To: <1120760352.42cd7220ecc2a@webmail.armbase.com> References: <1120758978.42cd6cc2ebbf1@webmail.armbase.com> <7464C9EF-E99D-4834-B58C-660E0ECD8572@sosmartsoftware.com> <1120760352.42cd7220ecc2a@webmail.armbase.com> Message-ID: <2CAFCE65-D0AD-4DCA-883B-4BB29B5AD4C0@sosmartsoftware.com> Yes, I was just looking over your shoulder :-) Did not you see me? Le 7 juil. 05 ? 20:19, rev at armbase.com a ?crit : > Hi Eric > > Have you been over there? :-) > > Thanks for the idea. I think I'll make a preferences pane for label > size, font > and textsize now. Then an insert button for the user. > > Certainly your tip will be useful. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gandalf at doctorTimothyMiller.com Thu Jul 7 16:06:19 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 7 Jul 2005 13:06:19 -0700 Subject: mark cards by finding -- a problem Message-ID: Hi, my name is Tim. I am a hair-ripper. I haven't ripped for, uh, three minutes. I'm stuck on this one. It's probably an obvious mistake but I've checked, triple checked, etc. find patientName in field "patient name" works fine. It finds the one record I expect it to find if I comment out that line and replace it with -- mark cards by finding patientName in bg field "patient name" -- no cards get marked. Oops. I just made it work. Feel free to jump to end of message. The in between part of the message might be a dull cautionary tale for newbies. It's possible this is a bug. If it's already well-known, or fixed in 2.6, well, I feel stupid. I suppose there's an easy way to look up well-known bugs in various versions. Anybody want to tell me how? I got as far as http://support.runrev.com/bugzilla/#searching and then "1. Click the "query existing bug reports and enhancement requests" link." Where the heck is the link? FWIW, here's the middle part: ***************************** I've checked the syntax. It looks okay. variable patientName contains what it is supposed to contain. It has to, or the plain "find" command wouldn't have worked. I've copied and pasted the variable name and the field name from the line that works to the line that doesn't work, just to make sure there were no misspellings or anything. No help. I tried adding go to card 1 of bg "record", so the script wouldn't try examining field "patient name" on card where it didn't exist. No help. On a lark, I tried mark cards where patientName = value(bg field "patient name") On another lark, I tried mark cards by finding value(patientName) in bg field "patient name" On a third lark I tried mark cards by finding "Jones, Bob" in bg field "patient name" None of the larks helped. I went back and tried find patientName in field "patient name" again. It works fine, just like before. ************************ End of middle part Here's how I got it to work: mark cards by finding string patientName in bg field "patient name" -- does work! This seems like a good example of the woeful state of the documentation. The documentation doesn't say that I can write "by finding string patientName". It doesn't say that it's a good idea to write the "mark cards by finding" command that way. I looked at the documentation again. It seems like "find normal" would have worked anyway. In fact, "find normal" does work for these fields and variables. Further investigation shows that "find string" and "find whole" also work. variable patientname and bg field "patient name" are exact matches in this case. Hmmm... I tried -- mark cards by finding whole patientName in bg field "patient name" -- This doesn't work. It should, as far as I can tell. I dunno, maybe it's a bug. But every time I think I've found a bug, it turns out I'm doing something wrong. Comments welcome Thank you for your kind concern. Tim From eric.chatonet at sosmartsoftware.com Thu Jul 7 16:16:49 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 22:16:49 +0200 Subject: mark cards by finding -- a problem In-Reply-To: References: Message-ID: Hi Timothy, Obviously you are coming from HyperCard... With Rev there are no "bg" fields (neither card fields) but only fields. Check the topics section in the docs named "Groups and Backgrounds" It might help you to understand how Rev handles "bgs"... which do not exist with Rev ;-) That's the reason why your script does not work. Le 7 juil. 05 ? 22:06, Timothy Miller a ?crit : > Hi, my name is Tim. I am a hair-ripper. I haven't ripped for, uh, > three minutes. > > I'm stuck on this one. It's probably an obvious mistake but I've > checked, triple checked, etc. > > find patientName in field "patient name" works fine. It finds the > one record I expect it to find > > if I comment out that line and replace it with -- > > mark cards by finding patientName in bg field "patient name" > > -- no cards get marked. > > Oops. I just made it work. Feel free to jump to end of message. > > The in between part of the message might be a dull cautionary tale > for newbies. > > It's possible this is a bug. If it's already well-known, or fixed > in 2.6, well, I feel stupid. I suppose there's an easy way to look > up well-known bugs in various versions. Anybody want to tell me how? > > I got as far as http://support.runrev.com/bugzilla/#searching and > then "1. Click the "query existing bug reports and enhancement > requests" link." Where the heck is the link? > > > > FWIW, here's the middle part: ***************************** > > I've checked the syntax. It looks okay. variable patientName > contains what it is supposed to contain. It has to, or the plain > "find" command wouldn't have worked. > > I've copied and pasted the variable name and the field name from > the line that works to the line that doesn't work, just to make > sure there were no misspellings or anything. No help. > > I tried adding > > go to card 1 of bg "record", so the script wouldn't try examining > field "patient name" on card where it didn't exist. No help. > > On a lark, I tried > > mark cards where patientName = value(bg field "patient name") > > On another lark, I tried mark cards by finding value(patientName) > in bg field "patient name" > > On a third lark I tried > > mark cards by finding "Jones, Bob" in bg field "patient name" > > None of the larks helped. > > I went back and tried > > find patientName in field "patient name" again. > > It works fine, just like before. > > > ************************ End of middle part > > Here's how I got it to work: > > mark cards by finding string patientName in bg field "patient name" > > -- does work! > > This seems like a good example of the woeful state of the > documentation. > > The documentation doesn't say that I can write "by finding string > patientName". It doesn't say that it's a good idea to write the > "mark cards by finding" command that way. > > I looked at the documentation again. It seems like "find normal" > would have worked anyway. In fact, "find normal" does work for > these fields and variables. Further investigation shows that "find > string" and "find whole" also work. > > variable patientname and bg field "patient name" are exact matches > in this case. > > Hmmm... I tried -- > > mark cards by finding whole patientName in bg field "patient name" > > -- This doesn't work. It should, as far as I can tell. > > I dunno, maybe it's a bug. But every time I think I've found a bug, > it turns out I'm doing something wrong. > > Comments welcome > > > Thank you for your kind concern. > > > Tim 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From katir at hindu.org Thu Jul 7 16:21:23 2005 From: katir at hindu.org (Sivakatirswami) Date: Thu, 7 Jul 2005 10:21:23 -1000 Subject: PDFs in QT Player -- Hot Links Challenge In-Reply-To: <42CC2C4E.6010503@chipp.com> References: <42CC2C4E.6010503@chipp.com> Message-ID: <97982758-2958-4311-B91D-DAB4398859C4@hindu.org> Chipp, 1) one would assume this requires the user has the acrobat plug-in for their browsers installed, right? 2) if the user has set a different browser as their default (e.g. I use FireFox on my mac... not Safari, though Safari is there...) will altBrowser still call the rendering engine? Question? Are the browser plug-ins that allow display of PDFs inside the browsers, written by Adobe? i.e. does the code for those plug ins comprise a proprietary "object".... what am I driving at? Well, why doesn't someone write a plug-in for Revolution to view PDF's directory without going through an embedded browser? (Hinduism Today would pay money for that...though I suspect there may be license issues with Adobe...) Re: > I'm confused: if all you want to do is see a PDF, you can use > Acrobat... Simple: Acrobat is not an environment for a true "enterprise" desktop client application where: 1) the PDF file is, while being the core content, only a single element in a larger scenario 2) you want to download files in the background, cache and save to hard drive. 3) deal with user registration for. 4) serve other media in separate windows. 5) offer interface of email i.e. do a host of other kinds of operations that only Rev can do... Sivakatirswami On Jul 06, 2005, at 9:09 AM, Chipp Walters wrote: > The new altBrowser for Tiger will open up PDF's within an > altBrowser window. (Works on PC's too). > > -Chipp > > Roger.E.Eller at sealedair.com wrote: > > >>> I'm confused: if all you want to do is see a PDF, you can use >>> Acrobat... >>> > > >> Yes, you could if that is your only objective. >> But -- not -- if you intend to display it -- inside -- a >> revolution application window on the Windows platform. >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Thu Jul 7 16:31:43 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Jul 2005 15:31:43 -0500 Subject: mark cards by finding -- a problem In-Reply-To: References: Message-ID: <42CD912F.1070902@hyperactivesw.com> On 7/7/05 3:16 PM, Eric Chatonet wrote: > Hi Timothy, > > Obviously you are coming from HyperCard... > With Rev there are no "bg" fields (neither card fields) but only fields. > Check the topics section in the docs named "Groups and Backgrounds" > It might help you to understand how Rev handles "bgs"... which do not > exist with Rev ;-) Sometimes that is true, but Tim's stacks are HyperCard ports and they have the HCAddressing set to true. That means it acts like HC and there are background fields and card fields, as well as bg buttons and card buttons. All HC imports act this way unless you change it. One reason the "find" command may not be working is if the script is refering to a bg group that isn't placed on the current card. Tim: the best thing to do is check "the result" after using the find command and see what it says. The cause of the error should be in there. I've used "mark cards by finding" a lot without any problem, so there is something else going on. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Thu Jul 7 16:56:42 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 7 Jul 2005 13:56:42 -0700 Subject: mark cards by finding -- a problem In-Reply-To: References: Message-ID: >Hi Timothy, > >Obviously you are coming from HyperCard... >With Rev there are no "bg" fields (neither card fields) but only fields. >Check the topics section in the docs named "Groups and Backgrounds" >It might help you to understand how Rev handles "bgs"... which do >not exist with Rev ;-) >That's the reason why your script does not work. > Hi Eric, Actually, I tried it with and without "bg". It failed in both cases. Other scripts work with and without "bg" before "field", as long as the field belongs to a group. find patientname in field "patient name" and find patientName in bg field "patient name" both work equally well. Just to make sure, I just tested that. mark cards by finding string tempPtName in bg field "patient name" also works. I admit it might be good practice to leave the "bg" out. I suppose Rev ignores it. Sorry to be contrary :-) Any other thoughts? Cheers, Tim From eric.chatonet at sosmartsoftware.com Thu Jul 7 17:02:06 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Jul 2005 23:02:06 +0200 Subject: mark cards by finding -- a problem In-Reply-To: <42CD912F.1070902@hyperactivesw.com> References: <42CD912F.1070902@hyperactivesw.com> Message-ID: <0738F342-2DC3-44D7-929A-D2E39B390962@sosmartsoftware.com> Hi Jacque, I did not think of that :-( As for me, I never ported any stack from HC to Rev (and I wrote hundreds): I used too many externals. I take the opportunity to tell to all "newcomers" how they would benefit from all powerful Rev features by trying to re-write their stacks with Rev instead of porting them :-) Le 7 juil. 05 ? 22:31, J. Landman Gay a ?crit : > On 7/7/05 3:16 PM, Eric Chatonet wrote: > > >> Hi Timothy, >> Obviously you are coming from HyperCard... >> With Rev there are no "bg" fields (neither card fields) but only >> fields. >> Check the topics section in the docs named "Groups and Backgrounds" >> It might help you to understand how Rev handles "bgs"... which do >> not exist with Rev ;-) >> > > Sometimes that is true, but Tim's stacks are HyperCard ports and > they have the HCAddressing set to true. That means it acts like HC > and there are background fields and card fields, as well as bg > buttons and card buttons. All HC imports act this way unless you > change it. > > One reason the "find" command may not be working is if the script > is refering to a bg group that isn't placed on the current card. > > Tim: the best thing to do is check "the result" after using the > find command and see what it says. The cause of the error should be > in there. I've used "mark cards by finding" a lot without any > problem, so there is something else going on. > > -- > Jacqueline Landman Gay 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gandalf at doctorTimothyMiller.com Thu Jul 7 17:03:04 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 7 Jul 2005 14:03:04 -0700 Subject: mark cards by finding -- a problem In-Reply-To: <42CD912F.1070902@hyperactivesw.com> References: <42CD912F.1070902@hyperactivesw.com> Message-ID: >On 7/7/05 3:16 PM, Eric Chatonet wrote: > >>Hi Timothy, >> >>Obviously you are coming from HyperCard... >>With Rev there are no "bg" fields (neither card fields) but only fields. >>Check the topics section in the docs named "Groups and Backgrounds" >>It might help you to understand how Rev handles "bgs"... which do >>not exist with Rev ;-) > >Sometimes that is true, but Tim's stacks are HyperCard ports and >they have the HCAddressing set to true. That means it acts like HC >and there are background fields and card fields, as well as bg >buttons and card buttons. All HC imports act this way unless you >change it. Hi Jacque, Wow! Now I know about turning on hyperCard addressing! Ya learn something new every day. You're right of course. hyperCard addressing is turned on. > >One reason the "find" command may not be working is if the script is >refering to a bg group that isn't placed on the current card. I thought of that. I tried adding an extra line -- go to card 1 of bg "" -- so I could be sure that the script would find field "patient information" on the first try. That didn't help either. > >Tim: the best thing to do is check "the result" after using the find >command and see what it says. Good thought. I did think of that, too. I'm getting better at this . The result was empty in every case. It's starting to sound more like a bug. Or maybe my copy of Rev is corrupted. I don't know how often that happens. Best regards, Tim >The cause of the error should be in there. I've used "mark cards by >finding" a lot without any problem, so there is something else going >on. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From M.Lange at ed.ac.uk Thu Jul 7 17:52:12 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Thu, 07 Jul 2005 22:52:12 +0100 Subject: PDFs in QT Player -- Hot Links Challenge Message-ID: <1120773132.42cda40c6c97b@staffmail.ed.ac.uk> >Question? Are the browser plug-ins that allow display of PDFs inside >the browsers, written by Adobe? i.e. does the code for those plug ins >comprise a proprietary "object".... what am I driving at? Well, why >doesn't someone write a plug-in for Revolution to view PDF's >directory without going through an embedded browser? >(Hinduism Today would pay money for that...though I suspect there may >be license issues with Adobe...) Have a look at this: http://www.schubert-it.com/pluginpdf/ For the mac... works perfectly (worked before safari embedded pdf). To my knowledge, not written by adobe (Kagi link). Best, Marielle From jacque at hyperactivesw.com Thu Jul 7 17:54:42 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Jul 2005 16:54:42 -0500 Subject: mark cards by finding -- a problem In-Reply-To: References: <42CD912F.1070902@hyperactivesw.com> Message-ID: <42CDA4A2.5040806@hyperactivesw.com> On 7/7/05 4:03 PM, Timothy Miller wrote: > The result was empty in every case. Hm. So it is. I guess "mark" doesn't fill the result like "find" does. > > It's starting to sound more like a bug. Or maybe my copy of Rev is > corrupted. I don't know how often that happens. Virtually never. I don't think it is a bug either, as it works fine here (with or without the "bg" designation.) It has to be something else. If you can, try it on some other stack with no other scripts if you have such a beast around, like an address book stack or something. Or do it from the message box like this: lock messages;mark cds by finding "name literal" in fld "patientname" That will avoid interaction with any existing scripts, so see if that works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From M.Lange at ed.ac.uk Thu Jul 7 18:17:06 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Thu, 07 Jul 2005 23:17:06 +0100 Subject: Scrolling list fields Message-ID: <1120774626.42cda9e2d0a26@staffmail.ed.ac.uk> >I am a Rev newbie. Two weeks ago I posted a message about creating an application >that would calculate distance between schools using two scrolling list fields. >The first scrolling list field is from a school and the second scrolling list >field is to a school. It was suggested that I use custom properties. It was >also suggested that the schools be numbered for each scrolling list field. For >example School A would be 1, School B would be 2, etc. I have 80 schools and >the distances for each of the schools to other schools. My question is how do I >get the schools listed in numerical order or give them numbers in a scrolling >list field? Dear Charles, If you need sorting, then you can opt for a scrolling list with Why do you opt for scrolling fields rather than a neat table presentation, as found on maps: 1 2 3 4 5 6 1 x y z 2 3 4 Granted, 80 entries is too long for such a representation. [note however that you could consider having your table data inside a scrolling field with hbar and vbar and the title bars outside of this scrolling field (eventually with , as an equivalent of the "freeze field" in excel]. For a solution based on two vertical scrolling fields, storing your data like this, on a card not shown to the user makes the values very easy to retrieve. You create the table, you create a small script to read the first line of the table and use it to populate your scrolling field for from and your scrolling field for to. At the same time, you use it to populate an array converting tab position into a numerical identifier, with numID["school"], numID["school] I really recommend creating the numID on the fly and using the table storage, simply because it minimizes the possibility for errors if you happen to need to add an extra school or remove one from the list (you can easily cut and paste your distance data from an excel table, and in excel add a column of data or remove one). After that, you call to the data with set itemDelimiter to tab put the selectedline of field "fromSchool" into tFrom put the selectedline of field "toSchool" into tTo put item (numID[tFrom]) of line (numID[tTo]) into tDistance. And it's done. Hope this helps, Marielle From M.Lange at ed.ac.uk Thu Jul 7 18:30:19 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Thu, 07 Jul 2005 23:30:19 +0100 Subject: Setting fonts Message-ID: <1120775419.42cdacfb17159@staffmail.ed.ac.uk> >Strangely, though, in the recent thread about changing text size in a >field, preserving relative sizes of styled text, I came across the same >thing, where changing the textSize of a field affected only the >unstyled text before a block of styled text, but not the unstyled text >after.... >However, the problem went away, without me doing anything about it, and >from the test just now, seems to be staying away. This must be a bug, >so worth bugzilla-ing, but if it's intermittent, it'll be a bitch to >solve... Feel free to check out the presentation styler palette: go stack url "http://revolution.lexicall.org/stacks/education/tools_plugins/presentationstyler.rev" I played with text formatting the way you suggest... I vaguely remember I came across the same problem and I believe I came up with a satisfactory "work around". Marielle http://revolution.lexicall.org/wiki/ Wiki of the revolution in education community From gandalf at doctorTimothyMiller.com Thu Jul 7 18:34:58 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 7 Jul 2005 15:34:58 -0700 Subject: mark cards by finding -- a problem In-Reply-To: <42CDA4A2.5040806@hyperactivesw.com> References: <42CD912F.1070902@hyperactivesw.com> <42CDA4A2.5040806@hyperactivesw.com> Message-ID: Jacque replies: > > > It's starting to sound more like a bug. Or maybe my copy of Rev is >> corrupted. I don't know how often that happens. > >Virtually never. I don't think it is a bug either, as it works fine >here (with or without the "bg" designation.) It has to be something >else. If you can, try it on some other stack with no other scripts >if you have such a beast around, like an address book stack or >something. > >Or do it from the message box like this: > >lock messages;mark cds by finding "name literal" in fld "patientname" > >That will avoid interaction with any existing scripts, so see if that works. Excellent idea, Jacque. You do know your business! Different stack: >Unmark all cards >lock messages >mark cards by finding "Jones, Bob" in bg field "daily7" >answer the number of marked cards Three marked cards. Same stack: >put "Jones, Bob" into theVar >unmark all cards >lock messages >mark cards by finding theVar in bg field "daily7" >answer the number of marked cards Three marked cards, again. I'm pretty sure three is the correct number of hits. I don't know what to think. I've described the laborious troubleshooting I did on the other script. I'm out of ideas. In the other script, the problem script, -- mark cards by finding string patientName in field "patient name" -- works just fine. "Find string" is a better way to do it anyway, because it excludes some extraneous characters that might appear in that field. I'm inclined to leave well enough alone, unless someone has some good troubleshooting ideas. If I'm making a mistake, I'd like to learn from it. It might not happen this time. It's hard to imagine why find in would work, but -- mark cards by finding in -- wouldn't work. It's even harder to imagine why the "mark cards by finding..." command would work right in one script, or stack, but not another. It seems possible it's just one of those obscure quirks hidden in the dark recesses of every complex application. Best regards, Tim From M.Lange at ed.ac.uk Thu Jul 7 18:45:35 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Thu, 07 Jul 2005 23:45:35 +0100 Subject: Setting fonts Message-ID: <1120776335.42cdb08f62c37@staffmail.ed.ac.uk> Keith Martin Technical Editor, MacUser magazine Dear Keith, Any chance to see a 2-3 pages tutorial on how to use revolution to create applications with revolution in your excellent magazine? I have come across rave reviews on revolution in mac journals, but not yet across cool tutorials. Marielle From jacque at hyperactivesw.com Thu Jul 7 18:46:44 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Jul 2005 17:46:44 -0500 Subject: mark cards by finding -- a problem In-Reply-To: References: <42CD912F.1070902@hyperactivesw.com> <42CDA4A2.5040806@hyperactivesw.com> Message-ID: <42CDB0D4.9020500@hyperactivesw.com> On 7/7/05 5:34 PM, Timothy Miller wrote: > It's hard to imagine why > > find in > > would work, but -- > > mark cards by finding in > > -- wouldn't work. > > It's even harder to imagine why the "mark cards by finding..." command > would work right in one script, or stack, but not another. It could be some text anomaly. I'd suspect an invisible leading character in front of the patient name in the field or something like that. "Find" only finds the beginnings of words, "find string" finds the string anywhere. So if "find string" works, then there must be a non-matching character at the front of one of the words. I know this doesn't make sense if "find" works okay without marking, but it is something to check anyway. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gandalf at doctorTimothyMiller.com Thu Jul 7 19:04:22 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 7 Jul 2005 16:04:22 -0700 Subject: mark cards by finding -- a problem In-Reply-To: <42CDB0D4.9020500@hyperactivesw.com> References: <42CD912F.1070902@hyperactivesw.com> <42CDA4A2.5040806@hyperactivesw.com> <42CDB0D4.9020500@hyperactivesw.com> Message-ID: Jacque replies: >On 7/7/05 5:34 PM, Timothy Miller wrote: > >> It's hard to imagine why >> >> find in >> >> would work, but -- >> >> mark cards by finding in >> >> -- wouldn't work. >> >> It's even harder to imagine why the "mark cards by finding..." command >> would work right in one script, or stack, but not another. > >It could be some text anomaly. I'd suspect an invisible leading >character in front of the patient name in the field or something >like that. "Find" only finds the beginnings of words, "find string" >finds the string anywhere. So if "find string" works, then there >must be a non-matching character at the front of one of the words. > >I know this doesn't make sense if "find" works okay without marking, >but it is something to check anyway. > That's a good thought. I did check for leading and trailing spaces, and extra internal spaces. That wasn't the problem. Invisible characters might have been an issue. However, I just checked out the possibility of invisible characters. Variable patientName originates in another field, in another stack. I went back to the original field, used the msg box to put empty into it, and then carefully retyped the name that becomes variable patientName. No change. "mark cards by finding..." still doesn't work. "mark cards by finding string..." still does. I just checked out the possibility that somehow the script inserted an invisible character into the variable. The number of characters in the variable patientName is as it should be. Would some invisible characters not get counted in -- answer the number of chars in patientName ? Keep on smiling, Tim From M.Lange at ed.ac.uk Thu Jul 7 19:19:52 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Fri, 08 Jul 2005 00:19:52 +0100 Subject: Making Revolution faster using dimensioned arrays Message-ID: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> Hi Dennis, Sorry, I am not in favour of this if this means that I would loose the possibility to index arrays with text or to have to specify the array size in advance. Personally, I need to index with text parts that I don't know in advance what the size of the array will be. With this type of constraint, the solution you suggest in fact considerably slows down the programs I write. My experience with a program doing exactly the same thing: Visual Basic 5 hours (which does *exactly* what you request, Awk 10 min which does *exactly* what you complain about. Gawk does it very fast without the need for any of these two options. Look at this link, for evidence: http://www.cs.wustl.edu/~loui/sigplan "Two pearls in GAWK: its regular expressions and its associative arrays." By chance, could SQLlite help to speed up your array processing? (after all, a database with two columns of data is just another representation for an array and you can apply a formula to transform the values of one column) Marielle To all the speed freaks, I know that I have pushed for faster array processing and have even proposed an "Array sub-processor" as a possible solution. However, after giving this much thought, I don't believe that a separate array sub-processor is needed to solve the problem of speed. Transcript could provide the speed needed for processing arrays in a simpler way. If Transcript had an array declaration command that allowed the user to fix the dimensions and data size/type for an array and limited the "keys" to integer indexes, then high speed array processing could be built-in. From jbondy at sover.net Thu Jul 7 19:26:46 2005 From: jbondy at sover.net (Jon) Date: Thu, 07 Jul 2005 19:26:46 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> References: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> Message-ID: <42CDBA36.9010004@sover.net> Marielle: I did not interpret Dennis' suggestion as meaning that ALL arrays would henceforth ONLY have integer indices; rather, I think he was suggesting that a NEW type of array be created which had this attribute. All of the old code would still work. :) Jon Marielle Lange wrote: >Hi Dennis, > >Sorry, I am not in favour of this if this means that I would loose the >possibility to index arrays with text or to have to specify the array size in >advance. > >Personally, I need to index with text parts that I don't know in advance what >the size of the array will be. With this type of constraint, the solution you >suggest in fact considerably slows down the programs I write. My experience >with a program doing exactly the same thing: Visual Basic 5 hours (which does >*exactly* what you request, Awk 10 min which does *exactly* what you complain >about. > >Gawk does it very fast without the need for any of these two options. >Look at this link, for evidence: http://www.cs.wustl.edu/~loui/sigplan >"Two pearls in GAWK: its regular expressions and its associative arrays." > >By chance, could SQLlite help to speed up your array processing? (after all, a >database with two columns of data is just another representation for an array >and you can apply a formula to transform the values of one column) > >Marielle > > >To all the speed freaks, > >I know that I have pushed for faster array processing and have even >proposed an "Array sub-processor" as a possible solution. However, >after giving this much thought, I don't believe that a separate array >sub-processor is needed to solve the problem of speed. Transcript >could provide the speed needed for processing arrays in a simpler way. > >If Transcript had an array declaration command that allowed the user >to fix the dimensions and data size/type for an array and limited the >"keys" to integer indexes, then high speed array processing could be >built-in. >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From revdan at danshafer.com Thu Jul 7 19:49:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 7 Jul 2005 16:49:00 -0700 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <42CDBA36.9010004@sover.net> References: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> <42CDBA36.9010004@sover.net> Message-ID: <06CD5B19-5680-49A6-B523-4DBEF2B623A9@danshafer.com> And if we had an array OBJECT, we could subclass it to get what we really want. Ahem. Dan On Jul 7, 2005, at 4:26 PM, Jon wrote: > Marielle: > > I did not interpret Dennis' suggestion as meaning that ALL arrays > would henceforth ONLY have integer indices; rather, I think he was > suggesting that a NEW type of array be created which had this > attribute. All of the old code would still work. > > :) > > Jon > > > Marielle Lange wrote: > > >> Hi Dennis, >> >> Sorry, I am not in favour of this if this means that I would loose >> the >> possibility to index arrays with text or to have to specify the >> array size in >> advance. >> >> Personally, I need to index with text parts that I don't know in >> advance what >> the size of the array will be. With this type of constraint, the >> solution you >> suggest in fact considerably slows down the programs I write. My >> experience >> with a program doing exactly the same thing: Visual Basic 5 hours >> (which does >> *exactly* what you request, Awk 10 min which does *exactly* what >> you complain >> about. >> >> Gawk does it very fast without the need for any of these two options. >> Look at this link, for evidence: http://www.cs.wustl.edu/~loui/ >> sigplan >> "Two pearls in GAWK: its regular expressions and its associative >> arrays." >> >> By chance, could SQLlite help to speed up your array processing? >> (after all, a >> database with two columns of data is just another representation >> for an array >> and you can apply a formula to transform the values of one column) >> >> Marielle >> >> >> To all the speed freaks, >> >> I know that I have pushed for faster array processing and have even >> proposed an "Array sub-processor" as a possible solution. However, >> after giving this much thought, I don't believe that a separate array >> sub-processor is needed to solve the problem of speed. Transcript >> could provide the speed needed for processing arrays in a simpler >> way. >> >> If Transcript had an array declaration command that allowed the user >> to fix the dimensions and data size/type for an array and limited the >> "keys" to integer indexes, then high speed array processing could be >> built-in. >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sarahr at genesearch.com.au Thu Jul 7 19:53:50 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 8 Jul 2005 09:53:50 +1000 Subject: Treeview control needed In-Reply-To: <2B6FB57D-2557-42C1-947A-99ACC451C29E@califex.com> References: <200507070150.07611.b.alleyne@btinternet.com> <2B6FB57D-2557-42C1-947A-99ACC451C29E@califex.com> Message-ID: > I have a reliable old tree field that's fairly efficient, and not > XML, that works from tabbed text. Email me off list if you're > interested. > Hi Tereza, I'd love to have a look at your tree stack if possible. Thanks, Sarah *************************** Sarah Reichelt sarah at troz.net http://www.troz.net/Rev/ *************************** From ambassador at fourthworld.com Thu Jul 7 19:57:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 07 Jul 2005 16:57:43 -0700 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <06CD5B19-5680-49A6-B523-4DBEF2B623A9@danshafer.com> References: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> <42CDBA36.9010004@sover.net> <06CD5B19-5680-49A6-B523-4DBEF2B623A9@danshafer.com> Message-ID: <42CDC177.7010101@fourthworld.com> Dan Shafer wrote: > And if we had an array OBJECT, we could subclass it to get what we > really want. What would such code look like? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From see3d at writeme.com Thu Jul 7 20:41:47 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 07 Jul 2005 20:41:47 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> References: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> Message-ID: On Jul 7, 2005, at 7:19 PM, Marielle Lange wrote: > Hi Dennis, > > Sorry, I am not in favour of this if this means that I would loose the > possibility to index arrays with text or to have to specify the > array size in > advance. Marielle, I also use the current array capabilities and do not want to lose anything we have. In fact I am in favor of expanding them further. What I propose is a different array organization that is optimized for execution speed and space efficiency at the cost of a more restricted organizational flexibility. The restrictions would only occur if you wanted to make this tradeoff for a particular array. There are many problems that would benefit from this, but not all. Mathematical problems would benefit from the packed arrays I propose, while many indexing and database like problems benefit from the sparse arrays we now have. Dennis From see3d at writeme.com Thu Jul 7 20:45:35 2005 From: see3d at writeme.com (Dennis Brown) Date: Thu, 07 Jul 2005 20:45:35 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <06CD5B19-5680-49A6-B523-4DBEF2B623A9@danshafer.com> References: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> <42CDBA36.9010004@sover.net> <06CD5B19-5680-49A6-B523-4DBEF2B623A9@danshafer.com> Message-ID: <55AEACDB-70C8-4FF9-A0C3-D3C6FCC548EA@writeme.com> On Jul 7, 2005, at 7:49 PM, Dan Shafer wrote: > And if we had an array OBJECT, we could subclass it to get what we > really want. Dan, This is an interesting concept. Would an array object have a spreadsheet as its visual representation? Dennis From gandalf at doctorTimothyMiller.com Thu Jul 7 21:34:42 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 7 Jul 2005 18:34:42 -0700 Subject: mark cards by finding -- a problem Message-ID: I previously wrote, in reply to Jacque: At 6:31 PM -0700 7/7/05, Timothy Miller wrote: >I just checked out the possibility that somehow the script inserted >an invisible character into the variable. The number of characters >in the variable patientName is as it should be. > >Would some invisible characters not get counted in -- > >answer the number of chars in patientName ? I forgot to mention, I tried adding set lockmessages to true in the line before the problem "mark cards by finding..." line. That didn't make the command behave properly either. It's possible the thread will die here. I won't ask again, but if anyone else has any ideas, or troubleshooting suggestions, I'll keep an eye on this list. Tim From martyknapp at comcast.net Thu Jul 7 21:41:24 2005 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 07 Jul 2005 18:41:24 -0700 Subject: mark cards by finding -- a problem In-Reply-To: References: Message-ID: <42CDD9C4.7000302@comcast.net> Re: mark cards by finding I came in late on this, so this may have already been suggested-- Have you checked the properties for the field(s) you're searching in to make sure that the "Find command ignores" option is deselected? -- Marty Knapp From jacque at hyperactivesw.com Thu Jul 7 22:40:24 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Jul 2005 21:40:24 -0500 Subject: mark cards by finding -- a problem In-Reply-To: References: Message-ID: <42CDE798.2080107@hyperactivesw.com> On 7/7/05 8:34 PM, Timothy Miller wrote: >> I just checked out the possibility that somehow the script inserted an >> invisible character into the variable. The number of characters in the >> variable patientName is as it should be. Hm. So the text is okay. You could try setting a breakpoint in the handler and walking through it in the debugger to make sure the command is actually executing. That's about all I can think of. (Although if you've already tried the command from the message box, you already know it executed.) If it works in other stacks but not in this one, then there has to be something different about this stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From chipp at chipp.com Thu Jul 7 22:42:51 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 07 Jul 2005 21:42:51 -0500 Subject: revDeleteFolder and Lessons Learned.. Message-ID: <42CDE82B.6060301@chipp.com> Here's an interesting story: Last night I was working on a 'reset prefs' handler which was to remove all the files in a folder. It looked something like: on resetPrefs put lMasterFolderPath & "/" & lProjectName into tFolderToDelete revDeleteFolder tFolderToDelete end resetPrefs lMasterFolderPath and lProjectNames are script locals. I also have a handler 'checkLocals' which I should've put at the top, but I digress. In anycase, after applying the script and running, of course the script locals are now nulls and the revDeleteFolder contained only a single "/", which apparently means: "Delete the entire route hard drive". After running it and seeing the processor shoot to 100% and stay there, I guessed something was wrong. I tried to quit it, but it's a shell script and even the task manager wouldn't allow me to kill it. By the time I was able to force shutdown my machine, most the entire Windows partition was wasted. Fortunately, my Linux partition was still good and I could access my Documents folder and grab most of the stuff that mattered, but of course WinXP was completely hosed. My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I rewrote the script to use 'the files' and delete each file individually. Hope others can learn from my mistake! best, Chipp From charles.hartman at conncoll.edu Thu Jul 7 22:55:35 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 7 Jul 2005 22:55:35 -0400 Subject: font solution Message-ID: <3503ABB1-34E6-4B8F-A254-390D226B43D6@conncoll.edu> David Epstein (who's having list access problems & wrote me separately) suggests the solution copied below, to the problem of getting text in a field into "owner" font and style after some lines have been put into another font. It looks cool, and I'm working toward using it. Meanwhile, I've discovered the source of my problem. If you set the text style of some words in a field to link, bold, etc., and then look at the htmlText of the field, you see that after the end-of-link/bold marker, Rev is putting in a specification (setting it to whatever the effective font is at the time the card is made. Get rid of that font tag, and the following text reverts to the _real_ owner's font even when that changes. Surely that's not the right behavior Rev should have, is it? (Hope this makes sense -- written in too much haste.) ========= Epstein Solution ============================ on changeFieldTextProps f,mySize,myFont repeat with c = 1 to the number of cards put the htmlText of fld f of card c into hold[c] end repeat set the textSize of fld f to mySize set the textFont of fld f to myFont repeat with c = 1 to the number of cards set the htmlText of fld f of card c to hold[c] end repeat end changeFieldTextProps ====================================== Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From jhj at jhj.com Thu Jul 7 23:09:54 2005 From: jhj at jhj.com (Jerry J) Date: Thu, 7 Jul 2005 20:09:54 -0700 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <20050708023803.DB520824970@mail.runrev.com> References: <20050708023803.DB520824970@mail.runrev.com> Message-ID: <1c531e92b1667ca267dd509166f1e333@jhj.com> > Date: Thu, 07 Jul 2005 21:42:51 -0500 > From: Chipp Walters snippety... > My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I rewrote > the script to use 'the files' and delete each file individually. > > Hope others can learn from my mistake! ARRRGH!! I have learned. Thanks, Jerry Jensen From mwieder at ahsoftware.net Thu Jul 7 23:43:37 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Jul 2005 20:43:37 -0700 Subject: Treeview control needed In-Reply-To: References: <200507070150.07611.b.alleyne@btinternet.com> <2B6FB57D-2557-42C1-947A-99ACC451C29E@califex.com> Message-ID: <1931286547.20050707204337@ahsoftware.net> Tereza- Thursday, July 7, 2005, 4:53:50 PM, you wrote: >> I have a reliable old tree field that's fairly efficient, and not >> XML, that works from tabbed text. Email me off list if you're >> interested. >> SR> Hi Tereza, SR> I'd love to have a look at your tree stack if possible. Yes indeed. And putting it on revonline would be a plus. I always have to reinvent these things when I need them and I'm not at all sure I'm doing it in a reasonable way. I'd love to see how you've implemented this. -- -Mark Wieder mwieder at ahsoftware.net From m.young at mac.com Fri Jul 8 00:02:47 2005 From: m.young at mac.com (Michael Young) Date: Thu, 7 Jul 2005 22:02:47 -0600 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <20050708023803.DB520824970@mail.runrev.com> References: <20050708023803.DB520824970@mail.runrev.com> Message-ID: <4fc1895efe27115af436118078feb498@mac.com> Dennis, I am not Dan, but I would like to answer because I would love to have array objects also. I would say sort of yes to spreadsheet representation although I am not exactly sure how the physical representation would look beyond two dimensions. I would suggest the array as a "container" of more fundamental elements: field, button, etc. I have seen another product use the concept of array for an array all of one element type and cluster for an array of multiple element types. Array object visual representations (might be simpler with attachments sent to list): One dimensional array: Index in a box. Index can be hidden. Element is in another box structure that can be resized as needed. [ index ]| element 1 | | element 2 | | element 3 | | element etc. | or [ index ] | element 1 | element 2 | element etc. | Two dimensional array: [ index 1 ] | element 1,1 | element 2,1 | element etc. | [ index 2 ] | element 2,1 | element 2,2 | element etc. | | element 3,1 | element 3,2 | element etc. | I hopes this post makes some sense. :-) Michael On Jul 7, 2005, at 8:38 PM, use-revolution-request at lists.runrev.com wrote: > > On Jul 7, 2005, at 7:49 PM, Dan Shafer wrote: > >> And if we had an array OBJECT, we could subclass it to get what we >> really want. > > Dan, > > This is an interesting concept. Would an array object have a > spreadsheet as its visual representation? > > Dennis > > From revdan at danshafer.com Fri Jul 8 01:13:17 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 7 Jul 2005 22:13:17 -0700 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <55AEACDB-70C8-4FF9-A0C3-D3C6FCC548EA@writeme.com> References: <1120778392.42cdb89820b15@staffmail.ed.ac.uk> <42CDBA36.9010004@sover.net> <06CD5B19-5680-49A6-B523-4DBEF2B623A9@danshafer.com> <55AEACDB-70C8-4FF9-A0C3-D3C6FCC548EA@writeme.com> Message-ID: An array object could have any number of methods to draw itself and any number of methods to calculate itself. I imagine a spreadsheet would be one (perhaps the favored) visual representation. But some arrays don't need a visual presence. SO we might have an array object that does pretty much what the current one does and a fastArray or an integerIndexedArray object that sub-classes array and defines properties for indexing that override the default and provides some method of calculation in an override as well. Not trying to be an architect here, just thinking out loud. Dan On Jul 7, 2005, at 5:45 PM, Dennis Brown wrote: > On Jul 7, 2005, at 7:49 PM, Dan Shafer wrote: > > >> And if we had an array OBJECT, we could subclass it to get what we >> really want. >> > > Dan, > > This is an interesting concept. Would an array object have a > spreadsheet as its visual representation? > > Dennis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From JimAultWins at yahoo.com Fri Jul 8 01:29:04 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 07 Jul 2005 22:29:04 -0700 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CDE82B.6060301@chipp.com> Message-ID: Hmmm, could there be a patch to help the novice, the unwary, or the forgetful (or those who do not know how to fix Rev)? Just changed mine to " on revDeleteFolderXXX ...end revDeleteFolderXXX " in button revCommon in stack revLibraries...in case some other stack I get from somewhere tries to use revDeleteFolder...it is not there anymore. Of course, downloading or installing a new version would probably have revDeleteFolder again, so this is on my to do list for new installs/updates. Thanks for the heads up, Chipp. Jim Ault Las Vegas On 7/7/05 7:42 PM, "Chipp Walters" wrote: > Here's an interesting story: > > Last night I was working on a 'reset prefs' handler which was to remove > all the files in a folder. > > It looked something like: > > on resetPrefs > put lMasterFolderPath & "/" & lProjectName into tFolderToDelete > revDeleteFolder tFolderToDelete > end resetPrefs > > lMasterFolderPath and lProjectNames are script locals. > > I also have a handler 'checkLocals' which I should've put at the top, > but I digress. > > In anycase, after applying the script and running, of course the script > locals are now nulls and the revDeleteFolder contained only a single > "/", which apparently means: "Delete the entire route hard drive". > > After running it and seeing the processor shoot to 100% and stay there, > I guessed something was wrong. I tried to quit it, but it's a shell > script and even the task manager wouldn't allow me to kill it. > > By the time I was able to force shutdown my machine, most the entire > Windows partition was wasted. Fortunately, my Linux partition was still > good and I could access my Documents folder and grab most of the stuff > that mattered, but of course WinXP was completely hosed. > > My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I rewrote > the script to use 'the files' and delete each file individually. > > Hope others can learn from my mistake! > > best, > > Chipp > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Jul 8 01:34:33 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 08 Jul 2005 00:34:33 -0500 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: References: Message-ID: <42CE1069.3020700@chipp.com> Jim, Your patch is a great idea. You should make a stack which automates it :-) Yeah, I think it's too dangerous a command as it stands... best, Chipp Jim Ault wrote: > Just changed mine to " on revDeleteFolderXXX ...end revDeleteFolderXXX " > in button revCommon in stack revLibraries...in case some other stack I get > from somewhere tries to use revDeleteFolder...it is not there anymore. From JimAultWins at yahoo.com Fri Jul 8 01:38:30 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Thu, 07 Jul 2005 22:38:30 -0700 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CE1069.3020700@chipp.com> Message-ID: Well, I thought I did the fix... The stack is actually locked and I am not sure if it can be unlocked, changed and safely locked again with saving changes. Maybe I spoke too soon. Jim Ault Las Vegas On 7/7/05 10:34 PM, "Chipp Walters" wrote: > Jim, > > Your patch is a great idea. You should make a stack which automates it :-) > > Yeah, I think it's too dangerous a command as it stands... > > best, > > Chipp > > Jim Ault wrote: >> Just changed mine to " on revDeleteFolderXXX ...end revDeleteFolderXXX " >> in button revCommon in stack revLibraries...in case some other stack I get >> from somewhere tries to use revDeleteFolder...it is not there anymore. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Fri Jul 8 02:23:05 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 8 Jul 2005 08:23:05 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: Message-ID: Chipp, I did send a previous warning about these revhandlers 2 months ago... http://mail.runrev.com/pipermail/use-revolution/2005-May/057551.html cheers Xavier ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From YourSignup at Yahoo.com Fri Jul 8 02:32:07 2005 From: YourSignup at Yahoo.com (Jim Bufalini) Date: Thu, 7 Jul 2005 20:32:07 -1000 Subject: Printing script problem Message-ID: What's the secret to printing out a script? I've sent it now to two different HP printers (from the script editor, File -> Print Script... and in portrait and landscape and anytime there is a color change, the words overwrite themselves (in other words, useless). I did set my Font in the Script Editor Preferences to Font: Arial, Size: 14, Text height: empty. It displays fine in the script editor. Didn't this kind of printing problem go out with DOS? Running WinXP and Rev 2.51. Jim From eric.chatonet at sosmartsoftware.com Fri Jul 8 02:41:57 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 08:41:57 +0200 Subject: Printing script problem In-Reply-To: References: Message-ID: Hi Jim, Le 8 juil. 05 ? 08:32, Jim Bufalini a ?crit : > What's the secret to printing out a script? Copy paste it in your word processor :-) (Assuming if it is for your own use) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From yoursignup at yahoo.com Fri Jul 8 02:52:35 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Thu, 7 Jul 2005 20:52:35 -1000 Subject: Printing script problem In-Reply-To: Message-ID: You MUST be kidding me! Yes, it's my own script. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Eric Chatonet Sent: Thursday, July 07, 2005 8:42 PM To: YourSignup at Yahoo.com; How to use Revolution Subject: Re: Printing script problem Hi Jim, Le 8 juil. 05 ? 08:32, Jim Bufalini a ?crit : > What's the secret to printing out a script? Copy paste it in your word processor :-) (Assuming if it is for your own use) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Fri Jul 8 03:03:39 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 09:03:39 +0200 Subject: font solution In-Reply-To: <3503ABB1-34E6-4B8F-A254-390D226B43D6@conncoll.edu> References: <3503ABB1-34E6-4B8F-A254-390D226B43D6@conncoll.edu> Message-ID: <1AAA26E5-A721-4694-A9B8-85776811AE23@sosmartsoftware.com> Hi Charles, You were perfectly right. Thanks for having dug in the question and for giving us with David this clever workaround :-) Best Regards from Paris, Eric Chatonet. Le 8 juil. 05 ? 04:55, Charles Hartman a ?crit : > David Epstein (who's having list access problems & wrote me > separately) suggests the solution copied below, to the problem of > getting text in a field into "owner" font and style after some > lines have been put into another font. > > It looks cool, and I'm working toward using it. Meanwhile, I've > discovered the source of my problem. If you set the text style of > some words in a field to link, bold, etc., and then look at the > htmlText of the field, you see that after the end-of-link/bold > marker, Rev is putting in a specification (setting it to > whatever the effective font is at the time the card is made. Get > rid of that font tag, and the following text reverts to the _real_ > owner's font even when that changes. > > Surely that's not the right behavior Rev should have, is it? > > (Hope this makes sense -- written in too much haste.) > > ========= Epstein Solution ============================ > > on changeFieldTextProps f,mySize,myFont > > repeat with c = 1 to the number of cards > > put the htmlText of fld f of card c into hold[c] > > end repeat > > set the textSize of fld f to mySize > > set the textFont of fld f to myFont > > repeat with c = 1 to the number of cards > > set the htmlText of fld f of card c to hold[c] > > end repeat > > end changeFieldTextProps ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dcragg at lacscentre.co.uk Fri Jul 8 04:30:28 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 8 Jul 2005 09:30:28 +0100 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CDE82B.6060301@chipp.com> References: <42CDE82B.6060301@chipp.com> Message-ID: <9231C5D0-FE19-4858-A87A-DCB5A615B777@lacscentre.co.uk> On 8 Jul 2005, at 03:42, Chipp Walters wrote: > > In anycase, after applying the script and running, of course the > script locals are now nulls and the revDeleteFolder contained only > a single "/", which apparently means: "Delete the entire route hard > drive". > > After running it and seeing the processor shoot to 100% and stay > there, I guessed something was wrong. I tried to quit it, but it's > a shell script and even the task manager wouldn't allow me to kill it. > > By the time I was able to force shutdown my machine, most the > entire Windows partition was wasted. Fortunately, my Linux > partition was still good and I could access my Documents folder and > grab most of the stuff that mattered, but of course WinXP was > completely hosed. > > My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I > rewrote the script to use 'the files' and delete each file > individually. > > Hope others can learn from my mistake! My sympathies, Chipp. I bet that hurt. But I'm not entirely clear of the lesson to be learned. Is the problem really with revDeleteFolder, or with the nature of script locals? If we don't use revDeleteFolder, but we want to delete a folder, then we have to roll our own routines. This can be plenty dangerous too. I have my own routine for this using the standard "directories" and "files" transcript routines. (There was no revDeleteFolder when I was a lad.) But I also managed to wipe half my hard drive before I got the routine working. This is a recursive routine, working through all of the sub-directories. My error was forgetting that the transcript "directories" function always returns ".." among the list of folders. The routine worked perfectly, too perfectly. :( So do we warn people not to use revDeleteFolder, and leave them to their own potentially dangerous devices. Or simply warn people to be *extremely* careful when deleting folders and check they are in fact deleting the intended folder. Cheers Dave From rev at armbase.com Fri Jul 8 04:40:06 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 08 Jul 2005 09:40:06 +0100 Subject: Resize label boundin 3d box Message-ID: <1120812006.42ce3be6c1082@webmail.armbase.com> Hi All I have a button with the following script that changes the details of a label. on mouseUp set the text of field CustomLabel to field LabelNewName set the textsize of field CustomLabel to field LabelNewTextsize set the height of field CustomLabel to field LabelNewHeight set the width of field CustomLabel to field LabelNewWidth end mouseUp As you can see it is resizeing the label font and heigh/width. However the 3D box only surrounds the text. I would like the 3D label box to be resizeable (for uniformity) to the heigt/width and not just surround the text, then I can incorporate an alignment section into the script. I cant find anything in the doc's or on the google search-list that fits the bill. Anyone know how to make the bounding box bigger than the text? IE the size of the labelbox? All the best bob From M.Lange at ed.ac.uk Fri Jul 8 05:34:50 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Fri, 08 Jul 2005 10:34:50 +0100 Subject: Making Revolution faster using dimensioned arrays Message-ID: <1120815290.42ce48ba3560d@staffmail.ed.ac.uk> No worries, Jon... I didn't either interpret Dennis suggestion as converting revolution to c++ ;-) (I appreciate the value of his comments -- I even recently voted for Dennis' last suggestion on stack scope variable). I just wanted to voice the other perspective. Adding new array declarations and new array manipulations features, I vote for. This would indeed be most useful for image processing. However, revolution is primarily a 4GL and a 4GL (high level programming language) as inherent limitations. With a 4GL, you loose in sheer speed in terms of data crunching. But you win in speed in ease of use and data manipulation of reasonably-sized projects. Add-ons, externals, new functions in revolution, all that is welcome... provided that there is never an attempt to go down from 4GL to 3GL or less. I prefer a program that is slow when asked to manipulate 1000x1000 matrices than a program that is slow and dumb in all other tasks. Back to the idea that not single tool is best for all jobs. ------------------ I did not interpret Dennis' suggestion as meaning that ALL arrays would henceforth ONLY have integer indices; rather, I think he was suggesting that a NEW type of array be created which had this attribute. All of the old code would still work. :) Jon From chipp at chipp.com Fri Jul 8 06:03:11 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 08 Jul 2005 05:03:11 -0500 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <9231C5D0-FE19-4858-A87A-DCB5A615B777@lacscentre.co.uk> References: <42CDE82B.6060301@chipp.com> <9231C5D0-FE19-4858-A87A-DCB5A615B777@lacscentre.co.uk> Message-ID: <42CE4F5F.90306@chipp.com> Hi Dave, Well, since I passed revDeleteFolder a single "/" and it tried to delete (w/out being able to be interrupted) the *entire* hard disk, I would say it's less dangerous to 'roll your own'. I would expect revDeleteFolder to take as an argument a valid path, including drive letter. For instance I would expect: revDeleteFolder "C:/" to delete the C drive. I don't know why just "/" does it and I'm afraid to test it with a null, especially since it can't be interrupted. Anything you roll on your own can be interrupted with a control-period. The non-interruptibility of the command is a huge issue, IMO, and one I'm not willing to take any more chances on. I haven't looked at the code, but as Xavier mentioned, it seems like it should be an engine level issue, not a shell call. You are certainly welcome to use it to your hearts content-- I won't be. Once burned, twice shy. best, Chipp Dave Cragg wrote: > But I'm not entirely clear of the lesson to be learned. Is the problem > really with revDeleteFolder, or with the nature of script locals? > > If we don't use revDeleteFolder, but we want to delete a folder, then > we have to roll our own routines. This can be plenty dangerous too. > So do we warn people not to use revDeleteFolder, and leave them to > their own potentially dangerous devices. Or simply warn people to be > *extremely* careful when deleting folders and check they are in fact > deleting the intended folder. From eric.chatonet at sosmartsoftware.com Fri Jul 8 07:10:09 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 13:10:09 +0200 Subject: Resize label boundin 3d box In-Reply-To: <1120812006.42ce3be6c1082@webmail.armbase.com> References: <1120812006.42ce3be6c1082@webmail.armbase.com> Message-ID: <069C20B2-5BEE-4740-9464-26E1E1184B99@sosmartsoftware.com> Hi, If I understand correctly, you could have a look at 2 properties: margins (to specify the distance between the text and the edges of any field) and formattedWidth (to set the width of a field according to its content). Le 8 juil. 05 ? 10:40, rev at armbase.com a ?crit : > Hi All > I have a button with the following script that changes the details > of a label. > > on mouseUp > set the text of field CustomLabel to field LabelNewName > set the textsize of field CustomLabel to field LabelNewTextsize > set the height of field CustomLabel to field LabelNewHeight > set the width of field CustomLabel to field LabelNewWidth > end mouseUp > > As you can see it is resizeing the label font and heigh/width. > However the 3D > box only surrounds the text. I would like the 3D label box to be > resizeable > (for uniformity) to the heigt/width and not just surround the > text, then I can > incorporate an alignment section into the script. > > I cant find anything in the doc's or on the google search-list that > fits the > bill. > > Anyone know how to make the bounding box bigger than the text? IE > the size of > the labelbox? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Fri Jul 8 07:22:56 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 08 Jul 2005 12:22:56 +0100 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CE4F5F.90306@chipp.com> References: <42CDE82B.6060301@chipp.com> <9231C5D0-FE19-4858-A87A-DCB5A615B777@lacscentre.co.uk> <42CE4F5F.90306@chipp.com> Message-ID: <42CE6210.1020905@tweedly.net> Chipp Walters wrote: > Hi Dave, > > Well, since I passed revDeleteFolder a single "/" and it tried to > delete (w/out being able to be interrupted) the *entire* hard disk, I > would say it's less dangerous to 'roll your own'. I would expect > revDeleteFolder to take as an argument a valid path, including drive > letter. For instance I would expect: > > revDeleteFolder "C:/" > > to delete the C drive. I don't know why just "/" does it and I'm > afraid to test it with a null, especially since it can't be > interrupted. Anything you roll on your own can be interrupted with a > control-period. > "/" works because "/" is a valid directory specifier for Rev. You can do set the defaultFolder to "/" and it does; you don't need a drive specifier. Come to think of it, you can do it in a Windows shell (or whatever a DOS box is called these days) - "cd \" works. > The non-interruptibility of the command is a huge issue, IMO, and one > I'm not willing to take any more chances on. I haven't looked at the > code, but as Xavier mentioned, it seems like it should be an engine > level issue, not a shell call. You are certainly welcome to use it to > your hearts content-- I won't be. Once burned, twice shy. Being interruptible would help - but it can be hard to interrupt scripts; sometimes takes me repeated hits on ctrl-. for up to 10 seconds, and you can delete a lot of useful files in 10 seconds. > Dave Cragg wrote: > >> So do we warn people not to use revDeleteFolder, and leave them to >> their own potentially dangerous devices. Or simply warn people to be >> *extremely* careful when deleting folders and check they are in fact >> deleting the intended folder. > I think it would be good to have an optional parameter pConfirm which would require a user confirmation for each directory (or maybe even each file ?). That would make it much more "comfortable" to develop and test an application without fear of inadvertently passing a bad starting directory, and the parameter could be reverted to (the default of) "off" before shipping. And as a side effect, it would need to be done in the engine rather than as a shell command :-) -- 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.8.10/43 - Release Date: 06/07/2005 From wouter.abraham at scarlet.be Fri Jul 8 07:27:36 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 8 Jul 2005 13:27:36 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CE4F5F.90306@chipp.com> References: <42CDE82B.6060301@chipp.com> <9231C5D0-FE19-4858-A87A-DCB5A615B777@lacscentre.co.uk> <42CE4F5F.90306@chipp.com> Message-ID: <932E5952-B045-4731-B911-D00BEAE94956@scarlet.be> Hi all, Why patch revDeleteFolder with revDeleteFolderXXX? Why not patch this backscript in a different way? Like adding a param (and adapting the handler) : on revDeleteFolder pSrcFolder pWithoutWarning which only will run in stealth mode if the pWithoutWarning is explecitely set to true. (of course you must refrain from turning it on the first time you use it during development) Older apps will still be able to use it, but only in warning mode. Greetings, Wouter On 08 Jul 2005, at 12:03, Chipp Walters wrote: > Hi Dave, > > Well, since I passed revDeleteFolder a single "/" and it tried to > delete (w/out being able to be interrupted) the *entire* hard disk, > I would say it's less dangerous to 'roll your own'. I would expect > revDeleteFolder to take as an argument a valid path, including > drive letter. For instance I would expect: > > revDeleteFolder "C:/" > > to delete the C drive. I don't know why just "/" does it and I'm > afraid to test it with a null, especially since it can't be > interrupted. Anything you roll on your own can be interrupted with > a control-period. > > The non-interruptibility of the command is a huge issue, IMO, and > one I'm not willing to take any more chances on. I haven't looked > at the code, but as Xavier mentioned, it seems like it should be an > engine level issue, not a shell call. You are certainly welcome to > use it to your hearts content-- I won't be. Once burned, twice shy. > > best, > > Chipp > > Dave Cragg wrote: > > >> But I'm not entirely clear of the lesson to be learned. Is the >> problem really with revDeleteFolder, or with the nature of script >> locals? >> If we don't use revDeleteFolder, but we want to delete a folder, >> then we have to roll our own routines. This can be plenty >> dangerous too. >> > > >> So do we warn people not to use revDeleteFolder, and leave them >> to their own potentially dangerous devices. Or simply warn people >> to be *extremely* careful when deleting folders and check they >> are in fact deleting the intended folder. >> From dcragg at lacscentre.co.uk Fri Jul 8 07:58:29 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 8 Jul 2005 12:58:29 +0100 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CE6210.1020905@tweedly.net> References: <42CDE82B.6060301@chipp.com> <9231C5D0-FE19-4858-A87A-DCB5A615B777@lacscentre.co.uk> <42CE4F5F.90306@chipp.com> <42CE6210.1020905@tweedly.net> Message-ID: <83AE3FDC-DD26-44C9-B32A-5C3016A10C5C@lacscentre.co.uk> On 8 Jul 2005, at 12:22, Alex Tweedly wrote: > Chipp Walters wrote: > > >> Hi Dave, >> >> Well, since I passed revDeleteFolder a single "/" and it tried to >> delete (w/out being able to be interrupted) the *entire* hard >> disk, I would say it's less dangerous to 'roll your own'. I would >> expect revDeleteFolder to take as an argument a valid path, >> including drive letter. For instance I would expect: >> >> revDeleteFolder "C:/" >> >> to delete the C drive. I don't know why just "/" does it and I'm >> afraid to test it with a null, especially since it can't be >> interrupted. Anything you roll on your own can be interrupted with >> a control-period. >> >> > "/" works because "/" is a valid directory specifier for Rev. You > can do > set the defaultFolder to "/" > and it does; you don't need a drive specifier. > Come to think of it, you can do it in a Windows shell (or whatever > a DOS box is called these days) - "cd \" works. Interesting, as there is a folder "/" returns false on XP and true on OS X. Which could prove an insidious danger. > I think it would be good to have an optional parameter pConfirm > which would require a user confirmation for each directory (or > maybe even each file ?). That would make it much more "comfortable" > to develop and test an application without fear of inadvertently > passing a bad starting directory, and the parameter could be > reverted to (the default of) "off" before shipping. Sounds good. Cheers Dave From xbury.cs at clearstream.com Fri Jul 8 08:05:51 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 8 Jul 2005 14:05:51 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <83AE3FDC-DD26-44C9-B32A-5C3016A10C5C@lacscentre.co.uk> Message-ID: Guys, Why not ask a professional? :) I delete production files in a huge huge file system among 20 each day. I CANNOT make a mistake when i delete these things... We're talking banking production... This is what i use for the past 4 years without ONE error... It works in NT4, NT2000 and XP. Note that the path furnished needs to be "\" and not "/" delimited. cheers Xavier function DeleteDir apath if " " is in apath or "&" is in apath and quote is not in apath then put quote & apath & quote into apath set the itemdelimiter to "\" get last item of shrname if char -1 of it is quote then delete last char of it if "$" is in char -1 of it then delete char -1 of it if length(it) = 1 or it = "IPC" then return "Danger: trying to delete a system share!" && shrname end if get shell("rd" && apath && "/s /q") return it end DeleteDir On 08/07/2005 13:58:29 use-revolution-bounces wrote: >On 8 Jul 2005, at 12:22, Alex Tweedly wrote: > >> Chipp Walters wrote: >> >> >>> Hi Dave, >>> >>> Well, since I passed revDeleteFolder a single "/" and it tried to >>> delete (w/out being able to be interrupted) the *entire* hard >>> disk, I would say it's less dangerous to 'roll your own'. I would >>> expect revDeleteFolder to take as an argument a valid path, >>> including drive letter. For instance I would expect: >>> >>> revDeleteFolder "C:/" >>> >>> to delete the C drive. I don't know why just "/" does it and I'm >>> afraid to test it with a null, especially since it can't be >>> interrupted. Anything you roll on your own can be interrupted with >>> a control-period. >>> >>> >> "/" works because "/" is a valid directory specifier for Rev. You >> can do >> set the defaultFolder to "/" >> and it does; you don't need a drive specifier. >> Come to think of it, you can do it in a Windows shell (or whatever >> a DOS box is called these days) - "cd \" works. > >Interesting, as >there is a folder "/" >returns false on XP and true on OS X. Which could prove an insidious >danger. > > >> I think it would be good to have an optional parameter pConfirm >> which would require a user confirmation for each directory (or >> maybe even each file ?). That would make it much more "comfortable" >> to develop and test an application without fear of inadvertently >> passing a bad starting directory, and the parameter could be >> reverted to (the default of) "off" before shipping. > >Sounds good. > >Cheers >Dave >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From ludovic.thebault at laposte.net Fri Jul 8 08:26:16 2005 From: ludovic.thebault at laposte.net (Ludovic THEBAULT) Date: Fri, 8 Jul 2005 14:26:16 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: References: Message-ID: Why not use something like this (here, for MacOS X) : put specialFolderPath("Desktop") into trashFolder set the itemDel to "/" put ".Trash/" into last item of trashFolder rename folder tfolderpath to trashFolder&"/"&tfolderpath From kray at sonsothunder.com Fri Jul 8 08:31:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 08 Jul 2005 07:31:06 -0500 Subject: Printing script problem In-Reply-To: Message-ID: > What's the secret to printing out a script? I've sent it now to two > different HP printers (from the script editor, File -> Print Script... and > in portrait and landscape and anytime there is a color change, the words > overwrite themselves (in other words, useless). Jim, this is a known bug that's logged in Bugzilla... hopefully it will be fixed the next time around. Until then, there are two methods - Eric's (copy and paste somewhere else), or use Alex Rice's MLXEditor to use some other application (like Notepad, TextPad, etc.) as your script editor and print it from there. Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From klaus at major-k.de Fri Jul 8 08:38:22 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 8 Jul 2005 14:38:22 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: References: Message-ID: Bonjour Xavier, > Guys, > > Why not ask a professional? :) A VERY good idea! Do you happen to know one? :-D Best Klaus Major klaus at major-k.de http://www.major-k.de From dburgun at dsl.pipex.com Fri Jul 8 08:39:56 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 8 Jul 2005 13:39:56 +0100 Subject: recOnline Viewer In-Reply-To: References: Message-ID: Hi All, Is there anyway to stop the revOnline Viewer window from popping up everytime I launch RunRev? It is sooooooo annoying! It wouldn't be too bad, if there were not so many bugs in the IDE that make it necessary to relaunch RunRev. I really can't see the point of popping up this window EVERY time you launch rev, anyone else agree? I MUCH better thing to do IMHO would be to open the Application Browser on the last stack used. Now that would be useful. At the very least I reckon the display of the revOnline window should be a Preference. Just my 5 cents worth All the Best Dave From xbury.cs at clearstream.com Fri Jul 8 08:41:53 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 8 Jul 2005 14:41:53 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: Message-ID: You're too funny Klaus, That's the script i use professionally... On EMC TB storage. When it comes to delete 10 millions files... There's no way I'd use Rev-Anything... I tested it for a minor monthly deletejob and it didn't even work for the test. So... So, if you ask a professional that does this kind of stuff for the past 6 years? First test this on a test drive (or mountpoint). Never on your data or OS drive... Then implement... Chipp seems to know what i mean now ;) cheers Xavier On 08/07/2005 14:38:22 use-revolution-bounces wrote: >Bonjour Xavier, > >> Guys, >> >> Why not ask a professional? :) > >A VERY good idea! > >Do you happen to know one? :-D > > >Best > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From wouter.abraham at scarlet.be Fri Jul 8 08:44:48 2005 From: wouter.abraham at scarlet.be (Wouter) Date: Fri, 8 Jul 2005 14:44:48 +0200 Subject: recOnline Viewer In-Reply-To: References: Message-ID: On 08 Jul 2005, at 14:39, David Burgun wrote: > Hi All, > > Is there anyway to stop the revOnline Viewer window from popping up > everytime I launch RunRev? It is sooooooo annoying! > > It wouldn't be too bad, if there were not so many bugs in the IDE > that make it necessary to relaunch RunRev. I really can't see the > point of popping up this window EVERY time you launch rev, anyone > else agree? > > I MUCH better thing to do IMHO would be to open the Application > Browser on the last stack used. Now that would be useful. > > At the very least I reckon the display of the revOnline window > should be a Preference. It is. > > Just my 5 cents worth > All the Best > Dave Greetings, Wouter From klaus at major-k.de Fri Jul 8 08:47:30 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 8 Jul 2005 14:47:30 +0200 Subject: recOnline Viewer In-Reply-To: References: Message-ID: Hi David, > Hi All, > > Is there anyway to stop the revOnline Viewer window from popping up > everytime I launch RunRev? It is sooooooo annoying! > > It wouldn't be too bad, if there were not so many bugs in the IDE > that make it necessary to relaunch RunRev. I really can't see the > point of popping up this window EVERY time you launch rev, anyone > else agree? > > I MUCH better thing to do IMHO would be to open the Application > Browser on the last stack used. Now that would be useful. > > At the very least I reckon the display of the revOnline window > should be a Preference. It is, mon ami, it is! Clean your glasses and take a look at: Preferences -> General -> Automatically launch Revolution Online :-) > Just my 5 cents worth > All the Best > Dave Regards Klaus Major klaus at major-k.de http://www.major-k.de From dburgun at dsl.pipex.com Fri Jul 8 08:55:43 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 8 Jul 2005 13:55:43 +0100 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CDE82B.6060301@chipp.com> References: <42CDE82B.6060301@chipp.com> Message-ID: Owwwww, that's just horrible! I tend to develop code that can do lasting dammage on either a seperate hard disk or another machine, it's really bad news developing code on your "everyday" work machine. Either that or have all my files backed up in a Source Control Database in server. I reckon that a change is in order for this. How about a Global property - "confirmDeletes" (true/false) ? This would be defaulted to true. Or maybe a "recurseFolders" (true/false) which would control if folders inside folders should be deleted. All the Best Dave >Here's an interesting story: > >Last night I was working on a 'reset prefs' handler which was to >remove all the files in a folder. > >It looked something like: > >on resetPrefs > put lMasterFolderPath & "/" & lProjectName into tFolderToDelete > revDeleteFolder tFolderToDelete >end resetPrefs > >lMasterFolderPath and lProjectNames are script locals. > >I also have a handler 'checkLocals' which I should've put at the >top, but I digress. > >In anycase, after applying the script and running, of course the >script locals are now nulls and the revDeleteFolder contained only a >single "/", which apparently means: "Delete the entire route hard >drive". > >After running it and seeing the processor shoot to 100% and stay >there, I guessed something was wrong. I tried to quit it, but it's a >shell script and even the task manager wouldn't allow me to kill it. > >By the time I was able to force shutdown my machine, most the entire >Windows partition was wasted. Fortunately, my Linux partition was >still good and I could access my Documents folder and grab most of >the stuff that mattered, but of course WinXP was completely hosed. > >My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I >rewrote the script to use 'the files' and delete each file >individually. > >Hope others can learn from my mistake! > >best, > >Chipp From dburgun at dsl.pipex.com Fri Jul 8 08:59:28 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 8 Jul 2005 13:59:28 +0100 Subject: recOnline Viewer In-Reply-To: References: Message-ID: Excellent! Sorry! Couldn't see it for looking! Now just default it to off and we're away! Still think it would be a good idea to have a pref for opened the App Browser and Open Last Stack. Bye for now Dave >Hi David, > >>Hi All, >> >>Is there anyway to stop the revOnline Viewer window from popping up >>everytime I launch RunRev? It is sooooooo annoying! >> >>It wouldn't be too bad, if there were not so many bugs in the IDE >>that make it necessary to relaunch RunRev. I really can't see the >>point of popping up this window EVERY time you launch rev, anyone >>else agree? >> >>I MUCH better thing to do IMHO would be to open the Application >>Browser on the last stack used. Now that would be useful. >> >>At the very least I reckon the display of the revOnline window >>should be a Preference. > >It is, mon ami, it is! > >Clean your glasses and take a look at: > >Preferences -> General -> Automatically launch Revolution Online > >:-) > >>Just my 5 cents worth >>All the Best >>Dave > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From mark at maseurope.net Fri Jul 8 05:58:44 2005 From: mark at maseurope.net (Mark Smith) Date: Fri, 8 Jul 2005 10:58:44 +0100 Subject: Resize label boundin 3d box In-Reply-To: <1120812006.42ce3be6c1082@webmail.armbase.com> References: <1120812006.42ce3be6c1082@webmail.armbase.com> Message-ID: <48766f626bdfbb61ff44943acc7cf8d0@maseurope.net> If you want a big label field with the text centered both horizontally and vertically, it might be easier to experiment with using a button. Mark On 8 Jul 2005, at 09:40, rev at armbase.com wrote: > Hi All > I have a button with the following script that changes the details of > a label. > > on mouseUp > set the text of field CustomLabel to field LabelNewName > set the textsize of field CustomLabel to field LabelNewTextsize > set the height of field CustomLabel to field LabelNewHeight > set the width of field CustomLabel to field LabelNewWidth > end mouseUp > > As you can see it is resizeing the label font and heigh/width. However > the 3D > box only surrounds the text. I would like the 3D label box to be > resizeable > (for uniformity) to the heigt/width and not just surround the text, > then I can > incorporate an alignment section into the script. > > I cant find anything in the doc's or on the google search-list that > fits the > bill. > > Anyone know how to make the bounding box bigger than the text? IE the > size of > the labelbox? > > All the best > bob > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Fri Jul 8 09:05:50 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 15:05:50 +0200 Subject: recOnline Viewer In-Reply-To: References: Message-ID: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Hi Dave, As for the app browser, it's automatic: Rev opens it if it was open when you quit the previous session. As for last stack, it depends on too many things and ways for everybody to work. But you can dowload my Stacks Picker plugin from my web-site and define preferences to open, start using, etc. all stacks needed at start-up with it. Le 8 juil. 05 ? 14:59, David Burgun a ?crit : > Still think it would be a good idea to have a pref for opened the > App Browser and Open Last Stack. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From M.Lange at ed.ac.uk Fri Jul 8 09:09:43 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Fri, 08 Jul 2005 14:09:43 +0100 Subject: Making Revolution faster using dimensioned arrays Message-ID: <1120828183.42ce7b1754755@staffmail.ed.ac.uk> >I also use the current array capabilities and do not want to lose >anything we have. In fact I am in favor of expanding them further. >What I propose is a different array organization that is optimized >for execution speed and space efficiency at the cost of a more >restricted organizational flexibility. The restrictions would only >occur if you wanted to make this tradeoff for a particular array. > And if we had an array OBJECT, we could subclass it to get what we > really want. I reacted on the fact you proposed a c/c++ solution.... >This is an interesting concept. Would an array object have a >spreadsheet as its visual representation? When I pointed to SQL, I was hinting to the same idea. But I am only a hobbyist programmer, I can only stir a debate and let others express things better than I can ;-). Marielle Dennis I would be interested to know if in you timing test, you also tried using a variable rather than an array. repeat for x in (trows) repeat for y in (tcolumns) do something on (variable & "_" & x & "_" & y). end repeat end repeat + what if you store all rows in one array rowdata[1] and all columns in another one columndata[1]. You then reduce the dimensionality and perhaps access time. Marielle From eric.chatonet at sosmartsoftware.com Fri Jul 8 09:25:19 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 15:25:19 +0200 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: <42CDE82B.6060301@chipp.com> References: <42CDE82B.6060301@chipp.com> Message-ID: Hi Chipp and others who suggested many ideas, First, Chipp, I really feel for you in your sorrow. One day or another, we have all known that one second thing able to cause havoc... and all the hours later to put the things right. Second, I think that a command which deletes a folder *has to* delete a folder. It's us who have to pay attention to a possible devastation. As for me, I want Rev powerful. May be, some additional statement could warn when the directory is a root directory but I assume that runRev guys would answer "that's your problem..." and they would be right. My two cents. Le 8 juil. 05 ? 04:42, Chipp Walters a ?crit : > Here's an interesting story: > > Last night I was working on a 'reset prefs' handler which was to > remove all the files in a folder. > > It looked something like: > > on resetPrefs > put lMasterFolderPath & "/" & lProjectName into tFolderToDelete > revDeleteFolder tFolderToDelete > end resetPrefs > > lMasterFolderPath and lProjectNames are script locals. > > I also have a handler 'checkLocals' which I should've put at the > top, but I digress. > > In anycase, after applying the script and running, of course the > script locals are now nulls and the revDeleteFolder contained only > a single "/", which apparently means: "Delete the entire route hard > drive". > > After running it and seeing the processor shoot to 100% and stay > there, I guessed something was wrong. I tried to quit it, but it's > a shell script and even the task manager wouldn't allow me to kill it. > > By the time I was able to force shutdown my machine, most the > entire Windows partition was wasted. Fortunately, my Linux > partition was still good and I could access my Documents folder and > grab most of the stuff that mattered, but of course WinXP was > completely hosed. > > My lesson learned is NEVER, NEVER, NEVER use revDeleteFolder. I > rewrote the script to use 'the files' and delete each file > individually. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Fri Jul 8 09:26:46 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 09:26:46 -0400 Subject: recOnline Viewer In-Reply-To: References: Message-ID: <42CE7F16.9050905@sover.net> In all fairness, I had a hard time finding this preference, too: I had no idea it was there. :) Jon >> >> At the very least I reckon the display of the revOnline window >> should be a Preference. > > > It is, mon ami, it is! > > Clean your glasses and take a look at: > > Preferences -> General -> Automatically launch Revolution Online > > From eric.chatonet at sosmartsoftware.com Fri Jul 8 09:33:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 15:33:28 +0200 Subject: recOnline Viewer In-Reply-To: <42CE7F16.9050905@sover.net> References: <42CE7F16.9050905@sover.net> Message-ID: <2C92B86B-99F0-4B89-AC73-CB90C5FCF0A9@sosmartsoftware.com> Hi all, I agree. Ergonomics are not the strong point of runRev. This pref (open Rev Online at start-up or not) should be included in Rev Online itself. May I add that the prefs button at the top-right of the Rev Online window does not make sense? I thought for a long time it was only a "logo" :-) Le 8 juil. 05 ? 15:26, Jon a ?crit : > In all fairness, I had a hard time finding this preference, too: I > had no idea it was there. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Fri Jul 8 09:37:17 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 09:37:17 -0400 Subject: recOnline Viewer In-Reply-To: <2C92B86B-99F0-4B89-AC73-CB90C5FCF0A9@sosmartsoftware.com> References: <42CE7F16.9050905@sover.net> <2C92B86B-99F0-4B89-AC73-CB90C5FCF0A9@sosmartsoftware.com> Message-ID: <42CE818D.70402@sover.net> Eric Chatonet wrote: > This pref (open Rev Online at start-up or not) should be included in > Rev Online itself. Agree! > May I add that the prefs button at the top-right of the Rev Online > window does not make sense? > I thought for a long time it was only a "logo" :-) I had no idea that some of those items did anything. I guess I have to click on everything I can see! From jbondy at sover.net Fri Jul 8 09:38:14 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 09:38:14 -0400 Subject: documentation mini-bug Message-ID: <42CE81C6.7090002@sover.net> When I open the Rev Documentation, almost every time, the currently active button (Objects, Dictionary, etc) does not correspond to the currently displayed content. I also have a feature request: while looking at the Dictionary, it sure would be nice if I typed "OPE" and the list jumped to the entries starting with "Open"... :) Jon From dburgun at dsl.pipex.com Fri Jul 8 10:33:06 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 8 Jul 2005 15:33:06 +0100 Subject: recOnline Viewer In-Reply-To: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Message-ID: Hi, I just tested it and the App Browser does open as you say! This must be new, cos on the last version I swear you had to open it each time the app was launched. The Stack issues is not a big one, it's just that if you have 3 or 4 seperate main stacks open and the IDE crashes, it's a real pain to have to open them all again. The open recent files is a help, but would be cool IMO if it were a pref, but no biggie! Think I am still in shock from the terrible destruction of yesterday, if anyone on this list was hurt or knows someone that was hurt or worse, my heart goes out to you. I got off lightly, a 40 min journey took me 5 hours, so I lost 4 hours and 20 mins of my life............................. Much worse for some. All the Best Dave >Hi Dave, > >As for the app browser, it's automatic: Rev opens it if it was open >when you quit the previous session. >As for last stack, it depends on too many things and ways for >everybody to work. >But you can dowload my Stacks Picker plugin from my web-site and >define preferences to open, start using, etc. all stacks needed at >start-up with it. > >Le 8 juil. 05 ? 14:59, David Burgun a ?crit : > >>Still think it would be a good idea to have a pref for opened the >>App Browser and Open Last Stack. > >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 site http://www.sosmartsoftware.com/ >Email eric.chatonet at sosmartsoftware.com/ >Phone 33 (0)1 43 31 77 62 >Mobile 33 (0)6 20 74 50 86 >---------------------------------------------------------------- > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From sims at ezpzapps.com Fri Jul 8 10:37:55 2005 From: sims at ezpzapps.com (sims) Date: Fri, 8 Jul 2005 16:37:55 +0200 Subject: recOnline Viewer In-Reply-To: References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Message-ID: At 3:33 PM +0100 7/8/05, David Burgun wrote: >I just tested it and the App Browser does open as you say! This must >be new, cos on the last version I swear you had to open it each time >the app was launched. Just to prove that you cannot make everyone happy... ;-) I dislike having the App Browser opening. I usually never use the App Browser. Now I have to close the thing all the time. I am guessing that there isn't a preference for keeping it closed and I might have to muck around in the rev_ code. Argh. Can anyone point me to a preference for keeping it closed unless I want to open it myself? ciao, sims From rev at armbase.com Fri Jul 8 10:49:41 2005 From: rev at armbase.com (rev at armbase.com) Date: Fri, 08 Jul 2005 15:49:41 +0100 Subject: Resize label boundin 3d box In-Reply-To: <48766f626bdfbb61ff44943acc7cf8d0@maseurope.net> References: <1120812006.42ce3be6c1082@webmail.armbase.com> <48766f626bdfbb61ff44943acc7cf8d0@maseurope.net> Message-ID: <1120834181.42ce9285567e8@webmail.armbase.com> Quoting Mark Smith : Hi Mark > If you want a big label field with the text centered both horizontally > and vertically, it might be easier to experiment with using a button. > Yes this is exactly what I am going to do. I'll us eone for the label and a plain button for a 3D label. Cheers Bob > > Mark > > On 8 Jul 2005, at 09:40, rev at armbase.com wrote: > > > Hi All > > I have a button with the following script that changes the details of > > a label. > > > > on mouseUp > > set the text of field CustomLabel to field LabelNewName > > set the textsize of field CustomLabel to field LabelNewTextsize > > set the height of field CustomLabel to field LabelNewHeight > > set the width of field CustomLabel to field LabelNewWidth > > end mouseUp > > > > As you can see it is resizeing the label font and heigh/width. However > > the 3D > > box only surrounds the text. I would like the 3D label box to be > > resizeable > > (for uniformity) to the heigt/width and not just surround the text, > > then I can > > incorporate an alignment section into the script. > > > > I cant find anything in the doc's or on the google search-list that > > fits the > > bill. > > > > Anyone know how to make the bounding box bigger than the text? IE the > > size of > > the labelbox? > > > > All the best > > bob > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dburgun at dsl.pipex.com Fri Jul 8 10:49:58 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 8 Jul 2005 15:49:58 +0100 Subject: recOnline Viewer In-Reply-To: References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Message-ID: Hi, Well that's what I was suggesting, an "Open App Browser on Launch" Checkbox would do it. Or maybe "Open App Browser when Opening Stack" would be better. All the Best Dave >At 3:33 PM +0100 7/8/05, David Burgun wrote: >>I just tested it and the App Browser does open as you say! This must >>be new, cos on the last version I swear you had to open it each time >>the app was launched. > >Just to prove that you cannot make everyone happy... ;-) > >I dislike having the App Browser opening. I usually never use the >App Browser. Now I have to close the thing all the time. I am guessing >that there isn't a preference for keeping it closed and I might have to >muck around in the rev_ code. Argh. > >Can anyone point me to a preference for keeping it closed unless >I want to open it myself? > >ciao, >sims >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From charles.hartman at conncoll.edu Fri Jul 8 11:00:52 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 8 Jul 2005 11:00:52 -0400 Subject: fonts & styles Message-ID: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> I have fields containing a lot of text, mostly in "owner's font," "plain," but with some pieces in a specified font and other pieces in styles bold, link, etc. When I change the owner's font (in this case, the main stack's), the changes in the text on the cards' fields are inconsistent. In particular, every time there's a style change (into & out of bold for example, link, etc), a "font" tag gets inserted, hard-wiring whatever the owner's font *was* at the time the text was edited. So the next time the owner's font changes, it affects everything *up to* that style change, but after that the old font is wired in place. I"m editing the text in the Contents pane of the Inspector. Doing this in the Encoded Text Picker doesn't seem to help. It must be behavior in the Rev engine I suppse. I'm not able to think of a way not to call this a serious bug. Is there a workaround?? Am I missing something basic? Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From webmaster at dreamscapesoftware.com Fri Jul 8 11:09:27 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 08 Jul 2005 10:09:27 -0500 Subject: recOnline Viewer In-Reply-To: References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Message-ID: <42CE9727.10801@dreamscapesoftware.com> sims wrote: > Just to prove that you cannot make everyone happy... ;-) How true. I too am unhappy about the Application Browser. It never opens in the same location. I have a BugZilla ticket opened with a fix, so votes would be appreciated. The Property Palette also has the same issue, but fixing it is a little bit more intricate. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From eric.chatonet at sosmartsoftware.com Fri Jul 8 11:32:22 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 17:32:22 +0200 Subject: fonts & styles In-Reply-To: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> References: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> Message-ID: <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> Hi Charles, Rev has a weird behaviour we discussed on this list a long time ago: If the font is the owner's font and the size the owner's size , there are no problem. But once you have changed the size or the style of such a chunk, the font of this chunk is no longer the owner's font (empty) but the *effective* owner's font. If I remember correctly, this is not a bug but falls within a runRev choice that we do regret. Le 8 juil. 05 ? 17:00, Charles Hartman a ?crit : > I have fields containing a lot of text, mostly in "owner's font," > "plain," but with some pieces in a specified font and other pieces > in styles bold, link, etc. > > When I change the owner's font (in this case, the main stack's), > the changes in the text on the cards' fields are inconsistent. > > In particular, every time there's a style change (into & out of > bold for example, link, etc), a "font" tag gets inserted, hard- > wiring whatever the owner's font *was* at the time the text was > edited. So the next time the owner's font changes, it affects > everything *up to* that style change, but after that the old font > is wired in place. > > I"m editing the text in the Contents pane of the Inspector. Doing > this in the Encoded Text Picker doesn't seem to help. It must be > behavior in the Rev engine I suppse. > > I'm not able to think of a way not to call this a serious bug. Is > there a workaround?? Am I missing something basic? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From larsbrehmer at mac.com Fri Jul 8 11:37:34 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Fri, 8 Jul 2005 18:37:34 +0300 Subject: Mark by finding & mark cds where - again Message-ID: I was following the discussion earlier about "mark by finding" etc. and I have a quick question. I have a pretty good search thing going using custom properties, but I can't get it to work using "string." For now I am using mark cds where (the findIt of me) is among the words of the wdP of this cd and have also used the same but with "among the chars" but would rather look for a string. This has to do with commas and brackets within the custom props. These custom props are in the uniEncode UTF8 format. is this somehow the problem, or am i just getting the syntax wrong when I use string instead of word or char? Cheers, Lars From charles.hartman at conncoll.edu Fri Jul 8 11:42:07 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 8 Jul 2005 11:42:07 -0400 Subject: fonts & styles In-Reply-To: <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> References: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> Message-ID: I'm afraid I can't see how to call it not a bug. Let me put it another way. If I want all text in a field that doesn't have a specified font to be in the owner's font -- isn't that the whole idea of inheritance? -- then why should that _font_ setup be overridden by a _style_ setting? That is, why would Rev insist on inserting a tag in the htmlText rather than using the for example and tags and leaving the font alone? (Linking font and size makes sense, I think; linking font and style doesn't.) Isn't this problem going to arise with any stack that's meant to run on more than one platform, for example? Or to put it yet another way: don't mean to be obstreperous, but how to I work around this "feature"? Charles Hartman On Jul 8, 2005, at 11:32 AM, Eric Chatonet wrote: > Hi Charles, > > Rev has a weird behaviour we discussed on this list a long time ago: > If the font is the owner's font and the size the owner's size , > there are no problem. > But once you have changed the size or the style of such a chunk, > the font of this chunk is no longer the owner's font (empty) but > the *effective* owner's font. > If I remember correctly, this is not a bug but falls within a > runRev choice that we do regret. > From eric.chatonet at sosmartsoftware.com Fri Jul 8 11:43:19 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 17:43:19 +0200 Subject: fonts & styles In-Reply-To: <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> References: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> Message-ID: Hi, Just an addendum to my last post to be clear: Create a new stack and a field. Type anything in it. Select any word and check its font in the Text menu: it's the owner's font. Set the style of this word to bold (or change its size, etc.) Check the font in the Text menu: it's no longer the owner's font but now it's the *effective* owner's font which appear check-marked. May be Ken (if you hear me :-) could provide some regex to strip the font tags when they are specifying the owner's font in the html text? Would be a solution? Le 8 juil. 05 ? 17:32, Eric Chatonet a ?crit : > Hi Charles, > > Rev has a weird behaviour we discussed on this list a long time ago: > If the font is the owner's font and the size the owner's size , > there are no problem. > But once you have changed the size or the style of such a chunk, > the font of this chunk is no longer the owner's font (empty) but > the *effective* owner's font. > If I remember correctly, this is not a bug but falls within a > runRev choice that we do regret. > > Le 8 juil. 05 ? 17:00, Charles Hartman a ?crit : > > >> I have fields containing a lot of text, mostly in "owner's font," >> "plain," but with some pieces in a specified font and other pieces >> in styles bold, link, etc. >> >> When I change the owner's font (in this case, the main stack's), >> the changes in the text on the cards' fields are inconsistent. >> >> In particular, every time there's a style change (into & out of >> bold for example, link, etc), a "font" tag gets inserted, hard- >> wiring whatever the owner's font *was* at the time the text was >> edited. So the next time the owner's font changes, it affects >> everything *up to* that style change, but after that the old font >> is wired in place. >> >> I"m editing the text in the Contents pane of the Inspector. Doing >> this in the Encoded Text Picker doesn't seem to help. It must be >> behavior in the Rev engine I suppse. >> >> I'm not able to think of a way not to call this a serious bug. Is >> there a workaround?? Am I missing something basic? >> > > > 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From see3d at writeme.com Fri Jul 8 11:47:17 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 11:47:17 -0400 Subject: Making Revolution faster using dimensioned arrays In-Reply-To: <1120828183.42ce7b1754755@staffmail.ed.ac.uk> References: <1120828183.42ce7b1754755@staffmail.ed.ac.uk> Message-ID: On Jul 8, 2005, at 9:09 AM, Marielle Lange wrote: > Dennis > > I would be interested to know if in you timing test, you also tried > using a > variable rather than an array. > > repeat for x in (trows) > repeat for y in (tcolumns) > do something on (variable & "_" & x & "_" & y). > end repeat > end repeat Marielle, The do operator would be very slow, as it has to compile the line, then execute it. + what if you store all rows in one array rowdata[1] and all columns in another one columndata[1]. You then reduce the dimensionality and perhaps access time. Yes, I have organized data both ways at times to get the best access method I do try to limit the number of accesses as much as possible. Whenever possible I use the form: repeat for each line theLine in textArray repeat for each item theItem in theLine process theItem end repeat end repeat which is about as fast as you can get, but many times I need to index into the data so I might use: split textArray by return repeat with i-2 to 1000 step 5 put textArray[i] into itemArray split itemArray by comma repeat with j=2 to 1000 step 3 process itemArray[j] end repeat end repeat I might also mix the two forms to get the most speed. I try to make the most of what Rev has to offer today in how I organize my data. However, that requires a lot more thought, and you have to understand what is fast and what is slow in Rev. It is just not the case that you can solve the problem in the most straight forward way --if you care about how long it takes to get the answer. For simple things, it usually does not matter, but for complex applications, the speed is important. The crazy thing is that with Rev, doing more complex applications is more practical for the amateur programmer, but the results are unsatisfactory due to the speed of execution. There is no reason in my mind that precludes having both ease of use and reasonably fast speed for the speed critical portions of an application. Dennis From b.alleyne at btinternet.com Fri Jul 8 12:24:10 2005 From: b.alleyne at btinternet.com (Brian Alleyne) Date: Fri, 8 Jul 2005 17:24:10 +0100 Subject: How to get Serendipity DB? Message-ID: <200507081724.10724.b.alleyne@btinternet.com> Is there a working link where I can obtain the Serendipity DB? cheers, Brian From eric.chatonet at sosmartsoftware.com Fri Jul 8 12:31:27 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 18:31:27 +0200 Subject: How to get Serendipity DB? In-Reply-To: <200507081724.10724.b.alleyne@btinternet.com> References: <200507081724.10724.b.alleyne@btinternet.com> Message-ID: <7BD060B7-5125-4CFD-AD22-843016357CC0@sosmartsoftware.com> http://wecode.org/serendipity/ Le 8 juil. 05 ? 18:24, Brian Alleyne a ?crit : > Is there a working link where I can obtain the Serendipity DB? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Fri Jul 8 12:33:29 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Jul 2005 09:33:29 -0700 Subject: fonts & styles In-Reply-To: References: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> Message-ID: <42CEAAD9.8030608@fourthworld.com> Charles Hartman wrote: > Let me put it another way. If I want all text in a field that doesn't > have a specified font to be in the owner's font -- isn't that the whole > idea of inheritance? -- then why should that _font_ setup be overridden > by a _style_ setting? It was implemented that way many years ago (long before RunRev acquired the engine) as a workaround for other issues. Style attributes should of course be independent of one another. There's a Bugzilla request for this: As you can tell by its number it's been there a long time. Fortunately RunRev is aware of this and it's my understanding it's on their radar; I don't know to what degree it's being actively worked on right now. Hopefully someone from RunRev will chime in here with a status report on this. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Fri Jul 8 12:50:22 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 09:50:22 -0700 Subject: recOnline Viewer In-Reply-To: <2C92B86B-99F0-4B89-AC73-CB90C5FCF0A9@sosmartsoftware.com> References: <42CE7F16.9050905@sover.net> <2C92B86B-99F0-4B89-AC73-CB90C5FCF0A9@sosmartsoftware.com> Message-ID: <891005345.20050708095022@ahsoftware.net> Eric- Friday, July 8, 2005, 6:33:28 AM, you wrote: EC> May I add that the prefs button at the top-right of the Rev Online EC> window does not make sense? EC> I thought for a long time it was only a "logo" :-) !!! A prefs button !!! I never thought about clicking on it !!! -- -Mark Wieder mwieder at ahsoftware.net From see3d at writeme.com Fri Jul 8 13:12:09 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 13:12:09 -0400 Subject: Intersecting data question/challenge Message-ID: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> Hello clever Rev programmers, I have a simple question or maybe it is a simple challenge. I have two lists of integers. The list are not long, perhaps 5 to 50 items e.g.: list1="310,423,522,211,107,340," lis2="311,312,313,318,320,323,325,330,333,337,340," I want to find if any of the items in list1 have a match in list2. I know I could do it with a repeat, something like this: get false repeat for each item theItem in list1 if theItem is not among the items of list2 then next repeat get true exit repeat end repeat I was wondering if it could be done faster without a repeat through some Rev trick. Dennis From charles.hartman at conncoll.edu Fri Jul 8 13:21:34 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 8 Jul 2005 13:21:34 -0400 Subject: fonts & styles In-Reply-To: <42CEAAD9.8030608@fourthworld.com> References: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> <42CEAAD9.8030608@fourthworld.com> Message-ID: Bizarre. Well, so how _can_ I work around it? All I want to do is set a textfont in the main stack (on open, depending on platform), and have all non-font-specified text adopt (inherit) that font, without losing my links and such. The inheritance gets killed when Rev -- gratuitously, as far as I can tell -- inserts a hard-wired font tag after any pair of style tags. Am I looking for some way, after opening the stack and possibly changing the default font, of searching through every card (?!) for extra font tags and deleting them? I'm not sure I see how to do that. Charles Hartman On Jul 8, 2005, at 12:33 PM, Richard Gaskin wrote: > Charles Hartman wrote: > >> Let me put it another way. If I want all text in a field that >> doesn't have a specified font to be in the owner's font -- isn't >> that the whole idea of inheritance? -- then why should that >> _font_ setup be overridden by a _style_ setting? >> > > It was implemented that way many years ago (long before RunRev > acquired the engine) as a workaround for other issues. Style > attributes should of course be independent of one another. > > There's a Bugzilla request for this: > > > As you can tell by its number it's been there a long time. > Fortunately RunRev is aware of this and it's my understanding it's > on their radar; I don't know to what degree it's being actively > worked on right now. Hopefully someone from RunRev will chime in > here with a status report on this. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From charles.hartman at conncoll.edu Fri Jul 8 13:21:34 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 8 Jul 2005 13:21:34 -0400 Subject: fonts & styles In-Reply-To: <42CEAAD9.8030608@fourthworld.com> References: <4485E2D1-E8D4-43C1-A9E8-18DB0653661B@conncoll.edu> <7CBEC5B7-B26B-4E85-9CE9-A3CAC90F57B4@sosmartsoftware.com> <42CEAAD9.8030608@fourthworld.com> Message-ID: Bizarre. Well, so how _can_ I work around it? All I want to do is set a textfont in the main stack (on open, depending on platform), and have all non-font-specified text adopt (inherit) that font, without losing my links and such. The inheritance gets killed when Rev -- gratuitously, as far as I can tell -- inserts a hard-wired font tag after any pair of style tags. Am I looking for some way, after opening the stack and possibly changing the default font, of searching through every card (?!) for extra font tags and deleting them? I'm not sure I see how to do that. Charles Hartman On Jul 8, 2005, at 12:33 PM, Richard Gaskin wrote: > Charles Hartman wrote: > >> Let me put it another way. If I want all text in a field that >> doesn't have a specified font to be in the owner's font -- isn't >> that the whole idea of inheritance? -- then why should that >> _font_ setup be overridden by a _style_ setting? >> > > It was implemented that way many years ago (long before RunRev > acquired the engine) as a workaround for other issues. Style > attributes should of course be independent of one another. > > There's a Bugzilla request for this: > > > As you can tell by its number it's been there a long time. > Fortunately RunRev is aware of this and it's my understanding it's > on their radar; I don't know to what degree it's being actively > worked on right now. Hopefully someone from RunRev will chime in > here with a status report on this. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs From eric.chatonet at sosmartsoftware.com Fri Jul 8 13:41:50 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 19:41:50 +0200 Subject: Intersecting data question/challenge In-Reply-To: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> Message-ID: <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> Hi Dennis, You astonished me! Are you not the guy who is fascinated by arrays? And, may be, by the intersect command? Le 8 juil. 05 ? 19:12, Dennis Brown a ?crit : > Hello clever Rev programmers, > > I have a simple question or maybe it is a simple challenge. > > I have two lists of integers. The list are not long, perhaps 5 to > 50 items e.g.: > list1="310,423,522,211,107,340," > lis2="311,312,313,318,320,323,325,330,333,337,340," > > I want to find if any of the items in list1 have a match in list2. > I know I could do it with a repeat, something like this: > > get false > repeat for each item theItem in list1 > if theItem is not among the items of list2 then next repeat > get true > exit repeat > end repeat > > I was wondering if it could be done faster without a repeat through > some Rev trick. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From userev at canelasoftware.com Fri Jul 8 13:49:33 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 8 Jul 2005 10:49:33 -0700 Subject: revDeleteFolder and Lessons Learned.. In-Reply-To: References: <42CDE82B.6060301@chipp.com> Message-ID: <0703D61C-0ADB-43E5-903F-BCA46FB9BC0A@canelasoftware.com> On Jul 8, 2005, at 6:25 AM, Eric Chatonet wrote: > First, Chipp, I really feel for you in your sorrow. > One day or another, we have all known that one second thing able to > cause havoc... and all the hours later to put the things right. Virtual PC for both Macs and Windows is really useful for things like this. It has an undo drive feature that protects you from mistakes like this. Mark Talluto -- CANELA Software http://www.canelasoftware.com From mwieder at ahsoftware.net Fri Jul 8 13:51:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 10:51:35 -0700 Subject: documentation mini-bug In-Reply-To: <42CE81C6.7090002@sover.net> References: <42CE81C6.7090002@sover.net> Message-ID: <1994678407.20050708105135@ahsoftware.net> Jon- I assume you're filing bug reports on all these things. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 8 14:00:10 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 11:00:10 -0700 Subject: recOnline Viewer In-Reply-To: References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Message-ID: <1995193167.20050708110010@ahsoftware.net> sims- Friday, July 8, 2005, 7:37:55 AM, you wrote: s> Can anyone point me to a preference for keeping it closed unless s> I want to open it myself? Interesting. That's the way it works for me. I use the App Browser all the time, so it's convenient that it pops up for me when I start rev. However, when I do close it and then shut down the IDE it doesn't pop up the next time I launch rev. Are you seeing something different? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 8 14:03:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 11:03:24 -0700 Subject: recOnline Viewer In-Reply-To: References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> Message-ID: <435387136.20050708110324@ahsoftware.net> David- Friday, July 8, 2005, 7:49:58 AM, you wrote: DB> Well that's what I was suggesting, an "Open App Browser on Launch" DB> Checkbox would do it. Or maybe "Open App Browser when Opening Stack" DB> would be better. The App Browser remembers the last setting. If you had it open, it opens the next time. If you had it closed, it stays closed. What's the problem? I suppose having a checkbox by the menuItem would be a good visual indicator, but I see having Yet Another Preference Setting as being redundant here. -- -Mark Wieder mwieder at ahsoftware.net From sims at ezpzapps.com Fri Jul 8 14:19:03 2005 From: sims at ezpzapps.com (sims) Date: Fri, 8 Jul 2005 20:19:03 +0200 Subject: recOnline Viewer In-Reply-To: <1995193167.20050708110010@ahsoftware.net> References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> <1995193167.20050708110010@ahsoftware.net> Message-ID: At 11:00 AM -0700 7/8/05, Mark Wieder wrote: >I use the App Browser all the time, so it's convenient that it pops up >for me when I start rev. However, when I do close it and then shut >down the IDE it doesn't pop up the next time I launch rev. > >Are you seeing something different? When I "Close and Remove From Memory" the App Browser pops up even if I hadn't opened it during that session. I'd like to have the option for that not to happen...as I rarely use it. ciao, sims From mdswindell at charter.net Fri Jul 8 14:39:03 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 8 Jul 2005 11:39:03 -0700 Subject: documentation mini-bug In-Reply-To: <42CE81C6.7090002@sover.net> References: <42CE81C6.7090002@sover.net> Message-ID: <10AFCEFA-C6B0-4687-BFF5-B55BB253140C@charter.net> The "feature" I most like in the docs is the dialog that drops down over and over and over and over letting me know it can't find what I typed in but not letting me modify the search term or type in anything new. Argh. Mark On Jul 8, 2005, at 6:38 AM, Jon wrote: > When I open the Rev Documentation, almost every time, the currently > active button (Objects, Dictionary, etc) does not correspond to the > currently displayed content. > > I also have a feature request: while looking at the Dictionary, it > sure would be nice if I typed "OPE" and the list jumped to the > entries starting with "Open"... > > :) > > Jon From jbv.silences at Club-Internet.fr Fri Jul 8 14:50:06 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 08 Jul 2005 20:50:06 +0200 Subject: Intersecting data question/challenge References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> Message-ID: <42CECAD7.F22CD78@Club-Internet.fr> Dennis, Use arrays; Something like : put "" into myT1 put "" into myT2 repeat for each item i in list1 put 1 into myT1[i] end repeat repeat for each item i in list2 put 1 into myT2[i] end repeat get the keys of myT1 repeat for each line j in it if myT2[j]=1 then get true exit repeat end if end repeat JB > Hello clever Rev programmers, > > I have a simple question or maybe it is a simple challenge. > > I have two lists of integers. The list are not long, perhaps 5 to 50 > items e.g.: > list1="310,423,522,211,107,340," > lis2="311,312,313,318,320,323,325,330,333,337,340," > > I want to find if any of the items in list1 have a match in list2. > I know I could do it with a repeat, something like this: > > get false > repeat for each item theItem in list1 > if theItem is not among the items of list2 then next repeat > get true > exit repeat > end repeat > > I was wondering if it could be done faster without a repeat through > some Rev trick. > > Dennis > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Fri Jul 8 14:50:40 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 14:50:40 -0400 Subject: Intersecting data question/challenge In-Reply-To: <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> Message-ID: <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> Eric, Yes, I looked at the intersect command, but it performs the action on the keys not the data from a list. I would have to create an array element for each integer in the list with the integer as the key. Sounded like two loops that would run even slower than my example: repeat for each item theItem in list1 put empty into myArray1[theItem] end repeat repeat for each item theItem in list2 put empty into myArray2[theItem] end repeat intersect myArray1 with myArray2 if the keys of myArray1 is empty then get false else get true In actual practice, the above example runs 3 times slower than the below example for the sample data shown. However, knowing that Rev had such a command for the keys, I thought perhaps someone knew of a more clever way to use it, or maybe there was another way to intersect data. Dennis On Jul 8, 2005, at 1:41 PM, Eric Chatonet wrote: > Hi Dennis, > > You astonished me! > > Are you not the guy who is fascinated by arrays? > And, may be, by the intersect command? > > Le 8 juil. 05 ? 19:12, Dennis Brown a ?crit : > > >> Hello clever Rev programmers, >> >> I have a simple question or maybe it is a simple challenge. >> >> I have two lists of integers. The list are not long, perhaps 5 to >> 50 items e.g.: >> list1="310,423,522,211,107,340," >> list2="311,312,313,318,320,323,325,330,333,337,340," >> >> I want to find if any of the items in list1 have a match in list2. >> I know I could do it with a repeat, something like this: >> >> get false >> repeat for each item theItem in list1 >> if theItem is not among the items of list2 then next repeat >> get true >> exit repeat >> end repeat >> >> I was wondering if it could be done faster without a repeat >> through some Rev trick. >> > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Fri Jul 8 15:11:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 21:11:13 +0200 Subject: documentation mini-bug In-Reply-To: <10AFCEFA-C6B0-4687-BFF5-B55BB253140C@charter.net> References: <42CE81C6.7090002@sover.net> <10AFCEFA-C6B0-4687-BFF5-B55BB253140C@charter.net> Message-ID: Hi Mark, This irritating behaviour has been fixed with Rev 2.6 (may be 2.5.1: I don't remember exactly). Is it enough to upgrade? :-) Le 8 juil. 05 ? 20:39, Mark Swindell a ?crit : > The "feature" I most like in the docs is the dialog that drops down > over and over and over and over letting me know it can't find what > I typed in but not letting me modify the search term or type in > anything new. Argh. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Fri Jul 8 15:13:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 21:13:53 +0200 Subject: Intersecting data question/challenge In-Reply-To: <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> Message-ID: <05E25F22-0DAE-47FF-89A9-B734BA359292@sosmartsoftware.com> Hello Dennis, You are right. I was a little bit fast. At least more than 2 repeat loops ;-) Le 8 juil. 05 ? 20:50, Dennis Brown a ?crit : > Yes, I looked at the intersect command, but it performs the action > on the keys not the data from a list. I would have to create an > array element for each integer in the list with the integer as the > key. Sounded like two loops that would run even slower than my > example: > > repeat for each item theItem in list1 > put empty into myArray1[theItem] > end repeat > repeat for each item theItem in list2 > put empty into myArray2[theItem] > end repeat > intersect myArray1 with myArray2 > if the keys of myArray1 is empty then get false else get true > > In actual practice, the above example runs 3 times slower than the > below example for the sample data shown. > > However, knowing that Rev had such a command for the keys, I > thought perhaps someone knew of a more clever way to use it, or > maybe there was another way to intersect data. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From see3d at writeme.com Fri Jul 8 15:26:11 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 15:26:11 -0400 Subject: Intersecting data question/challenge In-Reply-To: <42CECAD7.F22CD78@Club-Internet.fr> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <42CECAD7.F22CD78@Club-Internet.fr> Message-ID: JB, It will work, but not a speed improvement. It will run about 8 times slower than my original example. It takes Rev a lot of work (time) to create an array element. Dennis On Jul 8, 2005, at 2:50 PM, jbv wrote: > > > Dennis, > > Use arrays; Something like : > > put "" into myT1 > put "" into myT2 > repeat for each item i in list1 > put 1 into myT1[i] > end repeat > repeat for each item i in list2 > put 1 into myT2[i] > end repeat > > get the keys of myT1 > repeat for each line j in it > if myT2[j]=1 then > get true > exit repeat > end if > end repeat > > JB > > >> Hello clever Rev programmers, >> >> I have a simple question or maybe it is a simple challenge. >> >> I have two lists of integers. The list are not long, perhaps 5 to 50 >> items e.g.: >> list1="310,423,522,211,107,340," >> lis2="311,312,313,318,320,323,325,330,333,337,340," >> >> I want to find if any of the items in list1 have a match in list2. >> I know I could do it with a repeat, something like this: >> >> get false >> repeat for each item theItem in list1 >> if theItem is not among the items of list2 then next repeat >> get true >> exit repeat >> end repeat >> >> I was wondering if it could be done faster without a repeat through >> some Rev trick. >> >> Dennis >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revlist at cableone.net Fri Jul 8 15:29:15 2005 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 8 Jul 2005 13:29:15 -0600 Subject: Intersecting data question/challenge In-Reply-To: <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> Message-ID: <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> Could you make use of the split command somehow? You would have to format your lists a little differently, but if you did it right and specified a primary and secondary delimiter, you might be able to get quick results and still take advantage of the intersect command. Anyway, just another idea. Chris Sheffield On Jul 8, 2005, at 12:50 PM, Dennis Brown wrote: > Eric, > > Yes, I looked at the intersect command, but it performs the action > on the keys not the data from a list. I would have to create an > array element for each integer in the list with the integer as the > key. Sounded like two loops that would run even slower than my > example: > > repeat for each item theItem in list1 > put empty into myArray1[theItem] > end repeat > repeat for each item theItem in list2 > put empty into myArray2[theItem] > end repeat > intersect myArray1 with myArray2 > if the keys of myArray1 is empty then get false else get true > > In actual practice, the above example runs 3 times slower than the > below example for the sample data shown. > > However, knowing that Rev had such a command for the keys, I > thought perhaps someone knew of a more clever way to use it, or > maybe there was another way to intersect data. > > Dennis ------------------------------------------ Chris Sheffield Read Naturally The Fluency Company http://www.readnaturally.com ------------------------------------------ From wsumner at im.wustl.edu Fri Jul 8 15:33:38 2005 From: wsumner at im.wustl.edu (Walton Sumner) Date: Fri, 08 Jul 2005 14:33:38 -0500 Subject: FW: European parliament rejects software patents In-Reply-To: <42CEC545.40904@btinternet.com> Message-ID: Here's a message I received from another mailing list. I'm curious what the Revolution team's take is on this. I can not tell if the parliament's proposal was to stop patenting software logic, or software products in general (as some clearly desire), or if there is a difference, how you make the distinction. Would this shackle or unshackle software giants? How do you think it affects Rev's future? As a USA consumer intermittently relying on commercial European software innovation (XMLSpy, Revolution), I'd be disappointed to see it end, or even to see quality deteriorate. --Walt Sumner ------- Forwarded Message .... No software patents in Europe, FSFE requests EPO review instrument *After years of struggle, the European Parliament finally rejected the software patent directive with 648 of 680 votes: A strong signal against patents on software logic, a sign of lost faith in the European Union and a clear request for the European Patent Office (EPO) to change its policy: the EPO must stop issuing software patents today http://mail.fsfeurope.org/pipermail/press-release/2005q3/000109.html _______________________________________________ os-wg mailing list .... ------ End of Forwarded Message From cford at sc.edu Fri Jul 8 15:41:33 2005 From: cford at sc.edu (Curtis Ford) Date: Fri, 8 Jul 2005 15:41:33 -0400 Subject: test, please ignore Message-ID: <47e18497c0f1c755987070d6184dbf4b@sc.edu> ------ From gbojsza at gmail.com Fri Jul 8 16:10:26 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Fri, 8 Jul 2005 16:10:26 -0400 Subject: Send mouseUp to tab button? Message-ID: <3d8af4150507081310146def8c@mail.gmail.com> Is it possible to send a mouseUp to a particular tab on a tab button? A work around for now is for me to set the menuhistory of the button to the tab number I want and then to show / hide the appropriate objects. It would be cleaner just send to send a mouseUp but I can't figure out how to select the tab I want? thanks, From eric.chatonet at sosmartsoftware.com Fri Jul 8 16:14:57 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 22:14:57 +0200 Subject: Send mouseUp to tab button? In-Reply-To: <3d8af4150507081310146def8c@mail.gmail.com> References: <3d8af4150507081310146def8c@mail.gmail.com> Message-ID: Hi Glen, You got the better way to do what you want since setting the menuHistory sends a menuPick message to the tabbed button. And, for tabbed buttons, menuPick is like a mouseUp at the right place :-) Le 8 juil. 05 ? 22:10, Glen Bojsza a ?crit : > Is it possible to send a mouseUp to a particular tab on a tab button? > > A work around for now is for me to set the menuhistory of the button > to the tab number I want and then to show / hide the appropriate > objects. > > It would be cleaner just send to send a mouseUp but I can't figure out > how to select the tab I want? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bann at sunncomm.com Fri Jul 8 16:19:38 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 8 Jul 2005 13:19:38 -0700 Subject: How to make a audio player using Revolution Message-ID: I am new to Rev. Could someone please help me how to create a audio player? Thank you From jbv.silences at Club-Internet.fr Fri Jul 8 16:27:36 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 08 Jul 2005 22:27:36 +0200 Subject: Intersecting data question/challenge References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <42CECAD7.F22CD78@Club-Internet.fr> Message-ID: <42CEE1AE.C19A9651@Club-Internet.fr> Dennis, Using arrays will always be a speed improvement. My script creates arrays from your lists of items with loops just for the purpose of the demonstration. As someone else suggested, you can use "split" to create your arrays, or better : drop your lists of items and configure your data as arrays from the beginning. Just for the anecdote, I have a cgi script that makes extensive use of arrays (and only arrays), and it builds 16 pages pdf files of about 1.4 Mb in roughly 0.1 second, while the previous version (using items lists) took 3 to 4 seconds... JB > JB, > > It will work, but not a speed improvement. > It will run about 8 times slower than my original example. > It takes Rev a lot of work (time) to create an array element. > > Dennis > > On Jul 8, 2005, at 2:50 PM, jbv wrote: > > > > > > > Dennis, > > > > Use arrays; Something like : > > > > put "" into myT1 > > put "" into myT2 > > repeat for each item i in list1 > > put 1 into myT1[i] > > end repeat > > repeat for each item i in list2 > > put 1 into myT2[i] > > end repeat > > > > get the keys of myT1 > > repeat for each line j in it > > if myT2[j]=1 then > > get true > > exit repeat > > end if > > end repeat > > > > JB > > > > > >> Hello clever Rev programmers, > >> > >> I have a simple question or maybe it is a simple challenge. > >> > >> I have two lists of integers. The list are not long, perhaps 5 to 50 > >> items e.g.: > >> list1="310,423,522,211,107,340," > >> lis2="311,312,313,318,320,323,325,330,333,337,340," > >> > >> I want to find if any of the items in list1 have a match in list2. > >> I know I could do it with a repeat, something like this: > >> > >> get false > >> repeat for each item theItem in list1 > >> if theItem is not among the items of list2 then next repeat > >> get true > >> exit repeat > >> end repeat > >> > >> I was wondering if it could be done faster without a repeat through > >> some Rev trick. > >> > >> Dennis > >> _______________________________________________ > >> use-revolution mailing list > >> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From revlist at cableone.net Fri Jul 8 16:30:14 2005 From: revlist at cableone.net (Chris Sheffield) Date: Fri, 8 Jul 2005 14:30:14 -0600 Subject: Send mouseUp to tab button? In-Reply-To: <3d8af4150507081310146def8c@mail.gmail.com> References: <3d8af4150507081310146def8c@mail.gmail.com> Message-ID: Hi Glen, Check out the menuPick message. If you set the menuHistory of your tab button, a menuPick message will get sent to it, and you'll be able to determine the tab you set and hide/show controls as necessary, HTH, Chris On Jul 8, 2005, at 2:10 PM, Glen Bojsza wrote: > Is it possible to send a mouseUp to a particular tab on a tab button? > > A work around for now is for me to set the menuhistory of the button > to the tab number I want and then to show / hide the appropriate > objects. > > It would be cleaner just send to send a mouseUp but I can't figure out > how to select the tab I want? > > thanks, > _______________________________________________ > use-revolution mailing list > use-revolution at 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 ------------------------------------------ From alex at tweedly.net Fri Jul 8 16:33:02 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 08 Jul 2005 21:33:02 +0100 Subject: Intersecting data question/challenge In-Reply-To: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> Message-ID: <42CEE2FE.6060008@tweedly.net> Dennis Brown wrote: > Hello clever Rev programmers, > > I have a simple question or maybe it is a simple challenge. > > I have two lists of integers. The list are not long, perhaps 5 to 50 > items e.g.: > list1="310,423,522,211,107,340," > lis2="311,312,313,318,320,323,325,330,333,337,340," > Are the items in each list known to be unique or not ? i.e. could I have list1 = "310,423,310" ? > I want to find if any of the items in list1 have a match in list2. > I know I could do it with a repeat, something like this: > > get false > repeat for each item theItem in list1 > if theItem is not among the items of list2 then next repeat > get true > exit repeat > end repeat > > I was wondering if it could be done faster without a repeat through > some Rev trick. > For data samples that small, I doubt if there will be anything faster. For data large enough to overcome the cost of some set-up time (say upwards of 20,000 items in each set), you might get faster with either an array/intersect based scheme, or simply by sorting and stepwise comparing each one. The array method is especially appealing if there can be repeated entries. For *large* data sets, you might be best with binary-search comparing of sorted lists - especially if you can arrange things such that the lists are sorted ahead of time. And for 5 to 50 items - who cares : the simple solution doesn't take long enough to warrant any time spent optimizing it :-) -- 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.8.10/43 - Release Date: 06/07/2005 From cford at sc.edu Fri Jul 8 16:35:32 2005 From: cford at sc.edu (Curtis Ford) Date: Fri, 8 Jul 2005 16:35:32 -0400 Subject: mixed languages in a field? HTMLText problems Message-ID: As a newbie I'm getting gray hairs trying to build a scrolling text field that will display both English and Russian. (The code already works well for English & other languages in the Latin alphabet, including accents, umlauts, etc.). Simplifying a little, I have: repeat with i = 1 to gHowManyItems [some code to get the first item] put [first item] after gWordList [more code for 2nd item] put tab & [2nd item] after gWordList [some code to get the 3rd item] put return & [3rd item] after gWordList [some code to get the 4th item] put tab & [4th item] after gWordList end repeat set the HTMLText of field "list field" to gWordList When the first item is in Russian it shows up fine, but the following English word displays as Chinese characters. When experimenting, I tried adding put "test some English at beginning" && return before gWordList put return & "test some English at end" after gWordList ..after building the list but before setting the HTMLText of the field. The English text added before gWordList displayed fine; the Russian elements in gWordList displayed fine; but the English text added after gWordList was gibberish. It seems that once an element in Russian has been added, it doesn't want to go back to an encoding that works with English - ? I've been able to copy mixed-language text from one field to another when I'd entered the text in Revolution (using HTMLText), but when I try to create something that fills fields dynamically from variables, I can't get it to work right. Is there something that prevents mixing languages in a field? Am I missing something obvious? Are there any sample files out there that demonstrate using different languages in a field using HTMLText? Thanks for any suggestions! -Curt Dr. Curtis Ford Instructor of Russian and Linguistics Dept. of Language, Literatures and Cultures University of South Carolina cford @ sc.edu From alex at tweedly.net Fri Jul 8 16:38:37 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 08 Jul 2005 21:38:37 +0100 Subject: Intersecting data question/challenge In-Reply-To: <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> Message-ID: <42CEE44D.2020304@tweedly.net> Chris Sheffield wrote: > Could you make use of the split command somehow? You would have to > format your lists a little differently, but if you did it right and > specified a primary and secondary delimiter, you might be able to get > quick results and still take advantage of the intersect command. > Anyway, just another idea. > I tried that out; it's very similar in timing to the other array method (that includes the time to reformat the arrays into something that can be "split" as you need it - if the wider context could be changed, that could change). JB said: > put "" into myT1 > put "" into myT2 > repeat for each item i in list1 > put 1 into myT1[i] > end repeat > repeat for each item i in list2 > put 1 into myT2[i] > end repeat > > get the keys of myT1 > repeat for each line j in it > if myT2[j]=1 then > get true > exit repeat > end if > end repeat If all you do with myT1 is take the keys of it, you don't need to create that array - you can put list2 into an array (either element by element, or using split), and the do a (fast) repeat for each item of list1 Might be worth it if list2 is large enough ... -- 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.8.10/43 - Release Date: 06/07/2005 From mwieder at ahsoftware.net Fri Jul 8 16:46:46 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 13:46:46 -0700 Subject: recOnline Viewer In-Reply-To: References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> <1995193167.20050708110010@ahsoftware.net> Message-ID: <5715189381.20050708134646@ahsoftware.net> sims- Friday, July 8, 2005, 11:19:03 AM, you wrote: s> When I "Close and Remove From Memory" the App Browser s> pops up even if I hadn't opened it during that session. s> I'd like to have the option for that not to happen...as I rarely use it. Ah - got it. That's a different issue from what I was thinking of. Just curious, though - don't you have a hard time selecting invisible or off-screen objects without it? Seems rather like trying to pilot a plane without instruments to me. It's a handy way for me to know what stacks *are* in memory, so I can close them before running into the dreaded error message about a stack by that name already existing. -- -Mark Wieder mwieder at ahsoftware.net From eric.chatonet at sosmartsoftware.com Fri Jul 8 16:50:39 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 22:50:39 +0200 Subject: mixed languages in a field? HTMLText problems In-Reply-To: References: Message-ID: Hi Curt, Before struggling with unicode, you have to build right html first: You set the htmlText of your field to a string which is not html but in fact usual text. For instance, tab in html is " " and "tab" in html is only a text string... In order to understand how translation can be made between html and usual text, you might be interested by downloading my Encoded Text Picker free plugin from my web-site (address below). It will allow you to translate any text from and to html automatically and then understand how to build your code properly :-) Take heart! 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- Le 8 juil. 05 ? 22:35, Curtis Ford a ?crit : > As a newbie I'm getting gray hairs trying to build a scrolling text > field that will display both English and Russian. (The code already > works well for English & other languages in the Latin alphabet, > including accents, umlauts, etc.). Simplifying a little, I have: > > repeat with i = 1 to gHowManyItems > > [some code to get the first item] > put [first item] after gWordList > [more code for 2nd item] > put tab & [2nd item] after gWordList > [some code to get the 3rd item] > put return & [3rd item] after gWordList > [some code to get the 4th item] > put tab & [4th item] after gWordList > > end repeat > > set the HTMLText of field "list field" to gWordList > > > When the first item is in Russian it shows up fine, but the > following English word displays as Chinese characters. > > When experimenting, I tried adding > put "test some English at beginning" && return before gWordList > put return & "test some English at end" after gWordList > > ..after building the list but before setting the HTMLText of the > field. > > The English text added before gWordList displayed fine; the Russian > elements in gWordList displayed fine; but the English text added > after gWordList was gibberish. It seems that once an element in > Russian has been added, it doesn't want to go back to an encoding > that works with English - ? > > I've been able to copy mixed-language text from one field to > another when I'd entered the text in Revolution (using HTMLText), > but when I try to create something that fills fields dynamically > from variables, I can't get it to work right. > > Is there something that prevents mixing languages in a field? Am I > missing something obvious? Are there any sample files out there > that demonstrate using different languages in a field using HTMLText? > > Thanks for any suggestions! From europe at ehug.info Fri Jul 8 16:57:22 2005 From: europe at ehug.info (Mark Schonewille) Date: Fri, 08 Jul 2005 22:57:22 +0200 Subject: FW: European parliament rejects software patents In-Reply-To: References: Message-ID: <42CEE8B2.8060204@ehug.info> Walton, The question the EP had to deal with was: are we going to replace the current set of agreements on national copyrights by a more clearly formulated European Direction on national copyrights? Apparently, it has been decided to keep everything as it is, for now. In the US, software is considered a "technology". This means that it can be patented. In Europe, only intellectual property such as algorithms and file formats can be patented, because they are considered technology. Everything else is considered the result of an author's work, using the available technology. In Europe, everything a software developer makes is copyrighted, immediately. As long as you keep working on it, it stays your piece of art. Only if you stop working on it, you may loose your copyrights in about 5 years. If you are not sure that you will update your software product regularly, you may want to register it. If you register it, you get official copyrights, protected by law, rather than a patent. Losing your copyright does not necessarily mean that people can use it freely. It only means that it is not protected by law. If you don't register your product within 5 years, people using your product may not recognize your authorship. You are still the author, however, and you can always take up your own work and exploit it. *All claims in the quoted message are completely wrong and I consider the message a hoax. There isn't even a "European Patent Office"!* If the EP had passed the Direction on software patents, everything could have been patented. Every single button that you use would represent a concept, which could be patented by the inventors of this concept. Windows, scroll bars, arrays, sockets, list fields... everything would have become patentable and you would have to pay for it. This was not the purpose of this Direction, but the result of a mere flaw in the formulation of the Direction. If the formulation is changed during the next few years, we may get a good and clear Direction. The main advantage of this is that both European and American developers understand what they may have to do to protect their work. The Direction that may pass EP next time, will probably not allow for patenting every single concept used in an interface. I think the EP made a wise decision (as expected, in this case). Additionally, this decision is much more a sign of faith in current EU institutions than a sign of lost faith in the EU as a whole. I don't expect the Revolution team to have a "take" on this. Nothing will change, all copyrights Runtime Revolution holds are well-protected, as are yours and mine. Only if the EP had passed the guideline, I would have started worrying. For more information, read the Editor notes on this website: Best regards, Mark Walton Sumner wrote: > Here's a message I received from another mailing list. I'm curious what the > Revolution team's take is on this. I can not tell if the parliament's > proposal was to stop patenting software logic, or software products in > general (as some clearly desire), or if there is a difference, how you make > the distinction. > > Would this shackle or unshackle software giants? How do you think it affects > Rev's future? > > As a USA consumer intermittently relying on commercial European software > innovation (XMLSpy, Revolution), I'd be disappointed to see it end, or even > to see quality deteriorate. > > --Walt Sumner > > > ------- Forwarded Message > .... > > No software patents in Europe, FSFE requests EPO review instrument > > *After years of struggle, the European Parliament finally rejected the > software patent directive with 648 of 680 votes: A strong signal against > patents on software logic, a sign of lost faith in the European Union > and a clear request for the European Patent Office (EPO) to change its > policy: the EPO must stop issuing software patents today > > http://mail.fsfeurope.org/pipermail/press-release/2005q3/000109.html > _______________________________________________ > os-wg mailing list > .... > > ------ End of Forwarded Message -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From see3d at writeme.com Fri Jul 8 17:06:46 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 17:06:46 -0400 Subject: Intersecting data question/challenge In-Reply-To: <42CEE1AE.C19A9651@Club-Internet.fr> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <42CECAD7.F22CD78@Club-Internet.fr> <42CEE1AE.C19A9651@Club-Internet.fr> Message-ID: <4F005F40-F2AB-403C-89F9-D68250270775@writeme.com> JB, You are right in that if I already had the lists setup as keys in an array it could run faster. In that case your example below with a repeat loop runs about the same speed as my original example with a repeat loop. However, using the intersect command instead of a repeat loop would run 4-8 times as fast as either loop version and is fast enough to use for my intended purpose as a direct test to see which blocks of code to execute inside a large loop. Unfortunately, an array is not an easy thing to use as a constant to check against. I would have to pre-build all my arrays beforehand. If I have to do that, I might just as well build an execution test matrix using the simple lists as parameters. I just wanted to avoid one more level of indirection for the sake of speed (I have so many already). However, I think I understand some new tricks now with your help and from Eric, Alex, and Chris. Thanks, Dennis On Jul 8, 2005, at 4:27 PM, jbv wrote: > > > Dennis, > > Using arrays will always be a speed improvement. > > My script creates arrays from your lists of items with loops > just for the purpose of the demonstration. As someone else > suggested, you can use "split" to create your arrays, or better : > drop your lists of items and configure your data as arrays > from the beginning. > > Just for the anecdote, I have a cgi script that makes extensive > use of arrays (and only arrays), and it builds 16 pages pdf > files of about 1.4 Mb in roughly 0.1 second, while the previous > version (using items lists) took 3 to 4 seconds... > > JB > > >> JB, >> >> It will work, but not a speed improvement. >> It will run about 8 times slower than my original example. >> It takes Rev a lot of work (time) to create an array element. >> >> Dennis >> >> On Jul 8, 2005, at 2:50 PM, jbv wrote: >> >> >>> >>> >>> Dennis, >>> >>> Use arrays; Something like : >>> >>> put "" into myT1 >>> put "" into myT2 >>> repeat for each item i in list1 >>> put 1 into myT1[i] >>> end repeat >>> repeat for each item i in list2 >>> put 1 into myT2[i] >>> end repeat >>> >>> get the keys of myT1 >>> repeat for each line j in it >>> if myT2[j]=1 then >>> get true >>> exit repeat >>> end if >>> end repeat >>> >>> JB >>> >>> >>> >>>> Hello clever Rev programmers, >>>> >>>> I have a simple question or maybe it is a simple challenge. >>>> >>>> I have two lists of integers. The list are not long, perhaps 5 >>>> to 50 >>>> items e.g.: >>>> list1="310,423,522,211,107,340," >>>> lis2="311,312,313,318,320,323,325,330,333,337,340," >>>> >>>> I want to find if any of the items in list1 have a match in list2. >>>> I know I could do it with a repeat, something like this: >>>> >>>> get false >>>> repeat for each item theItem in list1 >>>> if theItem is not among the items of list2 then next repeat >>>> get true >>>> exit repeat >>>> end repeat >>>> >>>> I was wondering if it could be done faster without a repeat through >>>> some Rev trick. >>>> >>>> Dennis >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gandalf at doctorTimothyMiller.com Fri Jul 8 17:11:10 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 8 Jul 2005 14:11:10 -0700 Subject: mark cards by finding -- new insights In-Reply-To: <42CDE798.2080107@hyperactivesw.com> References: <42CDE798.2080107@hyperactivesw.com> Message-ID: >On 7/7/05 8:34 PM, Timothy Miller wrote: > >>>I just checked out the possibility that somehow the script >>>inserted an invisible character into the variable. The number of >>>characters in the variable patientName is as it should be. > >Hm. So the text is okay. You could try setting a breakpoint in the >handler and walking through it in the debugger to make sure the >command is actually executing. That's about all I can think of. >(Although if you've already tried the command from the message box, >you already know it executed.) If it works in other stacks but not >in this one, then there has to be something different about this >stack. > Hi Jacque, and Marty, Thank you for your continuing interest in this relatively small "issue." (Issue is a Klingon word that means "problem." The Klingon term is widely employed in Silicon Valley.) I have investigated further. Your comments are good ones of course, though I must admit I had considered those items already. I actually discovered something interesting. I previously wrote: ********************* Different stack: >Unmark all cards >lock messages >mark cards by finding "Jones, Bob" in bg field "daily7" >answer the number of marked cards Three marked cards. Same stack: >put "Jones, Bob" into theVar >unmark all cards >lock messages >mark cards by finding theVar in bg field "daily7" >answer the number of marked cards Three marked cards, again. I'm pretty sure three is the correct number of hits. ****************** The next step was to try the same thing in the problematic stack. I tried that last night. Here's how it went. In the multi-line message box, I entered: >put "Jones, Bob" into theVar >unmark all cards >lock messages >mark cards by finding theVar in field "patient name" >answer the number of marked cards The correct number of hits would be 1. The number of marked cards came back as 0. I tried it repeatedly, and it failed repeatedly. Recall that this same script, in the message box, worked fine in a different stack. When I tried >put "Jones, Bob" into theVar >unmark all cards >lock messages >mark cards by finding string theVar in field "patient name" >answer the number of marked cards The number of marked cards was correct -- 1 card. The following script, also typed into the msg box, also worked fine: >put "Jones, Bob" into theVar >unmark all cards >lock messages >find theVar in field "patient name" Following the deductive chain, I concluded that the original script was not the problem, nor was the spelling of the contents of the variable, nor the contents of the field. Just to be sure, I went back to the problem script, got the charToNum of each character in the variable and compared it with the charToNum of each character in the field. They were identical. It seemed like the problem must either be a bug, or some property of the problem stack, the group (with "behave like a background" turned on), or the field. The problem stack didn't seem to have any unusual properties. Neither did the group or the field. "Ignore find command" was not checked in any of these objects. I don't understand all the basic field properties, but I messed around with turning "focusable" "lock text" and "auto hilite text" on or off. I was doing it somewhat haphazardly, not expecting much to happen. At some point, 'mark cards by finding thevar in..." started working. I knew I hadn't changed the script, because it remained typed in the msg box, unchanged. I saved and closed the stack, re-opened it. 'mark cards by finding theVar in...' stopped working again. This time, messing around with the field properties didn't get it working again. I tried all the combinations of "on" and "off" I had tried before. I didn't change the field properties before or after saving, closing and re-opening the stack. This morning, I tried again. Once again, 'mark cards by finding theVar...' didn't work. Zero hits. This time, I remembered the field had a script in it. One "on closefield" handler and one "on mouseUp" handler. I didn't think these would make a difference because messages were locked. Nevertheless, I temporarily commented these out. 'Mark cards by finding thevar...' started working correctly. However, when I un-commented the handlers, the 'mark cards by finding...' script continued to work. I saved and closed the stack, re-opened it, and the command continued to work. This time, I hadn't changed any field properties. It's hard to avoid the conclusion that this is an intermittent bug that is influenced by some combination of field properties and/or field scripts and/or the placement of the field in a group, and/or group properties, and/or turning on "behave like a background" in the group properties. It might be specific to OS X, and it might be influenced by the HCaddressing property, which is turned on in my case. I'm not thrilled by the prospect of trying to isolate the problem any further. The number of possibilities is too large. I think I won't. Gosh, that even bored me! I'm not sure this is of any interest to anyone. Maybe somehow, somewhere, it might be mildly useful to someone. Hope so. If it happened to me, it will probably happen to others, at least occasionally. I'm not going to submit it to bugzilla, because novices shouldn't do that. Someone more qualified might want to submit it on my behalf, if he/she is convinced that it's been investigated adequately. 'Mark cards by finding string theVar...' seems to work consistently and it suits my needs, so I'll stick with that. Cheers, Tim From eric.chatonet at sosmartsoftware.com Fri Jul 8 17:26:21 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 23:26:21 +0200 Subject: mark cards by finding -- new insights In-Reply-To: References: <42CDE798.2080107@hyperactivesw.com> Message-ID: <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> Hi Timothy, Le 8 juil. 05 ? 23:11, Timothy Miller a ?crit : > I'm not thrilled by the prospect of trying to isolate the problem But it's the only way to solve the issue. I can't tell you how many times I have created a *new* stack with *new* objects and the portion of code which made problems in another stack. I can't tell you how many times I have found by this way that the problem was elsewhere :-) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Fri Jul 8 17:42:16 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 8 Jul 2005 23:42:16 +0200 Subject: How to make a audio player using Revolution In-Reply-To: References: Message-ID: Hi Ban, Welcome to this list. Your question seems simple :-) In fact it depends on many factors the first one of which is to know if QuickTime is installed or not. This will decide on which file types you will able to play from the most common AIFF, WAV to AAC or mp3. Then you will decide if you want the files stored in your stack or stay as files on your hard-disk. Then, you will want to be able to set the loudness, to start playing, etc. It's a whole world! As for coding, you will use a player object the filename of which will be set to a sound file on your hard disk or the play command id the sound is stored in your stack. To get started, you could check the following in the Docs dictionary: play command player keyword currentTime property playLoudness property playRate property playStopped message sound function start command stop command Le 8 juil. 05 ? 22:19, Ban Nguyen a ?crit : > I am new to Rev. Could someone please help me how to create a audio > player? Thank you 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Fri Jul 8 17:48:03 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 8 Jul 2005 14:48:03 -0700 Subject: [OT] Re: European parliament rejects software patents In-Reply-To: <42CEE8B2.8060204@ehug.info> References: <42CEE8B2.8060204@ehug.info> Message-ID: <2D6D7049-1A1F-44EE-B659-1EA6766F1FA3@danshafer.com> This opens a very real can of worms and probably isn't a conversation we should have here. Having acknowledged that, let me add my two cents. First, my background. I have a law degree. I specialized in intellectual property law. I've written, prosecuted and defended several software patents without taking the Bar exam. I've decided not to become a practicing attorney. Second, I have become unalterably opposed to software patents. Copyright provides adequate protection for what programmers do for the most part. A unique algorithm (process) should be eligible for patent protection, but nothing else. I have NEVER seen a software patent application that didn't fail -- in my mind and with my background in programming -- the test of non-obviousness that is at the heart of patent protection in the U.S. The U.S. Patent & Trademark Office (PTO) has for years taken the position that it will largely grant all but the most outlandish software patent applications and let the courts sort things out. But at the end of it all, I just see patent as the wrong way to protect software innovation. It hurts everyone and helps nobody. Dan From bann at sunncomm.com Fri Jul 8 17:59:58 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 8 Jul 2005 14:59:58 -0700 Subject: Making an audio player....... Message-ID: Hello I am a new user of revolution and learning it... Does anyone have any example how to create an audio player? I have 5 .wav files. I want to make a list so user can click on any song to play. Basically an audio player that also can rew, forward, stop, pause and a status bar. Thank you very much for your help From gandalf at doctorTimothyMiller.com Fri Jul 8 18:05:12 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 8 Jul 2005 15:05:12 -0700 Subject: mark cards by finding -- new insights In-Reply-To: <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> Message-ID: >Hi Timothy, > >Le 8 juil. 05 ? 23:11, Timothy Miller a ?crit : > >>I'm not thrilled by the prospect of trying to isolate the problem > >But it's the only way to solve the issue. >I can't tell you how many times I have created a >*new* stack with *new* objects and the portion >of code which made problems in another stack. >I can't tell you how many times I have found by >this way that the problem was elsewhere :-) > >Best Regards from Paris, > >Eric Chatonet. I am sympathetic, Eric. If it's me and not Rev, I want to know it. If it's a Rev bug, I'm now a Rev loyalist, so I want Rev to know it, and if they don't have the resources to isolate it, I'm willing to help, up to a point. It would help if I could get the damned debugger to work. Could you toss me a clue? It sure doesn't act like the hyperCard debugger. It works fine on, for example, a simple mouseUp script in a simple button. However, if the button sends a message to a handler in a stack script (for instance), which then sends another message to another handler, nested or not, the debugger won't follow along. "Script debug mode" is definitely turned on. Step Into, etc., are absent and/or dimmed out, typically. Sometimes, I can see the script window open, several windows back, but I can't get to it until the script is done executing. I've tried setting multiple breakpoints in each handler, tried setting breakpoints by script. The script rolls right past them. The instructions say, "The breakpoint command has no effect unless the stack is running in the Revolution development environment." I'm using DreamCard. Does DreamCard count as the "revolution development environment?" Once again, I tried to read the instructions but they did not tell me what I need to know. I consulted Dan's book, too. Most of it seems intended for a less experienced user. Yet I am more or less a novice myself. If I must continually discover how Rev works by trial and error, because of inadequate documentation, 10,000 silent Rev users are silently giving up. Rev doesn't need that. For heaven's sake! It's advertised as a product that is easy for people like me to use. It isn't. It's hard. It would be easy for me to use IF the documentation would give me a concise explanation of some item when I needed concise, and a detailed explanation when I needed detailed, abundant examples when I needed them, and so on. I hope that comes along pretty soon. Best regards from California's Big Central Valley, Tim From eric.chatonet at sosmartsoftware.com Fri Jul 8 18:11:59 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 00:11:59 +0200 Subject: mark cards by finding -- new insights In-Reply-To: References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> Message-ID: <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> Hi Tim, First, DreamCard or Revolution: some features are different but it's the same IDE. As for the debugger, it's right that it needs to be debugged :-( I think that Runrev guys are working on it because you are right: a fabulous language without a reliable debugger is no worth. Above all for beginners. Le 9 juil. 05 ? 00:05, Timothy Miller a ?crit : > It works fine on, for example, a simple mouseUp script in a simple > button. However, if the button sends a message to a handler in a > stack script (for instance), which then sends another message to > another handler, nested or not, the debugger won't follow along. > "Script debug mode" is definitely turned on. Step Into, etc., are > absent and/or dimmed out, typically. Sometimes, I can see the > script window open, several windows back, but I can't get to it > until the script is done executing. I've tried setting multiple > breakpoints in each handler, tried setting breakpoints by script. > The script rolls right past them. > > The instructions say, "The breakpoint command has no effect unless > the stack is running in the Revolution development environment." > I'm using DreamCard. Does DreamCard count as the "revolution > development environment?" 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bann at sunncomm.com Fri Jul 8 18:12:32 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 8 Jul 2005 15:12:32 -0700 Subject: How to make a audio player using Revolution Message-ID: Thank Eric I have 5 .wav file First I need to creat an array? Could you give me some example how to code this. I want user can click to play, pause, stop, rev or forward. How do I code this? Thank you for your help -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Friday, July 08, 2005 2:42 PM To: How to use Revolution Subject: Re: How to make a audio player using Revolution Hi Ban, Welcome to this list. Your question seems simple :-) In fact it depends on many factors the first one of which is to know if QuickTime is installed or not. This will decide on which file types you will able to play from the most common AIFF, WAV to AAC or mp3. Then you will decide if you want the files stored in your stack or stay as files on your hard-disk. Then, you will want to be able to set the loudness, to start playing, etc. It's a whole world! As for coding, you will use a player object the filename of which will be set to a sound file on your hard disk or the play command id the sound is stored in your stack. To get started, you could check the following in the Docs dictionary: play command player keyword currentTime property playLoudness property playRate property playStopped message sound function start command stop command Le 8 juil. 05 ? 22:19, Ban Nguyen a ?crit : > I am new to Rev. Could someone please help me how to create a audio > player? Thank you 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Fri Jul 8 18:17:10 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 00:17:10 +0200 Subject: European parliament rejects software patents In-Reply-To: <42CEE8B2.8060204@ehug.info> References: <42CEE8B2.8060204@ehug.info> Message-ID: <92FCB2CB-B245-4A2F-9C93-E02F5597A479@sosmartsoftware.com> Hi all, As an European software developer, I struggled against this patents directive project at the European Parliament. If it had been adopted, this would have meant that major companies (Microsoft, Nokia, Sony, etc.) which *have the money* would have crippled all smaller software companies and all independent developers and then creation and *real* innovation. It would not be worrying. It would be tragic. Fortunately this project was rejected by more than 95% of the deputies against the Direction opinion :-) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Fri Jul 8 18:44:04 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 18:44:04 -0400 Subject: documentation mini-bug In-Reply-To: <1994678407.20050708105135@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> Message-ID: <42CF01B4.4030406@sover.net> Nope. I was told to use this list, because Rev could not support me as a customer. I know they read this list. I assume they are paying attention. If not, well, someone else will file a bug report. Sorry, but I really think that ALL I should have to do is point it out. Really. That's all my customers have to do. :( Mark Wieder wrote: >Jon- > >I assume you're filing bug reports on all these things. > > > From jbondy at sover.net Fri Jul 8 18:49:31 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 18:49:31 -0400 Subject: Intersecting data question/challenge In-Reply-To: <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> Message-ID: <42CF02FB.7060200@sover.net> How about loading a string with the numbers from one list, represented as strings (1 ==> "001", etc) appended and separated by spaces or commas. Then run through the second number list searching for each number in the above string? Hugely clunky, due to Rev's sloth, but it might be faster. I *@(*%# hate it when one has to jump through these kinds of hoops to make something work fast enough. I have better things to do with my time. Sigh. :) Jon Chris Sheffield wrote: > Could you make use of the split command somehow? You would have to > format your lists a little differently, but if you did it right and > specified a primary and secondary delimiter, you might be able to get > quick results and still take advantage of the intersect command. > Anyway, just another idea. > > Chris Sheffield > > > On Jul 8, 2005, at 12:50 PM, Dennis Brown wrote: > >> Eric, >> >> Yes, I looked at the intersect command, but it performs the action >> on the keys not the data from a list. I would have to create an >> array element for each integer in the list with the integer as the >> key. Sounded like two loops that would run even slower than my >> example: >> >> repeat for each item theItem in list1 >> put empty into myArray1[theItem] >> end repeat >> repeat for each item theItem in list2 >> put empty into myArray2[theItem] >> end repeat >> intersect myArray1 with myArray2 >> if the keys of myArray1 is empty then get false else get true >> >> In actual practice, the above example runs 3 times slower than the >> below example for the sample data shown. >> >> However, knowing that Rev had such a command for the keys, I thought >> perhaps someone knew of a more clever way to use it, or maybe there >> was another way to intersect data. >> >> Dennis > > > ------------------------------------------ > Chris Sheffield > Read Naturally > The Fluency Company > http://www.readnaturally.com > ------------------------------------------ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mdswindell at charter.net Fri Jul 8 18:55:24 2005 From: mdswindell at charter.net (Mark Swindell) Date: Fri, 8 Jul 2005 15:55:24 -0700 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <10AFCEFA-C6B0-4687-BFF5-B55BB253140C@charter.net> Message-ID: <79C29AC0-919B-4FD1-9DA2-932A655147EE@charter.net> 2.6 doesn't do it, you're right. Thank goodness. I had updated but hadn't noticed. Mark On Jul 8, 2005, at 12:11 PM, Eric Chatonet wrote: > Hi Mark, > > This irritating behaviour has been fixed with Rev 2.6 (may be > 2.5.1: I don't remember exactly). > Is it enough to upgrade? > :-) > > Le 8 juil. 05 ? 20:39, Mark Swindell a ?crit : > > >> The "feature" I most like in the docs is the dialog that drops >> down over and over and over and over letting me know it can't find >> what I typed in but not letting me modify the search term or type >> in anything new. Argh. >> From bann at sunncomm.com Fri Jul 8 19:46:41 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 8 Jul 2005 16:46:41 -0700 Subject: Scrolling List field Message-ID: Hello I've been searching the command to make the scrolling list field works. I want user click on a line and see an action. Thank you From rgriffit at ctc.net Fri Jul 8 20:26:15 2005 From: rgriffit at ctc.net (Raymond E. Griffith) Date: Fri, 08 Jul 2005 20:26:15 -0400 Subject: Intersecting data question/challenge In-Reply-To: <4F005F40-F2AB-403C-89F9-D68250270775@writeme.com> Message-ID: Dennis, I have a suggestion. It isn't perfect, but it does appear to be relatively fast. I start by creating return-delimited lists. The lists have 5000 elements in them and 2000 elements in them, respectively, although due to repeats the customkeys are significantly less. One problem is that you cannot set the keys of a variable directly. You can, however, set the customkeys of an object directly, then put those customproperties into a variable. Then use intersect. As I said, this appears to me to be relatively fast. on mouseUp put 5000 into n1 put 2000 into n2 repeat with i = 1 to n1 put random(10000) & cr after A end repeat repeat with i = 1 to n2 put random(10000) & cr after B end repeat put the long milliseconds into ms set the customkeys of fld "LA" to A set the customkeys of fld "LB" to B put the customproperties of fld "LA" into arrA put the customproperties of fld "LB" into arrB intersect arrA with arrB answer keys(arrA) & return & "___" & the long milliseconds - ms end mouseUp Perhaps someone can try comparing this idea with others for time trials? I hope this helps. Raymond E. Griffith > JB, > > You are right in that if I already had the lists setup as keys in an > array it could run faster. In that case your example below with a > repeat loop runs about the same speed as my original example with a > repeat loop. However, using the intersect command instead of a > repeat loop would run 4-8 times as fast as either loop version and is > fast enough to use for my intended purpose as a direct test to see > which blocks of code to execute inside a large loop. > > Unfortunately, an array is not an easy thing to use as a constant to > check against. I would have to pre-build all my arrays beforehand. > If I have to do that, I might just as well build an execution test > matrix using the simple lists as parameters. I just wanted to avoid > one more level of indirection for the sake of speed (I have so many > already). However, I think I understand some new tricks now with > your help and from Eric, Alex, and Chris. > > Thanks, > Dennis > > On Jul 8, 2005, at 4:27 PM, jbv wrote: > >> >> >> Dennis, >> >> Using arrays will always be a speed improvement. >> >> My script creates arrays from your lists of items with loops >> just for the purpose of the demonstration. As someone else >> suggested, you can use "split" to create your arrays, or better : >> drop your lists of items and configure your data as arrays >> from the beginning. >> >> Just for the anecdote, I have a cgi script that makes extensive >> use of arrays (and only arrays), and it builds 16 pages pdf >> files of about 1.4 Mb in roughly 0.1 second, while the previous >> version (using items lists) took 3 to 4 seconds... >> >> JB >> >> >>> JB, >>> >>> It will work, but not a speed improvement. >>> It will run about 8 times slower than my original example. >>> It takes Rev a lot of work (time) to create an array element. >>> >>> Dennis >>> >>> On Jul 8, 2005, at 2:50 PM, jbv wrote: >>> >>> >>>> >>>> >>>> Dennis, >>>> >>>> Use arrays; Something like : >>>> >>>> put "" into myT1 >>>> put "" into myT2 >>>> repeat for each item i in list1 >>>> put 1 into myT1[i] >>>> end repeat >>>> repeat for each item i in list2 >>>> put 1 into myT2[i] >>>> end repeat >>>> >>>> get the keys of myT1 >>>> repeat for each line j in it >>>> if myT2[j]=1 then >>>> get true >>>> exit repeat >>>> end if >>>> end repeat >>>> >>>> JB >>>> >>>> >>>> >>>>> Hello clever Rev programmers, >>>>> >>>>> I have a simple question or maybe it is a simple challenge. >>>>> >>>>> I have two lists of integers. The list are not long, perhaps 5 >>>>> to 50 >>>>> items e.g.: >>>>> list1="310,423,522,211,107,340," >>>>> lis2="311,312,313,318,320,323,325,330,333,337,340," >>>>> >>>>> I want to find if any of the items in list1 have a match in list2. >>>>> I know I could do it with a repeat, something like this: >>>>> >>>>> get false >>>>> repeat for each item theItem in list1 >>>>> if theItem is not among the items of list2 then next repeat >>>>> get true >>>>> exit repeat >>>>> end repeat >>>>> >>>>> I was wondering if it could be done faster without a repeat through >>>>> some Rev trick. >>>>> >>>>> Dennis >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbondy at sover.net Fri Jul 8 20:37:05 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 20:37:05 -0400 Subject: spreadsheet-like tables Message-ID: <42CF1C31.9060007@sover.net> I want to port a simple (!) program that has a "database record" for each row in a user viewable (and possibly editable) table. The data may have to be sorted in more than one fashion, and some fields may have to have different colored backgrounds or text. Some fields might be editable in the table, while other fields (memos) might be edited in a single field at the bottom, where the current record has the memo contents displayed (I hope this is clearly explained). Given that I have no compatible databases on my Windows system (that I know of!), I may not actually choose to use a database, but perhaps some other approach (text file(s), multiple cards (something I do not understand very well), etc).. So. Two questions. First off, what is the best way to present the user with tabular data? I tried the "table", and it has lots of problems, at least the way I did it . Any sample stacks out there for me to study? I had the most trouble allowing the user to edit the data: the appearance of the table went to hell when the user started modifying a field in the table. Secondly, are there any simple databases that "come with" Windows? Any freebie databases that can be (easily?) installed on Windows? Any resource I should have consulted before posting this probably-redundant question? Thanks Jon From gandalf at doctorTimothyMiller.com Fri Jul 8 20:40:06 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 8 Jul 2005 17:40:06 -0700 Subject: mark cards by finding -- new insights In-Reply-To: <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> Message-ID: Eric wrote: > > >First, DreamCard or Revolution: some features are different but it's >the same IDE. >As for the debugger, it's right that it needs to be debugged :-( >I think that Runrev guys are working on it because you are right: a >fabulous language without a reliable debugger is no worth. >Above all for beginners. I didn't know that the debugger is an ongoing "issue". I didn't mean to complain. I thought I was doing something wrong. Of course, that's still a possibility. Does the debugger work much better in version 2.6? I've heard that alternate debuggers are available. If something works well, out of the box, I should probably try it. If they're all pre-beta versions, I guess I'd be better off waiting for Rev to fix their own debugger. What do you suggest? Not to be negativistic, but it's starting to seem like Rev is a not-quite-ready-for-prime-time product. If it's true, I can live with that. I can even remain a Rev loyalist. God knows I was a hyperCard loyalist until the bitter end. (For that matter, I remained an Atari loyalist, until the bitter end!) It just sort of comes as a surprise. At some point, everybody on the hyperCard list seemed to agree that it was time to switch to Rev. I just went along with the crowd. In any case, thanks a bunch, Tim From gandalf at doctorTimothyMiller.com Fri Jul 8 20:51:44 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 8 Jul 2005 17:51:44 -0700 Subject: Scrolling List field In-Reply-To: References: Message-ID: >Hello > >I've been searching the command to make the scrolling list field works. >I want user click on a line and see an action. Thank you >_______________________________________________ I'm no expert... Turn on the "list behavior" checkbox in the field's basic properties window. Also, lock the text of the field. Put an "on mouseup" script in the script of the field. In the script, use the clickline function, or the value of the clickline. If you're a beginner, start with on mouseup answer the clickline answer the value of the clickline end mouseUp When you see what the clickline and the value of the clickline look like, you'll be ready to take the next step. Of course, you've got to have some data in your scrolling list field for this to work. That's the basics. Unless I got something wrong. Good luck, Tim From alex at tweedly.net Fri Jul 8 21:21:34 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 Jul 2005 02:21:34 +0100 Subject: mark cards by finding -- new insights In-Reply-To: References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> Message-ID: <42CF269E.9030701@tweedly.net> Timothy Miller wrote: > > I am sympathetic, Eric. If it's me and not Rev, I want to know it. If > it's a Rev bug, I'm now a Rev loyalist, so I want Rev to know it, and > if they don't have the resources to isolate it, I'm willing to help, > up to a point. > > It would help if I could get the damned debugger to work. Could you > toss me a clue? It sure doesn't act like the hyperCard debugger. > I've never used the hyperCard debugger (or in fact hyperCard) - so I'll refrain from comparisons :-) > It works fine on, for example, a simple mouseUp script in a simple > button. However, if the button sends a message to a handler in a stack > script (for instance), which then sends another message to another > handler, nested or not, the debugger won't follow along. "Script debug > mode" is definitely turned on. Step Into, etc., are absent and/or > dimmed out, typically. Sometimes, I can see the script window open, > several windows back, but I can't get to it until the script is done > executing. I've tried setting multiple breakpoints in each handler, > tried setting breakpoints by script. The script rolls right past them. The debugger has some issues - but for me at least it basically does what I need it to do, more or less, most of the time. In 2.6, they (Rev) added basic (inadequate) support for array, which was the biggest thing completely missing - so I'm relatively happy with the debugger. In my experience, it will stop at breakpoints, and will generally then "step over" or "step into" adequately. Note that it will "step into" if you call a function or a handler - but it will NOT do so if you "send message". So if I'm in my mouseUp handler, stopped at the first of the following lines > put 3 into i > myHandler i, "try this" > put 4 into i then wither a "step over" or "step into" will move me to the next line. Then another "step into" will move me to, and stop at, the first line of myHandler. Alternatively a "step over" would stop me at the next line (put 4 ....") However, if the code was instead > put 3 into i > myHandler i, "try this" > put 4 into i then the code would do pretty much the same thing (not quite, order would be different) but the debugger behaviour would be very different because it would never pause within myHandler. The other thing to watch our for is that stepping *out* of a function or handler also, I think, requires you to use the "step into" button. It's (IMO) a very misleading label on the button - it really means step to the next statement even in a different handler context - either entering or leaving. (Hmmm - I can see why they didn't call it that :-) Anyway - I use "step into" all the time, except when I deliberately wish to step over a function or handler. One more thing to watch for - closing the debugger/script window is equivalent to clicking "Run" !! Since you no longer have the debugger control window open, what can it do but try to continue. Makes some sense - but caught me out often until I got used to it. Makes me really, really wish that this window had a "minimize" control - but I get used to just shuffling windows of to the edges of the screen while I try to see what's happened. > The instructions say, "The breakpoint command has no effect unless the > stack is running in the Revolution development environment." I'm using > DreamCard. Does DreamCard count as the "revolution development > environment?" > Yes. -- 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.8.10/43 - Release Date: 06/07/2005 From alex at tweedly.net Fri Jul 8 21:28:15 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 Jul 2005 02:28:15 +0100 Subject: mark cards by finding -- new insights In-Reply-To: <42CF269E.9030701@tweedly.net> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <42CF269E.9030701@tweedly.net> Message-ID: <42CF282F.2090307@tweedly.net> Oops !!! cut/paste typo .... should have said Alex Tweedly wrote: > > However, if the code was instead > >> put 3 into i >> send "myHandler i" >> put 4 into i > Sorry. -- 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.8.10/43 - Release Date: 06/07/2005 From see3d at writeme.com Fri Jul 8 22:01:09 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 22:01:09 -0400 Subject: Intersecting data question/challenge In-Reply-To: References: Message-ID: <35F5FD36-B983-4BE0-9374-5D4E3FFCDE10@writeme.com> Raymond, Good idea. It does get around the need to iterate to get the keys. Unfortunately, that operation seems to be very slow in Rev. If I use the data from the previous tests, and do everything starting with the lists, is is 10 times slower than my first example. If I save the constant array first, it is 5 times slower. If I save both arrays and only get the get the customProperties to the array in the timing loop, it is still twice as slow, which is 17 times slower than the fastest way. So you met the challenge of no loops --good job. But the Rev setting customKeys and getting customProperties seems to be much slower than any other operations tested. They must be using the crawl method for those operations. Dennis On Jul 8, 2005, at 8:26 PM, Raymond E. Griffith wrote: > on mouseUp > put 5000 into n1 > put 2000 into n2 > repeat with i = 1 to n1 > put random(10000) & cr after A > end repeat > repeat with i = 1 to n2 > put random(10000) & cr after B > end repeat > put the long milliseconds into ms > set the customkeys of fld "LA" to A > set the customkeys of fld "LB" to B > put the customproperties of fld "LA" into arrA > put the customproperties of fld "LB" into arrB > intersect arrA with arrB > answer keys(arrA) & return & "___" & the long milliseconds - ms > end mouseUp > From see3d at writeme.com Fri Jul 8 22:02:14 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 08 Jul 2005 22:02:14 -0400 Subject: Intersecting data question/challenge In-Reply-To: <42CF02FB.7060200@sover.net> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> <42CF02FB.7060200@sover.net> Message-ID: <238CE965-4E21-46F4-8D68-5F58B28EF8B7@writeme.com> Jon, Unless I am not understanding your suggestion, that is the method used to start off this thread. Dennis On Jul 8, 2005, at 6:49 PM, Jon wrote: > How about loading a string with the numbers from one list, > represented as strings (1 ==> "001", etc) appended and separated by > spaces or commas. > > Then run through the second number list searching for each number > in the above string? > > Hugely clunky, due to Rev's sloth, but it might be faster. > > I *@(*%# hate it when one has to jump through these kinds of hoops > to make something work fast enough. I have better things to do > with my time. Sigh. > > :) > > Jon > > > Chris Sheffield wrote: > > >> Could you make use of the split command somehow? You would have >> to format your lists a little differently, but if you did it >> right and specified a primary and secondary delimiter, you might >> be able to get quick results and still take advantage of the >> intersect command. Anyway, just another idea. >> >> Chris Sheffield >> >> >> On Jul 8, 2005, at 12:50 PM, Dennis Brown wrote: >> >> >>> Eric, >>> >>> Yes, I looked at the intersect command, but it performs the >>> action on the keys not the data from a list. I would have to >>> create an array element for each integer in the list with the >>> integer as the key. Sounded like two loops that would run even >>> slower than my example: >>> >>> repeat for each item theItem in list1 >>> put empty into myArray1[theItem] >>> end repeat >>> repeat for each item theItem in list2 >>> put empty into myArray2[theItem] >>> end repeat >>> intersect myArray1 with myArray2 >>> if the keys of myArray1 is empty then get false else get true >>> >>> In actual practice, the above example runs 3 times slower than >>> the below example for the sample data shown. >>> >>> However, knowing that Rev had such a command for the keys, I >>> thought perhaps someone knew of a more clever way to use it, or >>> maybe there was another way to intersect data. >>> >>> Dennis >>> >> >> >> ------------------------------------------ >> Chris Sheffield >> Read Naturally >> The Fluency Company >> http://www.readnaturally.com >> ------------------------------------------ >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbondy at sover.net Fri Jul 8 22:41:50 2005 From: jbondy at sover.net (Jon) Date: Fri, 08 Jul 2005 22:41:50 -0400 Subject: Intersecting data question/challenge In-Reply-To: <238CE965-4E21-46F4-8D68-5F58B28EF8B7@writeme.com> References: <36A8CBE9-FBB8-4D5B-B2FA-A47B31C6D978@writeme.com> <0CDAA53A-69C2-4D7E-899E-7EEFE9F3BE9F@sosmartsoftware.com> <5129290D-0E18-4AC2-9F18-C16445C4D68C@writeme.com> <8C29A74C-17AF-48B9-8AA9-4D5CCD372926@cableone.net> <42CF02FB.7060200@sover.net> <238CE965-4E21-46F4-8D68-5F58B28EF8B7@writeme.com> Message-ID: <42CF396E.4040905@sover.net> Whoops! Sorry! :) Dennis Brown wrote: > Jon, > > Unless I am not understanding your suggestion, that is the method > used to start off this thread. > > Dennis > > On Jul 8, 2005, at 6:49 PM, Jon wrote: > >> How about loading a string with the numbers from one list, >> represented as strings (1 ==> "001", etc) appended and separated by >> spaces or commas. >> >> Then run through the second number list searching for each number in >> the above string? >> >> Hugely clunky, due to Rev's sloth, but it might be faster. >> >> I *@(*%# hate it when one has to jump through these kinds of hoops >> to make something work fast enough. I have better things to do with >> my time. Sigh. >> >> :) >> >> Jon >> >> >> Chris Sheffield wrote: >> >> >>> Could you make use of the split command somehow? You would have >>> to format your lists a little differently, but if you did it right >>> and specified a primary and secondary delimiter, you might be able >>> to get quick results and still take advantage of the intersect >>> command. Anyway, just another idea. >>> >>> Chris Sheffield >>> >>> >>> On Jul 8, 2005, at 12:50 PM, Dennis Brown wrote: >>> >>> >>>> Eric, >>>> >>>> Yes, I looked at the intersect command, but it performs the >>>> action on the keys not the data from a list. I would have to >>>> create an array element for each integer in the list with the >>>> integer as the key. Sounded like two loops that would run even >>>> slower than my example: >>>> >>>> repeat for each item theItem in list1 >>>> put empty into myArray1[theItem] >>>> end repeat >>>> repeat for each item theItem in list2 >>>> put empty into myArray2[theItem] >>>> end repeat >>>> intersect myArray1 with myArray2 >>>> if the keys of myArray1 is empty then get false else get true >>>> >>>> In actual practice, the above example runs 3 times slower than >>>> the below example for the sample data shown. >>>> >>>> However, knowing that Rev had such a command for the keys, I >>>> thought perhaps someone knew of a more clever way to use it, or >>>> maybe there was another way to intersect data. >>>> >>>> Dennis >>>> >>> >>> >>> ------------------------------------------ >>> Chris Sheffield >>> Read Naturally >>> The Fluency Company >>> http://www.readnaturally.com >>> ------------------------------------------ >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From wouter.abraham at scarlet.be Fri Jul 8 22:57:28 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sat, 9 Jul 2005 04:57:28 +0200 Subject: Intersecting data question/challenge In-Reply-To: References: Message-ID: <4FBBD910-9EF0-44F1-88AC-47E0FDE7F5DA@scarlet.be> On 09 Jul 2005, at 02:26, Raymond E. Griffith wrote: > Dennis, > > I have a suggestion. It isn't perfect, but it does appear to be > relatively > fast. > > I start by creating return-delimited lists. The lists have 5000 > elements in > them and 2000 elements in them, respectively, although due to > repeats the > customkeys are significantly less. > > One problem is that you cannot set the keys of a variable directly. > You can, > however, set the customkeys of an object directly, then put those > customproperties into a variable. > > Then use intersect. > > As I said, this appears to me to be relatively fast. > > on mouseUp > put 5000 into n1 > put 2000 into n2 > repeat with i = 1 to n1 > put random(10000) & cr after A > end repeat > repeat with i = 1 to n2 > put random(10000) & cr after B > end repeat > put the long milliseconds into ms > set the customkeys of fld "LA" to A > set the customkeys of fld "LB" to B > put the customproperties of fld "LA" into arrA > put the customproperties of fld "LB" into arrB > intersect arrA with arrB > answer keys(arrA) & return & "___" & the long milliseconds - ms > end mouseUp > > Perhaps someone can try comparing this idea with others for time > trials? > > I hope this helps. > > Raymond E. Griffith > Raymond, > > Good idea. It does get around the need to iterate to get the > keys. Unfortunately, that operation seems to be very slow in Rev. > If I use the data from the previous tests, and do everything > starting with the lists, is is 10 times slower than my first > example. If I save the constant array first, it is 5 times > slower. If I save both arrays and only get the get the > customProperties to the array in the timing loop, it is still twice > as slow, which is 17 times slower than the fastest way. > > So you met the challenge of no loops --good job. But the Rev > setting customKeys and getting customProperties seems to be much > slower than any other operations tested. They must be using the > crawl method for those operations. > > Dennis Hi Raymond, Dennis and everybody else, The way proposed by Dennis is indeed the fastest on not too large amounts of data. So it is only fair to test the other way around too and try Dennis proposal on the same amount of data on which Raymond used his handler Raymond's handler is a neat trick. Though it is at least 2 times slower than a replace + split method. I adapted Raymond's method slightly to be able to produce a "one button copy-paste script" test for comparison : on mouseUp ### filling the vars repeat 5000 put random(10000) & cr after A end repeat repeat 2000 put random(10000) & cr after B end repeat put A into x put B into y ### custom prop method put the long millisecs into zap set the customkeys of me to A put the customproperties of me into arrA set the customkeys of me to B put the customproperties of me into arrB intersect arrA with arrB put keys(arrA) into tKeys1 put the long millisecs - zap into time1 set the customkeys of me to "" ### replace split method put the long millisecs into zap replace cr with tab & cr in A split A with cr and tab replace cr with tab & cr in B split B with cr and tab intersect A with B put keys(A) into tKeys2 put the long millisecs - zap into time2 ### repeat for each + is not among method replace cr with comma in x replace cr with comma in y put the long millisecs into zap repeat for each item i in x if i is not among the items of y then put i & cr after tList end repeat put the long millisecs - zap into time3 put time1 &cr& time2 & cr & time3 end mouseUp Greetings, Wouter From revdan at danshafer.com Fri Jul 8 23:15:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 8 Jul 2005 20:15:30 -0700 Subject: mark cards by finding -- new insights In-Reply-To: References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> Message-ID: <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> Maybe it's of less worth, perhaps even only modest worth, but "no worth"? A bit strong, I think. While the debugger has problems, I note that there are a LOT of people here who have built some very sophisticated apps and managed to stumble around enough to get the job done. A language is "no worth" only if it can't produce useful products. Rev is WAY beyond that point. On Jul 8, 2005, at 5:40 PM, Timothy Miller wrote: >> a fabulous language without a reliable debugger is no worth. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 From jacque at hyperactivesw.com Fri Jul 8 23:23:37 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 08 Jul 2005 22:23:37 -0500 Subject: mark cards by finding -- new insights In-Reply-To: References: <42CDE798.2080107@hyperactivesw.com> Message-ID: <42CF4339.60502@hyperactivesw.com> On 7/8/05 4:11 PM, Timothy Miller wrote: > However, when I un-commented the handlers, the 'mark cards by > finding...' script continued to work. I saved and closed the stack, > re-opened it, and the command continued to work. This time, I hadn't > changed any field properties. > > It's hard to avoid the conclusion that this is an intermittent bug that > is influenced by some combination of field properties and/or field > scripts and/or the placement of the field in a group, and/or group > properties, and/or turning on "behave like a background" in the group > properties. Your testing was pretty thorough. All variants of the "find" command work consistently for me in all my stacks, but when I see something like this -- where it works in native stacks but not in a converted HyperCard stack -- my experience has been that something isn't quite right with the converted objects. This may be the case in your situation. Rev does a very good job bringing in HC stacks, but sometimes the HC file is a bit off (especially with very old HC stacks) and Rev can't always convert it exactly. Since your stacks have probably lived through several HC versions as well as Rev, I'm starting to think that's the problem. One (tedious) way to fix it might be to delete the fields in question and re-create them in Rev; then they would be fully-native Rev objects without any HC baggage. I have had to do that occasionally with HC popup buttons, which sometimes don't transfer over very well. You could try setting the HCAddressing of the stack to false if it won't affect your scripts (you'd have to test everything to see,) and it might fix the "find" problem. It does fix some other glitches sometimes. No promises. But easier, since the "find" commands work for you in other stacks, I think I'd just go with "find string" for this stack and leave it at that. I am sure that any new stacks you create will "mark cards by finding" fine. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sims at ezpzapps.com Sat Jul 9 00:04:20 2005 From: sims at ezpzapps.com (sims) Date: Sat, 9 Jul 2005 06:04:20 +0200 Subject: recOnline Viewer In-Reply-To: <5715189381.20050708134646@ahsoftware.net> References: <40502DA9-F7BF-4A84-8A49-DA107636AC59@sosmartsoftware.com> <1995193167.20050708110010@ahsoftware.net> <5715189381.20050708134646@ahsoftware.net> Message-ID: At 1:46 PM -0700 7/8/05, Mark Wieder wrote: >Just curious, though - don't you have a hard time selecting invisible >or off-screen objects without it? Seems rather like trying to pilot a >plane without instruments to me. It's a handy way for me to know what >stacks *are* in memory, so I can close them before running into the >dreaded error message about a stack by that name already existing. Nope. I usually use a naming scheme so I know what to name cds or stacks, View in the menubar has 'Show invisible Objects', and I use the message box for lots of things. Once or twice a day I might use the App Browser but usually not more. That's one of the things I like about Rev - it's extremely flexible. ciao, sims From mwieder at ahsoftware.net Sat Jul 9 00:22:50 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 21:22:50 -0700 Subject: debugger In-Reply-To: <42CF269E.9030701@tweedly.net> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <42CF269E.9030701@tweedly.net> Message-ID: <7242553488.20050708212250@ahsoftware.net> Alex- Friday, July 8, 2005, 6:21:34 PM, you wrote: AT> The other thing to watch our for is that stepping *out* of a function or AT> handler also, I think, requires you to use the "step into" button. AT> It's (IMO) a very misleading label on the button - it really means step AT> to the next statement even in a different handler context - either AT> entering or leaving. (Hmmm - I can see why they didn't call it that :-) IMO this is one of the biggest bugs in the debugger. I can't tell you how many times I've accidentally stepped over an "end handler" command. I really think the proper behavior here would be to step to the next executable line, no matter which button was pressed. BTW: have you noticed the added button in the v2.6 debugger? If you change execution contexts and then click the button to the right of the execution contexts window the code window will switch to the new context. AT> One more thing to watch for - closing the debugger/script window is AT> equivalent to clicking "Run" !! AT> Since you no longer have the debugger control window open, what can it AT> do but try to continue. Makes some sense - but caught me out often until Makes a lot of sense, actually... I'd hate to have my script paused waiting for me to press a "step into" button in a debugger that I had already closed. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 9 01:05:10 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Jul 2005 22:05:10 -0700 Subject: documentation mini-bug In-Reply-To: <42CF01B4.4030406@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> Message-ID: <7645093130.20050708220510@ahsoftware.net> Jon- Friday, July 8, 2005, 3:44:04 PM, you wrote: J> Sorry, but I really think that ALL I should have to do is point it out. J> Really. That's all my customers have to do. Excuse me? ALL your customers have to do is bitch somewhere on a listserv and their complaints magically get taken care of? You don't use any bugtracking tools to track and prioritize your work? You don't have any idea how often certain features have been suggested or the severity level of bugs? Oh, sorry, from some of your posts I almost had you mistaken for a real developer. My bad. -- -Mark Wieder mwieder at ahsoftware.net From katir at hindu.org Sat Jul 9 01:50:20 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 8 Jul 2005 19:50:20 -1000 Subject: preserve vertical white space in XML? Message-ID: I always use extra line breaks in my XML docs and .XHTML docs... for readability. But, if you create an XML Tree from one of these, transform some data in a node and then put revXMLText(tCurrTree) into tNewFile to get that data back out, Rev's XML libraries have wiped out all the cr's. What is interesting is that double cr's are preserved, singles are not e.g Revolutionaries will make a better future A brilliant rev advocacy essay with many paragraphs get returned as: Revolutionarieswill make a better future A brilliant rev advocacy essay with many paragraphs Is there a way to preserve the single cr's in the original? Otherwise I have to a) live with it b) open them in BBEdit and run a format function to get them back to a readable state--each child node on it's own line... TIA Sivakatirswami From eric.chatonet at sosmartsoftware.com Sat Jul 9 03:19:20 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 09:19:20 +0200 Subject: [APOLOGISES] was: Re: mark cards by finding -- new insights In-Reply-To: <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> Message-ID: <3D21FF03-525B-4DE8-B59D-429543283064@sosmartsoftware.com> Hi Dan and all, I do apologise: the words I used were not a bit strong but totally excessive. In fact, it's my bad knowledge of English which played a dirty trick on me. I wanted to tell that a fully reliable debugger with good ergonomics (it's not yet the case at the moment) is a major piece in any IDE. Especially for beginners, it's an irreplaceable learning tool, a kind of big brother which look over your shoulder and tells you how to progress :-) So I think that Runrev guys should pay more attention to the debugger as, beyond debugging, it shows: 1. What's happens is not a bug ;-) 2. It's your code which is badly dressed 3. You begin to see how to change it for a good one Le 9 juil. 05 ? 05:15, Dan Shafer a ?crit : > Maybe it's of less worth, perhaps even only modest worth, but "no > worth"? A bit strong, I think. > > While the debugger has problems, I note that there are a LOT of > people here who have built some very sophisticated apps and managed > to stumble around enough to get the job done. A language is "no > worth" only if it can't produce useful products. Rev is WAY beyond > that point. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Sat Jul 9 03:34:26 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 09:34:26 +0200 Subject: How to make a audio player using Revolution In-Reply-To: References: Message-ID: <73E46B23-7B00-4C42-8698-F4773D92069E@sosmartsoftware.com> Hi Ban, Assuming that QT is installed: 1. Create a player object 2. Set the filename of the player to the filename of any WAV file you have to hand in the properties inspector for the player. 3. Use the built-in commands of the player to start, stop, etc. You can also place the player out of the card window and pilot it by script: check all dictionary entries I gave you in a previous mail: they allow to do that. BTW, if you are a "newbie", it might be wise to begin with some more easy project and go your way step by step. You will find many kind people on this list to help you especially on specific issues but, as you can understand it easily, it's not possible to answer too large questions the replies of which would have to be a complete 10 pages tutorial :-) When such a tutorial exists, there will be somebody to tell you where you can find it. As far I know, there is not yet a tutorial about managing sounds with Rev. Le 9 juil. 05 ? 00:12, Ban Nguyen a ?crit : > I have 5 .wav file > > First I need to creat an array? > Could you give me some example how to code this. I want user can > click to play, pause, stop, rev or forward. How do I code this? > Thank you for your help 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From wouter.abraham at scarlet.be Sat Jul 9 03:47:37 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sat, 9 Jul 2005 09:47:37 +0200 Subject: mark cards by finding -- new insights In-Reply-To: <42CF4339.60502@hyperactivesw.com> References: <42CDE798.2080107@hyperactivesw.com> <42CF4339.60502@hyperactivesw.com> Message-ID: Hi Timothy, Did you try the following too? No need for the find command. (I can't find it in this thread but then I can miss easily and if I did, sorry in advance :-) mark cards where field contains or mark cards where field contains and field contains or mark cards where field contains and the hilite of button [is true] or whatever combination This works for me on my large from HC imported stacks. Greetings, Wouter On 09 Jul 2005, at 05:23, J. Landman Gay wrote: > On 7/8/05 4:11 PM, Timothy Miller wrote: > > >> However, when I un-commented the handlers, the 'mark cards by >> finding...' script continued to work. I saved and closed the >> stack, re-opened it, and the command continued to work. This time, >> I hadn't changed any field properties. >> It's hard to avoid the conclusion that this is an intermittent bug >> that is influenced by some combination of field properties and/or >> field scripts and/or the placement of the field in a group, and/or >> group properties, and/or turning on "behave like a background" in >> the group properties. >> > > Your testing was pretty thorough. All variants of the "find" > command work consistently for me in all my stacks, but when I see > something like this -- where it works in native stacks but not in a > converted HyperCard stack -- my experience has been that something > isn't quite right with the converted objects. This may be the case > in your situation. Rev does a very good job bringing in HC stacks, > but sometimes the HC file is a bit off (especially with very old HC > stacks) and Rev can't always convert it exactly. Since your stacks > have probably lived through several HC versions as well as Rev, I'm > starting to think that's the problem. > > One (tedious) way to fix it might be to delete the fields in > question and re-create them in Rev; then they would be fully-native > Rev objects without any HC baggage. I have had to do that > occasionally with HC popup buttons, which sometimes don't transfer > over very well. > > You could try setting the HCAddressing of the stack to false if it > won't affect your scripts (you'd have to test everything to see,) > and it might fix the "find" problem. It does fix some other > glitches sometimes. No promises. > > But easier, since the "find" commands work for you in other stacks, > I think I'd just go with "find string" for this stack and leave it > at that. I am sure that any new stacks you create will "mark cards > by finding" fine. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ Ps I replied on this mail to retain the chronological order on some mail archive sites From wouter.abraham at scarlet.be Sat Jul 9 05:49:37 2005 From: wouter.abraham at scarlet.be (Buster) Date: Sat, 9 Jul 2005 11:49:37 +0200 Subject: Intersecting data question/challenge In-Reply-To: <4FBBD910-9EF0-44F1-88AC-47E0FDE7F5DA@scarlet.be> References: <4FBBD910-9EF0-44F1-88AC-47E0FDE7F5DA@scarlet.be> Message-ID: <963331A2-B3C9-43E8-B695-953CA634C0FD@scarlet.be> As the use of the array method takes out double data in each of the data sets, it is also fair to add this to the repeat for each method. So here is a little change for the test handler. Test with different amounts in the data sets and see when the differences set in. on mouseUp ### filling the data sets ### change by hand or by use a scrollbar repeat 500 --round(thumbpos of sb "A") put random(10000) & cr after A end repeat repeat 200 --round(thumbpos of sb "B") put random(10000) & cr after B end repeat put 0 into time1 put 0 into time2 put 0 into time3 repeat 10 put A into x put B into y ### custom prop method put the long seconds into zap set the customkeys of me to x put the customproperties of me into arrA set the customkeys of me to y put the customproperties of me into arrB intersect arrA with arrB put keys(arrA) into tKeys1 add the long seconds - zap to time1 set the customkeys of me to "" ### replace split method put the long seconds into zap replace cr with tab & cr in x split x with cr and tab replace cr with tab & cr in y split y with cr and tab intersect x with y put keys(y) into tKeys2 add the long seconds - zap to time2 ### repeat for each + is not among method put A into x put B into y replace cr with comma in x replace cr with comma in y put "" into tList put the long seconds into zap repeat for each item i in x if i is not among the items of y and i is not among the lines of tList then put i & cr after tList end repeat add the long seconds - zap to time3 end repeat put time1 &cr& time2 & cr & time3 end mouseUp Greetings, Wouter From mark at maseurope.net Sat Jul 9 06:46:43 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 9 Jul 2005 11:46:43 +0100 Subject: preserve vertical white space in XML? In-Reply-To: References: Message-ID: I noticed this too - the revXMLText function does not put any end of line delimiters between tags, though of course it preserves them with in node contents. For simple cases (and I think this would cover the case given), put revXMLText(treeID) into theXML replace "><" with ">" & cr & "<" in theXML will work. On my current project, I found it easier (and quicker in execution) to generate the XML in my own code, rather than using the library, though I still use the library for reading it back in. Mark Smith On 9 Jul 2005, at 06:50, Sivakatirswami wrote: > I always use extra line breaks in my XML docs and .XHTML docs... for > readability. > > But, if you create an XML Tree from one of these, transform some data > in a node and then > > put revXMLText(tCurrTree) into tNewFile > > to get that data back out, Rev's XML libraries have wiped out all the > cr's. > > What is interesting is that double cr's are preserved, singles are not > > e.g > > Revolutionaries > will make a better future > > > A brilliant rev advocacy essay > > with many paragraphs > > > > get returned as: > > Revolutionarieswill make a better > future > > A brilliant rev advocacy essay > > with many paragraphs > > > > Is there a way to preserve the single cr's in the original? Otherwise > I have to a) live with it b) open them in BBEdit and run a format > function to get them back to a readable state--each child node on it's > own line... > > TIA > > Sivakatirswami > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Sat Jul 9 07:28:00 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 Jul 2005 12:28:00 +0100 Subject: spreadsheet-like tables In-Reply-To: <42CF1C31.9060007@sover.net> References: <42CF1C31.9060007@sover.net> Message-ID: <42CFB4C0.1020205@tweedly.net> Jon wrote: > I want to port a simple (!) program that has a "database record" for > each row in a user viewable (and possibly editable) table. The data > may have to be sorted in more than one fashion, and some fields may > have to have different colored backgrounds or text. Some fields > might be editable in the table, while other fields (memos) might be > edited in a single field at the bottom, where the current record has > the memo contents displayed (I hope this is clearly explained). Given > that I have no compatible databases on my Windows system (that I know > of!), I may not actually choose to use a database, but perhaps some > other approach (text file(s), multiple cards (something I do not > understand very well), etc).. > > So. Two questions. > > First off, what is the best way to present the user with tabular > data? I tried the "table", and it has lots of problems, at least the > way I did it . Any sample stacks out there for me to > study? I had the most trouble allowing the user to edit the data: the > appearance of the table went to hell when the user started modifying a > field in the table. If you can live with one limitation, I think the easiest answer is to use Chipp's altHeader plugin. It provides headers for columnar data, allows for resizing of the columns, makes it easy (or automatic - I don't remember) to sort by different columns, etc. Only thing I wanted and didn't find was column re-ordering (i.e. selecting the third column's heading, and drag-and-dropping it to make it now be the fifth column). The limitation is that, as far as I know, you can't have different fields in different colours - though it may be possible to program that yourself. You mentioned "memo" fields - I'd be inclined to keep them out of the tabular display completely, so that only the "current" record has its memo field(s) displayed at the bottom. > Secondly, are there any simple databases that "come with" Windows? > Any freebie databases that can be (easily?) installed on Windows? Any > resource I should have consulted before posting this > probably-redundant question? > How much data do you have to deal with ? You can go a long way with CSV files (actually, use TABs or some other character that won't appear in your data, not commas, as your separator - makes things much easier), and the speed of text manipulation and searching in Rev will allow this to scale quite a long way. I wouldn't use the "data on cards" approach - I like to keep data and code separate, and to have the data in a format that can be readily accessed by other tools if needed. You should look at SDB (Serendipity Database-Binary). I have failed utterly to get it to work for me, in spite of trying seriously 3 or 4 times - but I know others have succeed, so it may be just me that thinks differently and can't understand the docs, or my system set-up that is peculiar, or something. (If ever there was a product that needed a detailed step-by-step set of instructions for installing it, SDB is it. I would have a go at writing it - except that I can't figure it out well enough to do it myself :-) So if you try this and succeed - you owe me a write-up on the exact steps you took .... Alternatively, stretching the definition of "simple", install MySQL or PostgreSQL. Free (beware mySQL ceases to be free if your app is a commercial app, in some complicated way), and both come well packaged for Windows, and with lots of books, articles, support available, etc. - but not quite "simple". Or pay a modest sum for altSQLite. Or write your own extneral to interface to sqlite. Or ..... or just use CSV files :-) -- 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.8.11/44 - Release Date: 08/07/2005 From cford at sc.edu Sat Jul 9 07:38:02 2005 From: cford at sc.edu (Curtis Ford) Date: Sat, 9 Jul 2005 07:38:02 -0400 Subject: mixed languages in a field: solved : ) Message-ID: Hi Eric, Thanks - playing with your Encoded Text Picker gave me a fresh sense of what to look at.. the actual characters for the Russian were OK (they are 'entities' encoded by Rev in a separate part of the project), but I had forgotten to provide font tags as well. Adding "" before the item, and "" after the item, now has the English displayed properly, even after some Russian. (Just in case there's anyone here newer than I am: the q(Arial) is a function, which I've put in the stack script, that's a shortcut to putting quotes around a string - makes expressions like these less messy; I'd seen it in Sarah Reichelt's XML tutorial and found it handy for things like this.) What was curious (& confusing) is that the source text file, created by Rev from fields using 'put the HTMLText of field "myField"', has these language-specific tags ( Hi Curt, > > Before struggling with unicode, you have to build right html first: > You set the htmlText of your field to a string which is not html but > in fact usual text. > For instance, tab in html is " " and "tab" in html is only a text > string... > In order to understand how translation can be made between html and > usual text, you might be interested by downloading my Encoded Text > Picker free plugin from my web-site (address below). > It will allow you to translate any text from and to html > automatically and then understand how to build your code properly :-) > Take heart! > > Best Regards from Paris, > > Eric Chatonet. Dr. Curtis Ford Instructor of Russian and Linguistics Dept. of Language, Literatures and Cultures University of South Carolina cford @ sc.edu From eric.chatonet at sosmartsoftware.com Sat Jul 9 09:01:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 15:01:24 +0200 Subject: mixed languages in a field: solved : ) In-Reply-To: References: Message-ID: Hi Curt, Glad to help you. To be perfectly sure about your code, you could check your html building precisely: You put your html built by script (as html) in the message box. You paste this html text in the html pane of the Encoded Text Picker, switch to "Usual text" and back to HTML. Then you compare both HTMLs: they should be the same ones :-) Le 9 juil. 05 ? 13:38, Curtis Ford a ?crit : > Hi Eric, > > Thanks - playing with your Encoded Text Picker gave me a fresh > sense of what to look at.. the actual characters for the Russian > were OK (they are 'entities' encoded by Rev in a separate part of > the project), but I had forgotten to provide font tags as well. > Adding "" before the item, and "" > after the item, now has the English displayed properly, even after > some Russian. > > (Just in case there's anyone here newer than I am: the q(Arial) is > a function, which I've put in the stack script, that's a shortcut > to putting quotes around a string - makes expressions like these > less messy; I'd seen it in Sarah Reichelt's XML tutorial and found > it handy for things like this.) > > What was curious (& confusing) is that the source text file, > created by Rev from fields using 'put the HTMLText of field > "myField"', has these language-specific tags ( the English. When I read the information back in from the text file > to display in a field, it seems to work even with no language- > specific tags for the Russian, but it does need them for displaying > English that follows Russian. Anyway, it all looks good now. Thanks! 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Sat Jul 9 09:12:20 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 09:12:20 -0400 Subject: mark cards by finding -- new insights In-Reply-To: <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> Message-ID: <42CFCD34.3050306@sover.net> As critical as I am of Rev, from time to time, I have to say I've had no problems debugging my programs using the debugger. :) Jon Dan Shafer wrote: > Maybe it's of less worth, perhaps even only modest worth, but "no > worth"? A bit strong, I think. > > While the debugger has problems, I note that there are a LOT of > people here who have built some very sophisticated apps and managed > to stumble around enough to get the job done. A language is "no > worth" only if it can't produce useful products. Rev is WAY beyond > that point. > > On Jul 8, 2005, at 5:40 PM, Timothy Miller wrote: > >>> a fabulous language without a reliable debugger is no worth. >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Sat Jul 9 09:27:06 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 09:27:06 -0400 Subject: documentation mini-bug In-Reply-To: <7645093130.20050708220510@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> Message-ID: <42CFD0AA.6000804@sover.net> Mark: First off, I know that the Rev folks monitor this list. My point was that if they read about a bug, they need not simply ignore the report. Secondly, if I am told about a bug, it is fixed, without prioritization: I just don't have that many bugs in released products. Finally, I do have bug tracking software, but it is internal, not external. Perhaps you are a real developer and I am not. I couldn't say. :) Jon Mark Wieder wrote: >Jon- > >Friday, July 8, 2005, 3:44:04 PM, you wrote: > >J> Sorry, but I really think that ALL I should have to do is point it out. >J> Really. That's all my customers have to do. > >Excuse me? ALL your customers have to do is bitch somewhere on a >listserv and their complaints magically get taken care of? You don't >use any bugtracking tools to track and prioritize your work? You don't >have any idea how often certain features have been suggested or the >severity level of bugs? Oh, sorry, from some of your posts I almost >had you mistaken for a real developer. My bad. > > > From jbondy at sover.net Sat Jul 9 09:39:25 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 09:39:25 -0400 Subject: mark cards by finding -- new insights In-Reply-To: <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> References: <42CDE798.2080107@hyperactivesw.com> <09F10C96-3D38-440B-9E1D-9FBEF88C982B@sosmartsoftware.com> <9EC0049F-3B47-4318-A613-2350D8460610@sosmartsoftware.com> <8F559747-F4D7-4C34-9BE2-649F1124F87A@danshafer.com> Message-ID: <42CFD38D.8000803@sover.net> As critical as I am of Rev, from time to time, I have to say I've had no problems debugging my programs using the debugger. :) Jon Dan Shafer wrote: > Maybe it's of less worth, perhaps even only modest worth, but "no > worth"? A bit strong, I think. > > While the debugger has problems, I note that there are a LOT of > people here who have built some very sophisticated apps and managed > to stumble around enough to get the job done. A language is "no > worth" only if it can't produce useful products. Rev is WAY beyond > that point. > > On Jul 8, 2005, at 5:40 PM, Timothy Miller wrote: > >>> a fabulous language without a reliable debugger is no worth. >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbondy at sover.net Sat Jul 9 09:39:45 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 09:39:45 -0400 Subject: documentation mini-bug In-Reply-To: <7645093130.20050708220510@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> Message-ID: <42CFD3A1.3060006@sover.net> Mark: First off, I know that the Rev folks monitor this list. My point was that if they read about a bug, they need not simply ignore the report. Secondly, if I am told about a bug, it is fixed, without prioritization: I just don't have that many bugs in released products. Finally, I do have bug tracking software, but it is internal, not external. Perhaps you are a real developer and I am not. I couldn't say. :) Jon Mark Wieder wrote: >Jon- > >Friday, July 8, 2005, 3:44:04 PM, you wrote: > >J> Sorry, but I really think that ALL I should have to do is point it out. >J> Really. That's all my customers have to do. > >Excuse me? ALL your customers have to do is bitch somewhere on a >listserv and their complaints magically get taken care of? You don't >use any bugtracking tools to track and prioritize your work? You don't >have any idea how often certain features have been suggested or the >severity level of bugs? Oh, sorry, from some of your posts I almost >had you mistaken for a real developer. My bad. > > > From jbondy at sover.net Sat Jul 9 09:39:54 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 09:39:54 -0400 Subject: spreadsheet-like tables In-Reply-To: <42CFB4C0.1020205@tweedly.net> References: <42CF1C31.9060007@sover.net> <42CFB4C0.1020205@tweedly.net> Message-ID: <42CFD3AA.4030903@sover.net> thank you, Alex! :) Jon Alex Tweedly wrote: > Jon wrote: > >> I want to port a simple (!) program that has a "database record" for >> each row in a user viewable (and possibly editable) table. The data >> may have to be sorted in more than one fashion, and some fields may >> have to have different colored backgrounds or text. Some fields >> might be editable in the table, while other fields (memos) might be >> edited in a single field at the bottom, where the current record has >> the memo contents displayed (I hope this is clearly explained). >> Given that I have no compatible databases on my Windows system (that >> I know of!), I may not actually choose to use a database, but perhaps >> some other approach (text file(s), multiple cards (something I do not >> understand very well), etc).. >> >> So. Two questions. >> >> First off, what is the best way to present the user with tabular >> data? I tried the "table", and it has lots of problems, at least the >> way I did it . Any sample stacks out there for me to >> study? I had the most trouble allowing the user to edit the data: >> the appearance of the table went to hell when the user started >> modifying a field in the table. > > > If you can live with one limitation, I think the easiest answer is to > use Chipp's altHeader plugin. It provides headers for columnar data, > allows for resizing of the columns, makes it easy (or automatic - I > don't remember) to sort by different columns, etc. Only thing I > wanted and didn't find was column re-ordering (i.e. selecting the > third column's heading, and drag-and-dropping it to make it now be the > fifth column). > > The limitation is that, as far as I know, you can't have different > fields in different colours - though it may be possible to program > that yourself. > > You mentioned "memo" fields - I'd be inclined to keep them out of the > tabular display completely, so that only the "current" record has its > memo field(s) displayed at the bottom. > >> Secondly, are there any simple databases that "come with" Windows? >> Any freebie databases that can be (easily?) installed on Windows? >> Any resource I should have consulted before posting this >> probably-redundant question? >> > How much data do you have to deal with ? You can go a long way with > CSV files (actually, use TABs or some other character that won't > appear in your data, not commas, as your separator - makes things much > easier), and the speed of text manipulation and searching in Rev will > allow this to scale quite a long way. > > I wouldn't use the "data on cards" approach - I like to keep data and > code separate, and to have the data in a format that can be readily > accessed by other tools if needed. > > You should look at SDB (Serendipity Database-Binary). I have failed > utterly to get it to work for me, in spite of trying seriously 3 or 4 > times - but I know others have succeed, so it may be just me that > thinks differently and can't understand the docs, or my system set-up > that is peculiar, or something. (If ever there was a product that > needed a detailed step-by-step set of instructions for installing it, > SDB is it. I would have a go at writing it - except that I can't > figure it out well enough to do it myself :-) So if you try this and > succeed - you owe me a write-up on the exact steps you took .... > > > Alternatively, stretching the definition of "simple", install MySQL or > PostgreSQL. Free (beware mySQL ceases to be free if your app is a > commercial app, in some complicated way), and both come well packaged > for Windows, and with lots of books, articles, support available, etc. > - but not quite "simple". > > Or pay a modest sum for altSQLite. > > Or write your own extneral to interface to sqlite. > > Or ..... > or just use CSV files :-) > From jbondy at sover.net Sat Jul 9 09:59:13 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 09:59:13 -0400 Subject: message box problem Message-ID: <42CFD831.3020509@sover.net> I've not used the message box much before. I just tried to enter a phrase ("the owner of the target"), to see what its value was. I probably am using the MB incorrectly, but in any event, I can only type one word before the keyboard stops working: if I try to type "the owner of..." I only see "the"; if I try to type "owner of...." I only see "owner"; if I try to type "the owner of..." I only see ""the". I must be missing something. Too bad there's no help button on the Message box. I thought you could type any Rev statement in there and it would be evaluated. I just looked up "message box" in the dictionary, and all it says is that it evaluates expressions. :( Jon From eric.chatonet at sosmartsoftware.com Sat Jul 9 10:05:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 16:05:55 +0200 Subject: message box problem In-Reply-To: <42CFD831.3020509@sover.net> References: <42CFD831.3020509@sover.net> Message-ID: <8837EF6F-ECFA-4A07-B1F1-CA2CB05A45D2@sosmartsoftware.com> Hi Jon, Work perfectly here: the owner of the target is card "Single Line" which is true since the target is the field where you type. Restarting Rev, may be without plug-ins open at start-up and any stack open might help you to find where is the dysfunction. But I don't think it's in the Rev IDE but elsewhere in "third parties" products.. as your own open stacks :-) Le 9 juil. 05 ? 15:59, Jon a ?crit : > I've not used the message box much before. I just tried to enter a > phrase ("the owner of the target"), to see what its value was. I > probably am using the MB incorrectly, but in any event, I can only > type one word before the keyboard stops working: if I try to type > "the owner of..." I only see "the"; if I try to type "owner of...." > I only see "owner"; if I try to type "the owner of..." I only see > ""the". 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From douggilliland at gmail.com Sat Jul 9 10:22:10 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Sat, 9 Jul 2005 10:22:10 -0400 Subject: Making an image draggable Message-ID: <890e3d2605070907226bf0de50@mail.gmail.com> I know it must be easy but I cannot figure out the script to make an image of a metric ruler draggable so my students can drag it around the screen to measure items in a quiz stack I am writing. Tried several variations of the following script: on mousedown make image "ruler.jpg" draggable end mousedown Thanks for any help for this newbe. Doug Gilliland From webmaster at dreamscapesoftware.com Sat Jul 9 10:29:59 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 09 Jul 2005 09:29:59 -0500 Subject: documentation mini-bug In-Reply-To: <7645093130.20050708220510@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> Message-ID: <42CFDF67.9030504@dreamscapesoftware.com> Mark Wieder wrote: > Excuse me? ALL your customers have to do is bitch somewhere on a > listserv and their complaints magically get taken care of? You don't > use any bugtracking tools to track and prioritize your work? You don't > have any idea how often certain features have been suggested or the > severity level of bugs? Oh, sorry, from some of your posts I almost > had you mistaken for a real developer. My bad. I happen to agree with Jon. I have noticed that people are more likely to complain publicly about a product than contacting it's manufacturer and informing them of their trouble. Example #1: My friend swears up and down that Ford trucks are the best and Chevy trucks are the worst. He owned 1 Chevy truck, then 2 Fords, and did he contact Chevy to tell them about the problems that his truck had...nope. Example #2: An ex-girlfriend of mine detests the Applebees restaurant because she got a chicken sandwich and it wasn't cooked all the way. Now she tells everyone how bad Applebees is. Did she talk to the manager or write the company to let them know there was a problem...nope. Example #3: 90% of the people I know in the computer world are unsatisfied with Microsoft Windows (All Versions). Have they ever written a letter or email to let Microsoft know about the bugs that they experienced...nope. (In most cases they would either switch to a Mac or just live with it hoping that Microsoft would read their minds.) I too have received complaints about my software, as well as bug reports, but in the end the best way I've been able to see what people want is to read the reviews that people post about my program. Whether it be on CNET.com or some random bulletin board. And you know what...I've seen more public posts than emails or letters combined. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From kray at sonsothunder.com Sat Jul 9 10:33:57 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Jul 2005 09:33:57 -0500 Subject: preserve vertical white space in XML? In-Reply-To: Message-ID: > Is there a way to preserve the single cr's in the original? Otherwise > I have to a) live with it b) open them in BBEdit and run a format > function to get them back to a readable state--each child node on > it's own line... One alternative is to use my Transcript-based XML Library which will preserve white space, but the current version works differently than revXML (i.e. it works with nodes and children instead of an XPATH). If you're interested, check it out... http://www.sonsothunder.com/products/metacard/xmllib.htm Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From see3d at writeme.com Sat Jul 9 10:33:52 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 09 Jul 2005 10:33:52 -0400 Subject: Intersecting data question/challenge In-Reply-To: <4FBBD910-9EF0-44F1-88AC-47E0FDE7F5DA@scarlet.be> References: <4FBBD910-9EF0-44F1-88AC-47E0FDE7F5DA@scarlet.be> Message-ID: On Jul 8, 2005, at 10:57 PM, Buster wrote: > Hi Raymond, Dennis and everybody else, > > > The way proposed by Dennis is indeed the fastest on not too large > amounts of data. > So it is only fair to test the other way around too and try Dennis > proposal on the same amount of data on which Raymond used his handler > Raymond's handler is a neat trick. > Though it is at least 2 times slower than a replace + split method. > > Greetings, > Wouter Wouter, Nice script for comparing the different methods. However, you have changed the original problem from a true/false test if there was a match of any items in two arrays to returning an intersect of the data. That is Ok and a useful operation to understand, but it does skew the results in a different way. If I apply the original criteria, the repeat for each completes as soon as it finds the first match. With the random data in your example, that usually happens in much less time than than the other two methods. Dennis From kray at sonsothunder.com Sat Jul 9 10:36:16 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Jul 2005 09:36:16 -0500 Subject: Making an image draggable In-Reply-To: <890e3d2605070907226bf0de50@mail.gmail.com> Message-ID: > Tried several variations of the following script: > on mousedown > make image "ruler.jpg" draggable > end mousedown -- Script of ruler image on mouseDown grab me end mouseDown Now this doesn't have any constraints, but it works very well... Ken Ray Sons of Thunder Software Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From eric.chatonet at sosmartsoftware.com Sat Jul 9 10:37:48 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 16:37:48 +0200 Subject: Making an image draggable In-Reply-To: <890e3d2605070907226bf0de50@mail.gmail.com> References: <890e3d2605070907226bf0de50@mail.gmail.com> Message-ID: <982F0B5F-244A-43BB-B0D9-BDD9F086C9CD@sosmartsoftware.com> Hi Doug, Here is a script I use in all my plug-ins to make their window "draggable": local lAllowDrag -- local variable used by all handlers in the script --------------------------------- on mouseDown put the mouseH & comma & the mouseV into lAllowDrag end mouseDown --------------------------------- on mouseMove x,y if lAllowDrag is empty then exit mouseMove set the topLeft of this stack to globalLoc(x - item 1 of lAllowDrag & comma & y - item 2 of lAllowDrag) -- in the script of your image: set the topLeft of me to... end mouseMove --------------------------------- on mouseUp put empty into lAllowDrag end mouseUp --------------------------------- on mouseRelease put empty into lAllowDrag end mouseRelease --------------------------------- on mouseLeave put empty into lAllowDrag end mouseLeave BTW I think you could put your image into a sub-stack without decorations (same dimensions as your image): this would allow to move the ruler all around the screen and not only in the current window :-) More, let the image in your main stack and use a button in the sub- stack the icon of which is the ID of your image: this would allow you to clone the sub-stack (if needed) and provide as many rulers you want on screen at the same time... Le 9 juil. 05 ? 16:22, Douglas Gilliland a ?crit : > I know it must be easy but I cannot figure out the script to make an > image of a metric ruler draggable so my students can drag it around > the screen to measure items in a quiz stack I am writing. > Tried several variations of the following script: > on mousedown > make image "ruler.jpg" draggable > end mousedown 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From rev at armbase.com Sat Jul 9 10:41:29 2005 From: rev at armbase.com (Bob Hartley) Date: Sat, 9 Jul 2005 15:41:29 +0100 Subject: Making an image draggable In-Reply-To: References: Message-ID: You wrote: > > Tried several variations of the following script: on mousedown make > > image "ruler.jpg" draggable end mousedown > > -- Script of ruler image on mouseDown > grab me > end mouseDown > > Now this doesn't have any constraints, but it works very well... Or only dragable when the control key is down on mouseDown if the controlKey is down then grab me end if end mouseDown Cheers Bob From webmaster at dreamscapesoftware.com Sat Jul 9 10:43:40 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 09 Jul 2005 09:43:40 -0500 Subject: Making an image draggable In-Reply-To: <890e3d2605070907226bf0de50@mail.gmail.com> References: <890e3d2605070907226bf0de50@mail.gmail.com> Message-ID: <42CFE29C.2020809@dreamscapesoftware.com> Douglas Gilliland wrote: > I know it must be easy but I cannot figure out the script to make an > image of a metric ruler draggable so my students can drag it around > the screen to measure items in a quiz stack I am writing. You could try the following... 1. Create a separate stack. 2. Place the "ruler.jpg" image on the stack. 3. Resize the stack so it is the same dimensions as the image. 4. Set the windowDecorations to empty 5. Add the following to the stack's script... local sgDragging local sgOffset on mouseDown put true into sgDragging put the mouseLoc into sgOffset end mouseDown on mouseMove if sgDragging then set the topLeft of this stack to \ item 1 of the screenMouseLoc - item 1 of sgOffset, \ item 2 of the screenMouseLoc - item 2 of sgOffset end if end mouseMove on mouseUp put false into sgDragging end mouseUp on mouseRelease put false into sgDragging end mouseRelease Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From bill at bluewatermaritime.com Sat Jul 9 10:44:23 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 09 Jul 2005 10:44:23 -0400 Subject: PODCASTING WITH RUNREV Message-ID: Is anyone writing a stack for doing podcasting? Presently it takes a combination of six programs to make and edit podcasts on OSX. Audacity to edit Garage band to record Itunes to convert and save as MP3 SoundFlower to redirect everything for mixing mike, music etc. Ichat for incorporating interviews (using Jabber or AIM) SoundBed so you can monitor everything in your headphones. And then you have to do shenanigans to get the RS 2.0 feed up. -- It looks like an "all in one" program for making PodCasts would be a viable project. | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 From webmaster at dreamscapesoftware.com Sat Jul 9 10:52:23 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 09 Jul 2005 09:52:23 -0500 Subject: PODCASTING WITH RUNREV In-Reply-To: References: Message-ID: <42CFE4A7.9070700@dreamscapesoftware.com> Bill wrote: > -- It looks like an "all in one" program for making PodCasts would be a > viable project. :) First rule of developing software is you don't tell everyone about your ideas unless your 100% sure you can't do it yourself. It's a great idea. Personally I've never understood Podcasting. IMHO it sounds to me like nothing more than an MP3 copied to an iPod. To do this I would say look into the following... Can you record a MP3 with QuickTime utilizing the EnhancedQT External. If not, can you convert an AIFF or WAV file to MP3 or Apple Lossless utilizing the EnhancedQT External. If you can do that, you've solved 90% of the problem. The rest, as you said, would be the RSS feed. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From see3d at writeme.com Sat Jul 9 11:05:59 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 09 Jul 2005 11:05:59 -0400 Subject: documentation mini-bug In-Reply-To: <42CFDF67.9030504@dreamscapesoftware.com> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: On Jul 9, 2005, at 10:29 AM, Derek Bump wrote: > Mark Wieder wrote: > >> Excuse me? ALL your customers have to do is bitch somewhere on a >> listserv and their complaints magically get taken care of? You don't >> use any bugtracking tools to track and prioritize your work? You >> don't >> have any idea how often certain features have been suggested or the >> severity level of bugs? Oh, sorry, from some of your posts I almost >> had you mistaken for a real developer. My bad. >> > > I happen to agree with Jon. I have noticed that people are more > likely to complain publicly about a product than contacting it's > manufacturer and informing them of their trouble. > > > Example #1: My friend swears up and down that Ford trucks are the > best and Chevy trucks are the worst. He owned 1 Chevy truck, then > 2 Fords, and did he contact Chevy to tell them about the problems > that his truck had...nope. > > Example #2: An ex-girlfriend of mine detests the Applebees > restaurant because she got a chicken sandwich and it wasn't cooked > all the way. Now she tells everyone how bad Applebees is. Did she > talk to the manager or write the company to let them know there was > a problem...nope. > > Example #3: 90% of the people I know in the computer world are > unsatisfied with Microsoft Windows (All Versions). Have they ever > written a letter or email to let Microsoft know about the bugs that > they experienced...nope. (In most cases they would either switch to > a Mac or just live with it hoping that Microsoft would read their > minds.) > > > I too have received complaints about my software, as well as bug > reports, but in the end the best way I've been able to see what > people want is to read the reviews that people post about my > program. Whether it be on CNET.com or some random bulletin board. > And you know what...I've seen more public posts than emails or > letters combined. > > > Derek Bump > Dreamscape Software There are two sides to this. How many times has someone complained of a bug on this list only to find (with the help of the good folks here) that it was programmer error? Does Rev have a person with no other responsibilities than monitoring every message and following all the threads for days or weeks to their logical conclusion to see if it was in fact something "they" need to add to the bug list? The point is that there is a good system in place for the independent members of this list to discuss their problems, find a logical cause and do something about it --fix the program, fix the misconception, make a formal bug report in due time after reflecting on the situation and performing tests, and at times even providing patches to the IDE. The bug report is the conclusion of a collaborative process that helps RunRev understand how to produce the bug on different machines and how severe it is (no workarounds). We are helping ourselves by following this process, because we are helping RunRev focus their resources on fixing the severe problems instead of scattering their resources on trying to track all the conversations on this list -- then monitoring the bug reports to see if a valid one was not generated within x days. We know that RunRev does have technical people "monitoring" this list, and they do take action before the bug reports are filed when something causes a big stir on the list. So they are not just doing nothing until a bug report is filed. But we must also take responsibility for our threads. The person who reports the problem in a thread, should make a BZ entry when it has been determined that it really is a bug, or ask one of the other confirmers to do it if they don't feel able to do it. We are not just idle gossipers and malcontents, we are users with a vested interest in seeing bugs fixed and new features added that make our lives easier. Dennis From mark at maseurope.net Sat Jul 9 11:06:54 2005 From: mark at maseurope.net (Mark Smith) Date: Sat, 9 Jul 2005 16:06:54 +0100 Subject: documentation mini-bug In-Reply-To: <42CFD0AA.6000804@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFD0AA.6000804@sover.net> Message-ID: On 9 Jul 2005, at 14:27, Jon wrote: > Mark: > > First off, I know that the Rev folks monitor this list. My point was > that if they read about a bug, they need not simply ignore the report. But remember that the lists purpose is not for communicating with RunRev. Don't be surprised that it is not good for that purpose. And since it is certain that the vast majority of readers of the list do not work for RunRev, we must all choose our tone to reflect that. Obviously, it is pointless (and rude) to adopt a complaining or sarcastic tone with the list. > > Secondly, if I am told about a bug, it is fixed, without > prioritization: I just don't have that many bugs in released products. I don't know, of course, but might it be that you are not currently developing anything quite as large and complex as a multi-platform, general purpose programming language and IDE? > Finally, I do have bug tracking software, but it is internal, not > external. > > Perhaps you are a real developer and I am not. I couldn't say. > > :) > > Jon > Cheers, Mark Smith From eric.chatonet at sosmartsoftware.com Sat Jul 9 11:16:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Jul 2005 17:16:04 +0200 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: Hello Dennis and all, Agreed a thousand times :-) I have already tried - with my bad English - to tell this on the list 2 or 3 times. Newbies or not, we have to learn to always follow the process you describe to not overload bugzilla with our peculiar misunderstandings :-) Le 9 juil. 05 ? 17:05, Dennis Brown a ?crit : > But we must also take responsibility for our threads. The person > who reports the problem in a thread, should make a BZ entry when it > has been determined that it really is a bug, or ask one of the > other confirmers to do it if they don't feel able to do it. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From webmaster at dreamscapesoftware.com Sat Jul 9 11:21:44 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Sat, 09 Jul 2005 10:21:44 -0500 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: <42CFEB88.2080004@dreamscapesoftware.com> Dennis Brown wrote: > The point is that there is a good system in place for the independent > members of this list to discuss their problems, find a logical cause > and do something about it --fix the program, fix the misconception, > make a formal bug report in due time after reflecting on the situation > and performing tests, and at times even providing patches to the IDE. I agree with you on this (and everything else you wrote) as well. This list is a user-based forum that happens to be monitored by the folks at RunRev. The responsibility is still ours for utilizing BZ to attempt to get the issues we regard as high priority fixed. I just wanted to bring up the point that many companies often make the mistake of not utilizing all forums to fix bugs or implement enhancements. The folks at RunRev do in fact react to what we say in here. I can remember on many occasions getting an email from Heather in regards to the comments I've posted on the list but never in BZ. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From jbondy at sover.net Sat Jul 9 11:38:19 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 11:38:19 -0400 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: <42CFEF6B.3000403@sover.net> Dennis Brown wrote: > There are two sides to this. How many times has someone complained > of a bug on this list only to find (with the help of the good folks > here) that it was programmer error? Does Rev have a person with no > other responsibilities than monitoring every message and following > all the threads for days or weeks to their logical conclusion to see > if it was in fact something "they" need to add to the bug list? Well said, Dennis... Jon From jbondy at sover.net Sat Jul 9 11:39:17 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 11:39:17 -0400 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFD0AA.6000804@sover.net> Message-ID: <42CFEFA5.9060505@sover.net> Mark Smith wrote: > I don't know, of course, but might it be that you are not currently > developing anything quite as large and complex as a multi-platform, > general purpose programming language and IDE? Oh that I were! I get your point. :) Jon From douggilliland at gmail.com Sat Jul 9 11:52:42 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Sat, 9 Jul 2005 11:52:42 -0400 Subject: Making an image draggable In-Reply-To: <42CFE29C.2020809@dreamscapesoftware.com> References: <890e3d2605070907226bf0de50@mail.gmail.com> <42CFE29C.2020809@dreamscapesoftware.com> Message-ID: <890e3d260507090852f1167df@mail.gmail.com> Thanks to all - it's great to have this as a resource for learning transcript. The following script works great. on mouseDown grab me end mouseDown I will also try the others just to learn more about Revolution. Thanks again. Doug Gilliland Sarasota, Fl dodging the bullet with hurricane Dennis :>) On 7/9/05, Derek Bump wrote: > Douglas Gilliland wrote: > > I know it must be easy but I cannot figure out the script to make an > > image of a metric ruler draggable so my students can drag it around > > the screen to measure items in a quiz stack I am writing. > > You could try the following... > > 1. Create a separate stack. > 2. Place the "ruler.jpg" image on the stack. > 3. Resize the stack so it is the same dimensions as the image. > 4. Set the windowDecorations to empty > 5. Add the following to the stack's script... > > local sgDragging > local sgOffset > > on mouseDown > put true into sgDragging > put the mouseLoc into sgOffset > end mouseDown > > on mouseMove > if sgDragging then > set the topLeft of this stack to \ > item 1 of the screenMouseLoc - item 1 of sgOffset, \ > item 2 of the screenMouseLoc - item 2 of sgOffset > end if > end mouseMove > > on mouseUp > put false into sgDragging > end mouseUp > > on mouseRelease > put false into sgDragging > end mouseRelease > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Photos for the Web with JPEGCompress > http://www.dreamscapesoftware.com/ > From revdan at danshafer.com Sat Jul 9 12:28:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 9 Jul 2005 09:28:59 -0700 Subject: message box problem In-Reply-To: <42CFD831.3020509@sover.net> References: <42CFD831.3020509@sover.net> Message-ID: Jon..... Definitely an anomaly related to something local to your situation. Message Box has worked well from the very early releases. Dan On Jul 9, 2005, at 6:59 AM, Jon wrote: > I've not used the message box much before. I just tried to enter a > phrase ("the owner of the target"), to see what its value was. I > probably am using the MB incorrectly, but in any event, I can only > type one word before the keyboard stops working: if I try to type > "the owner of..." I only see "the"; if I try to type "owner of...." > I only see "owner"; if I try to type "the owner of..." I only see > ""the". > > I must be missing something. Too bad there's no help button on the > Message box. I thought you could type any Rev statement in there > and it would be evaluated. I just looked up "message box" in the > dictionary, and all it says is that it evaluates expressions. > > :( > > Jon > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From revdan at danshafer.com Sat Jul 9 12:34:17 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 9 Jul 2005 09:34:17 -0700 Subject: documentation mini-bug In-Reply-To: <42CFDF67.9030504@dreamscapesoftware.com> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: I think this is a case where it's not an either-or, but a both-and. Customers will complain in all kinds of places. A company with appropriate resources should attempt to monitor major lists -- most particularly one like this that they host -- for negative feedback and translate that feedback into bug reports for the development staff as often as possible. OTOH, users who care about the product -- and I certainly agree with Mark here that they are few and far between although there seem to be a disproportionate number around this place! -- should and most often will use the official bug reporting mechanism, provided that mechanism isn't a nightmare. My problem is that Revzilla/Bugzilla is a user interface nightmare that more often than not confuses me more than the bug I'm trying to report. So I'd say that unless I find a bug that's really severe, I find a way to work around it, post something here and get on with my programming life. So, Jon, you're not entirely wrong here. From off-list communications we have had I know you are a serious developer (Mark was probably just in a bad mood; he's a genuinely nice guy) but one who doesn't (yet at least) have a passionate supportive feeling about Revolution. Hopefully you'll be able to find the time to develop such a feeling. On Jul 9, 2005, at 7:29 AM, Derek Bump wrote: > Mark Wieder wrote: > >> Excuse me? ALL your customers have to do is bitch somewhere on a >> listserv and their complaints magically get taken care of? You don't >> use any bugtracking tools to track and prioritize your work? You >> don't >> have any idea how often certain features have been suggested or the >> severity level of bugs? Oh, sorry, from some of your posts I almost >> had you mistaken for a real developer. My bad. >> > > I happen to agree with Jon. I have noticed that people are more > likely to complain publicly about a product than contacting it's > manufacturer and informing them of their trouble. > > > Example #1: My friend swears up and down that Ford trucks are the > best and Chevy trucks are the worst. He owned 1 Chevy truck, then > 2 Fords, and did he contact Chevy to tell them about the problems > that his truck had...nope. > > Example #2: An ex-girlfriend of mine detests the Applebees > restaurant because she got a chicken sandwich and it wasn't cooked > all the way. Now she tells everyone how bad Applebees is. Did she > talk to the manager or write the company to let them know there was > a problem...nope. > > Example #3: 90% of the people I know in the computer world are > unsatisfied with Microsoft Windows (All Versions). Have they ever > written a letter or email to let Microsoft know about the bugs that > they experienced...nope. (In most cases they would either switch to > a Mac or just live with it hoping that Microsoft would read their > minds.) > > > I too have received complaints about my software, as well as bug > reports, but in the end the best way I've been able to see what > people want is to read the reviews that people post about my > program. Whether it be on CNET.com or some random bulletin board. > And you know what...I've seen more public posts than emails or > letters combined. > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Photos for the Web with JPEGCompress > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 From revdan at danshafer.com Sat Jul 9 12:35:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 9 Jul 2005 09:35:31 -0700 Subject: PODCASTING WITH RUNREV In-Reply-To: References: Message-ID: <54B05B51-71CF-43C7-96F6-F293DD4253A8@danshafer.com> I believe Andre Garzia is working on such a project. I seem to recall him showing some of it at RevCon West in Monterey last month. He's been invisible here lately. Probably caught another of those famous Brazilian bugs. On Jul 9, 2005, at 7:44 AM, Bill wrote: > Is anyone writing a stack for doing podcasting? Presently it takes a > combination of six programs to make and edit podcasts on OSX. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 From mwieder at ahsoftware.net Sat Jul 9 13:13:43 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 10:13:43 -0700 Subject: documentation mini-bug In-Reply-To: <42CFDF67.9030504@dreamscapesoftware.com> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: <1625487350.20050709101343@ahsoftware.net> Derek- Saturday, July 9, 2005, 7:29:59 AM, you wrote: DB> Example #1: My friend swears up and down that Ford trucks are the best DB> Example #2: An ex-girlfriend of mine detests the Applebees restaurant ...no need to take either of those reports seriously, though... DB> Example #3: 90% of the people I know in the computer world are DB> unsatisfied with Microsoft Windows (All Versions). Have they ever DB> written a letter or email to let Microsoft know about the bugs that they DB> experienced...nope. (In most cases they would either switch to a Mac or DB> just live with it hoping that Microsoft would read their minds.) This behavior is amplified by anyone's experience having contacted Microsoft with a support problem. Responsiveness to bug reports is part of the feedback loop in getting things taken care of. Response to complaints on listservs and public fora is not, especially when many of those end up being user issues. DB> I too have received complaints about my software, as well as bug DB> reports, but in the end the best way I've been able to see what people DB> want is to read the reviews that people post about my program. Whether DB> it be on CNET.com or some random bulletin board. And you know DB> what...I've seen more public posts than emails or letters combined. I don't know if that's the "best" way, but other than that I agree that it's certainly a valid way (among others) of gathering input about your product. -- -Mark Wieder mwieder at ahsoftware.net From larsbrehmer at mac.com Sat Jul 9 13:36:42 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Sat, 9 Jul 2005 20:36:42 +0300 Subject: string: finding and marking in custom properties Message-ID: <2EE1090C-ACCE-4371-BCC0-F332569C4887@mac.com> I can't seem to find help in the docs for this one, which is probably an extremely simple syntax question. I have a find script that looks in the custom properties of the cards in a stack and marks the cards that match; do some stuff mark cds where (the findIt of me) is among the words of the ansP of this cd do some more stuff Now this works just fine but for several reasons I'd rather be looking for a string, not a word or a set of characters, but I can't get the syntax right. mark cds by finding string (the findIt of me) in the ansP of this cd this doesn't work and neither does any variation that I could come up with, same with "mark cds where string "xyz".... The contents of these custom props are in uniEncode UTF8. What am I doing wrong here? It seems like it shouldn't be a problem. Cheers, Lars From alex at tweedly.net Sat Jul 9 14:15:03 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 Jul 2005 19:15:03 +0100 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: <42D01427.20308@tweedly.net> Dan Shafer wrote: > My problem is that Revzilla/Bugzilla is a user interface nightmare > that more often than not confuses me more than the bug I'm trying to > report. So I'd say that unless I find a bug that's really severe, I > find a way to work around it, post something here and get on with my > programming life. > I have at least twice started to enter a Bugzilla and just given up (I went back the next day when I had more time to spare, and did them then - but it was a close call). Most annoying thing is the difficulty of choosing a component - it always amazes me how many components there are, and *still* there isn't any obvious one to assign to the bug I'm reporting. The "Post bug" card on Revzilla looks pretty clean - I'll use that next time I have a bug to submit and see how it works. > So, Jon, you're not entirely wrong here. From off-list communications > we have had I know you are a serious developer (Mark was probably > just in a bad mood; he's a genuinely nice guy) but one who doesn't > (yet at least) have a passionate supportive feeling about Revolution. > Hopefully you'll be able to find the time to develop such a feeling. The case I find Bugzilla most overhead for is documentation bugs, which are often small and well-defined - no need for much description, you just need to say '"caseSensitive" has been omitted from the "See also" section of the "sort container "command' and everything else is just overhead. I've taken to "reporting" these via Web Notes, on the assumption that anything reported in there will be rolled into the next release of the docs. -- 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.8.11/44 - Release Date: 08/07/2005 From jacque at hyperactivesw.com Sat Jul 9 15:00:38 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Jul 2005 14:00:38 -0500 Subject: string: finding and marking in custom properties In-Reply-To: <2EE1090C-ACCE-4371-BCC0-F332569C4887@mac.com> References: <2EE1090C-ACCE-4371-BCC0-F332569C4887@mac.com> Message-ID: <42D01ED6.3070909@hyperactivesw.com> On 7/9/05 12:36 PM, Lars Brehmer wrote: > I have a find script that looks in the custom properties of the cards > in a stack and marks the cards that match; > > do some stuff > mark cds where (the findIt of me) is among the words of the ansP of > this cd > do some more stuff > > Now this works just fine but for several reasons I'd rather be looking > for a string, not a word or a set of characters, but I can't get the > syntax right. Try: mark cds where (the findIt of me) is in the ansP of this cd > > mark cds by finding string (the findIt of me) in the ansP of this cd > > this doesn't work and neither does any variation that I could come up > with, same with "mark cds where string "xyz".... The contents of these > custom props are in uniEncode UTF8. What am I doing wrong here? It > seems like it shouldn't be a problem. The "find" command only works in fields, not in custom properties, so you can't use this method. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From katir at hindu.org Sat Jul 9 17:25:28 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 9 Jul 2005 11:25:28 -1000 Subject: Alert: Reading stdIn from POST in CGI's Message-ID: just and FYI alert: I'm pretty sure I have confirmed an old bug (once again) in revolution CGI read stnIn from a POST returns empty. Newbies could get easily burned on this one if they didn't see this discussion recently. Be sure to *always* use the form. on startup if $REQUEST_METHOD is "POST" then put "" into PostIn repeat until length(PostIn) >= $CONTENT_LENGTH read from stdin until "" put it after PostIn end repeat put urlDecode (PostIn) into tDataIn split tDataIn by "&" and "=" put keys(tDataIn) into tFields # where you use the $CONTENT_LENGTH to force reads on a repeat loop. The following on startup if $REQUEST_METHOD is "POST" then read from stdin until empty put urlDecode (it) into tDataIn split tDataIn by "&" and "=" is guaranteed to fail, but only intermittently. Symptom... no data at all passed to variable "it", even on a post with a trivial amt of data (name address, ph# and CC#). It does not seem to have anythng to do at all with a) traffic b) concurrent hits c) amt of data posted i.e. even a simple 3 name-value pair set: name=katir ph=822-7032 comment=test can be posted and the read from stdIn fails. try again.. it works... try again, it works, try again, it fails... Sivakatirswami From alex at tweedly.net Sat Jul 9 17:28:42 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 Jul 2005 22:28:42 +0100 Subject: Remotes - the new, exciting alternative to Externals. Message-ID: <42D0418A.5070109@tweedly.net> I've been playing with writing externals for Revolution lately. It's been interesting. I'm very glad to know I can do it, and should I ever need to, I will. But I can't say it's been a lot of fun. Writing C code is frustrating and not very productive in the best of circumstances (e.g. supported by a symbolic debugger, protected processes, etc.) In the circumstance of running an external with Rev's IDE (where many errors cause immediate termination of the IDE, with no diagnostic info provided at all, far less any chance to debug), it is very unproductive. So while it's good to know that externals are possible for me, I also know that they are to be avoided if reasonable alternatives exist. So I started looking for alternatives ..... Reasons to write externals in the first place. 1. to get access to hardware or other facilities not otherwise available 2. to get higher performance (e.g. matrix ops, image processing, etc.) 3. to take advantage of existing library packages 4. other significant but less common reasons As described above, I don't like C (far less C++). The language I do like (assuming Transcript isn't an option) is Python. Python is, in many ways, similar to Transcript. They're both scripting language, dynamic types (or typeless), associative arrays, etc. - that's largely why I like them both. But they're also quite different, and complementary, in many ways. So, without falling into the trap of becoming a comparison between the two languages, I believe that a number of the reasons for writing an external would equally apply to using Python. Of course, it would be difficult to write an actual external in Python. But I realized that one of the strengths of both Python and Transcript is that they have good, simple socket facilities. So I decided to try "Remotes" - socket-based Python add-ons to Transcript. I wrote a small (30 lines) Python server which accepts "commands" over a TCP socket, and returns its result over the same TCP connection (see the end of the email for the source code of the Python program). The "commands" are in fact snippets of Python code; so I can develop the Transcript stack and just change the snippets of Python to be sent and executed, without even restarting the server. So the whole process is as dynamic as Rev usually is. As an example, I used the Python Imaging Library to calculate the Histogram of a JPEG, done as two steps (to avoid making it too easy). So there are two buttons - one to open and specify a file, the other to calculate th histogram for it. The script of the first button is > on mouseUp > local t > answer file empty with filter "JPEGs,*.jpg" > put it into theFile > put "import PIL.Image" & cr \ > & "from PIL import *" & cr \ > & "global im" & cr \ > & "im = Image.open(" & quote & theFile & quote & ")" & cr into > theScript > put theScript & cr & "endofscript" & cr into t > reStart > > SendPacket t > end mouseUp While the second is > on mouseUp > local t > reStart > put "hi = im.histogram()" & cr \ > & "return_result_list(wfile, hi)" into theScript > put theScript & cr & "endofscript" & cr into t > SendPacket t > end mouseUp Notes. 1. The "restart" handler is used to reset any open sockets, then open the socket to the Python server. It could be done more efficiently, but this was simpler (reusing some socket code I had lying around). 2. sendPacket sends the data in a packet, waits for the reply and puts the response into a field so I can check it is getting back the right answers. It also gives me the time between sending the packet and receiving the end of the result. Results ? First, and most importantly, it succeeded in the primary aim. I was able to make use of a library that exists and provides a lot of functionality that wouldn't otherwise have been available to me. And it allowed me to do so without writing C :-) Second, it was reasonably easy to debug; each of the client and server could be run independently, with trace or debug output or using a debugger. The ability to track what was going on by monitoring the packets sent was very helpful. Third, the efficiency was very good. The time for the whole operation (two x socket open + send + read) was around 42 msecs for the sample photo being used earlier (the one that took 1250 ms in Transcript). More importantly, a large photo took 480 msec versus 500 msecs for the naive C external. Remember the imageData is NOT being passed over the interface;the filename is passed instead, and the Python code opens and reads the jpeg file. The jpeg file is around 1.5 Mb. Note this photo is 3008 x 2008, so the imageData is 24 Mb. I tried passing the imageData and that added 250 msecs to the overall time - so even with that, it's still within 50% of the speed of a straightforward C implementation. Fourth, it is very simple. Started yesterday evening, had it working by midnight, had it still working in about half the number of lines of code by 2 am :-) Changing to a more efficient method (i.e. opening a single connection and sending multiple command / result pairs over it would) be a bit more work, and being less simple might be less robust initially. Fifth, it offers lots of options. Develop Python functions and include them in a special-purpose server, to get more efficiency and easier coding; leave the server sparse and have all the flexibility. Do both. .... Sixth, it's one more tool. I don't expect to use it often - but I have a couple of projects that I started in Rev and abandoned (i.e. abandoned use of Rev, switched to Python) which I could now do in 80% Rev + 20% Python with very little problem (both because of availability of a library in Python versus what was available in Rev). Seventh (just because Mark W. mentioned it in the Q&A at RevCon), this uses a separate process, and so will allow Transcript stacks to take advantage of multiple processor machines (or multi-core CPUs), before Transcript is extended to provide threads. I'd be happy to hear any comments on the approach, answer question, help anyone else who wants to play with it, etc. Or email the sample server and stack. Finally - a short list of areas where I think Python offers a library that would be a good reason to try this approach. This isn't a list of why Python is "better" than Transcript. 1. Python Imaging Library 2. NumericArray (matrix math) 3. email library (i.e. rfc 822 headers, MIME encoding/decoding, etc.); also POP, IMAP and SMTP. 4. pysqlite - database access via SQLite 5. OpenGL 6. PDF generation (via ReportLab's toolkit) Python server code: > # This little program illustrates how easy it is to write network > # servers using the classes in the SocketServer module. > import SocketServer > > def return_result_list(where, pList): > formatted = [ "%d" % x for x in pList] > where.write(",".join(formatted) + "\n") > > class TranscriptHandler(SocketServer.StreamRequestHandler): > def handle(self): > global wfile > # Read lines of text, limiting each to 512 bytes. > # This will prevent someone trying to crash the server machine > # by sending megabytes of data. > lines = [] > while True: > new = self.rfile.readline(512).rstrip() > if new == "endofscript": > break > lines.append(new) > text = "\n".join(lines) > wfile = self.wfile # for use in user scripts, to > wfile.write() results. > exec(text) > self.wfile.write("endofresult\n") > > if __name__=='__main__': > # Create an instance of our server class > server=SocketServer.TCPServer( ('', 7779), TranscriptHandler) > # Enter an infinite loop, waiting for requests and then servicing > them. > server.serve_forever() -- 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.8.11/44 - Release Date: 08/07/2005 From katir at hindu.org Sat Jul 9 17:35:29 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 9 Jul 2005 11:35:29 -1000 Subject: control and option keys not working on Tiger with 2.6? Message-ID: <843607E7-AA1F-4824-8CE8-D5B5A43F9302@hindu.org> I have for years used the following to toggle a field between a locked "hot link ready" state to an editable state: on mouseDown if controlkey()="Down" then set the locktext of the target to true set the traversalOn of the target to false choose browse tool end if end mouseDown on mouseUp if optionkey()="Down" then set the locktext of the target to false set the traversalOn of the target to true end if end mouseUp on linkClicked tSubject findLinkedItems tSubject put tSubject into gLastLink end linkClicked It's not working now on TIGER, 2.6 I have a bluetooth Keyboard installed, but even it I do it form the real keyboard on my PowerBook, it still fails: symptom.. nothing happens.. Can anyone confirm? Sivakatirswami From mwieder at ahsoftware.net Sat Jul 9 17:45:39 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 14:45:39 -0700 Subject: bug reporting In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: <5921803241.20050709144539@ahsoftware.net> Dan- Saturday, July 9, 2005, 9:34:17 AM, you wrote: DS> I think this is a case where it's not an either-or, but a both-and. DS> Customers will complain in all kinds of places. A company with DS> appropriate resources should attempt to monitor major lists -- most DS> particularly one like this that they host -- for negative feedback DS> and translate that feedback into bug reports for the development DS> staff as often as possible. DS> OTOH, users who care about the product -- and I certainly agree with DS> Mark here that they are few and far between although there seem to be DS> a disproportionate number around this place! -- should and most often DS> will use the official bug reporting mechanism, provided that DS> mechanism isn't a nightmare. DS> My problem is that Revzilla/Bugzilla is a user interface nightmare DS> that more often than not confuses me more than the bug I'm trying to DS> report. So I'd say that unless I find a bug that's really severe, I DS> find a way to work around it, post something here and get on with my DS> programming life. RevZilla takes the pain out of the BZ database, in my experience. Obviously, YMMV. Give it another try if you haven't lately. IMO it's at least as easy to use as the major defect-tracking packages out there, and as a QA engineer I've used most of them by now. DS> So, Jon, you're not entirely wrong here. From off-list communications DS> we have had I know you are a serious developer (Mark was probably DS> just in a bad mood; he's a genuinely nice guy) but one who doesn't DS> (yet at least) have a passionate supportive feeling about Revolution. DS> Hopefully you'll be able to find the time to develop such a feeling. Yes. I was in a bad mood. I still am. This list exists for users to help each other out. When I've got an issue and think it might be something to file a bug report on, I'll ask here first to see if someone can confirm it or if it's just my inexperience with things or some other kind of user error. That's the sort of brainstorming I see here all the time and it works well. When I see someone who can't be bothered filing bug reports showing up here and bitching about things because supposedly someone is monitoring the list, that's hijacking the listserv for a different purpose. Jon's found some good bugs in the IDE here - that's what prompted my original comment about Bugzillaing them. I'd like to see some of them fixed, and for that they need to be in the bug database. Tracking bugs by listservs just doesn't work. Look - there's more to software development than slapping some code together, hoping it works, and exposing your users to it, waiting for them to complain about bugs. That's the sort of amateurishness and arrogance I'd expect from Microsoft. There's tracking and prioritizing defects, technical support, version control, etc. Posting issues to a listserv can be part of the process, but Jon's arrogant response of "that's all it should take", even if that's the way he treats his own customers, is not something I would expect from anyone who considers themselves a professional. It shows a fair amount of ignorance of the development process. I agree with what you said here. It's not an either-or thing. But if I ran the company (and you can all breathe a sigh of relief that I don't), I'd put more resources into finding and fixing bugs that are in the bug database than into having people keep an eye on listservs and such. There's an existing mechanism for reporting bugs and the bug list is public, which is something you don't often find outside of open-source projects. If bugs don't get reported properly there's a minimal chance of them getting tracked and fixed. -- -Mark Wieder mwieder at ahsoftware.net From jbondy at sover.net Sat Jul 9 17:52:35 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 17:52:35 -0400 Subject: Remotes - the new, exciting alternative to Externals. In-Reply-To: <42D0418A.5070109@tweedly.net> References: <42D0418A.5070109@tweedly.net> Message-ID: <42D04723.7020403@sover.net> Well done, Alex! :) Jon Alex Tweedly wrote: > > I've been playing with writing externals for Revolution lately. It's > been interesting. I'm very glad to know I can do it, and should I ever > need to, I will. But I can't say it's been a lot of fun. Writing C > code is frustrating and not very productive in the best of > circumstances (e.g. supported by a symbolic debugger, protected > processes, etc.) In the circumstance of running an external with Rev's > IDE (where many errors cause immediate termination of the IDE, with no > diagnostic info provided at all, far less any chance to debug), it is > very unproductive. So while it's good to know that externals are > possible for me, I also know that they are to be avoided if reasonable > alternatives exist. > > So I started looking for alternatives ..... > > Reasons to write externals in the first place. > 1. to get access to hardware or other facilities not otherwise available > 2. to get higher performance (e.g. matrix ops, image processing, etc.) > 3. to take advantage of existing library packages > 4. other significant but less common reasons > > As described above, I don't like C (far less C++). The language I do > like (assuming Transcript isn't an option) is Python. > > Python is, in many ways, similar to Transcript. They're both scripting > language, dynamic types (or typeless), associative arrays, etc. - > that's largely why I like them both. But they're also quite > different, and complementary, in many ways. So, without falling into > the trap of becoming a comparison between the two languages, I believe > that a number of the reasons for writing an external would equally > apply to using Python. > > Of course, it would be difficult to write an actual external in > Python. But I realized that one of the strengths of both Python and > Transcript is that they have good, simple socket facilities. So I > decided to try "Remotes" - socket-based Python add-ons to Transcript. > > I wrote a small (30 lines) Python server which accepts "commands" over > a TCP socket, and returns its result over the same TCP connection > (see the end of the email for the source code of the Python program). > The "commands" are in fact snippets of Python code; so I can develop > the Transcript stack and just change the snippets of Python to be sent > and executed, without even restarting the server. So the whole process > is as dynamic as Rev usually is. > > From jbondy at sover.net Sat Jul 9 17:55:07 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 17:55:07 -0400 Subject: bug reporting In-Reply-To: <5921803241.20050709144539@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <5921803241.20050709144539@ahsoftware.net> Message-ID: <42D047BB.40803@sover.net> Mark: If it's any consolation to you, 1) I was having a bad day, too; and 2) if I had it to do over again, I would have simply BZ'd the bug. Sorry to have created such a ruckus: other traffic since has made it clear that my position is incorrect. :) Jon Mark Wieder wrote: >Dan- > >Saturday, July 9, 2005, 9:34:17 AM, you wrote: > >DS> I think this is a case where it's not an either-or, but a both-and. > >DS> Customers will complain in all kinds of places. A company with >DS> appropriate resources should attempt to monitor major lists -- most >DS> particularly one like this that they host -- for negative feedback >DS> and translate that feedback into bug reports for the development >DS> staff as often as possible. > >DS> OTOH, users who care about the product -- and I certainly agree with >DS> Mark here that they are few and far between although there seem to be >DS> a disproportionate number around this place! -- should and most often >DS> will use the official bug reporting mechanism, provided that >DS> mechanism isn't a nightmare. > >DS> My problem is that Revzilla/Bugzilla is a user interface nightmare >DS> that more often than not confuses me more than the bug I'm trying to >DS> report. So I'd say that unless I find a bug that's really severe, I >DS> find a way to work around it, post something here and get on with my >DS> programming life. > >RevZilla takes the pain out of the BZ database, in my experience. >Obviously, YMMV. Give it another try if you haven't lately. IMO it's >at least as easy to use as the major defect-tracking packages out >there, and as a QA engineer I've used most of them by now. > >DS> So, Jon, you're not entirely wrong here. From off-list communications >DS> we have had I know you are a serious developer (Mark was probably >DS> just in a bad mood; he's a genuinely nice guy) but one who doesn't >DS> (yet at least) have a passionate supportive feeling about Revolution. >DS> Hopefully you'll be able to find the time to develop such a feeling. > >Yes. I was in a bad mood. I still am. > >This list exists for users to help each other out. When I've got an >issue and think it might be something to file a bug report on, I'll >ask here first to see if someone can confirm it or if it's just my >inexperience with things or some other kind of user error. That's the >sort of brainstorming I see here all the time and it works well. > >When I see someone who can't be bothered filing bug reports showing up >here and bitching about things because supposedly someone is >monitoring the list, that's hijacking the listserv for a different >purpose. Jon's found some good bugs in the IDE here - that's what >prompted my original comment about Bugzillaing them. I'd like to see >some of them fixed, and for that they need to be in the bug database. >Tracking bugs by listservs just doesn't work. > >Look - there's more to software development than slapping some code >together, hoping it works, and exposing your users to it, waiting for >them to complain about bugs. That's the sort of amateurishness and >arrogance I'd expect from Microsoft. There's tracking and prioritizing >defects, technical support, version control, etc. Posting issues to a >listserv can be part of the process, but Jon's arrogant response of >"that's all it should take", even if that's the way he treats his own >customers, is not something I would expect from anyone who considers >themselves a professional. It shows a fair amount of ignorance of the >development process. > >I agree with what you said here. It's not an either-or thing. But if I >ran the company (and you can all breathe a sigh of relief that I >don't), I'd put more resources into finding and fixing bugs that are >in the bug database than into having people keep an eye on listservs >and such. There's an existing mechanism for reporting bugs and the bug >list is public, which is something you don't often find outside of >open-source projects. If bugs don't get reported properly there's a >minimal chance of them getting tracked and fixed. > > > From soapdog at mac.com Sat Jul 9 18:09:47 2005 From: soapdog at mac.com (Andre Garzia) Date: Sat, 9 Jul 2005 19:09:47 -0300 Subject: PODCASTING WITH RUNREV In-Reply-To: References: Message-ID: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> On Jul 9, 2005, at 11:44 AM, Bill wrote: > Is anyone writing a stack for doing podcasting? Presently it takes a > combination of six programs to make and edit podcasts on OSX. > > Audacity to edit > Garage band to record > Itunes to convert and save as MP3 > SoundFlower to redirect everything for mixing mike, music etc. > Ichat for incorporating interviews (using Jabber or AIM) > SoundBed so you can monitor everything in your headphones. > > And then you have to do shenanigans to get the RS 2.0 feed up. > > -- It looks like an "all in one" program for making PodCasts would > be a > viable project. > Bill, I distributed in RevConwest a little stack that could generate podcast feeds based on droped mp3 files... it's not a all in one solution but it works. Andre > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gbojsza at gmail.com Sat Jul 9 18:10:09 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 9 Jul 2005 18:10:09 -0400 Subject: Remotes - the new, exciting alternative to Externals. In-Reply-To: <42D04723.7020403@sover.net> References: <42D0418A.5070109@tweedly.net> <42D04723.7020403@sover.net> Message-ID: <3d8af415050709151032f2418c@mail.gmail.com> This is what I think would make a great Rev Scripting Conference series. On 7/9/05, Jon wrote: > Well done, Alex! > > :) > > Jon > > > Alex Tweedly wrote: > > > > > I've been playing with writing externals for Revolution lately. It's > > been interesting. I'm very glad to know I can do it, and should I ever > > need to, I will. But I can't say it's been a lot of fun. Writing C > > code is frustrating and not very productive in the best of > > circumstances (e.g. supported by a symbolic debugger, protected > > processes, etc.) In the circumstance of running an external with Rev's > > IDE (where many errors cause immediate termination of the IDE, with no > > diagnostic info provided at all, far less any chance to debug), it is > > very unproductive. So while it's good to know that externals are > > possible for me, I also know that they are to be avoided if reasonable > > alternatives exist. > > > > So I started looking for alternatives ..... > > > > Reasons to write externals in the first place. > > 1. to get access to hardware or other facilities not otherwise available > > 2. to get higher performance (e.g. matrix ops, image processing, etc.) > > 3. to take advantage of existing library packages > > 4. other significant but less common reasons > > > > As described above, I don't like C (far less C++). The language I do > > like (assuming Transcript isn't an option) is Python. > > > > Python is, in many ways, similar to Transcript. They're both scripting > > language, dynamic types (or typeless), associative arrays, etc. - > > that's largely why I like them both. But they're also quite > > different, and complementary, in many ways. So, without falling into > > the trap of becoming a comparison between the two languages, I believe > > that a number of the reasons for writing an external would equally > > apply to using Python. > > > > Of course, it would be difficult to write an actual external in > > Python. But I realized that one of the strengths of both Python and > > Transcript is that they have good, simple socket facilities. So I > > decided to try "Remotes" - socket-based Python add-ons to Transcript. > > > > I wrote a small (30 lines) Python server which accepts "commands" over > > a TCP socket, and returns its result over the same TCP connection > > (see the end of the email for the source code of the Python program). > > The "commands" are in fact snippets of Python code; so I can develop > > the Transcript stack and just change the snippets of Python to be sent > > and executed, without even restarting the server. So the whole process > > is as dynamic as Rev usually is. > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mpetrides at earthlink.net Sat Jul 9 18:17:34 2005 From: mpetrides at earthlink.net (Marian Petrides) Date: Sat, 9 Jul 2005 17:17:34 -0500 Subject: PODCASTING WITH RUNREV In-Reply-To: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> References: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> Message-ID: <8CAD29C2-0096-4A15-B104-93DB7B3EB975@earthlink.net> Andre Is this available to folks who did not attend RevConWest? I don't see in in your userspace in RevOnline, nor do I see a link to it from the Soap Dog homepage. Marian On Jul 9, 2005, at 5:09 PM, Andre Garzia wrote: > I distributed in RevConwest a little stack that could generate > podcast feeds based on droped mp3 files... it's not a all in one > solution but it works. > > Andre From soapdog at mac.com Sat Jul 9 18:46:48 2005 From: soapdog at mac.com (Andre Garzia) Date: Sat, 9 Jul 2005 19:46:48 -0300 Subject: PODCASTING WITH RUNREV In-Reply-To: <8CAD29C2-0096-4A15-B104-93DB7B3EB975@earthlink.net> References: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> <8CAD29C2-0096-4A15-B104-93DB7B3EB975@earthlink.net> Message-ID: <89572125-522E-47AB-B630-0D9696D46878@mac.com> On Jul 9, 2005, at 7:17 PM, Marian Petrides wrote: > Andre > > Is this available to folks who did not attend RevConWest? I don't > see in in your userspace in RevOnline, nor do I see a link to it > from the Soap Dog homepage. > It will be today... it is not at this moment, but I shall pack it and release, I am a bit overhelmed with my end of semester exams in the university, but I'll manage everything by not sleeping. Andre > Marian > On Jul 9, 2005, at 5:09 PM, Andre Garzia wrote: > > >> I distributed in RevConwest a little stack that could generate >> podcast feeds based on droped mp3 files... it's not a all in one >> solution but it works. >> >> Andre >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at tweedly.net Sat Jul 9 18:51:35 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 09 Jul 2005 23:51:35 +0100 Subject: Remotes - the new, exciting alternative to Externals. In-Reply-To: <3d8af415050709151032f2418c@mail.gmail.com> References: <42D0418A.5070109@tweedly.net> <42D04723.7020403@sover.net> <3d8af415050709151032f2418c@mail.gmail.com> Message-ID: <42D054F7.4080802@tweedly.net> Glen Bojsza wrote: >This is what I think would make a great Rev Scripting Conference series. > > > I can't see it fitting in the Scripting Conference series. AFAIK, that's supposed to cover "introductory" material (though I've learnt a lot by reviewing and/or attending the conferences, so introductory doesn't mean basic). And I just can't see "remotes" as an introductory topic. Also, I can't see it as being interesting to a very large number of people (maybe to a fair number of the tinkerers who are active on this list - but I think that's a biased sample). The conference schedule already runs into November - and I can think of quite a few more topics that ought to be added before RR should allow a minority topic like this into the conf schedule. But I can see it might be a good topic to prepare more material about, and then schedule some time to have a pre-arranged "chat" session about it. So if Bjornke doesn't mind us hi-jacking a time slot on his chat server, we could just pick an evening (or other time) and all get on the chat session to talk about it. -- 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.8.11/44 - Release Date: 08/07/2005 From mpetrides at earthlink.net Sat Jul 9 18:53:27 2005 From: mpetrides at earthlink.net (Marian Petrides) Date: Sat, 9 Jul 2005 17:53:27 -0500 Subject: PODCASTING WITH RUNREV In-Reply-To: <89572125-522E-47AB-B630-0D9696D46878@mac.com> References: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> <8CAD29C2-0096-4A15-B104-93DB7B3EB975@earthlink.net> <89572125-522E-47AB-B630-0D9696D46878@mac.com> Message-ID: Andre No big hurry. Concentrate on your exams... we can wait. And thanks. Marian On Jul 9, 2005, at 5:46 PM, Andre Garzia wrote: >> >> Is this available to folks who did not attend RevConWest? I don't >> see in in your userspace in RevOnline, nor do I see a link to it >> from the Soap Dog homepage. >> >> > > It will be today... it is not at this moment, but I shall pack it > and release, I am a bit overhelmed with my end of semester exams in > the university, but I'll manage everything by not sleeping. > > Andre > > >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sat Jul 9 19:11:22 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 16:11:22 -0700 Subject: documentation mini-bug In-Reply-To: <42D01427.20308@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> Message-ID: <13626946426.20050709161122@ahsoftware.net> Alex- Saturday, July 9, 2005, 11:15:03 AM, you wrote: AT> Most annoying thing is the difficulty of choosing a component - it AT> always amazes me how many components there are, and *still* there isn't AT> any obvious one to assign to the bug I'm reporting. Yep. Sometimes I just have to find something close and figure that whoever is in charge of processing these things will assign it to the proper category. AT> and everything else is just overhead. I've taken to "reporting" these AT> via Web Notes, on the assumption that anything reported in there will be AT> rolled into the next release of the docs. Unless I'm missing something, if you post something in Web Notes it overwrites anything anyone else may have posted there. That's strike one. Strike two is that, as far as I can tell, there's no way to search Web Notes, so using it to report bugs is fairly ineffectual. You have to know that there's a Web Note bug report waiting and then go to the appropriate entry and then view the Web Note. I'm not at all sure that anyone at runrev pays attention to the Web Notes, at least in terms of using them for reporting missing items and such, and that may be strike three - it certainly never occurred to me to use Web Notes for this purpose. I know what you mean about the overhead, though. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Sat Jul 9 19:12:01 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Jul 2005 16:12:01 -0700 Subject: Playing DVDs in Rev? Message-ID: <42D059C1.8070804@fourthworld.com> I have a customer who would like to play a video DVD (true video DVD, not a video file on DVD-ROM) in one of our Rev-based products. I'm not familiar with any way to get a player to play a DVD -- is there? Alternatively, is there a free third-party tool that can convert DVDs to .mov or .mpeg files? TIA - -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sat Jul 9 19:17:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 16:17:24 -0700 Subject: Remotes - the new, exciting alternative to Externals. In-Reply-To: <42D04723.7020403@sover.net> References: <42D0418A.5070109@tweedly.net> <42D04723.7020403@sover.net> Message-ID: <6927308667.20050709161724@ahsoftware.net> Jon- Saturday, July 9, 2005, 2:52:35 PM, you wrote: J> Well done, Alex! Indeed! -- -Mark Wieder mwieder at ahsoftware.net From bvg at mac.com Sat Jul 9 19:16:20 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 10 Jul 2005 01:16:20 +0200 Subject: Remotes - the new, exciting alternative to Externals. In-Reply-To: <42D054F7.4080802@tweedly.net> References: <42D0418A.5070109@tweedly.net> <42D04723.7020403@sover.net> <3d8af415050709151032f2418c@mail.gmail.com> <42D054F7.4080802@tweedly.net> Message-ID: <126841442dd39d7c1abdd7aa90b63f35@mac.com> On Jul 10 2005, at 00:51, Alex Tweedly wrote: > But I can see it might be a good topic to prepare more material about, > and then schedule some time to have a pre-arranged "chat" session > about it. So if Bjornke doesn't mind us hi-jacking a time slot on his > chat server, we could just pick an evening (or other time) and all get > on the chat session to talk about it. come as you are :) the chat is free for anyone, but if you want to make something "official" just name a date and time to me, and i'll announce it... I'd rather not have more then one event per evening, and i think next friday is (hopefully) the announcement for the winners of the advanced contest, and the sunday in a week is taken too (more on that on wednesday). greetings Bjoernke -- 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 From mwieder at ahsoftware.net Sat Jul 9 19:19:17 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 16:19:17 -0700 Subject: PODCASTING WITH RUNREV In-Reply-To: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> References: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> Message-ID: <327421379.20050709161917@ahsoftware.net> Andre- You *are* still alive... have you gotten any of the email messages I've sent you over the last, say, six months? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 9 19:22:02 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 16:22:02 -0700 Subject: bug reporting In-Reply-To: <42D047BB.40803@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <5921803241.20050709144539@ahsoftware.net> <42D047BB.40803@sover.net> Message-ID: <5127585786.20050709162202@ahsoftware.net> Jon- Saturday, July 9, 2005, 2:55:07 PM, you wrote: J> Mark: J> If it's any consolation to you, J> 1) I was having a bad day, too; and J> 2) if I had it to do over again, I would have simply BZ'd the bug. J> Sorry to have created such a ruckus: other traffic since has made it J> clear that my position is incorrect. Well... dang... in that case I have to back off, too. And I was having such a good time being a curmudgeon... You've dug up some excellent bug reports here on the list. If you do BZ them I'll send votes their way to up their visibility. I'd most definitely like to see them fixed up. -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Sat Jul 9 19:22:19 2005 From: soapdog at mac.com (Andre Garzia) Date: Sat, 9 Jul 2005 20:22:19 -0300 Subject: PODCASTING WITH RUNREV In-Reply-To: <327421379.20050709161917@ahsoftware.net> References: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> <327421379.20050709161917@ahsoftware.net> Message-ID: On Jul 9, 2005, at 8:19 PM, Mark Wieder wrote: > Andre- > > You *are* still alive... have you gotten any of the email messages > I've sent you over the last, say, six months? > Hey Mark!!! Good to see you!!! I got two emails from you during the last weeks! I am answering them, it's mailbox hell for now... andre > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbondy at sover.net Sat Jul 9 19:32:45 2005 From: jbondy at sover.net (Jon) Date: Sat, 09 Jul 2005 19:32:45 -0400 Subject: bug reporting In-Reply-To: <5127585786.20050709162202@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <5921803241.20050709144539@ahsoftware.net> <42D047BB.40803@sover.net> <5127585786.20050709162202@ahsoftware.net> Message-ID: <42D05E9D.4020307@sover.net> Mark Wieder wrote: >And I was having such a good time being a curmudgeon... > > I guess it takes one to know one?!? From tsj at unimelb.edu.au Sat Jul 9 19:45:22 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Sun, 10 Jul 2005 09:45:22 +1000 Subject: preserve vertical white space in XML? In-Reply-To: <20050709130712.42905824D2D@mail.runrev.com> Message-ID: <841E713D-F0D3-11D9-9C7E-000393AEC28C@unimelb.edu.au> Actually you can maintain at least some formatting by passing 'true' as a(n undocumented) third parameter to the revXMLText function... put revXMLText(treeID,,true) HTH Terry... > I noticed this too - the revXMLText function does not put any end of > line delimiters between tags, though of course it preserves them with > in node contents. > > For simple cases (and I think this would cover the case given), > > put revXMLText(treeID) into theXML > replace "><" with ">" & cr & "<" in theXML > > will work. > > On my current project, I found it easier (and quicker in execution) to > generate the XML in my own code, rather than using the library, though > I still use the library for reading it back in. > > Mark Smith > > > On 9 Jul 2005, at 06:50, Sivakatirswami wrote: > >> I always use extra line breaks in my XML docs and .XHTML docs... for >> readability. >> >> But, if you create an XML Tree from one of these, transform some data >> in a node and then >> >> put revXMLText(tCurrTree) into tNewFile >> >> to get that data back out, Rev's XML libraries have wiped out all the >> cr's. >> >> What is interesting is that double cr's are preserved, singles are not >> >> Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From charles.hartman at conncoll.edu Sat Jul 9 19:46:29 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 9 Jul 2005 19:46:29 -0400 Subject: fonts one last time Message-ID: <5B48178D-7D01-40F5-B55A-B7F3CDF5F589@conncoll.edu> (Whew.) Here's a script for the main stack of a two-stack app full of fields called "Text" with a mix of fonts and styles. As far as I can tell from preliminary tests, this -- at last! -- should (1) adjust the default text font and (2) adjust the monospaced font I need for some text, both by looking for particular fonts, while (3) preserving the special-font status of those monospace passages and (4) preserving all style markings (link, bold, etc), yet (5) changing text after those to the default font (which Rev refuses to do by itself). In case somebody else has the same combination of problems I've had. Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs.htm ============================================================= on preOpenStack -- could check platform (which is the overall point here); -- but really care only whether certain fonts are available. -- First: establish names of running (proportional) and special -- (monospaced) fonts for "Text" fields /* ----- PROPOSED PRODUCTION CODE if "Palatino" is in the fontNames then put "Palatino" into theRunningFont put 12 into mySize else put "Times New Roman" into theRunningFont put 12 into mySize -- check this on Windows! end if if "Courier" is in the fontNames then put "Courier" into theMonoFont else put "Courier New" into theMonoFont end if */ ---------- TESTING CODE; COMMENT OUT FOR PRODUCTION! ask "running (non-monospaced) font?" put it into theRunningFont ask "monospaced font?" put it into theMonoFont put 12 into mySize -- do the change only if need default font other than present one if theRunningFont is not the textFont of this stack then changeFieldTextProps "English Metrics","Text",mySize, \ theRunningFont,theMonoFont changeFieldTextProps "Reference Stack","Text",mySize, \ theRunningFont,theMonoFont end if end preOpenStack -- based on David Epstein's script for preserving styles -- while changing the default font throughout a stack on changeFieldTextProps myStack,f,mySize,myFont,myMonoFont repeat with c = 1 to the number of cards of stack myStack if exists(field f of card c of stack myStack) then put the htmlText of field f of card c of stack myStack \ into hold[c] -- seek and change all font specifications to mono font put offset("",hold[c],tagFoundAt) to endOfTag put myMonoFont into char tagFoundAt+12 to endOfTag-2 \ of hold[c] --answer char tagFoundAt+12 to endOfTag-2] put offset(" learnt a lot by reviewing and/or attending the conferences, so > introductory doesn't mean basic). > > And I just can't see "remotes" as an introductory topic. Also, I > can't see it as being interesting to a very large number of people > (maybe to a fair number of the tinkerers who are active on this > list - but I think that's a biased sample). The conference schedule > already runs into November - and I can think of quite a few more > topics that ought to be added before RR should allow a minority > topic like this into the conf schedule. > > But I can see it might be a good topic to prepare more material > about, and then schedule some time to have a pre-arranged "chat" > session about it. So if Bjornke doesn't mind us hi-jacking a time > slot on his chat server, we could just pick an evening (or other > time) and all get on the chat session to talk about it. > > > -- > 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.8.11/44 - Release Date: > 08/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs.htm From charles.hartman at conncoll.edu Sat Jul 9 19:52:47 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 9 Jul 2005 19:52:47 -0400 Subject: fonts one last time In-Reply-To: <5B48178D-7D01-40F5-B55A-B7F3CDF5F589@conncoll.edu> References: <5B48178D-7D01-40F5-B55A-B7F3CDF5F589@conncoll.edu> Message-ID: (By the way, I tried to send this same message earlier, but the list rejected it because it was something like 35k. That's pasting a script directly from Rev into a message. When I paste it into BBEdit and then into mail, it's down to 7k. What's the Rev script editor doing with it to bloat it so much? Can't be just Unicode, I think -- HTML?) coh On Jul 9, 2005, at 7:46 PM, Charles Hartman wrote: [etc] From alex at tweedly.net Sat Jul 9 20:33:42 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 01:33:42 +0100 Subject: documentation mini-bug In-Reply-To: <13626946426.20050709161122@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> Message-ID: <42D06CE6.3040008@tweedly.net> Mark Wieder wrote: >Alex- > >Saturday, July 9, 2005, 11:15:03 AM, you wrote: > >AT> and everything else is just overhead. I've taken to "reporting" these >AT> via Web Notes, on the assumption that anything reported in there will be >AT> rolled into the next release of the docs. > >Unless I'm missing something, if you post something in Web Notes it >overwrites anything anyone else may have posted there. > That's right - so it's up to whoever is adding something to copy/paste whats already there .... >That's strike one. Strike two is that, as far as I can tell, there's no way to >search Web Notes, so using it to report bugs is fairly ineffectual. >You have to know that there's a Web Note bug report waiting and then >go to the appropriate entry and then view the Web Note. > Don't agree with that - if I look at the doc entry for a command, and there's a web note there, then I see it. And if I didn't look at that entry, then I didn't care about the web note :-) > I'm not at all sure that anyone at runrev pays attention to the Web Notes, at least >in terms of using them for reporting missing items and such, > I would hope, and expect, that if I were revising the doc for an entry, and there was a web note, I'd look at it and incorporate it. And I'd expect that if I were given the task of updating all the docs (or some section of them), one of the places I'd look for input (not necessarily bugs, just things that might want to be improved or that people are having trouble with) would be web notes. > and that may be strike three - it certainly never occurred to me to use Web >Notes for this purpose. I know what you mean about the overhead, >though. > > If I found a serious problem in the docs (e.g. something wrong, or dangerously misleading), I'd likely BZ it (esp. now that I've been reminded how much easier it look to RZ it). But for minor issues (links missing, spelling mistakes, bad grammar, etc.) I'll use web notes and hope .... unless someone from RR tells me that won't work. -- 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.8.11/44 - Release Date: 08/07/2005 From mark at maseurope.net Sat Jul 9 20:46:37 2005 From: mark at maseurope.net (Mark Smith) Date: Sun, 10 Jul 2005 01:46:37 +0100 Subject: preserve vertical white space in XML? In-Reply-To: <841E713D-F0D3-11D9-9C7E-000393AEC28C@unimelb.edu.au> References: <841E713D-F0D3-11D9-9C7E-000393AEC28C@unimelb.edu.au> Message-ID: <4e82e00c89777dbc46269c7e9fe2a7b6@maseurope.net> Well I'll be...how on earth did you find that out? Mark On 10 Jul 2005, at 00:45, Terry Judd wrote: > Actually you can maintain at least some formatting by passing 'true' > as a(n undocumented) third parameter to the revXMLText function... > > put revXMLText(treeID,,true) > > HTH > > Terry... From tmc7056 at yahoo.com Sat Jul 9 22:05:24 2005 From: tmc7056 at yahoo.com (Tom McDonald) Date: Sat, 9 Jul 2005 19:05:24 -0700 (PDT) Subject: What About Newbies Message-ID: <20050710020524.77622.qmail@web53005.mail.yahoo.com> I've been running tutorials and whatever else is available to a newcomer to Revolution but have become frustrated because it is all beyond me The daily material is all about technical stuff between gurus. There is nothing for the newbie. The videos are smoothly presented and the diction is impressive but it's all above me. There's a group of advanced users swapping esoteric fixes. I need a video turorial that simply explains how to create a data base of many text screens that can be called up as needed or on a random basis. How about a basic explanation of an If/Then and a Do While algorithm? Perhaps an explanation of how and where to locate plug-ins and how to use them. Perhaps a kindergarten section in the daily blurbs would assist people like me. Thanks, Tom McDonald --------------------------------- Sell on Yahoo! Auctions - No fees. Bid on great items. From tominjapan at excite.com Sat Jul 9 22:26:07 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Sat, 9 Jul 2005 22:26:07 -0400 (EDT) Subject: Alert: Reading stdIn from POST in CGI's Message-ID: <20050710022607.60848B953@xprdmailfe14.nwk.excite.com> Sivakatirswami, Thanks for the enlightenment. I'm just starting to work with cgi and I can see that this heads up will save me a lot of headaches. Thanks tom _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From revdan at danshafer.com Sat Jul 9 22:47:02 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 9 Jul 2005 19:47:02 -0700 Subject: What About Newbies In-Reply-To: <20050710020524.77622.qmail@web53005.mail.yahoo.com> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> Message-ID: <6125CCD4-3A9F-41EB-8CEF-EBB70D51606E@danshafer.com> Tom.... May I humbly suggest you buy my book, "Revolution: Software at the Speed of Thought" from the Rev storefront? I think it is aimed at the entry-level to early mid-level user (at least that's its intent). That said, your statement of the problem you're trying to solve, unless I'm misreading it, misues the word "simply." Setting up a database is non-trivial and not for beginners. OTOH, if what you mean is a stack with a bunch of cards containing text that you can display as needed or randomly, that's a piece of cake. On Jul 9, 2005, at 7:05 PM, Tom McDonald wrote: > I've been running tutorials and whatever else is available to a > newcomer to Revolution but have become frustrated because it is all > beyond me The daily material is all about technical stuff between > gurus. There is nothing for the newbie. The videos are smoothly > presented and the diction is impressive but it's all above me. > There's a group of advanced users swapping esoteric fixes. > > I need a video turorial that simply explains how to create a data > base of many text screens that can be called up as needed or on a > random basis. > > How about a basic explanation of an If/Then and a Do While algorithm? > > Perhaps an explanation of how and where to locate plug-ins and how > to use them. > > Perhaps a kindergarten section in the daily blurbs would assist > people like me. > > Thanks, > > Tom McDonald > > > > > --------------------------------- > Sell on Yahoo! Auctions - No fees. Bid on great items. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 From jacque at hyperactivesw.com Sat Jul 9 22:51:05 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Jul 2005 21:51:05 -0500 Subject: Scripting conference - Groups log uploaded Message-ID: <42D08D19.2040709@hyperactivesw.com> Today's scripting conference on Groups and Backgrounds, presented by Judy Perry, has been logged and the revised stack uploaded. You can get a copy of the conference stack, which now includes the chat transcript, at the usual place: One participant said afterward, "flawlessly presented." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Jul 9 23:02:01 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Jul 2005 22:02:01 -0500 Subject: Remotes - the new, exciting alternative to Externals. In-Reply-To: <42D054F7.4080802@tweedly.net> References: <42D0418A.5070109@tweedly.net> <42D04723.7020403@sover.net> <3d8af415050709151032f2418c@mail.gmail.com> <42D054F7.4080802@tweedly.net> Message-ID: <42D08FA9.6040005@hyperactivesw.com> On 7/9/05 5:51 PM, Alex Tweedly wrote: > Glen Bojsza wrote: > >> This is what I think would make a great Rev Scripting Conference series. >> >> >> > I can't see it fitting in the Scripting Conference series. AFAIK, that's > supposed to cover "introductory" material Right, we're doing a beginner series right now. It is sort of a trial run. If interest stays high, I'd like to do an intermediate series, and maybe an advanced after that. We're talking a couple of years into the future though, and that's too far away to really plan. But I do jot down any suggestions I see on the list here. No promises, but I'm keeping track. Meanwhile, the ChatRev idea sounds good if you want to cover this sooner than 2007. Still working on TimeWarpGadget... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Jul 9 23:33:04 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 20:33:04 -0700 Subject: documentation mini-bug In-Reply-To: <42D06CE6.3040008@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> Message-ID: <15642647834.20050709203304@ahsoftware.net> Alex- Saturday, July 9, 2005, 5:33:42 PM, you wrote: AT> I would hope, and expect, that if I were revising the doc for an entry, AT> and there was a web note, I'd look at it and incorporate it. And I'd AT> expect that if I were given the task of updating all the docs (or some AT> section of them), one of the places I'd look for input (not necessarily AT> bugs, just things that might want to be improved or that people are AT> having trouble with) would be web notes. Well yes, but my point was that there's no need to revise a doc entry unless you know it needs revising. As far as I know there's no way to do a generic web notes search to see if anybody's reported anything. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 9 23:34:29 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 20:34:29 -0700 Subject: documentation mini-bug In-Reply-To: <42D06CE6.3040008@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> Message-ID: <2042733317.20050709203429@ahsoftware.net> Alex- Saturday, July 9, 2005, 5:33:42 PM, you wrote: AT> That's right - so it's up to whoever is adding something to copy/paste AT> whats already there .... Um... I already overwrote something while trying to figure out what this web notes thing is. In the docs *somewhere* is a web note that says just "yadda yadda". I don't know how to find it or what it used to say or what topic it's attached to... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 9 23:35:40 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 20:35:40 -0700 Subject: Playing DVDs in Rev? In-Reply-To: <42D059C1.8070804@fourthworld.com> References: <42D059C1.8070804@fourthworld.com> Message-ID: <11542803838.20050709203540@ahsoftware.net> Richard- Saturday, July 9, 2005, 4:12:01 PM, you wrote: RG> I have a customer who would like to play a video DVD (true video DVD, RG> not a video file on DVD-ROM) in one of our Rev-based products. I'm not RG> familiar with any way to get a player to play a DVD -- is there? Have you looked at vlc? -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sat Jul 9 23:35:40 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Jul 2005 22:35:40 -0500 Subject: What About Newbies In-Reply-To: <20050710020524.77622.qmail@web53005.mail.yahoo.com> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> Message-ID: <42D0978C.6060106@hyperactivesw.com> On 7/9/05 9:05 PM, Tom McDonald wrote: > I've been running tutorials and whatever else is available to a > newcomer to Revolution but have become frustrated because it is all > beyond me The daily material is all about technical stuff between > gurus. There is nothing for the newbie. The videos are smoothly > presented and the diction is impressive but it's all above me. > There's a group of advanced users swapping esoteric fixes. I know what you mean. I think this list can be intimidating for newcomers. It is a wealth of information and the best resource there is, but if you don't know what question to ask, the chatter can be meaningless. I think the only way to change that is to have brave new people ask a lot of questions. Then other new people will follow suit. I am always glad to see basic questions show up on the list. It keeps us from getting too snobby and it gives the intermediate newcomers a chance to contribute back. ;) > > I need a video turorial that simply explains how to create a data > base of many text screens that can be called up as needed or on a > random basis. There are lots of ways to do this, it depends on how many screens you want to display. If it is under 2-3 thousand or so, then a drop-dead simple way is to make a shared background group that appears on each card. In that group is a text field. A shared text field can have different text on every card, so put each text block into that field on each card. Give each card a distinctive name. Then, to display the text on demand, just go to the card that has the text. If you show a list of card names in a list, the user can click on the list to go to the card. For specifics on how to do that, just ask. If you don't want to use a field, you can store each text block in a file on disk and load them into a display field on demand. This also works very well. Your data is separate from your stack in this case, which can be an advantage. If you have a lot of data, you can store it in a database like mySQL or Valentina. Then you would use database calls to set and retrieve your data. Decide which system would work best and we can help you from there. > > How about a basic explanation of an If/Then and a Do While algorithm? There's a pretty good one in the dictionary, under "if". The "do while" in Transcript is really a "repeat while". The dictionary entry for "repeat" is pretty extensive. > > > Perhaps an explanation of how and where to locate plug-ins and how to > use them. There used to be one, but I can't find it now. I agree this would be a good addition. > > Perhaps a kindergarten section in the daily blurbs would assist > people like me. I like this idea a lot, actually. I just don't know anyone with time to compile such a thing. I wish, though. > > Thanks, > > Tom McDonald > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Jul 9 23:37:34 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 20:37:34 -0700 Subject: bug reporting In-Reply-To: <42D05E9D.4020307@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <5921803241.20050709144539@ahsoftware.net> <42D047BB.40803@sover.net> <5127585786.20050709162202@ahsoftware.net> <42D05E9D.4020307@sover.net> Message-ID: <11842918383.20050709203734@ahsoftware.net> Jon- Saturday, July 9, 2005, 4:32:45 PM, you wrote: J> I guess it takes one to know one?!? -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 9 23:43:03 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 20:43:03 -0700 Subject: What About Newbies In-Reply-To: <6125CCD4-3A9F-41EB-8CEF-EBB70D51606E@danshafer.com> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> <6125CCD4-3A9F-41EB-8CEF-EBB70D51606E@danshafer.com> Message-ID: <543247626.20050709204303@ahsoftware.net> Tom- Saturday, July 9, 2005, 7:47:02 PM, Dan wrote: DS> May I humbly suggest you buy my book, "Revolution: Software at the DS> Speed of Thought" from the Rev storefront? I think it is aimed at the DS> entry-level to early mid-level user (at least that's its intent). ...and may I second that... DS> unless I'm misreading it, misues the word "simply." Setting up a ^^^^^^ ...spoken like a true lawyer... DS> is a stack with a bunch of cards containing text that you can display DS> as needed or randomly, that's a piece of cake. If you follow the examples in the book, you'll be up and coding things in no time. And giving advice to others here on the list. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Jul 9 23:46:29 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 20:46:29 -0700 Subject: PODCASTING WITH RUNREV In-Reply-To: References: <0E87D6EA-9A7C-494B-9365-B3AA9AED08C2@mac.com> <327421379.20050709161917@ahsoftware.net> Message-ID: <5543452691.20050709204629@ahsoftware.net> Andre- Saturday, July 9, 2005, 4:22:19 PM, you wrote: AG> I got two emails from you during the last weeks! I am answering them, AG> it's mailbox hell for now... Silly me... I thought it was finals hell. Never mind - you can always sleep when winter comes. -- -Mark Wieder mwieder at ahsoftware.net From soapdog at mac.com Sat Jul 9 23:49:05 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 10 Jul 2005 00:49:05 -0300 Subject: Playing DVDs in Rev? In-Reply-To: <11542803838.20050709203540@ahsoftware.net> References: <42D059C1.8070804@fourthworld.com> <11542803838.20050709203540@ahsoftware.net> Message-ID: <7B10F5B9-4BFF-4766-B231-653403398EFE@mac.com> Richard, the usual format is to have a folder called VIDEO_TS that contains one or more VOB objects. VOB are nothing but a fancy packing for the dvd media files. The standard encoding for DVD is MPEG-2 video, the Audio I think is AAC or something... but both are pretty standard, like, Rev Player will be able to play them. The trick thing is to unpack the VIDEO_TS VOB files. I think you could opt for some ways: (1) Use some F/OSS project to unpack the VOB files on the background in your app and then load them on a player object. There are many projects on sourceforge to deal with VOBs. Don't really know how much time it takes to do that, but it should not be long since you can't really do much number crunching with MPEG2 files and expect that consumer DVD players will be computing-wise enough to deal with it. I even expect VOBs just to be some concatenation of the files with a TOC but I really don't know. (2) Use some F/OSS project to spawn a player window and play the thing. That's the approach taken by many players on VersionTracker, the popular MPlayer OS X does just that, and it works. But I think you might have some trouble bundling GPL apps with commercialware, look for a BSD licensed one and be happy. (3) Do you know in advance what DVDs you'll have to play? is this like training material with a rich client? if so, please for the love of consistency, just convert the DVDs back to MPEG2, burn new DVD-ROM, load it in a player with no fuss. (but that may not be an option...) (4) AppleScript to the rescue!!! use applescript + Apple DVD Player, just drive apples player!!! that's a hack, but we love hacks don't we? Cheers andre On Jul 10, 2005, at 12:35 AM, Mark Wieder wrote: > Richard- > > Saturday, July 9, 2005, 4:12:01 PM, you wrote: > > RG> I have a customer who would like to play a video DVD (true > video DVD, > RG> not a video file on DVD-ROM) in one of our Rev-based products. > I'm not > RG> familiar with any way to get a player to play a DVD -- is there? > > Have you looked at vlc? > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Jul 10 00:02:23 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Jul 2005 21:02:23 -0700 Subject: What About Newbies In-Reply-To: <20050710020524.77622.qmail@web53005.mail.yahoo.com> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> Message-ID: <17244406753.20050709210223@ahsoftware.net> Tom- Saturday, July 9, 2005, 7:05:24 PM, you wrote: TM> How about a basic explanation of an If/Then and a Do While algorithm? To tide you over until you get the book, how about: -- this asks for input and just compares it to a value. ask "please type a number" if it is 123 then answer "you got it!" else answer "try again" end if -- here's a version that loops until you get the right answer -- the repeat / end repeat construct is the equivalent -- of the "do while" construct you'll find elsewhere repeat until x is 123 ask "please type a number" put it into x end repeat -- -Mark Wieder mwieder at ahsoftware.net From eric.chatonet at sosmartsoftware.com Sun Jul 10 00:05:39 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 06:05:39 +0200 Subject: What About Newbies In-Reply-To: <20050710020524.77622.qmail@web53005.mail.yahoo.com> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> Message-ID: <20F5A32D-EA2C-4A23-A270-2B94D908CA73@sosmartsoftware.com> Hi Tom, Welcome to this list. Don't let you be intimated by those you call gurus: in a few months (or a little bit longer :-), you can become one of them. All advanced users on this list are kind people who *love* to answer newbies (or not) questions. Only a little advice: try to be the most precise you can be in your requests (I know it's difficult when beginning) and avoid too large scope questions which would request a book or two: posts on this list are limited to 15 KB :-) You have already got relevant answers from others. I shall add you might be interested by: . RevJournal at http://www.revjournal.com/tutorials/index.html where you will find links and articles one of which, especially dedicated to beginners, is an extensive explanation of "if/then/else" conditional structure. . My web-site (address below) where you will be able to download Tutorials Picker: I have already released 17 tutorials stacks. Some of them are a bit complicated for beginners but others will help you to get started with many basic features. . You could check also the following links: http://dmoz.org/Computers/Programming/Languages/Transcript/ http://h.webring.com/hub?ring=runtimerevoluti1 which are good doors to Revolution sites. Best Regards from Paris, Eric Chatonet. Le 10 juil. 05 ? 04:05, Tom McDonald a ?crit : > I've been running tutorials and whatever else is available to a > newcomer to Revolution but have become frustrated because it is all > beyond me The daily material is all about technical stuff between > gurus. There is nothing for the newbie. The videos are smoothly > presented and the diction is impressive but it's all above me. > There's a group of advanced users swapping esoteric fixes. > I need a video turorial that simply explains how to create a data > base of many text screens that can be called up as needed or on a > random basis. > How about a basic explanation of an If/Then and a Do While algorithm? > Perhaps an explanation of how and where to locate plug-ins and how > to use them. > Perhaps a kindergarten section in the daily blurbs would assist > people like me. ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From katir at hindu.org Sun Jul 10 01:20:56 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 9 Jul 2005 19:20:56 -1000 Subject: preserve vertical white space in XML? In-Reply-To: <841E713D-F0D3-11D9-9C7E-000393AEC28C@unimelb.edu.au> References: <841E713D-F0D3-11D9-9C7E-000393AEC28C@unimelb.edu.au> Message-ID: Great! that does help... yes, all cr's retained.. thanks Where is this documented? skts On Jul 09, 2005, at 1:45 PM, Terry Judd wrote: > Actually you can maintain at least some formatting by passing > 'true' as a(n undocumented) third parameter to the revXMLText > function... > > put revXMLText(treeID,,true) > > HTH > > Terry... From dick.kriesel at mail.com Sun Jul 10 02:36:16 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 09 Jul 2005 23:36:16 -0700 Subject: Intersecting data question/challenge In-Reply-To: <963331A2-B3C9-43E8-B695-953CA634C0FD@scarlet.be> Message-ID: On 7/9/05 2:49 AM, "Buster" wrote: > on mouseUp > ### filling the data sets > ### change by hand or by use a scrollbar > repeat 500 --round(thumbpos of sb "A") > put random(10000) & cr after A > end repeat > repeat 200 --round(thumbpos of sb "B") > put random(10000) & cr after B > end repeat > put 0 into time1 > put 0 into time2 > put 0 into time3 > repeat 10 > put A into x > put B into y > ### custom prop method > put the long seconds into zap > set the customkeys of me to x > put the customproperties of me into arrA > set the customkeys of me to y > put the customproperties of me into arrB > intersect arrA with arrB > put keys(arrA) into tKeys1 > add the long seconds - zap to time1 > set the customkeys of me to "" > ### replace split method > put the long seconds into zap > replace cr with tab & cr in x > split x with cr and tab > replace cr with tab & cr in y > split y with cr and tab > intersect x with y > put keys(y) into tKeys2 > add the long seconds - zap to time2 > ### repeat for each + is not among method > put A into x > put B into y > replace cr with comma in x > replace cr with comma in y > put "" into tList > put the long seconds into zap > repeat for each item i in x > if i is not among the items of y and i is not among the lines > of tList then put i & cr after tList > end repeat > add the long seconds - zap to time3 > end repeat > put time1 &cr& time2 & cr & time3 > end mouseUp The times reported for the second and third methods above are suspect, because tKeys2 and tList do not match tKeys1. > put keys(y) into tKeys2 should be "put keys(x) into tKeys2" > if i is not among the items of y should be "if i is among the items of y" Also, the time for the second method is overstated, because the code includes two unnecessary statements: > replace cr with tab & cr in x > replace cr with tab & cr in y Despite the inaccuracies, the conclusions remain: the first method loses the second method wins for long lists the third method wins for short lists Informal testing suggests that the third method wins when the shorter of the two input lists has around fifty or more lines. So a general, optimized handler can choose the method by inspecting the input lists. Further insights, anyone? -- Dick From stephenREVOLUTION at barncard.com Sun Jul 10 03:13:55 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 10 Jul 2005 00:13:55 -0700 Subject: documentation mini-bug In-Reply-To: <42CFDF67.9030504@dreamscapesoftware.com> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> Message-ID: I don't think MS, like Adobe, would admit to having bugs; they're called 'features'. sqb >Derek Bump wrote: > > >Example #3: 90% of the people I know in the computer world are >unsatisfied with Microsoft Windows (All Versions). Have they ever >written a letter or email to let Microsoft know about the bugs that >they experienced...nope. (In most cases they would either switch to >a Mac or just live with it hoping that Microsoft would read their >minds.) > From stephenREVOLUTION at barncard.com Sun Jul 10 03:48:26 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 10 Jul 2005 00:48:26 -0700 Subject: PODCASTING WITH RUNREV In-Reply-To: <42CFE4A7.9070700@dreamscapesoftware.com> References: <42CFE4A7.9070700@dreamscapesoftware.com> Message-ID: I would say it would be more like 60% - the AUDIO EDIT portion would be a big hurdle. Graphic waveform editing would be required, and that's not trivial. Or are we talking scripting other apps and gluing together? >Can you record a MP3 with QuickTime utilizing the EnhancedQT >External. If not, can you convert an AIFF or WAV file to MP3 or >Apple Lossless utilizing the EnhancedQT External. If you can do >that, you've solved 90% of the problem. The rest, as you said, >would be the RSS feed. > >Derek Bump From tsj at unimelb.edu.au Sun Jul 10 05:56:22 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Sun, 10 Jul 2005 19:56:22 +1000 Subject: preserve vertical white space in XML? In-Reply-To: <20050710025644.799EC824D5A@mail.runrev.com> Message-ID: On Sunday, July 10, 2005, at 12:56 PM, use-revolution-request at lists.runrev.com wrote: > From: Mark Smith > Date: Sun Jul 10, 2005 10:46:37 AM Australia/Melbourne > To: How to use Revolution > Subject: Re: preserve vertical white space in XML? > Reply-To: How to use Revolution > > > Well I'll be...how on earth did you find that out? > > Mark I think Tuviah 'revealed' that one when I was moaning about having to implement my own text padding routine a couple of years ago. Makes you wonder if there are any other undocumented XML 'gems' out there. Cheers, Terry... > > On 10 Jul 2005, at 00:45, Terry Judd wrote: > >> Actually you can maintain at least some formatting by passing 'true' >> as a(n undocumented) third parameter to the revXMLText function... >> >> put revXMLText(treeID,,true) >> >> HTH >> >> Terry... From rev at armbase.com Sun Jul 10 07:19:03 2005 From: rev at armbase.com (Bob Hartley) Date: Sun, 10 Jul 2005 12:19:03 +0100 Subject: Runrev to PDAT palm databases Message-ID: Hi All. I have a wee app for you all. It is a wee database designer that I made for people on the PDAtoolbox forum. A lot of the code needs cleaned up and shortened and indeed put into the main stack and declared, however, for newbies it is probably better as it is, in it's raw state. see www.pdatnutsandbolts.com for what PDAToolbox is. The app is usefull for newbies wanting to learn how to copy fields, rename them etc. The is also a font changer to make labels. This shows how the enduser without runrev can change things like label text etc. It also shows how to communicate via the shell (never did get dynamic paths sorted) to make a PalmOS PDAT database file IE a PDB via an external app. Hope you find it useful. It is a free app. You can do what you like with it. You can nick the code etc. Naturaly you should include a suitable citation if you use it in an app. It is windows only for converting to PDAToolbox, however if you only want a look at a wee desktop database designer then it is naturally usefull for all. Anyway, I'm off to do the garden. :-) There is a wee manual on the site below. http://www.armbase.com/Untitled_2.html You can get the app from http://www.armbase.com/Untitled_2/ABsource.zip Cheers Bob From alex at tweedly.net Sun Jul 10 07:34:53 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 12:34:53 +0100 Subject: documentation mini-bug In-Reply-To: <15642647834.20050709203304@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <15642647834.20050709203304@ahsoftware.net> Message-ID: <42D107DD.8040002@tweedly.net> Mark Wieder wrote: >Alex- > >Saturday, July 9, 2005, 5:33:42 PM, you wrote: > >AT> I would hope, and expect, that if I were revising the doc for an entry, >AT> and there was a web note, I'd look at it and incorporate it. And I'd >AT> expect that if I were given the task of updating all the docs (or some >AT> section of them), one of the places I'd look for input (not necessarily >AT> bugs, just things that might want to be improved or that people are >AT> having trouble with) would be web notes. > >Well yes, but my point was that there's no need to revise a doc entry >unless you know it needs revising. As far as I know there's no way to >do a generic web notes search to see if anybody's reported anything. > > Well, we can't - but Runrev can. The webnotes all live in a single folder on their website - "http://support.runrev.com/docs/webnotes/" so all they need to do is look in there. And each time they're getting ready to do a release, they ought to look in there, take any fixes and incorporate them into the docs (and clean up any "yadda yadda"s :-) -- 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.8.11/44 - Release Date: 08/07/2005 From rev at armbase.com Sun Jul 10 07:39:28 2005 From: rev at armbase.com (Bob Hartley) Date: Sun, 10 Jul 2005 12:39:28 +0100 Subject: Trial Days In-Reply-To: <5b474a205793c81b70584a7b26d43c75@cox.net> References: <5b474a205793c81b70584a7b26d43c75@cox.net> Message-ID: You wrote: > Thanks to Jonathan Lynch and Robert Brenstein for your input. Trial days > now down to 4 lines. Hi Bob Could you post your final code. I'd be interested. Cheers Bob; Sunny Scotland > > Regards .. Bob > > _______________________________________________ use-revolution mailing > list use-revolution at lists.runrev.com Please visit this url to subscribe, > unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From david at evolvs.com Thu Jul 7 17:12:00 2005 From: david at evolvs.com (David Politi) Date: Thu, 7 Jul 2005 15:12:00 -0600 Subject: [OT] UML Tools for developing Revolution projects Message-ID: <1F5D83D4-3500-47A8-9279-E279D8A786BC@evolvs.com> Dear Alex Rice, My name is David Politi and I am a Junior Designer/Flash Developer for evolvs, in Calgary, AB. I found your post via google regarding an Omnigraffle extension utulizing the UML spec. I'd love to get my hands on one. Have you heard anything about it? If you can find the time, please let me know. Yours truly, David Politi Junior Designer ------------------------------- Evolvs Media Inc. 1920 11th Street SE Calgary, AB T2G 3G2 +1 403.262.2676 ext.33 From richmond at mail.maclaunch.com Fri Jul 8 12:24:28 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Fri, 08 Jul 2005 12:24:28 -0400 Subject: Why I won't buy an A9Home . . . On Topic! Message-ID: As my first PC (as in Personal Computer - rather than clunking along on some terminal with somebody else's paw-prints all over it) was a BBC Master I have long longed for a RISC OS machine. The A9Home (at last) seems just the 'thing' (http://www.advantagesix.co.uk/products/A9home.html) smaller than the MacMini, featuring an OS in Flash-ROM (no viruses, nothing), and so eccentric one can really look odd owning one (maybe I should not have written that last bit). Of course, RISC OS is used in so many embedded systems that the ability to write stuff for it is really useful. I will not buy an A9Home because, so far, there is no version of MC/RR for RISC OS. Considering that quite a few RISC OS machines are used in the UK (as well as elsewhere) in educational environments, it seems a shame there is neither MC/RR for RISC OS, or, at least, an engine that allows users of MC/RR on Linux/Win/Mac to produce RISC OS compatible standalones. Sincerely, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From richmond at mail.maclaunch.com Sat Jul 9 05:11:52 2005 From: richmond at mail.maclaunch.com (Mathewson) Date: Sat, 09 Jul 2005 05:11:52 -0400 Subject: RR Documentation, mini-bugs, and so on . . . Message-ID: Well, I read something a bit odd by a chap called Jon on the Rev use-list about supposed bugs in the 2.6 documentation. And, being the sort that finds it awfully difficult to keep my mouth shut (no, surely not?) I thought I would bung in my few cents worth: Being the proud, new owner of DreamCard 2.6, I find myself returning repeatedly to RR 2.0.1 to consult the Transcript Dictionary - Why ??? - because, in my experience it is considerably SIMPLER and MORE RESPONSIVE than the HELP system in 2.6 which, I feel, suffers from a type of FEATURE BLOAT. Maybe, the HELP system in 2.6 needs to be 'chopped up' into lots of interconnected substacks that will not slow things down so drastically. My development machine is a G4 Mac (dual 1.27 GHz, 1 GB RAM), so not quite as slow as some computers - but when I open HELP in DC 2.6 everything grinds to a halt. So, ran RR 2.0.1 in the background until I worked out how to extract the Transcript dictionary and import it into the RevTools stack of my DC 2.6 --- not totally satisfactory, but it will do at the moment. Certainly, the Transcript Dictionary (and other parts of the RR 2 help system) work lika a charm compared to 2.6. Might be something to do with the eye-candy, might be something to do with 2.6 suddenly using an awful lot of RAM. Sincerely, Richmond __________________________________________________ See Mathewson's software at: http://members.maclaunch.com/richmond/default.html _______________________________________ --------------------------------------------------------------- The Think Different Store http://www.thinkdifferentstore.com/ For All Your Mac Gear --------------------------------------------------------------- From Hamburger1 at aol.com Sun Jul 10 08:22:30 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Sun, 10 Jul 2005 08:22:30 EDT Subject: What About Newbies Message-ID: I couldn't agree more. I'm having a great deal of trouble porting my HyperCard stacks and I really need someone to hold my hand! Joe Orlando, FL From jbondy at sover.net Sun Jul 10 08:28:36 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 08:28:36 -0400 Subject: documentation mini-bug In-Reply-To: <42D06CE6.3040008@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> Message-ID: <42D11474.1050902@sover.net> OK. What exactly is "web notes"? :) Jon Alex Tweedly wrote: > Mark Wieder wrote: > >> Alex- >> >> Saturday, July 9, 2005, 11:15:03 AM, you wrote: >> >> AT> and everything else is just overhead. I've taken to "reporting" >> these >> AT> via Web Notes, on the assumption that anything reported in there >> will be >> AT> rolled into the next release of the docs. >> >> Unless I'm missing something, if you post something in Web Notes it >> overwrites anything anyone else may have posted there. > > From jbondy at sover.net Sun Jul 10 08:39:14 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 08:39:14 -0400 Subject: What About Newbies In-Reply-To: <20050710020524.77622.qmail@web53005.mail.yahoo.com> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> Message-ID: <42D116F2.1040309@sover.net> Tom: I've been where you are, and it is VERY frustrating. Novices are not handled gently by the Rev documentation. I'd start off looking around for sample stacks and looking at how they work. This can be very instructive. There are LOTS of stacks freely available for download through Rev Online. There are a few list folks who also have extensive sets of free stacks which do lots of exciting things. It can be difficult, at first, figuring out how to find the scripts, since they are separately associated with each object: click on an object, click on the Script icon, and you should be able to see what is going on. The Application Browser (in the Tools menu) can also be helpful in seeing what is present, and in getting to the object Inspector and the scripts for those objects. Right clicking on any language word in a script will take you to the help for that word, and the help is usually helpful. Good examples for each help entry would be better, but the Help is adequate. As far as your specific request, databases and multiple windows, I agree that I have not found anything that addresses this at a novice level. For one thing, since database hooks are provided in Rev, but databases are not, databases become complex, because you have to first consider what database to use, and you are saddled with the consequences of that decision. It is difficult to write Rev documentation that encompasses all of the various databases on all of the various platforms. If you persist, probably through writing some simple applications at first, you will find Rev to be useful, if slightly buggy and quirky (at least compared to the languages I used in the past). There are some elegant aspects of Rev and the IDE; in the end, you may find yourself to be more productive (at least in some areas) then you were in your prior development environment. Finally, if you ask any specific question, even a novice one, on this list, you are sure to get help. The people here are the best. Hang in there! :) Jon Tom McDonald wrote: >I've been running tutorials and whatever else is available to a newcomer to Revolution but have become frustrated because it is all beyond me The daily material is all about technical stuff between gurus. There is nothing for the newbie. The videos are smoothly presented and the diction is impressive but it's all above me. There's a group of advanced users swapping esoteric fixes. > >I need a video turorial that simply explains how to create a data base of many text screens that can be called up as needed or on a random basis. > >How about a basic explanation of an If/Then and a Do While algorithm? > >Perhaps an explanation of how and where to locate plug-ins and how to use them. > >Perhaps a kindergarten section in the daily blurbs would assist people like me. > >Thanks, > >Tom McDonald > > > > >--------------------------------- > Sell on Yahoo! Auctions - No fees. Bid on great items. >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From eric.chatonet at sosmartsoftware.com Sun Jul 10 08:50:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 14:50:55 +0200 Subject: What About Newbies In-Reply-To: <42D116F2.1040309@sover.net> References: <20050710020524.77622.qmail@web53005.mail.yahoo.com> <42D116F2.1040309@sover.net> Message-ID: Hi Jon and Tom.. and all, I agree with you Jon, and I have to say that seeing your evolution on this list since a few weeks, you are making dazzling progresses :-) Just a few words to tell you that in a few days I shall release a new plugin able to make an intelligent and contextual search in the docs with additional amazing features regarding to mailing lists, Rev Online, Revnet and all the web... So keep in touch: this new plugin might appear as a universal sesame key to all questions that newcomers or more advanced users ask themselves :-) Le 10 juil. 05 ? 14:39, Jon a ?crit : > I've been where you are, and it is VERY frustrating. Novices are > not handled gently by the Rev documentation. > > I'd start off looking around for sample stacks and looking at how > they work. This can be very instructive. There are LOTS of stacks > freely available for download through Rev Online. There are a few > list folks who also have extensive sets of free stacks which do > lots of exciting things. It can be difficult, at first, figuring > out how to find the scripts, since they are separately associated > with each object: click on an object, click on the Script icon, and > you should be able to see what is going on. The Application > Browser (in the Tools menu) can also be helpful in seeing what is > present, and in getting to the object Inspector and the scripts for > those objects. Right clicking on any language word in a script > will take you to the help for that word, and the help is usually > helpful. Good examples for each help entry would be better, but > the Help is adequate. > > As far as your specific request, databases and multiple windows, I > agree that I have not found anything that addresses this at a > novice level. For one thing, since database hooks are provided in > Rev, but databases are not, databases become complex, because you > have to first consider what database to use, and you are saddled > with the consequences of that decision. It is difficult to write > Rev documentation that encompasses all of the various databases on > all of the various platforms. > > If you persist, probably through writing some simple applications > at first, you will find Rev to be useful, if slightly buggy and > quirky (at least compared to the languages I used in the past). > There are some elegant aspects of Rev and the IDE; in the end, you > may find yourself to be more productive (at least in some areas) > then you were in your prior development environment. > > Finally, if you ask any specific question, even a novice one, on > this list, you are sure to get help. The people here are the best. > Hang in there! 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbondy at sover.net Sun Jul 10 09:03:18 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 09:03:18 -0400 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: References: Message-ID: <42D11C96.8020602@sover.net> While I have criticized Rev about a number of things, I have no speed problems with any of the documentation. I wonder what else is going on. :) Jon Mathewson wrote: >Well, > >I read something a bit odd >by a chap called Jon on the Rev use-list about >supposed bugs in the 2.6 documentation. > >And, being the sort that finds it awfully difficult to keep >my mouth shut (no, surely not?) I thought I would bung in >my few cents worth: > >Being the proud, new owner of DreamCard 2.6, I find myself >returning repeatedly to RR 2.0.1 to consult the Transcript >Dictionary - Why ??? - because, in my experience it is >considerably SIMPLER and MORE RESPONSIVE than the HELP >system in 2.6 which, I feel, suffers from a type of FEATURE >BLOAT. > >Maybe, the HELP system in 2.6 needs to be 'chopped up' into >lots of interconnected substacks that will not slow things >down so drastically. > >My development machine is a G4 Mac (dual 1.27 GHz, 1 GB >RAM), so not quite as slow as some computers - but when I >open HELP in DC 2.6 everything grinds to a halt. > >So, ran RR 2.0.1 in the background until I worked out how >to extract the Transcript dictionary and import it into the >RevTools stack of my DC 2.6 --- not totally satisfactory, >but it will do at the moment. > >Certainly, the Transcript Dictionary (and other parts of >the RR 2 help system) work lika a charm compared to 2.6. > >Might be something to do with the eye-candy, might be >something to do with 2.6 suddenly using an awful lot of >RAM. > >Sincerely, Richmond >__________________________________________________ >See Mathewson's software at: > >http://members.maclaunch.com/richmond/default.html >_______________________________________ >--------------------------------------------------------------- >The Think Different Store >http://www.thinkdifferentstore.com/ >For All Your Mac Gear >--------------------------------------------------------------- >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From jbondy at sover.net Sun Jul 10 09:07:52 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 09:07:52 -0400 Subject: in the editor(s) Message-ID: <42D11DA8.3060008@sover.net> I guess I should have asked this obvious question a few weeks ago, when it was revealed that reformats text rather than inserting the character. How does one insert a character using the editor(s) [including Constellation, Jerry]? I want to create a table of values, and I think I need to use tabs to separate out the various values. Or maybe I'm on the wrong track entirely. Won't be the first time... ;) Jon From eric.chatonet at sosmartsoftware.com Sun Jul 10 09:16:12 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 15:16:12 +0200 Subject: in the editor(s) In-Reply-To: <42D11DA8.3060008@sover.net> References: <42D11DA8.3060008@sover.net> Message-ID: <4413DB47-3039-4544-8B25-1420534EDA3A@sosmartsoftware.com> Hi Jon, In usual scripts you can use the tab constant: put "Jon" & tab & "Bondy" into tGuy Or if you build html by coding: put "

" & "Jon" & " " & "Bondy" & "

" into tGuy Is that clear? Le 10 juil. 05 ? 15:07, Jon a ?crit : > I guess I should have asked this obvious question a few weeks ago, > when it was revealed that reformats text rather than > inserting the character. > > How does one insert a character using the editor(s) > [including Constellation, Jerry]? I want to create a table of > values, and I think I need to use tabs to separate out the various > values. Or maybe I'm on the wrong track entirely. Won't be the > first time... 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Sun Jul 10 09:34:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 14:34:12 +0100 Subject: documentation mini-bug In-Reply-To: <42D11474.1050902@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> Message-ID: <42D123D4.8090508@tweedly.net> Jon wrote: > OK. What exactly is "web notes"? > > :) > > Jon It's a feature in the documentation (introduced in 2.5, I think). At the bottom of the documentation window (where the "status" bar would go) there are two clickable boxes, Show mouse over text and Download and show web notes If you enable the second one, then when you view the doc entry (certainly from the transcript dictionary, I guess from the other parts too though I haven't seen that personally), Rev will check on the web site to see if there are any user-added web notes, and if there are, it will download them and display (as though a footnote). (btw - you don't need to scroll to the bottom to check if there is a webnote - if there is, the word "cached" will appear in the status bar) (example - "abbrev". Possibly also "sort container" because I just added one there - but there may be a delay before it appears; it may even need to be verified by someone to prevent misuse). If you want to add a web note, you can do so by clicking on the second-from-the-right button at the top of the window - looks vaguely like a globe with a + sign added. This lets you *edit* the web notes. What you put in overwrites anything already there - so please take care to retain anything that's already there. Note the stupid little pop-up editor doesn't do this for you - so you need to copy/paste from the web note. :-( I thought (I was *sure*) I had seen a BZ reporting this stupidity - but I can't find it now. Anyone know if there is ? -- 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.8.11/44 - Release Date: 08/07/2005 From jbondy at sover.net Sun Jul 10 09:40:10 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 09:40:10 -0400 Subject: in the editor(s) In-Reply-To: <4413DB47-3039-4544-8B25-1420534EDA3A@sosmartsoftware.com> References: <42D11DA8.3060008@sover.net> <4413DB47-3039-4544-8B25-1420534EDA3A@sosmartsoftware.com> Message-ID: <42D1253A.2020904@sover.net> Eric: Ah. I'm getting confused because the UI for the script editor is different than the UI for the property inspector. s actually work as expected in the property inspector, just not in the editor. ARRRGHHhhhhh. OK. I'm better now. Thanks. Jon Eric Chatonet wrote: > Hi Jon, > > In usual scripts you can use the tab constant: > put "Jon" & tab & "Bondy" into tGuy > Or if you build html by coding: > put "

" & "Jon" & " " & "Bondy" & "

" into tGuy > Is that clear? > > Le 10 juil. 05 ? 15:07, Jon a ?crit : > >> I guess I should have asked this obvious question a few weeks ago, >> when it was revealed that reformats text rather than inserting >> the character. >> >> How does one insert a character using the editor(s) [including >> Constellation, Jerry]? I want to create a table of values, and I >> think I need to use tabs to separate out the various values. Or >> maybe I'm on the wrong track entirely. Won't be the first time... > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Sun Jul 10 09:42:34 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 14:42:34 +0100 Subject: in the editor(s) In-Reply-To: <42D11DA8.3060008@sover.net> References: <42D11DA8.3060008@sover.net> Message-ID: <42D125CA.5060909@tweedly.net> Jon wrote: > I guess I should have asked this obvious question a few weeks ago, > when it was revealed that reformats text rather than inserting > the character. > > How does one insert a character using the editor(s) [including > Constellation, Jerry]? I want to create a table of values, and I > think I need to use tabs to separate out the various values. Or maybe > I'm on the wrong track entirely. Won't be the first time... I usually do something like local myVar = "1,2,3" .... replace comma by TAB in myVar .... though I have been known to do > put "asd\twer" into a > replace "\t" with TAB in a Or use a different character instead (I often use "|", in any case where I might want to deal with "normal text" which might contain tab characters); obviously you can't do that if you need tab-formatting in output to fields, but otherwise it's often a better choice. -- 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.8.11/44 - Release Date: 08/07/2005 From sims at ezpzapps.com Sun Jul 10 09:41:52 2005 From: sims at ezpzapps.com (sims) Date: Sun, 10 Jul 2005 15:41:52 +0200 Subject: documentation mini-bug In-Reply-To: <42D123D4.8090508@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> Message-ID: At 2:34 PM +0100 7/10/05, Alex Tweedly wrote: >I thought (I was *sure*) I had seen a BZ reporting this stupidity - >but I can't find it now. Anyone know if there is ? Using RevZillza > Search for Bugs "web note" results in 1661, 1725, 2106 All are labeled RESO FIXE. Maybe search for some other term?? ciao, sims From eric.chatonet at sosmartsoftware.com Sun Jul 10 09:46:41 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 15:46:41 +0200 Subject: in the editor(s) In-Reply-To: <42D1253A.2020904@sover.net> References: <42D11DA8.3060008@sover.net> <4413DB47-3039-4544-8B25-1420534EDA3A@sosmartsoftware.com> <42D1253A.2020904@sover.net> Message-ID: <6F61E88C-B6AA-4375-845B-B294C8073A1B@sosmartsoftware.com> Don't be confused; No worth :-) I shall add that in Rev prior to 2.5.1 you could type a tab in the message box and copy it. But since, runRev guys revised the message box stack and now, pressing the tab key switches between upper and lower field. More respect for guide lines but less handy :-( Le 10 juil. 05 ? 15:40, Jon a ?crit : > Ah. I'm getting confused because the UI for the script editor is > different than the UI for the property inspector. s actually > work as expected in the property inspector, just not in the editor. > > ARRRGHHhhhhh. > > OK. I'm better now. Thanks. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From sims at ezpzapps.com Sun Jul 10 09:47:12 2005 From: sims at ezpzapps.com (sims) Date: Sun, 10 Jul 2005 15:47:12 +0200 Subject: visual effect, tabbed btn, groups Message-ID: I have a tab btn with the following script: on menuPick newTab,oldTab lock screen hide grp oldTab show grp newTab unlock screen with visual effect dissolve end menuPick This shows one group and hides the other (actually two images right now). Works but no visual effect. Should the visual effect work with 2 groups? ciao, sims From jbondy at sover.net Sun Jul 10 09:49:05 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 09:49:05 -0400 Subject: documentation mini-bug In-Reply-To: <42D123D4.8090508@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> Message-ID: <42D12751.2020306@sover.net> Alex: Thanks for the explanation. All make sense to me, except for "If you want to add a web note, you can do so by clicking on the second-from-the-right button at the top of the window - looks vaguely like a globe with a + sign added." I can see no such icon. :) Jon Alex Tweedly wrote: > Jon wrote: > >> OK. What exactly is "web notes"? >> >> :) >> >> Jon > > > It's a feature in the documentation (introduced in 2.5, I think). > > At the bottom of the documentation window (where the "status" bar > would go) there are two clickable boxes, > Show mouse over text > and > Download and show web notes > > If you enable the second one, then when you view the doc entry > (certainly from the transcript dictionary, I guess from the other > parts too though I haven't seen that personally), Rev will check on > the web site to see if there are any user-added web notes, and if > there are, it will download them and display (as though a footnote). > (btw - you don't need to scroll to the bottom to check if there is a > webnote - if there is, the word "cached" will appear in the status bar) > > (example - "abbrev". Possibly also "sort container" because I just > added one there - but there may be a delay before it appears; it may > even need to be verified by someone to prevent misuse). > > If you want to add a web note, you can do so by clicking on the > second-from-the-right button at the top of the window - looks vaguely > like a globe with a + sign added. This lets you *edit* the web notes. > What you put in overwrites anything already there - so please take > care to retain anything that's already there. Note the stupid little > pop-up editor doesn't do this for you - so you need to copy/paste from > the web note. :-( > > I thought (I was *sure*) I had seen a BZ reporting this stupidity - > but I can't find it now. Anyone know if there is ? > From eric.chatonet at sosmartsoftware.com Sun Jul 10 09:50:21 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 15:50:21 +0200 Subject: documentation mini-bug In-Reply-To: <42D123D4.8090508@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> Message-ID: Hi Alex, Good idea but unfinished. Deliberately I think. To avoid managing stupid TEP :-) Le 10 juil. 05 ? 15:34, Alex Tweedly a ?crit : > It's a feature in the documentation (introduced in 2.5, I think). > > At the bottom of the documentation window (where the "status" bar > would go) there are two clickable boxes, > Show mouse over text > and > Download and show web notes > > If you enable the second one, then when you view the doc entry > (certainly from the transcript dictionary, I guess from the other > parts too though I haven't seen that personally), Rev will check on > the web site to see if there are any user-added web notes, and if > there are, it will download them and display (as though a > footnote). (btw - you don't need to scroll to the bottom to check > if there is a webnote - if there is, the word "cached" will appear > in the status bar) > > (example - "abbrev". Possibly also "sort container" because I just > added one there - but there may be a delay before it appears; it > may even need to be verified by someone to prevent misuse). > > If you want to add a web note, you can do so by clicking on the > second-from-the-right button at the top of the window - looks > vaguely like a globe with a + sign added. This lets you *edit* the > web notes. What you put in overwrites anything already there - so > please take care to retain anything that's already there. Note the > stupid little pop-up editor doesn't do this for you - so you need > to copy/paste from the web note. :-( > > I thought (I was *sure*) I had seen a BZ reporting this stupidity - > but I can't find it now. Anyone know if there is ? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Sun Jul 10 09:54:03 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 15:54:03 +0200 Subject: visual effect, tabbed btn, groups In-Reply-To: References: Message-ID: <5833FF1C-84AE-4A60-9F02-1F857B5CF31C@sosmartsoftware.com> Hi Sims, I was yet confronted with this problem. In fact, menuPick automatically locks the screen. So just suppress your lock screen and it will work in all cases (groups, images or everything). You must have a parity between lock and unlock screen... Le 10 juil. 05 ? 15:47, sims a ?crit : > I have a tab btn with the following script: > on menuPick newTab,oldTab > lock screen > hide grp oldTab > show grp newTab > unlock screen with visual effect dissolve > end menuPick > > This shows one group and hides the other (actually two images right > now). > Works but no visual effect. > > Should the visual effect work with 2 groups? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From sims at ezpzapps.com Sun Jul 10 09:59:34 2005 From: sims at ezpzapps.com (sims) Date: Sun, 10 Jul 2005 15:59:34 +0200 Subject: visual effect, tabbed btn, groups In-Reply-To: <5833FF1C-84AE-4A60-9F02-1F857B5CF31C@sosmartsoftware.com> References: <5833FF1C-84AE-4A60-9F02-1F857B5CF31C@sosmartsoftware.com> Message-ID: At 3:54 PM +0200 7/10/05, Eric Chatonet wrote: >In fact, menuPick automatically locks the screen. >So just suppress your lock screen and it will work in all cases >(groups, images or everything). >You must have a parity between lock and unlock screen... I learn something new everyday. Thanks Eric! ciao, sims From charles.hartman at conncoll.edu Sun Jul 10 10:02:15 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 10 Jul 2005 10:02:15 -0400 Subject: false anti-alarm Message-ID: <6EC9FC2D-F29E-4A41-A3AF-E814C3228AB4@conncoll.edu> The idea is to call this handler from an openStack handler, so as to change the stack-default font while preserving style tags and either preserving, or allowing a global change of, the font for any text where font is specified: on changeFieldTextProps myStack,f,mySize,myFont,myMonoFont repeat with c = 1 to the number of cards of stack myStack if exists(field f of card c of stack myStack) then put the htmlText of field f of card c of stack myStack \ into hold[c] end if end repeat set the textSize of stack myStack to mySize set the textFont of stack myStack to myFont repeat with c = 1 to the number of cards of stack myStack if exists(field f of card c of stack myStack) then set the htmlText of field f of card c of stack myStack \ to hold[c] end if end repeat end changeFieldTextProps This works when it is called on the main stack of an app. When it is called on a substack, it screws up. IN THE SUBSTACK ONLY, wherever there's a *style* change, Rev inserts (right before the style tag) a *font* tag, which hard-wires whatever *was* the default font before. Therefore everything after the first style-tag in the field fails to switch to the new default font. Why would this happen in the substack and not the main stack? Charles Hartman From alex at tweedly.net Sun Jul 10 10:05:44 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 15:05:44 +0100 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> Message-ID: <42D12B38.7090501@tweedly.net> sims wrote: > At 2:34 PM +0100 7/10/05, Alex Tweedly wrote: > >> I thought (I was *sure*) I had seen a BZ reporting this stupidity - >> but I can't find it now. Anyone know if there is ? > > > Using RevZillza > Search for Bugs "web note" results in 1661, 1725, > 2106 > All are labeled RESO FIXE. > > Maybe search for some other term?? Yep. "webnote" (all one word) found BZ 2748 for me, Thanks. -- 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.8.11/44 - Release Date: 08/07/2005 From rpresender at cox.net Sun Jul 10 10:07:03 2005 From: rpresender at cox.net (Robert Presender) Date: Sun, 10 Jul 2005 07:07:03 -0700 Subject: Trial Days In-Reply-To: <20050710121523.78A65824D1F@mail.runrev.com> References: <20050710121523.78A65824D1F@mail.runrev.com> Message-ID: Hi Bob, I made several wrong assumptions about Internet date which I assumed would be independent of the system date. This is not the case. To answer your inquiry (enter the below in the message box or make it into a handler or .... get the internet date convert it to dateItems convert it from dateItems to short date convert it to seconds put it --to read the result in the message box I am back to using English date which is even shorter: get the english date convert it to seconds put it Regards ... Bob On Jul 10, 2005, Bob Hartley wrote: > You wrote: > >> Thanks to Jonathan Lynch and Robert Brenstein for your input. Trial >> days >> now down to 4 lines. > > Hi Bob > > Could you post your final code. I'd be interested. > > Cheers > Bob; Sunny Scotland >> >> Regards .. Bob >> From alex at tweedly.net Sun Jul 10 10:11:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 15:11:38 +0100 Subject: documentation mini-bug In-Reply-To: <42D12751.2020306@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> <42D12751.2020306@sover.net> Message-ID: <42D12C9A.8090800@tweedly.net> Jon wrote: > Alex: > > Thanks for the explanation. All make sense to me, except for "If you > want to add a web note, you can do so by clicking on the > second-from-the-right button at the top of the window - looks vaguely > like a globe with a + sign added." > > I can see no such icon. > My bad memory .... sorry. At the top of the doc window, I have 3 sets of buttons 1. left and right arrows 2. 5 buttons for Getting started, topics, dictionary, objects, bookmarks 3. 3 buttons : bookmarks with a + sign - to add a bookmark globe (or basketball) with tiny piece of paper and pencil ---- this is the one that adds web notes printer ? For no obvious reason, the last two are now grayed out (disabled) for me - not sure what's different between now and earlier, when I was able to select the "add web note" one. -- 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.8.11/44 - Release Date: 08/07/2005 From jperryl at ecs.fullerton.edu Sun Jul 10 11:59:43 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 08:59:43 -0700 (PDT) Subject: What About Newbies In-Reply-To: <20F5A32D-EA2C-4A23-A270-2B94D908CA73@sosmartsoftware.com> Message-ID: To which we should add: http://support.runrev.com/scriptingconferences/ --The company's collection of tutorial stacks & presentation chat sessions http://revolution.lexicall.org/wiki/tiki-index.php?page=RevolutionTutorials --Marielle's Revolution for Education Wiki with various tutorials Judy On Sun, 10 Jul 2005, Eric Chatonet wrote: > I shall add you might be interested by: > > . RevJournal at http://www.revjournal.com/tutorials/index.html where > you will find links and articles one of which, especially dedicated > to beginners, is an extensive explanation of "if/then/else" > conditional structure. > . My web-site (address below) where you will be able to download > Tutorials Picker: I have already released 17 tutorials stacks. Some > of them are a bit complicated for beginners but others will help you > to get started with many basic features. > . You could check also the following links: > http://dmoz.org/Computers/Programming/Languages/Transcript/ > http://h.webring.com/hub?ring=runtimerevoluti1 > which are good doors to Revolution sites. > From jperryl at ecs.fullerton.edu Sun Jul 10 12:00:33 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 09:00:33 -0700 (PDT) Subject: What About Newbies In-Reply-To: <20050710020524.77622.qmail@web53005.mail.yahoo.com> Message-ID: Hi Tom, I'd love to help, but I'm completely database-illiterate. Can you tell us a little more specifically what it is you want to do? Judy From mwieder at ahsoftware.net Sun Jul 10 12:16:25 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Jul 2005 09:16:25 -0700 Subject: documentation mini-bug In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> Message-ID: <31993286.20050710091625@ahsoftware.net> sims- Sunday, July 10, 2005, 6:41:52 AM, you wrote: Using RevZillza >> Search for Bugs "web note" Using RevZillza >> results in 1661, 1725, 2106 s> All are labeled RESO FIXE. Add #2989 and #2990 to the list. This may just be a temporary server thing - editing seems disabled at the moment, but there's no way to tell. The edit icon is grayed out. So is the print icon for some reason. ...and I'm not sure that "cached" is the best notation for "a web note for this topic exists". -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 10 12:25:38 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Jul 2005 09:25:38 -0700 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <42D11C96.8020602@sover.net> References: <42D11C96.8020602@sover.net> Message-ID: <1682545780.20050710092538@ahsoftware.net> Jon- Sunday, July 10, 2005, 6:03:18 AM, you wrote: J> While I have criticized Rev about a number of things, I have no speed J> problems with any of the documentation. I wonder what else is going on. Mostly I agree with this, but I do find the "Topics" section ridiculously slow. I try not to use it unless I'm really stuck. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 10 12:29:45 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Jul 2005 09:29:45 -0700 Subject: documentation mini-bug In-Reply-To: <42D107DD.8040002@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <15642647834.20050709203304@ahsoftware.net> <42D107DD.8040002@tweedly.net> Message-ID: <222792705.20050710092945@ahsoftware.net> Alex- Sunday, July 10, 2005, 4:34:53 AM, you wrote: AT> Well, we can't - but Runrev can. The webnotes all live in a single AT> folder on their website - AT> "http://support.runrev.com/docs/webnotes/" so all they need to do is AT> look in there. Cool. I notice that some of the Web Notes are now blank or say "Update Complete", so maybe someone really is riding herd on these things. -- -Mark Wieder mwieder at ahsoftware.net From charles.hartman at conncoll.edu Sun Jul 10 12:29:48 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 10 Jul 2005 12:29:48 -0400 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <1682545780.20050710092538@ahsoftware.net> References: <42D11C96.8020602@sover.net> <1682545780.20050710092538@ahsoftware.net> Message-ID: <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> On Jul 10, 2005, at 12:25 PM, Mark Wieder wrote: > Jon- > > Sunday, July 10, 2005, 6:03:18 AM, you wrote: > > J> While I have criticized Rev about a number of things, I have no > speed > J> problems with any of the documentation. I wonder what else is > going on. > > Mostly I agree with this, but I do find the "Topics" section > ridiculously slow. I try not to use it unless I'm really stuck. -- especially the "Containers, variables . . ." area, which takes 17 to 25 seconds to load on a 1.5GHz PowerBook -- & everything else stops dead!. (I've filed a BZ report on this.) Charles Hartman From stephenREVOLUTION at barncard.com Sun Jul 10 12:37:52 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Sun, 10 Jul 2005 09:37:52 -0700 Subject: PODCASTING WITH RUNREV In-Reply-To: <54B05B51-71CF-43C7-96F6-F293DD4253A8@danshafer.com> References: <54B05B51-71CF-43C7-96F6-F293DD4253A8@danshafer.com> Message-ID: You might look at Audio Hijack Pro - it already does a lot of this - if you are using a Mac. >On Jul 9, 2005, at 7:44 AM, Bill wrote: > >>Is anyone writing a stack for doing podcasting? Presently it takes a >>combination of six programs to make and edit podcasts on OSX. >> From eric.chatonet at sosmartsoftware.com Sun Jul 10 12:40:10 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 18:40:10 +0200 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> References: <42D11C96.8020602@sover.net> <1682545780.20050710092538@ahsoftware.net> <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> Message-ID: <0CB179EA-3C69-4A7E-BAA5-CD3E959869D6@sosmartsoftware.com> Hi Charles, You are right. In my last plugin (not yet released) where there are links allowing to open the docs at the right place I struggled with links pointing at the topics section and found it was a revDocs problem and not mine... I think that runRev guys know that and will fix it in a next Rev version. But it's complicated: it's a problem which requires to take a new look at the Docs tree view architecture. Le 10 juil. 05 ? 18:29, Charles Hartman a ?crit : >> Mostly I agree with this, but I do find the "Topics" section >> ridiculously slow. I try not to use it unless I'm really stuck. > > -- especially the "Containers, variables . . ." area, which takes > 17 to 25 seconds to load on a 1.5GHz PowerBook -- & everything else > stops dead!. (I've filed a BZ report on this.) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Sun Jul 10 12:45:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 17:45:59 +0100 Subject: documentation mini-bug In-Reply-To: <222792705.20050710092945@ahsoftware.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <15642647834.20050709203304@ahsoftware.net> <42D107DD.8040002@tweedly.net> <222792705.20050710092945@ahsoftware.net> Message-ID: <42D150C7.2080508@tweedly.net> Mark Wieder wrote: >Cool. I notice that some of the Web Notes are now blank or say "Update >Complete", so maybe someone really is riding herd on these things. > > Of course they are - have more faith Mark :-) -- 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.8.11/44 - Release Date: 08/07/2005 From psahores at easynet.fr Sun Jul 10 12:54:55 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 10 Jul 2005 18:54:55 +0200 Subject: rev's videograbber and sound encoding prefs In-Reply-To: References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> Message-ID: <81AB6DF4-EF89-4874-B437-782ACC4E9327@easynet.fr> Hi List, Under the Tiger platform and in using QT7 and an iSight cam as video input, are they some ones, here, whose went successifull with setting up the videograbber sound encoding preferences ? I just could set the video encoding prefs to 3ivxD4 in using the command but could'nt find the (undocumented ?) one to use to avoid to have to record the sound in the default uncompressed format (16-bit Entier (Gros Boutien), Mono, 48,000 Khz). Thanks in advance for any help :-) -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From bmmeili at swissonline.ch Sun Jul 10 12:56:37 2005 From: bmmeili at swissonline.ch (Martin Meili) Date: Sun, 10 Jul 2005 18:56:37 +0200 Subject: selected line of field Message-ID: <7962082de7dc7882e80f34e71c8f05b5@swissonline.ch> How can I deselect the selected lines of a number of fields "MyFields" by script? The listbehaviour of these fields is set to true. Martin From eric.chatonet at sosmartsoftware.com Sun Jul 10 13:01:58 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 19:01:58 +0200 Subject: selected line of field In-Reply-To: <7962082de7dc7882e80f34e71c8f05b5@swissonline.ch> References: <7962082de7dc7882e80f34e71c8f05b5@swissonline.ch> Message-ID: <62441596-7973-4F43-8DBC-5F3347FF27CA@sosmartsoftware.com> Hi Martin, Le 10 juil. 05 ? 18:56, Martin Meili a ?crit : > How can I deselect the selected lines of a number of fields > "MyFields" by script? The listbehaviour of these fields is set to > true. set the hilitedLines of fields "MyFields" to zero You can use empty too but for consistency - hilitedLines are a comma delimited list of integers - you might prefer zero. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Sun Jul 10 13:02:41 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 10 Jul 2005 10:02:41 -0700 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> References: <42D11C96.8020602@sover.net> <1682545780.20050710092538@ahsoftware.net> <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> Message-ID: <6F1A29DB-F3C9-4096-96BB-F6BEAEC8C210@danshafer.com> NOw that's what I call a Bugly -- ugly bug. Want a real thrill? After you click on that link and before it displays anything, click on another topic. In a little while -- about the time it takes to boil a hot dog -- the entire doc screen goes blank metal and stares at you. BTW, it takes as long to collapse as it does to expand. Clearly a bugly. On Jul 10, 2005, at 9:29 AM, Charles Hartman wrote: > > On Jul 10, 2005, at 12:25 PM, Mark Wieder wrote: > > >> Jon- >> >> Sunday, July 10, 2005, 6:03:18 AM, you wrote: >> >> J> While I have criticized Rev about a number of things, I have no >> speed >> J> problems with any of the documentation. I wonder what else is >> going on. >> >> Mostly I agree with this, but I do find the "Topics" section >> ridiculously slow. I try not to use it unless I'm really stuck. >> > > -- especially the "Containers, variables . . ." area, which takes > 17 to 25 seconds to load on a 1.5GHz PowerBook -- & everything else > stops dead!. (I've filed a BZ report on this.) > > Charles Hartman > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 From eric.chatonet at sosmartsoftware.com Sun Jul 10 13:09:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 19:09:13 +0200 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <6F1A29DB-F3C9-4096-96BB-F6BEAEC8C210@danshafer.com> References: <42D11C96.8020602@sover.net> <1682545780.20050710092538@ahsoftware.net> <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> <6F1A29DB-F3C9-4096-96BB-F6BEAEC8C210@danshafer.com> Message-ID: Hi Dan, In fact there are 2 problems: 1. The very very slow tree view architecture in the topics section: it's a revDocs problem. 2. A problem with metal appearance: it's a specific Mac OS problem. Once I said that... Le 10 juil. 05 ? 19:02, Dan Shafer a ?crit : > NOw that's what I call a Bugly -- ugly bug. > > Want a real thrill? After you click on that link and before it > displays anything, click on another topic. In a little while -- > about the time it takes to boil a hot dog -- the entire doc screen > goes blank metal and stares at you. > > BTW, it takes as long to collapse as it does to expand. Clearly a > bugly. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From mwieder at ahsoftware.net Sun Jul 10 13:37:52 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Jul 2005 10:37:52 -0700 Subject: different UI approach Message-ID: <1466880573.20050710103752@ahsoftware.net> Hmmm- I'm not sure yet what I think about this, but it's certainly a different approach to user interface design. And it gets you rethinking basic concepts, which is always a good thing. (Flash 7.0 plugin required) http://www.dontclick.it/ -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Sun Jul 10 14:23:49 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 10 Jul 2005 11:23:49 -0700 Subject: different UI approach In-Reply-To: <1466880573.20050710103752@ahsoftware.net> References: <1466880573.20050710103752@ahsoftware.net> Message-ID: I don't see any real new thinking here, Mark. Maybe I'm missing something. And I don't see ANY value in either being able to navigate (sometimes unintentionally) by mouse moves OR in avoiding the simple action of clicking a mouse. Maybe for those with specific disabilities? Dan On Jul 10, 2005, at 10:37 AM, Mark Wieder wrote: > Hmmm- > > I'm not sure yet what I think about this, but it's certainly a > different approach to user interface design. And it gets you > rethinking basic concepts, which is always a good thing. > > (Flash 7.0 plugin required) > > http://www.dontclick.it/ > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jbv.silences at Club-Internet.fr Sun Jul 10 14:54:46 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 10 Jul 2005 20:54:46 +0200 Subject: different UI approach References: <1466880573.20050710103752@ahsoftware.net> Message-ID: <42D16EEA.D0871D35@Club-Internet.fr> I don't mean to brag, but a couple of years ago I built a whole interface for an intranet project around a similar concept : on the front page users could navigate through the main sections of the site map without clicking, only by moving the mouse over some graphics... The project was for an international pharmaceutical firm, and everyone was very enthusiastic, from end users to big bosses in charge of making decisions. We were said that we got the deal, development budgets were discussed in details, but at the last minute, one of the guys in charge of network maintenance said that he had never seen anything like that before, and that it was out of question that he and his crew would maintain such a thing. And finally the whole project collapsed, and another company (with a very dreadfull looking project) got the market... JB > I don't see any real new thinking here, Mark. Maybe I'm missing > something. And I don't see ANY value in either being able to navigate > (sometimes unintentionally) by mouse moves OR in avoiding the simple > action of clicking a mouse. > > Maybe for those with specific disabilities? > > Dan > > On Jul 10, 2005, at 10:37 AM, Mark Wieder wrote: > > > Hmmm- > > > > I'm not sure yet what I think about this, but it's certainly a > > different approach to user interface design. And it gets you > > rethinking basic concepts, which is always a good thing. > > > > (Flash 7.0 plugin required) > > > > http://www.dontclick.it/ > > > > -- From laguer at ucs.orst.edu Sun Jul 10 14:52:48 2005 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 10 Jul 2005 11:52:48 -0700 Subject: sorting zip codes In-Reply-To: <42D16EEA.D0871D35@Club-Internet.fr> Message-ID: I?m trying to set up a sort of a stack of address cards by zip code. Some of the zips are only the first 5 numbers and some of them are in the form ?xxxxx-xxxx?. The script, ?sort cards numeric by field "zip"? sorts all the 9 number zips first, then sorts the 5 number zips-- not what I want. I tried ?sort cards of this stack numeric by chars 1 to 5 of field ?zip?? I go a ?bad factor? error. Then I tried ?sort cards of this stack numeric by first 5 chars of field ?zip?? Another ?bad factor?. I also tried, ?sort cards of this stack numeric by (chars 1 to 5 of field "zip")? -- Bad factor still. Is there a way? Thanks, Rich From charles.hartman at conncoll.edu Sun Jul 10 14:53:09 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 10 Jul 2005 14:53:09 -0400 Subject: false anti-alarm In-Reply-To: <6EC9FC2D-F29E-4A41-A3AF-E814C3228AB4@conncoll.edu> References: <6EC9FC2D-F29E-4A41-A3AF-E814C3228AB4@conncoll.edu> Message-ID: In case anyone's interested, I've made a small 48k dummy to demonstrate this problem, by taking everything out of my appo except the scripts in question and a couple of example cards. Can't post it here, with the 16k limit, but I'd be glad to send it to anyone who wants to poke into a problem that I, for one, am about to give up on -- it's too far inside Rev's guts for me to have any ideas left about fixing or even working around it. coh On Jul 10, 2005, at 10:02 AM, Charles Hartman wrote: > The idea is to call this handler from an openStack handler, so as > to change the stack-default font while preserving style tags and > either preserving, or allowing a global change of, the font for any > text where font is specified: > > on changeFieldTextProps myStack,f,mySize,myFont,myMonoFont > repeat with c = 1 to the number of cards of stack myStack > if exists(field f of card c of stack myStack) then > put the htmlText of field f of card c of stack myStack \ > into hold[c] > end if > end repeat > set the textSize of stack myStack to mySize > set the textFont of stack myStack to myFont > repeat with c = 1 to the number of cards of stack myStack > if exists(field f of card c of stack myStack) then > set the htmlText of field f of card c of stack myStack \ > to hold[c] > end if > end repeat > end changeFieldTextProps > > This works when it is called on the main stack of an app. When it > is called on a substack, it screws up. IN THE SUBSTACK ONLY, > wherever there's a *style* change, Rev inserts (right before the > style tag) a *font* tag, which hard-wires whatever *was* the > default font before. Therefore everything after the first style-tag > in the field fails to switch to the new default font. Why would > this happen in the substack and not the main stack? > > > > > Charles Hartman > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mdswindell at charter.net Sun Jul 10 14:54:58 2005 From: mdswindell at charter.net (Mark Swindell) Date: Sun, 10 Jul 2005 11:54:58 -0700 Subject: different UI approach In-Reply-To: References: <1466880573.20050710103752@ahsoftware.net> Message-ID: <27A68B8C-4AC5-41F5-85B6-86504B33C4CC@charter.net> I would agree with you, Dan. I want to be able to control with a definitive action (a click) when I want something done. (Though I am working on a project where the mousemove is all there is to control a particular action because I feel that's what fits best and least obtrusively in the context.) The slow motion opening and closing of elements so prevalent in much of the Flash stuff I see also drives me up the wall. Mark On Jul 10, 2005, at 11:23 AM, Dan Shafer wrote: > I don't see any real new thinking here, Mark. Maybe I'm missing > something. And I don't see ANY value in either being able to > navigate (sometimes unintentionally) by mouse moves OR in avoiding > the simple action of clicking a mouse. > > Maybe for those with specific disabilities? > > Dan > > On Jul 10, 2005, at 10:37 AM, Mark Wieder wrote: > > >> Hmmm- >> >> I'm not sure yet what I think about this, but it's certainly a >> different approach to user interface design. And it gets you >> rethinking basic concepts, which is always a good thing. >> >> (Flash 7.0 plugin required) >> >> http://www.dontclick.it/ >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.net From ambassador at fourthworld.com Sun Jul 10 14:58:49 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 10 Jul 2005 11:58:49 -0700 Subject: different UI approach In-Reply-To: <27A68B8C-4AC5-41F5-85B6-86504B33C4CC@charter.net> References: <1466880573.20050710103752@ahsoftware.net> <27A68B8C-4AC5-41F5-85B6-86504B33C4CC@charter.net> Message-ID: <42D16FE9.7000405@fourthworld.com> Mark Swindell wrote: > I would agree with you, Dan. I want to be able to control with a > definitive action (a click) when I want something done. Yes, there's a lot to be said for explicit gestures. I suppose if we were to indulge in reductio ad absurdum we could recommend a UI that doesn't even require the "effort" of moving the mouse -- the software decides for you what you want, and triggers actions on its own. Truly effortless! :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From see3d at writeme.com Sun Jul 10 14:58:55 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 10 Jul 2005 14:58:55 -0400 Subject: different UI approach In-Reply-To: <1466880573.20050710103752@ahsoftware.net> References: <1466880573.20050710103752@ahsoftware.net> Message-ID: <6CB252E6-A10E-4097-9A7C-D6B0914697C4@writeme.com> I loved it --it was fun to explore the concept. I went through every nook and cranny. It has a certain appeal in being different and making you look at things differently. Opening up one side of the box is always good for expanding the thinking. That does not mean that I would want to live in a click-less world though --any more than I would want to take up permanent residence on a Merry-go-round. Dennis On Jul 10, 2005, at 1:37 PM, Mark Wieder wrote: > Hmmm- > > I'm not sure yet what I think about this, but it's certainly a > different approach to user interface design. And it gets you > rethinking basic concepts, which is always a good thing. > > (Flash 7.0 plugin required) > > http://www.dontclick.it/ > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Sun Jul 10 15:04:27 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 10 Jul 2005 15:04:27 -0400 Subject: different UI approach In-Reply-To: <42D16FE9.7000405@fourthworld.com> References: <1466880573.20050710103752@ahsoftware.net> <27A68B8C-4AC5-41F5-85B6-86504B33C4CC@charter.net> <42D16FE9.7000405@fourthworld.com> Message-ID: <601F26D1-2CB9-4B24-9504-828B2C06DEFD@conncoll.edu> > > I suppose if we were to indulge in reductio ad absurdum we could > recommend a UI that doesn't even require the "effort" of moving the > mouse -- the software decides for you what you want, and triggers > actions on its own. Truly effortless! :) Isn't that the design principle for Microsoft Word? Charles Hartman From eric.chatonet at sosmartsoftware.com Sun Jul 10 15:19:40 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 21:19:40 +0200 Subject: different UI approach In-Reply-To: <1466880573.20050710103752@ahsoftware.net> References: <1466880573.20050710103752@ahsoftware.net> Message-ID: <4C217FE1-E9B8-4957-A70B-AD169F4488CA@sosmartsoftware.com> Hi Mark and all, Interesting but... As previous ones who replied, I don't see what valuable performance was added in this interface. As said Dan, may be for those with specific disabilities? You know it (??), ergonomics is my speciality. I would understand such an approach for fighter pilots associated with automated sight recognition ;-) Le 10 juil. 05 ? 19:37, Mark Wieder a ?crit : > I'm not sure yet what I think about this, but it's certainly a > different approach to user interface design. And it gets you > rethinking basic concepts, which is always a good thing. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From tereza at califex.com Sun Jul 10 15:21:59 2005 From: tereza at califex.com (Tereza Snyder) Date: Sun, 10 Jul 2005 14:21:59 -0500 Subject: in the editor(s) In-Reply-To: <42D125CA.5060909@tweedly.net> References: <42D11DA8.3060008@sover.net> <42D125CA.5060909@tweedly.net> Message-ID: <990ADD9F-958E-4501-80D1-E0C3C171C72E@califex.com> On putting tabs into output, Alex Tweedly wrote: > I usually do something like > > local myVar = "1,2,3" > .... > replace comma by TAB in myVar > .... > > though I have been known to do > > >> put "asd\twer" into a >> replace "\t" with TAB in a >> > > Don't forget the "format" function, which will replace "\t" and "\n" with tabs and newlines AND can format numbers as you like 'em. Great for creating a table of values, Jon. put format("asd\twer") into a t -- Tereza Snyder Califex Software, Inc. 800 Water Street Sauk City, WI 53583 608.643.2586 From capellan2000 at yahoo.com Sun Jul 10 15:39:39 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 10 Jul 2005 12:39:39 -0700 (PDT) Subject: Searchable Database from all mail messages In-Reply-To: <20050710170003.A5277824963@mail.runrev.com> Message-ID: <20050710193939.73814.qmail@web40507.mail.yahoo.com> Hi Developers, In a few hours, i'll have downloaded all the gzip compressed archives from this mail list. Gzip compression in text files reduces data sizes to almost 25 % of it's original size! :-O Google is fast and handy but i suspect that it's possible to search faster these archives if they are stored locally, on a CD or Hard Disk. Now, when i have all these decompressed text files from this list in a CD or Hard Disk, Which are my alternatives within RunRev to create a searchable database with all messages from this list? Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Sell on Yahoo! Auctions ? no fees. Bid on great items. http://auctions.yahoo.com/ From rev at armbase.com Sun Jul 10 15:57:12 2005 From: rev at armbase.com (Bob Hartley) Date: Sun, 10 Jul 2005 20:57:12 +0100 Subject: Why I won't buy an A9Home . . . On Topic! In-Reply-To: References: Message-ID: You wrote: HI Richmond > As my first PC (as in Personal Computer - rather than clunking along on > some terminal with somebody else's paw-prints all over it) was a BBC > Master I have long longed for a RISC OS machine. The A9Home (at last) > seems just the 'thing' > (http://www.advantagesix.co.uk/products/A9home.html) smaller than the > MacMini, featuring an OS in Flash-ROM (no viruses, nothing), and so > eccentric one can really look odd owning one (maybe I should not have > written that last bit). I also used RISC OS for many years and IMHO it is the best gui about (probably becase I used it so much). I mainly iused RISC OS as a personal computer (although I did need it for researchh early on) even though I migtrated to MacOS for image analysis. The boot time of my StyrongARM desktop was about 5 seconds..... ok I don't want to go on aboujt how I loved it. > Of course, RISC OS is used in so many embedded systems that the ability to > write stuff for it is really useful. THere were more RISC OS machines sold outwith the desktop market than to the home/school user. Everything from RADAR, SONAR, Protien purification units, even the BR train timtable screens. RISC OS was used in Pace set top boxes. I think they even have BBC BASIC still luring away in there. > > I will not buy an A9Home because, so far, there is no version of MC/RR for > RISC OS. Considering that quite a few RISC OS machines are used in the UK > (as well as elsewhere) in educational environments, it seems a shame there > is neither MC/RR for RISC OS, or, at least, an engine that allows users of > MC/RR on Linux/Win/Mac to produce RISC OS compatible standalones. See this thread http://lists.runrev.com/pipermail/use-revolution/2003-December/026981.html There is Hyperstudio for RISC OS but not metacard/RR. NOw one thing about the A9 is it is a developer only machine at the moment. I think it is about 400ukp. I know the developer, I bought his personal custom machine in 1995 ( A Simtec special A5000) that he bought back fomr me for software testingwhen I got a RiscPC. A machine that had a StrongARM processor and a Pentuium in the second processor slot. This could be used as a co-pro or to run windows in a window. Ohhh dear there I go again. Anyway I know Stuart from Advantage6 (Dont know Mat) and one thing I do know is that they funded the 32-bitting of RISC OS 4 for the A9. They maybe interested in funding the software although I expect someone like Andrew from Rcomp may be more inclined about the porting. As for Runrev doing it. I expect the size of the RISC OS market is too small for them. If you want a look at the OS then you can Get Virtual RiscPC from www.virtualacorn.co.uk Advantage6 use this on there Shuttle style emmulation box. All the best Bob From eric.chatonet at sosmartsoftware.com Sun Jul 10 16:11:17 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 10 Jul 2005 22:11:17 +0200 Subject: Searchable Database from all mail messages In-Reply-To: <20050710193939.73814.qmail@web40507.mail.yahoo.com> References: <20050710193939.73814.qmail@web40507.mail.yahoo.com> Message-ID: Hi Alejandro; I searched for Tejada in the mailing lists: . Google: 0.07 seconds and 824 results. . Gname: 0.002371 seconds and 606 results. BTW I wonder about this difference :-) As for me I think it's fast enough... Note: Mail Archive does not indicate any time... Le 10 juil. 05 ? 21:39, Alejandro Tejada a ?crit : > Google is fast and handy but i suspect that > it's possible to search faster these archives > if they are stored locally, on a CD or Hard Disk. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From capellan2000 at yahoo.com Sun Jul 10 17:00:44 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sun, 10 Jul 2005 14:00:44 -0700 (PDT) Subject: Searchable Database from all mail messages In-Reply-To: <20050710170003.A5277824963@mail.runrev.com> Message-ID: <20050710210044.9323.qmail@web40513.mail.yahoo.com> Hi Eric, :-) Eric Chatonet wrote: >I searched for Tejada in the mailing lists: >. Google: 0.07 seconds and 824 results. >. Gname: 0.002371 seconds and 606 results. >BTW I wonder about this difference :-) >As for me I think it's fast enough... Ah! This means that you have a permanent Internet connection. :-) i have only dial-up. :-( Anyway, i still believe that it's possible to search faster these archives if they are stored locally, on a CD or Hard Disk. When decompressed all these text files get more than 160 MB! :-o How fast could RR retrieve a search like Eric's from 160 MB of text? Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Discover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html From bvg at mac.com Sun Jul 10 17:16:48 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 10 Jul 2005 23:16:48 +0200 Subject: [Reminder] Contest: Advanced Challenge Message-ID: Hi you Coder The advanced Challenge ends tomorrow evening 19. CET. So package up your entry, and send it in! I can't wait to see them... Of course the "impossible" Challenge continues until 8. August, so you stil gotl plenty of time for earning eternal glory. :-D Check http://contest.wecode.org for more info on the CCC. Look for chatrev on http://chatrev.bjoernke.com and chat with us. have fun Bjoernke -- 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 From chipp at chipp.com Sun Jul 10 18:23:14 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 10 Jul 2005 17:23:14 -0500 Subject: different UI approach In-Reply-To: References: <1466880573.20050710103752@ahsoftware.net> Message-ID: <42D19FD2.7050600@chipp.com> My inclination is to agree with you, Dan, but I do remember the absurdity of the mouse at it's inception, and how difficult it was to 'get used to' by the mainstream. Here are a couple observations... - You don't get 'mouse finger' (I get it all the time). - You probably get 'mouse wrist' if you used it often - Strong learning curve for gestures - Without gestures, you end up removing an existing dimension of interfaces (the click). Think about how you would select text with gestures...ouch! - It seems to work better with 'dynamic' environments which change as you navigate through them. Flash seems especially suited. But, as we all know, changing app environments are particularly 'high' on the GUI 'nono' list. -Chipp Dan Shafer wrote: > I don't see any real new thinking here, Mark. Maybe I'm missing > something. And I don't see ANY value in either being able to navigate > (sometimes unintentionally) by mouse moves OR in avoiding the simple > action of clicking a mouse. From SimPLsol at aol.com Sun Jul 10 18:34:47 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sun, 10 Jul 2005 18:34:47 EDT Subject: different UI approach Message-ID: <54.47dcd040.3002fc87@aol.com> Chipp wrote: [snip] - Without gestures, you end up removing an existing dimension of interfaces (the click). Think about how you would select text with gestures...ouch! [snip} Remember the original mouse? To select a word: click at the beginning of it with the first button; click at the end of it with the THIRD button. OUCH! Personally I prefer to "mouse" with a trackpad - even on a desktop computer - unlike a mouse, the trackpad is always in the same place, never falls off the pad (or desk), requires relatively little motion. Paul Looney From alex at tweedly.net Sun Jul 10 16:26:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 21:26:38 +0100 Subject: Searchable Database from all mail messages In-Reply-To: References: <20050710193939.73814.qmail@web40507.mail.yahoo.com> Message-ID: <42D1847E.8000805@tweedly.net> Eric Chatonet wrote: > Hi Alejandro; > > I searched for Tejada in the mailing lists: > > . Google: 0.07 seconds and 824 results. > . Gname: 0.002371 seconds and 606 results. > > BTW I wonder about this difference :-) > As for me I think it's fast enough... > Note: Mail Archive does not indicate any time... > For me, the advantage wouldn't be search time - it would be convenience (when my laptop is disconnected from the net) and time to retrieve the emails themselves (esp. on dial-up). So I'd be tempted to try Google Desktop Search on the whole downloaded database - using an http request to retrieve the results into your Rev app to gather and display the results. (Though I should say I only had a cursory glance at GDS a couple of months ago for a project that didn't get done in the end - but I think it could do this easily). -- 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.8.11/45 - Release Date: 09/07/2005 From jbondy at sover.net Sun Jul 10 18:49:50 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 18:49:50 -0400 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <6F1A29DB-F3C9-4096-96BB-F6BEAEC8C210@danshafer.com> References: <42D11C96.8020602@sover.net> <1682545780.20050710092538@ahsoftware.net> <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> <6F1A29DB-F3C9-4096-96BB-F6BEAEC8C210@danshafer.com> Message-ID: <42D1A60E.5070706@sover.net> 2 seconds on my Windows PC. Go figure... Dan Shafer wrote: > NOw that's what I call a Bugly -- ugly bug. > > Want a real thrill? After you click on that link and before it > displays anything, click on another topic. In a little while -- about > the time it takes to boil a hot dog -- the entire doc screen goes > blank metal and stares at you. > > BTW, it takes as long to collapse as it does to expand. Clearly a bugly. > > > On Jul 10, 2005, at 9:29 AM, Charles Hartman wrote: > >> >> On Jul 10, 2005, at 12:25 PM, Mark Wieder wrote: >> >> >>> Jon- >>> >>> Sunday, July 10, 2005, 6:03:18 AM, you wrote: >>> >>> J> While I have criticized Rev about a number of things, I have no >>> speed >>> J> problems with any of the documentation. I wonder what else is >>> going on. >>> >>> Mostly I agree with this, but I do find the "Topics" section >>> ridiculously slow. I try not to use it unless I'm really stuck. >>> >> >> -- especially the "Containers, variables . . ." area, which takes 17 >> to 25 seconds to load on a 1.5GHz PowerBook -- & everything else >> stops dead!. (I've filed a BZ report on this.) >> >> Charles Hartman >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Sun Jul 10 18:57:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 10 Jul 2005 23:57:19 +0100 Subject: Searchable Database from all mail messages In-Reply-To: <20050710210044.9323.qmail@web40513.mail.yahoo.com> References: <20050710210044.9323.qmail@web40513.mail.yahoo.com> Message-ID: <42D1A7CF.1070105@tweedly.net> Alejandro Tejada wrote: >How fast could RR retrieve a search >like Eric's from 160 MB of text? > > > It would take a long time just to read 160Mb (or to read and decompress 40M). You need to have it indexed - by Google Desktop, or Yahoo Desktop (are they Win only ??) - use some open source indexing tool (Lucene?) - put the messages into a mySQL database and use their fulltext index feature - some other index scheme ... -- 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.8.11/45 - Release Date: 09/07/2005 From charles.hartman at conncoll.edu Sun Jul 10 19:02:21 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 10 Jul 2005 19:02:21 -0400 Subject: Searchable Database from all mail messages In-Reply-To: <42D1A7CF.1070105@tweedly.net> References: <20050710210044.9323.qmail@web40513.mail.yahoo.com> <42D1A7CF.1070105@tweedly.net> Message-ID: <08E17E35-323E-434E-A8D5-F45BE9F3CDEA@conncoll.edu> > It would take a long time just to read 160Mb (or to read and > decompress 40M). You need to have it indexed > - by Google Desktop, or Yahoo Desktop (are they Win only ??) > - use some open source indexing tool (Lucene?) > - put the messages into a mySQL database and use their fulltext > index feature > - some other index scheme ... > > Spotlight. Charles Hartman From jbondy at sover.net Sun Jul 10 19:18:38 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 19:18:38 -0400 Subject: documentation mini-bug In-Reply-To: <42D12C9A.8090800@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> <42D12751.2020306@sover.net> <42D12C9A.8090800@tweedly.net> Message-ID: <42D1ACCE.6090306@sover.net> So. Is this a bug? Alex Tweedly wrote: > Jon wrote: > >> Alex: >> >> Thanks for the explanation. All make sense to me, except for "If you >> want to add a web note, you can do so by clicking on the >> second-from-the-right button at the top of the window - looks vaguely >> like a globe with a + sign added." >> >> I can see no such icon. >> > > My bad memory .... sorry. > > At the top of the doc window, I have 3 sets of buttons > 1. left and right arrows > 2. 5 buttons for Getting started, topics, dictionary, objects, > bookmarks > 3. 3 buttons : > bookmarks with a + sign - to add a bookmark > globe (or basketball) with tiny piece of paper and pencil > ---- this is the one that adds web notes > printer ? > > For no obvious reason, the last two are now grayed out (disabled) for > me - not sure what's different between now and earlier, when I was > able to select the "add web note" one. > From sarahr at genesearch.com.au Sun Jul 10 19:22:42 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 11 Jul 2005 09:22:42 +1000 Subject: spreadsheet-like tables In-Reply-To: <42CF1C31.9060007@sover.net> References: <42CF1C31.9060007@sover.net> Message-ID: <02F32DC5-96C1-4AAA-A4FA-D692F2E91538@genesearch.com.au> > First off, what is the best way to present the user with tabular > data? I tried the "table", and it has lots of problems, at least > the way I did it . Any sample stacks out there for me > to study? I had the most trouble allowing the user to edit the > data: the appearance of the table went to hell when the user > started modifying a field in the table. I would have the data in a standard list field with the tabStops set to make the display look OK. When the user selects a line, pop the different items into separate editable fields. Then have an "Apply Edits" button that gathers up the edited data and puts it back into the selected line of the data field. HTH, Sarah From sarahr at genesearch.com.au Sun Jul 10 19:34:17 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 11 Jul 2005 09:34:17 +1000 Subject: What About Newbies In-Reply-To: References: Message-ID: <4E5E5523-D5D9-4817-B4B6-198304D22456@genesearch.com.au> > I'm having a great deal of trouble porting my HyperCard stacks and > I really > need someone to hold my hand! Here's the address of a tutorial for doing just that: Sarah From jbondy at sover.net Sun Jul 10 19:44:38 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 19:44:38 -0400 Subject: spreadsheet-like tables In-Reply-To: <02F32DC5-96C1-4AAA-A4FA-D692F2E91538@genesearch.com.au> References: <42CF1C31.9060007@sover.net> <02F32DC5-96C1-4AAA-A4FA-D692F2E91538@genesearch.com.au> Message-ID: <42D1B2E6.2010505@sover.net> Ugh. No way to edit values right in the tables? Really? Sigh Sarah Reichelt wrote: >> First off, what is the best way to present the user with tabular >> data? I tried the "table", and it has lots of problems, at least >> the way I did it . Any sample stacks out there for me to >> study? I had the most trouble allowing the user to edit the data: >> the appearance of the table went to hell when the user started >> modifying a field in the table. > > > I would have the data in a standard list field with the tabStops set > to make the display look OK. When the user selects a line, pop the > different items into separate editable fields. Then have an "Apply > Edits" button that gathers up the edited data and puts it back into > the selected line of the data field. > > HTH, > Sarah > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jhurley at infostations.com Sun Jul 10 19:45:40 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 10 Jul 2005 16:45:40 -0700 Subject: sorting zip codes In-Reply-To: <20050710224421.A4FD5824923@mail.runrev.com> References: <20050710224421.A4FD5824923@mail.runrev.com> Message-ID: > >Message: 5 >Date: Sun, 10 Jul 2005 11:52:48 -0700 >From: Rich Lague >Subject: sorting zip codes >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=WINDOWS-1252; format=flowed > >I?m trying to set up a sort of a stack of address cards by zip code. >Some of the zips are only the first 5 numbers and some of them are in >the form ?xxxxx-xxxx?. > >The script, ?sort cards numeric by field "zip"? sorts all the 9 number >zips first, then sorts the 5 number zips-- not what I want. > >I tried ?sort cards of this stack numeric by chars 1 to 5 of field >?zip?? I go a ?bad factor? error. > >Then I tried ?sort cards of this stack numeric by first 5 chars of >field ?zip?? Another ?bad factor?. > >I also tried, ?sort cards of this stack numeric by (chars 1 to 5 of >field "zip")? -- Bad factor still. > >Is there a way? > >Thanks, > >Rich > >********************************************** Rich, Maybe not the best but this works for me. Our neighborhood assoc. has a similar mailing list. 1) Let the database be in field "originalDB" 2) Assume the variable zip codes are the last item, say item 6 item in each line of the DB, with some like formatted xxxxx-xxxx and some just xxxxx. 3) Create two new items, numbers 7 and 8. Put the xxxxx into item 7 and xxxx into item 8 4) Sort the new list first by item 8 and then by item 7 and put the results into field "final" 5) If you like you can delete items 7 and 8 at this point. on mouseUp put field "originalDB" into tList set itemdel to tab repeat for each line tLine in tList put item 6 of tLine into tZip set itemdel to "-" put tLine & tab & item 1 of tZip & tab & item 2 of tZip & cr after results set itemdel to tab end repeat sort lines of results by item 8 of each sort lines of results by item 7 of each put results into field "final" end mouseUp Jim From sarahr at genesearch.com.au Sun Jul 10 19:45:43 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 11 Jul 2005 09:45:43 +1000 Subject: sorting zip codes In-Reply-To: References: Message-ID: > I?m trying to set up a sort of a stack of address cards by zip > code. Some of the zips are only the first 5 numbers and some of > them are in the form ?xxxxx-xxxx?. > > The script, ?sort cards numeric by field "zip"? sorts all the 9 > number zips first, then sorts the 5 number zips-- not what I want. Untested but worth a try: set the itemDelimiter to "-" sort cards of this stack numeric by item 1 of field ?zip? HTH, Sarah From sarahr at genesearch.com.au Sun Jul 10 20:01:17 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 11 Jul 2005 10:01:17 +1000 Subject: spreadsheet-like tables In-Reply-To: <42D1B2E6.2010505@sover.net> References: <42CF1C31.9060007@sover.net> <02F32DC5-96C1-4AAA-A4FA-D692F2E91538@genesearch.com.au> <42D1B2E6.2010505@sover.net> Message-ID: <911469DC-3D58-4043-A9DA-C345AF0B9CE4@genesearch.com.au> > Ugh. No way to edit values right in the tables? Really? Sigh You can edit directly in the table, but I find it ugly & confusing, especially if the data becomes longer than the column width. I would much rather have a dedicated edit field. If you don't want to pull the complete record out, do it one cell at a time, like most spreadsheet programs do. Sarah >>> First off, what is the best way to present the user with tabular >>> data? I tried the "table", and it has lots of problems, at >>> least the way I did it . Any sample stacks out there >>> for me to study? I had the most trouble allowing the user to >>> edit the data: the appearance of the table went to hell when the >>> user started modifying a field in the table. >>> >> >> >> I would have the data in a standard list field with the tabStops >> set to make the display look OK. When the user selects a line, >> pop the different items into separate editable fields. Then have >> an "Apply Edits" button that gathers up the edited data and puts >> it back into the selected line of the data field. >> >> HTH, >> Sarah From sarahr at genesearch.com.au Sun Jul 10 20:03:31 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 11 Jul 2005 10:03:31 +1000 Subject: control and option keys not working on Tiger with 2.6? In-Reply-To: <843607E7-AA1F-4824-8CE8-D5B5A43F9302@hindu.org> References: <843607E7-AA1F-4824-8CE8-D5B5A43F9302@hindu.org> Message-ID: <8D5FAA90-0D2A-499F-97DA-9C864CF66D67@genesearch.com.au> > I have for years used the following to toggle a field between a > locked "hot link ready" state to an editable state: > > on mouseDown > if controlkey()="Down" then > set the locktext of the target to true > set the traversalOn of the target to false > choose browse tool > end if > end mouseDown > on mouseUp > if optionkey()="Down" then > set the locktext of the target to false > set the traversalOn of the target to true > end if > end mouseUp > Using Tiger (10.4.1) & Rev 2.6, I made a new stack, with nothing in it except this card script: on mouseDown if controlkey()="Down" then put "Down + control" else put "Down" end if end mouseDown on mouseUp if optionkey()="Down" then put "Up + option" else put "Up" end if end mouseUp It worked exactly as I expected, so i think you may have something else causing your problem. Do you have any frontScripts that could be intercepting the keys? Sarah From mwieder at ahsoftware.net Sun Jul 10 20:27:51 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Jul 2005 17:27:51 -0700 Subject: RR Documentation, mini-bugs, and so on . . . In-Reply-To: <42D1A60E.5070706@sover.net> References: <42D11C96.8020602@sover.net> <1682545780.20050710092538@ahsoftware.net> <6D83040F-2DF1-4278-9F80-A330DC3B4B25@conncoll.edu> <6F1A29DB-F3C9-4096-96BB-F6BEAEC8C210@danshafer.com> <42D1A60E.5070706@sover.net> Message-ID: <7331479374.20050710172751@ahsoftware.net> Jon- Sunday, July 10, 2005, 3:49:50 PM, you wrote: J> 2 seconds on my Windows PC. Go figure... I clicked on "Containers, variables and sources of value". Then immediately clicked on "Commands and functions". 11 seconds to open them on my 500MHz win2k box. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 10 20:33:20 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Jul 2005 17:33:20 -0700 Subject: Searchable Database from all mail messages In-Reply-To: <42D1847E.8000805@tweedly.net> References: <20050710193939.73814.qmail@web40507.mail.yahoo.com> <42D1847E.8000805@tweedly.net> Message-ID: <15231807857.20050710173320@ahsoftware.net> Alex- Sunday, July 10, 2005, 1:26:38 PM, you wrote: AT> So I'd be tempted to try Google Desktop Search on the whole downloaded AT> database - using an http request to retrieve the results into your Rev I think this is the approach I'd take, too. The downside would be the need to download a new archive each month. ...and it's been my experience that searching via Google's web site doesn't always return the results you specify, especially regarding date ranges. Google's search engine seems to have a mind of its own as to what it decides to return to you. -- -Mark Wieder mwieder at ahsoftware.net From bill at bluewatermaritime.com Sun Jul 10 21:01:21 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 10 Jul 2005 21:01:21 -0400 Subject: PODCASTING WITH RUNREV In-Reply-To: Message-ID: I will try audio hijack pro next as the cludge I'm using including the crash everything "Audacity" is pretty bad. I can't wait to try Andre's stack. On 7/10/05 12:37 PM, "Stephen Barncard" wrote: > You might look at Audio Hijack Pro - it already does a lot of this - > if you are using a Mac. > >> On Jul 9, 2005, at 7:44 AM, Bill wrote: >> >>> Is anyone writing a stack for doing podcasting? Presently it takes a >>> combination of six programs to make and edit podcasts on OSX. >>> > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From alex at tweedly.net Sun Jul 10 22:09:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 11 Jul 2005 03:09:49 +0100 Subject: documentation mini-bug In-Reply-To: <42D1ACCE.6090306@sover.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> <42D12751.2020306@sover.net> <42D12C9A.8090800@tweedly.net> <42D1ACCE.6090306@sover.net> Message-ID: <42D1D4ED.2010301@tweedly.net> Jon wrote: > So. Is this a bug? > The fact that they are grayed out ? I doubt it - most likely, as someone guessed, it's a problem on the server, or communicating with the server. Or the tech writer is going through the webnotes and temporarily locked out access. Or some other temporary issue that (by Sod's Law) had to happen the day we discussed it. (Or maybe it happened because too many people tried to get simultaneous write access and we hit an untested part of the web site :-) If it's still a problem by this time tomorrow, I'll worry about it - and report it if it's still not working again. Or did you mean "Is my bad memory a bug ?" - definitely yes.:-) -- Alex. >> My bad memory .... sorry. >> >> At the top of the doc window, I have 3 sets of buttons >> 1. left and right arrows >> 2. 5 buttons for Getting started, topics, dictionary, objects, >> bookmarks >> 3. 3 buttons : >> bookmarks with a + sign - to add a bookmark >> globe (or basketball) with tiny piece of paper and pencil >> ---- this is the one that adds web notes >> printer ? >> >> For no obvious reason, the last two are now grayed out (disabled) for >> me - not sure what's different between now and earlier, when I was >> able to select the "add web note" one. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- 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.8.11/45 - Release Date: 09/07/2005 From 3mcgrath at adelphia.net Sun Jul 10 22:51:22 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 10 Jul 2005 22:51:22 -0400 Subject: Printing script problem In-Reply-To: References: Message-ID: <24b953a23649f1ad96f2aa27a235348f@adelphia.net> Jim you can also do it by script: Make a button in another stack with a field for the script and then put the script into that field and print the card of that stack that the field is on: on mouseUp put the script of card "TheScript" into lmyscript put lmyscript into field "TheScriptToPrint" print card "WhereTheScriptFieldIs" -- or print the coordinates of the field etc. end mouseUp HTH Tom On Jul 8, 2005, at 8:31 AM, Ken Ray wrote: >> What's the secret to printing out a script? I've sent it now to two >> different HP printers (from the script editor, File -> Print >> Script... and >> in portrait and landscape and anytime there is a color change, the >> words >> overwrite themselves (in other words, useless). > > Jim, this is a known bug that's logged in Bugzilla... hopefully it > will be > fixed the next time around. Until then, there are two methods - Eric's > (copy > and paste somewhere else), or use Alex Rice's MLXEditor to use some > other > application (like Notepad, TextPad, etc.) as your script editor and > print it > from there. > > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From dsc at swcp.com Sun Jul 10 23:30:42 2005 From: dsc at swcp.com (Dar Scott) Date: Sun, 10 Jul 2005 21:30:42 -0600 Subject: sorting zip codes In-Reply-To: References: Message-ID: On Jul 10, 2005, at 5:45 PM, Sarah Reichelt wrote: >> I?m trying to set up a sort of a stack of address cards by zip code. >> Some of the zips are only the first 5 numbers and some of them are in >> the form ?xxxxx-xxxx?. >> >> The script, ?sort cards numeric by field "zip"? sorts all the 9 >> number zips first, then sorts the 5 number zips-- not what I want. > > Untested but worth a try: > > set the itemDelimiter to "-" > sort cards of this stack numeric by item 1 of field ?zip? I wonder if 'sort cards text by field "zip"' would do what is needed. I would think it would sort like this: 00234 00234-1234 00235 Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming and software ********************************************** From jbondy at sover.net Sun Jul 10 23:31:02 2005 From: jbondy at sover.net (Jon) Date: Sun, 10 Jul 2005 23:31:02 -0400 Subject: documentation mini-bug In-Reply-To: <42D1D4ED.2010301@tweedly.net> References: <42CE81C6.7090002@sover.net> <1994678407.20050708105135@ahsoftware.net> <42CF01B4.4030406@sover.net> <7645093130.20050708220510@ahsoftware.net> <42CFDF67.9030504@dreamscapesoftware.com> <42D01427.20308@tweedly.net> <13626946426.20050709161122@ahsoftware.net> <42D06CE6.3040008@tweedly.net> <42D11474.1050902@sover.net> <42D123D4.8090508@tweedly.net> <42D12751.2020306@sover.net> <42D12C9A.8090800@tweedly.net> <42D1ACCE.6090306@sover.net> <42D1D4ED.2010301@tweedly.net> Message-ID: <42D1E7F6.1060004@sover.net> The fact that no one knows what is going on and that it is not behaving as usual strikes me, in and of itself, as a bug. If Rev wants to turn the feature off, that's fine, but they should tell people what is going on, rather than have every one of us guessing. In my humble opinion, of course. Goes without saying. :) Jon Alex Tweedly wrote: > Jon wrote: > >> So. Is this a bug? >> > The fact that they are grayed out ? I doubt it - most likely, as > someone guessed, it's a problem on the server, or communicating with > the server. Or the tech writer is going through the webnotes and > temporarily locked out access. Or some other temporary issue that (by > Sod's Law) had to happen the day we discussed it. (Or maybe it > happened because too many people tried to get simultaneous write > access and we hit an untested part of the web site :-) > > If it's still a problem by this time tomorrow, I'll worry about it - > and report it if it's still not working again. > > Or did you mean "Is my bad memory a bug ?" - definitely yes.:-) > > -- Alex. > >>> My bad memory .... sorry. >>> >>> At the top of the doc window, I have 3 sets of buttons >>> 1. left and right arrows >>> 2. 5 buttons for Getting started, topics, dictionary, objects, >>> bookmarks >>> 3. 3 buttons : >>> bookmarks with a + sign - to add a bookmark >>> globe (or basketball) with tiny piece of paper and pencil >>> ---- this is the one that adds web notes >>> printer ? >>> >>> For no obvious reason, the last two are now grayed out (disabled) >>> for me - not sure what's different between now and earlier, when I >>> was able to select the "add web note" one. >>> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > From laguer at ucs.orst.edu Sun Jul 10 23:45:14 2005 From: laguer at ucs.orst.edu (Rich Lague) Date: Sun, 10 Jul 2005 20:45:14 -0700 Subject: sorting zip codes In-Reply-To: Message-ID: <30AAD6DF-F1BE-11D9-A4E4-000393A7F528@ucs.orst.edu> Thanks Dar, Your suggestion was the easiest. All I had to do was remove "numeric". Rich On Sunday, July 10, 2005, at 08:30 PM, Dar Scott wrote: > > On Jul 10, 2005, at 5:45 PM, Sarah Reichelt wrote: > >>> I?m trying to set up a sort of a stack of address cards by zip code. >>> Some of the zips are only the first 5 numbers and some of them are >>> in the form ?xxxxx-xxxx?. >>> >>> The script, ?sort cards numeric by field "zip"? sorts all the 9 >>> number zips first, then sorts the 5 number zips-- not what I want. >> >> Untested but worth a try: >> >> set the itemDelimiter to "-" >> sort cards of this stack numeric by item 1 of field ?zip? > > I wonder if 'sort cards text by field "zip"' would do what is needed. > I would think it would sort like this: > > 00234 > 00234-1234 > 00235 > > Dar > > -- > ********************************************** > DSC (Dar Scott Consulting & Dar's Lab) > http://www.swcp.com/dsc/ > Programming and software > ********************************************** > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From yoursignup at yahoo.com Mon Jul 11 00:04:14 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Sun, 10 Jul 2005 18:04:14 -1000 Subject: Printing script problem In-Reply-To: <24b953a23649f1ad96f2aa27a235348f@adelphia.net> Message-ID: Thanks Tom, I'll may try that. But to make it *universal* I'd have to have more than a button. I'd need to identify which object the script belongs to, such as: the script of btn myButton of cd thisCard of stack thatStack. Or, the script of thatStack etc. This would require identifying the control type (btn, field, sb, etc, or none in the case of a card or stack script) and manually typing in the control name, card name and stack name. Assuming this is a high priority bug and will be fixed soon, it may be easier, for now, to copy and paste into Notepad (on a PC), which does print the script out formatted with coloring intact. Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Thomas McGrath III Sent: Sunday, July 10, 2005 4:51 PM To: How to use Revolution Subject: Re: Printing script problem Jim you can also do it by script: Make a button in another stack with a field for the script and then put the script into that field and print the card of that stack that the field is on: on mouseUp put the script of card "TheScript" into lmyscript put lmyscript into field "TheScriptToPrint" print card "WhereTheScriptFieldIs" -- or print the coordinates of the field etc. end mouseUp HTH Tom On Jul 8, 2005, at 8:31 AM, Ken Ray wrote: >> What's the secret to printing out a script? I've sent it now to two >> different HP printers (from the script editor, File -> Print >> Script... and >> in portrait and landscape and anytime there is a color change, the >> words >> overwrite themselves (in other words, useless). > > Jim, this is a known bug that's logged in Bugzilla... hopefully it > will be > fixed the next time around. Until then, there are two methods - Eric's > (copy > and paste somewhere else), or use Alex Rice's MLXEditor to use some > other > application (like Notepad, TextPad, etc.) as your script editor and > print it > from there. > > > Ken Ray > Sons of Thunder Software > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From yoursignup at yahoo.com Mon Jul 11 00:25:36 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Sun, 10 Jul 2005 18:25:36 -1000 Subject: Printing script problem In-Reply-To: Message-ID: In the previous message I meant to say WordPad. -Jim From revolution at jaedworks.com Mon Jul 11 00:25:10 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Sun, 10 Jul 2005 21:25:10 -0700 Subject: sorting zip codes In-Reply-To: References: Message-ID: At 11:52 AM -0700 7/10/2005, Rich Lague wrote: >I'm trying to set up a sort of a stack of address cards by zip code. >Some of the zips are only the first 5 numbers and some of them are >in the form "xxxxx-xxxx". > >The script, "sort cards numeric by field "zip"" sorts all the 9 >number zips first, then sorts the 5 number zips-- not what I want. > >I tried "sort cards of this stack numeric by chars 1 to 5 of field >"zip"" I go a "bad factor" error. You need to delete the "s": sort cards by char 1 to 5 of field "Zip" "chars" is often synonymous with "char", but not always. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From jperryl at ecs.fullerton.edu Mon Jul 11 00:59:20 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 21:59:20 -0700 (PDT) Subject: different UI approach In-Reply-To: <27A68B8C-4AC5-41F5-85B6-86504B33C4CC@charter.net> Message-ID: And I'm with both of you (in spirit; haven't checked Mark's link yet). I really hate those websites that have those nav-menu bars that both scroll down the page with you (obscuring content sometimes, mind you) as well as being drop-downs merely by mouse-withins that are accidentally triggered merely by my trying to get my mouse to somthing I really am interested in *deliberately* selecting. Leaves me cursing... most unladylike... I end up unintentionally teaching new words to the kiddies that I'd really rather not hear them repeating to, say, the grandparents... Judy On Sun, 10 Jul 2005, Mark Swindell wrote: > I would agree with you, Dan. I want to be able to control with a > definitive action (a click) when I want something done. (Though I > am working on a project where the mousemove is all there is to > control a particular action because I feel that's what fits best and > least obtrusively in the context.) The slow motion opening and > closing of elements so prevalent in much of the Flash stuff I see > also drives me up the wall. From jperryl at ecs.fullerton.edu Mon Jul 11 01:01:06 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 22:01:06 -0700 (PDT) Subject: different UI approach In-Reply-To: <42D16FE9.7000405@fourthworld.com> Message-ID: Isn't that the Microsoft Paperclip? Or any Mac version of Word after 5.x? Judy On Sun, 10 Jul 2005, Richard Gaskin wrote: > I suppose if we were to indulge in reductio ad absurdum we could > recommend a UI that doesn't even require the "effort" of moving the > mouse -- the software decides for you what you want, and triggers > actions on its own. Truly effortless! :) From yoursignup at yahoo.com Mon Jul 11 01:06:31 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Sun, 10 Jul 2005 19:06:31 -1000 Subject: Printing script problem In-Reply-To: Message-ID: In the previous message I meant to say WordPad. -Jim From jperryl at ecs.fullerton.edu Mon Jul 11 01:11:00 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 22:11:00 -0700 (PDT) Subject: different UI approach In-Reply-To: <42D19FD2.7050600@chipp.com> Message-ID: IIRC, you are not on a Mac, are you Chipp? I got mouse-finger (have you tried drawing with one?!!) until I first moved to the Kensington four-button trackball, and, finally, to the current fingerless (ask my husband, as he really hasn't got any) Mac mouse. No more mouse-finger! FOR people who were already familiar with the PC qua keyboard-centered DOS, the mouse-centric GUI was confusing, but if, as may well be likely, you've read the literature, this was a deliberate attempt to force focus onto the new GUI concept for THAT OTHER audience, namely, those who were not already familiar with using a computer, and mouse-centricity was central to the premise of Schneiderman's articulation of items of interest and manipulation paradigm. Which is why I find the whole 2 (and, by extension, 3) button mouse and especially contextual mousebutton stuff in which you right-click on nothing in the middle of nowhere stuff simply maddenning and a violation of the paradigm. But then, as you say, I guess it's all just what you become accustomed to. It's easy to be old and grouchy ;-) Judy On Sun, 10 Jul 2005, Chipp Walters wrote: > My inclination is to agree with you, Dan, but I do remember the > absurdity of the mouse at it's inception, and how difficult it was to > 'get used to' by the mainstream. > > Here are a couple observations... > > - You don't get 'mouse finger' (I get it all the time). > - You probably get 'mouse wrist' if you used it often > - Strong learning curve for gestures > - Without gestures, you end up removing an existing dimension of > interfaces (the click). Think about how you would select text with > gestures...ouch! > - It seems to work better with 'dynamic' environments which change as > you navigate through them. Flash seems especially suited. But, as we all > know, changing app environments are particularly 'high' on the GUI > 'nono' list. > > -Chipp From jperryl at ecs.fullerton.edu Mon Jul 11 01:14:49 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 22:14:49 -0700 (PDT) Subject: different UI approach In-Reply-To: <54.47dcd040.3002fc87@aol.com> Message-ID: Exactly! Okay, so, I am a Mac bigot of sorts, and, so, when I see PC laptop users with perfectly usable trackpads packing along external mice, I think, WT*??? I mean, I'm pretty certain that their PC trackpads are equipped with the requisite left and right mouse buttons, right? And, sometimes, even the scrolling thingy?? You never need a bigger table with a stationary mouse... And, hey, even fingers need exercise, don't they? @;-) Judy On Sun, 10 Jul 2005 SimPLsol at aol.com wrote: > Remember the original mouse? To select a word: click at the beginning of it > with the first button; click at the end of it with the THIRD button. > OUCH! > > Personally I prefer to "mouse" with a trackpad - even on a desktop computer - > unlike a mouse, the trackpad is always in the same place, never falls off the > pad (or desk), requires relatively little motion. > Paul Looney From webmaster at dreamscapesoftware.com Mon Jul 11 01:34:57 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Mon, 11 Jul 2005 00:34:57 -0500 Subject: different UI approach In-Reply-To: References: Message-ID: <42D20501.50705@dreamscapesoftware.com> Judy Perry wrote: > Okay, so, I am a Mac bigot of sorts, and, so, when I see PC laptop users > with perfectly usable trackpads packing along external mice, I think, > WT*??? > > I mean, I'm pretty certain that their PC trackpads are equipped with the > requisite left and right mouse buttons, right? And, sometimes, even the > scrolling thingy?? I have a PC laptop with a trackpad and I still pack my external mouse. My trackpad has left and right mouse buttons, as well as the scrolling thing. I find though that for me the mouse is a lot more exact than the trackpad. I always hated trying to draw a straight line with the trackpad when I could always do it fine with a mouse. Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From scott at tactilemedia.com Mon Jul 11 02:00:02 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Jul 2005 23:00:02 -0700 Subject: different UI approach In-Reply-To: <1466880573.20050710103752@ahsoftware.net> Message-ID: Recently, Mark Wieder wrote: > http://www.dontclick.it/ Another opinion: I enjoy the idea, though I don't see much revolutionary there. I think the greater issue is effective communication to visitors regarding where they can go from where they are. But the clickable UI seems far from pass?. I would love to see a click-less UI implemented in an email application -- you'd have to be mighty careful around the send and delete buttons. What if nuclear silos had click-less UIs and no human-key switches?... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From pixelbird at interisland.net Mon Jul 11 02:27:20 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 10 Jul 2005 23:27:20 -0700 Subject: different UI approach In-Reply-To: <20050710224421.74A98824921@mail.runrev.com> References: <20050710224421.74A98824921@mail.runrev.com> Message-ID: Hi Dan, > Date: Sun, 10 Jul 2005 11:23:49 -0700 > From: Dan Shafer > Subject: Re: different UI approach > > I don't see any real new thinking here, Mark. Maybe I'm missing > something. And I don't see ANY value in either being able to navigate > (sometimes unintentionally) by mouse moves OR in avoiding the simple > action of clicking a mouse. > > Maybe for those with specific disabilities? FWIW, I work with enableware quite often. As you suggest, sometimes gesturing and /or hovering with a timer is an advantage, sometimes a timer/click is an advantage (a'la Stephen Hawking Jr.). I won't go into details right now, but there is little intuitve advantage to normal users beyond specialized controls. Touch screens are mucho mas intuitive. These methods are as old as video games, IOW, there is nothing new going on (mouseEnter, mouseWithin, mouseWithin with mouseLoc following). Now, if you can get Rev (or any other software) to read my mind from across the room, and accurately anticipate and interpret mental commands.......... ;-) Not all that unusual an idea, but still pretty much science fiction AFAICS. All the best, Ken N. From jperryl at ecs.fullerton.edu Mon Jul 11 02:48:50 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 10 Jul 2005 23:48:50 -0700 (PDT) Subject: different UI approach In-Reply-To: <42D20501.50705@dreamscapesoftware.com> Message-ID: Really? I personally have more problems with the mouse because it moves, even when I don't want it to (as does the mousepad, as well as whatever it's sitting on), whereas, hopefully, the trackpad ain't goin' anywhere (and, if it does, I'm in big trouble 'cuz either my computer is auto-disassembling OR I'm in the midst of a California Tremblor)). I mean, my hand isn't exactly exact. But, add to that a moving target (the mouse) on top of a possibly additional moving target (the mousepad, table, etc.), and it just seems that there are greater chances for error, precision being the same (which it may well not be), with multiple moving things than with a single moving thing. But, who knows? Makes me long for the old Hypercard (was it HC? Was it something else?) days of being able to press shift or whatever it was to "draw" a straight line. Judy On Mon, 11 Jul 2005, Derek Bump wrote: > I have a PC laptop with a trackpad and I still pack my external mouse. > My trackpad has left and right mouse buttons, as well as the scrolling > thing. I find though that for me the mouse is a lot more exact than the > trackpad. I always hated trying to draw a straight line with the > trackpad when I could always do it fine with a mouse. From europe at ehug.info Mon Jul 11 04:52:18 2005 From: europe at ehug.info (Mark Schonewille) Date: Mon, 11 Jul 2005 10:52:18 +0200 Subject: false anti-alarm In-Reply-To: References: <6EC9FC2D-F29E-4A41-A3AF-E814C3228AB4@conncoll.edu> Message-ID: <42D23342.8050909@ehug.info> Charles, Is the goal of your script to change the default font in text fields, not only before but also after font and style tags? The reason for inserting font tags in substacks may be that substacks inherit all font and style information from the main stack. If you change the font of the main stack and restore htmltext that doesn't have a font tag, Rev inserts a font tag to make sure that it looks the same as before. The solution probably is inserting a font tag yourself before restoring the htmltext. I believe one should either use default font and style info of objects or set the font and style info of text within those objects explicitly, rather than trying to do both. Best regards, Mark Charles Hartman wrote: > In case anyone's interested, I've made a small 48k dummy to demonstrate > this problem, by taking everything out of my appo except the scripts in > question and a couple of example cards. Can't post it here, with the > 16k limit, but I'd be glad to send it to anyone who wants to poke into > a problem that I, for one, am about to give up on -- it's too far > inside Rev's guts for me to have any ideas left about fixing or even > working around it. > > coh
Client Login:   
From chipp at chipp.com Thu Jul 21 01:56:31 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Jul 2005 00:56:31 -0500 Subject: going nuts again In-Reply-To: <20050721053506.86D56824913@mail.runrev.com> References: <20050721053506.86D56824913@mail.runrev.com> Message-ID: <42DF390F.6060803@chipp.com> Hi X, I think you need the following: on idle reset all the background of all the buttons to what they should be end idle :-) Seriously, Here's how I'd approach it: Step 1: Can I programatically 'reset' the backgrounds by: set the backgroundPattern of btn "myButt" to "" set the backgroundPattern of btn "myButt" to img "moon" or if that doesn't work try setting the bgPattern to one texture, then the other, then back to the first. See if toggling it in this manner doesn't provide results. Try inserting a 'set alwaysBuffer to false' then back to true in-between. Just some ideas. Step 2: If you can 'force' a reset programatically, then you may need to fire a handler every so often to check. best, Chipp From xbury.cs at clearstream.com Thu Jul 21 03:33:52 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 21 Jul 2005 09:33:52 +0200 Subject: going nuts again In-Reply-To: <42DF390F.6060803@chipp.com> Message-ID: Thanks Chipp, I'll give it an idle try ;) Is this a problem only on windoze or Mac also? Now, i can confirm it also happens on win2000, XP and 2003! After deleting the images, deleting the buttons, recreating the buttons, the images (to revspec) reimporting them, reseting the patterns on the buttons, i noticed that one button still screws up. Last thing i saw (but not the first time) is that if the button is autohilite - when you click the button the pattern goes "black"... Weird indeed... I'll keep trying to isolate this but it's the damnation of any theme group i create... There's always one or the other control screwing up... no matter how i reset it... cheers Xavier On 21/07/2005 07:56:31 use-revolution-bounces wrote: >Hi X, > >I think you need the following: > >on idle >reset all the background of all the buttons to what they should be >end idle > >:-) > >Seriously, >Here's how I'd approach it: > >Step 1: Can I programatically 'reset' the backgrounds by: > >set the backgroundPattern of btn "myButt" to "" >set the backgroundPattern of btn "myButt" to img "moon" > >or if that doesn't work try setting the bgPattern to one texture, then >the other, then back to the first. See if toggling it in this manner >doesn't provide results. Try inserting a 'set alwaysBuffer to false' >then back to true in-between. Just some ideas. > >Step 2: If you can 'force' a reset programatically, then you may need to >fire a handler every so often to check. > >best, > >Chipp >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From dam-pro.girard at laposte.net Thu Jul 21 03:45:26 2005 From: dam-pro.girard at laposte.net (Damien Girard) Date: Thu, 21 Jul 2005 09:45:26 +0200 Subject: Question for Linux Users: In-Reply-To: <200507211128.03003.rishi@puredata.com.au> References: <200507211128.03003.rishi@puredata.com.au> Message-ID: <1121931926.757.7.camel@White-Side> Le Jeudi 21 juillet 2005 ? 11:28 +1000, Rishi Viner a ?crit : > Linux users, > > What distro do you find works best with Rev? > > Do you find it works better with a KDE or GNOME desktop? > > I'm getting a lot of annoying things happening like: > -cut/copy/paste just doesn't work > -keyboard interaction in Rev is sometimes flaky (eg sometimes when writing > scripts the enter key stops working, so you can't get a new line). > > So I was wondering if there are Linux users out there who are having a > perfect/smooth/functional experience with Rev and if so, what environment > they are in that seems to keep it all nice. > > Thanks! > There are problems with all distro, (I have tried with Debian,RedHat,Mandrake,Suse). And Runrev work better with the Gnome Desktop (but is it not very good). I have tried with XFCE and runrev work a bit better than Gnome. Please, go to http://support.runrev.com/bugzilla (or use RevZilla) and confirm bugs that I have reported about the Linux engine. And I have never had a perfect/smooth/functional experience with Rev under Linux/Unix. (I have got FreeBSD now, and Runrev doesn't work at all). So, I am waiting the perfect "Revolution Linux/Unix" who work so good as work Runrev under MacOS X. Damien Girard From dwilk at globalnet.co.uk Thu Jul 21 05:47:48 2005 From: dwilk at globalnet.co.uk (David Wilkinson) Date: Thu, 21 Jul 2005 10:47:48 +0100 Subject: Invisible invisible insertion point in field - solved but not resolved BZ 1734 In-Reply-To: <20050720222801.64010824913@mail.runrev.com> References: <20050720222801.64010824913@mail.runrev.com> Message-ID: First prize is shared by Sarah and Chipp - overlapping group. Thanks guys. Surprisingly BZ returned Key Ray's report first hit, and it is just about on its first birthday. Too much of a rewrite required for the time being, unfortunately. Sarah was also right about the margin/text offset/vscroll thing, but I seemed only to be able to effect any obvious change with left and right margins - so I made the editbox taller to show the ascenders and descenders. So that makes the Aussies one up in the Series already! ref: RevOnline user227 Table Field Experiment From Hamburger1 at aol.com Thu Jul 21 07:51:13 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Thu, 21 Jul 2005 07:51:13 EDT Subject: menubar problems revisited Message-ID: <54.4896a383.3010e631@aol.com> Thanks Sarah for the advice. I solved the edit menu problem by changing the name of the Edit menu by adding a space after it. So it's now named "Edit " then I deleted the regular "Edit" menu". Joe in the tourist capital of the world, Orlando, Florida! From eric.chatonet at sosmartsoftware.com Thu Jul 21 07:58:59 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Jul 2005 13:58:59 +0200 Subject: [ANN][EN][FR] Tutorials Picker Major Upgrade and Tutorials Watcher released Message-ID: <9983556F-B691-467A-BBD8-536FF681593C@sosmartsoftware.com> Paris, Thursday, 21 July 2005 ---------------------- English version ------------------------- Hello, So Smart Software today announces the availability of Tutorials Picker 2.0. and Tutorials Watcher 1.0. Version 2.0 of Tutorials Picker is a major upgrade which brings to you new features: 1. Complete rewriting of download routines: ? Better safety ? Better user monitoring ? Downloads length dramatically reduced by using gz archives 2. Visited tutorials are stored into a cache as long as Tutorials Picker is open, then if you open a tutorial again, it appears instantaneously. 3.Tutorials Watcher support: Tutorials Watcher is an invisible plugin (which must be downloaded separately from our website) that warns you discreetly at DreamCard/Revolution startup when new tutorials are available. For further details, screenshots and downloads, please visit http:// www.sosmartsoftware.com Best regards from Paris, Eric Chatonet. PS. If you upgrade and install Tutorials Watcher too, you will be warned in less than one week when a new big tutorial about managing sounds within Revolution will be released :-) PS2. Those of you who will let their email address when dowloading Tutorials Watcher will no longer receive tutorials announcements by mail. --------------------- Version fran?aise ------------------------ Bonjour, So Smart Software a le plaisir d'annoncer la sortie de Tutorials Picker 2.0. et Tutorials Watcher 1.0. La version 2.0 de Tutorials Picker est un upgrade important qui vous apporte de nouvelles fonctionnalit?s : 1. R??criture compl?te des proc?dures de t?l?chargement : ? S?curit? accrue ? Meilleur contr?le utilisateur ? Dur?e des t?l?chargements raccourcie de fa?on spectaculaire par la mise en ?uvre d'archives gz 2. Les didacticiels visit?s sont plac?s en cache tant que Tutorials Picker reste ouvert : si vous r?ouvrez un didacticiel, il appara?t instantan?ment ? l'?cran. 3. Support de Tutorials Watcher : Tutorials Watcher est un plugin invisible (? t?l?charger s?par?ment depuis notre site) qui vous avertit discr?tement de la disponibiit? de nouveaux didacticiels au d?marrage de DreamCard/Revolution. Pour plus de d?tails, copies d'?crans et t?l?chargements, merci de vous rendre sur http://www.sosmartsoftware.com Cordialement, Eric Chatonet. PS. Si vous adoptez Tutorials Picker 2.0 et installez ?galement Tutorials Watcher, vous serez averti(e) automatiquement de la sortie d'un nouveau didacticiel important consacr? ? la gestion des sons avec Revolution dans moins d'une semaine :-) PS2. Ceux d'entre vous qui laisseront leur adresse mail en t?l?chargeant Tutorials Watcher ne recevront plus d'annonces de nouveaux didacticiels par mail. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From david at openpartnership.net Thu Jul 21 08:59:10 2005 From: david at openpartnership.net (david bovill) Date: Thu, 21 Jul 2005 14:59:10 +0200 Subject: Project Registry (was Ransomware) In-Reply-To: <217.5227550.300feaba@aol.com> References: <217.5227550.300feaba@aol.com> Message-ID: <3ced704b6f61918660949d68ec2ca66f@openpartnership.net> > Dan wrote: > Paul.... > > I think the problem for me has come as this has escalated from a > fairly simple approach to enabling someone who plans to develop and > release open source/freeware to gauge the market before doing so, into > a sort of commercial-grade bidding registry which, I agree, would > require appropriate disposition of the proceeds of any deposits made > on behalf of projects that never get off the ground. > > Maybe there are two classes of project: free/opensource, and > commercial, with slightly different rules and procedures for each? > > Dan They are part of a continuum. The legal and technical framework needs to be flexible enough so that projects that start "just for fun" can scale to fully commercial projects without anyone feeling "ripped off". So yes "slightly different rules and procedures for each" - and these should be negotiated on a project by project basis - the approach we take is to issue a secure digital currency based on a legal contract ("Ricardian contract") which is a flexible enough legal instrument to encompass most forms of collaborative work. One such currency which we have been working on we call "shards" - these are like shares but with a different legal basis - in simple terms they represent a "proportional share in revenue" (not profit). They can be issued in return for cash investment or development (in kind investment), or project management etc. A currency like this can be issued for each project with the ability to customise the contract associated with the currency or just accept a standard (tested) contract. The hard part has been to get all this legally robust. If this sounds not applicable to not-for-profit ventures... then this is simply a question of language. If there is not revenue from a project - and the investors / stake holders choose to pursue such a path, then the shards have no commercial value - perhaps they acts as "votes". If there ever is any commercial value in the future - then everyone knows where they stand and this is legally binding in court. On 20 Jul 2005, at 19:58, SimPLsol at aol.com wrote: > > Work requested: Build a Project Request Registry > > Description: This will be a web site with functionality similar to the > current Feature Enhancement section of STSRevzilla. It will allow > users to post > requests, investors to make pledges, and developers to bid on the > projects. It > will also let developers post proposals and request financing. There > will be a > summary page of all requests and a detail page for each request. The > format of > the detail page will be similar to the one used for this request. > There will > also be detail pages for each bid/quote. I like this - I would propose building into this two simple ideas from Scum / Agile Development - "Product Backcatalog" and "Sprint Backlog"... this would allow features to be requested, ranked and time / costs allocated + project progress tracked. > > Moderator for this request: Dan?/Paul?/??? > > Voting basis: One vote per dollar invested Votes and how they are related to project management and investment is a complicated issue. I would not however go with this proposed basis - there are other stakeholders other than just cash investors. > > Distribution of completed project: Given to Revolution Ltd. if they > agree to > host it. Given to any other host if Rev. declines the gift. This work > is not > intended to be sold, no profits are anticipated. I'd propose that the project be open sourced - LGPL or whatever (not GPL)... unless a significant investor wished the project to be sold as a closed source component. > > Maintenance: Developer's proposal should contain reserves for bug fixes > during the first three months this is deployed. Improvements or later > bug fixes > will be handled by a separate requests. > > Limit on number of investors: None Can be. Project management? > > Currency used: US Dollars > > Minimum contribution per investor: $10 > > Maximum contribution per investor: $10,000 OK by me - but not really needed. > > Pledges to date: > Paul Looney, SimPLsol at Aol.com, $100 David Bovill - Open Partnership - $200 + 100 hours development time (requirement Product Backcatalog stuff) > > > Money collected to date: > > > Escrow account held at: > Escrow account number: > People with access to the escrow account: > > Bids/Proposals/Quotes to date: > > Changes and Amendments to Proposal (with dates amended): According to membership rules. > > Additional revenue required to start project: > > Project assigned to: Project Managment > Proposed completion date: Not required - estimated development time tracked using Sprint Backlog graph.... > Project completed on: > Money dispersed on: > > This is obviously a crude "first pass". Let's keep the ideas coming. > Paul Looney > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From gefisher at mac.com Thu Jul 21 09:31:28 2005 From: gefisher at mac.com (Glenn E. Fisher) Date: Thu, 21 Jul 2005 08:31:28 -0500 Subject: NPR puzzle Message-ID: <27a7ac03b127fc9e1d2463c6a94bc549@mac.com> Sarah, On July 20, 2005 5:26:37 PM CDT you wrote: > >> A 10-letter word for a form of travel, that consists of five >> consecutive symbols of chemical elements. What is it? If automobile >> had been the answer, AU, would represent Gold, MO would represent >> Molybdenum, and BI, would represent Bismuth. Unfortunately, the >> remaining bigrams, TO and LE, are not chemical symbols. >> >> >> I have put up a stack with two fields. The first contains all 10 >> letter words in my dictionary. >> >> The second contains all two character elements from the periodic >> table. >> >> You task, should you choose to adopt it, is to write a Run Rev >> handler to solve this weeks NPR puzzle defined above. >> > > Before reading everyone else's solutions, I had a go and came up with > more or less the same script as anyone else. What intrigues me is that > there would appear to be 2 ways of tackling this problem and everyone > chose basically the same one. > > You can either go through the word list and see if any match the > elements, or you could go through the element list, making > combinations and matching them to the words. I discarded this idea > because the maths involved in working out all the permutations & > combinations has long since flowed out of my brain, but I wonder if > anyone else thought of using this method? Instinctively I feel it > would take longer, but there are 3620 words and only 97 elements. > > Thanks for the puzzle Jim, just what I needed to get the brain moving > first thing in the morning! > > Sarah My first try at a solution was to form random combinations of 5 symbols and checking to see if it was in the dictionary. But, alas, it took too long to even find words, so I went for the finding of words in the dictionary take matched the any 5 symbols. Fun problem, Glenn -- Glenn E. Fisher University of Houston - Retired 22402 Diane Dr. Spring, Tx 77373 gfisher4 at houston.rr.com http://www.uh.edu/~fisher http://home.houston.rr.com/thegefishers/ http://homepage.mac.com/gefisher From bnz2 at cdc.gov Thu Jul 21 09:33:18 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 21 Jul 2005 09:33:18 -0400 Subject: NPR puzzle Message-ID: <64878EF567131D4596246171F75FD4A99680C4@m-epo-1.epo.cdc.gov> When I tried conjoining the if-then statement like that, both with 'or' and with 'and' I found it to be 2 to 3 milliseconds slower than separate if-then statements. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Hurley Sent: Wednesday, July 20, 2005 6:43 PM To: use-revolution at lists.runrev.com Subject: Re: NPR puzzle > >Message: 10 >Date: Wed, 20 Jul 2005 14:52:50 -0500 >From: "Glenn E. Fisher" >Subject: Re: NPR puzzle >To: How to use Revolution >Message-ID: <8425930f6dbe22c95c747155f706c649 at mac.com> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Jim, > >Here is my submission that ran in 70 milliseconds on my 5 1/2 year old >G4 450 MHz tower: > > set cursor to watch > put the milliseconds into t > put fld "ChemSymbols" into c > put fld "dictionary" into d > repeat for each line L in d > if c contains char 1 to 2 of L and c contains char 3 to 4 of L\ > and c contains char 5 to 6 of L and c contains char 7 to 8 of L\ > and c contains char 9 to 10 of L then > put L & CR after o > end if > end repeat > put the milliseconds -t into t > put o into fld "Output" > put "time=" & t && "msecs" after fld "Output" > >Cheers, >Glenn Glenn, Great solution! At first I thought it would be slower than the one that most of us opted for, i.e. test each condition sequentially and if the test fails at any level go on with a "next repeat". I thought RR would test all the conditionals in your handler (in ...and ... and...) before moving on to the next repeat, but Scott Raney was too smart for that. Apparently, at the point where the "and" test fails, RR decides there is no point in proceeding with the others, so...... next repeat. The speed is about the same for either method. Jim P.S. If you submit your solution to NPR and your name is drawm, you are in danger of being called on Sunday for another test of wits. My mind works too slowly for this kind of exposure. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From brad at activadesign.com Thu Jul 21 10:04:00 2005 From: brad at activadesign.com (Brad Borch) Date: Thu, 21 Jul 2005 10:04:00 -0400 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: <3A59B2BF-DCF8-4BA1-A381-6C3F5E2E6CC8@mangomultimedia.com> References: <143.49471793.300f4375@aol.com> <3A59B2BF-DCF8-4BA1-A381-6C3F5E2E6CC8@mangomultimedia.com> Message-ID: Ah, but I only have the Mac development platform. I guess that argues for me to get the PC platform. Which raises a couple of points: 1) I got tired of paying Macromedia for the right to develop on two platforms. Every time Director upgraded, I had to shell out another $800 for the upgrade on both platforms. I'm glad that Rev Studio on the Mac creates xplatform executables, but it sure would be nice to have both platforms included in the purchase of the product. 2) As the development platform depends on the player, would it be possible to create a limited development stack that would basically allow the testing of commands (like you list below) that would be interpreted by the player? I guess the issue comes down to this: In director you could get away with creating movies that were playable on a PC using a "stub" projector (essentially a player). It was doable, but troubleshooting was a real PITA. I'm thinking the same it true of Rev? Trevor DeVore wrote: > If you set the externals property of a stack while the stack is open > then you need to do one of two things to load the external: > > 1) Set the destroyWindow property of the stack to true. Close the > stack window and open it again. > > 2) Remove the stack from memory. Open it again. > > Here is a snippet of code that will create a new stack, set the > externals property and load the exteranl. You can run this in the > multiline message box: > > create stack "MyStack" > set the destroyWindow of stack "MyStack" to true > set the externals of stack "MyStack" to "EnhancedWin.dll" > close stack "MyStack" > go stack "MyStack" > put the externalPackages of stack "MyStack" From yoursignup at yahoo.com Thu Jul 21 10:25:36 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Thu, 21 Jul 2005 04:25:36 -1000 Subject: OT Javascripting In-Reply-To: <42DF37DA.508@chipp.com> Message-ID: Hi Chipp I think the problem is your trying to capture an onSubmit event. Try capturing the onClick event, and change your script like this:
Client Login:
This also allows you to check multiple fields in the form (as long as you name them). Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Chipp Walters Sent: Wednesday, July 20, 2005 7:51 PM To: Use-Revolution Subject: OT Javascripting So, I spent over an hour today trying to write this simple bit of javascript. The idea is to have a field on a web page, which when one enters a string and submits, will check the string and 'go someplace' based upon what it finds. If anyone is interested, I finally came up with the following below. See if you can figure out why when I remove the document.write statements, the code below quits working. But, the real reason for this post is (in Scott Rossi's familiar rhetoric): **OMG WTF!!!** How obtuse is this anyway? Geez, I'm so glad I don't have to program in that awkward stupid language! I mean, this should be a no brainer, but I need to do things like "document.write(' ');" (null doesn't work) just to grab the focus back to the window! And "window.location.replace(...) instead of just "window.location" in order to cache the history correctly. Thank God I for Transcript! -Chipp
Client Login:   
_______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Thu Jul 21 10:23:02 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 21 Jul 2005 16:23:02 +0200 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: Message-ID: Brad, I dont think nothing is stopping you from copying your stack to a mac and running it via a demo player... Once the stack is made (on a PC for example), i dont think you need to recompile it to run on Macs or Linux. But i could be wrong... cheers Xavier On 21/07/2005 16:04:00 use-revolution-bounces wrote: >Ah, but I only have the Mac development platform. I guess that argues >for me to get the PC platform. > >Which raises a couple of points: > >1) I got tired of paying Macromedia for the right to develop on two >platforms. Every time Director upgraded, I had to shell out another $800 >for the upgrade on both platforms. I'm glad that Rev Studio on the Mac >creates xplatform executables, but it sure would be nice to have both >platforms included in the purchase of the product. > >2) As the development platform depends on the player, would it be >possible to create a limited development stack that would basically >allow the testing of commands (like you list below) that would be >interpreted by the player? > >I guess the issue comes down to this: In director you could get away >with creating movies that were playable on a PC using a "stub" projector >(essentially a player). It was doable, but troubleshooting was a real >PITA. I'm thinking the same it true of Rev? > >Trevor DeVore wrote: > >> If you set the externals property of a stack while the stack is open >> then you need to do one of two things to load the external: >> >> 1) Set the destroyWindow property of the stack to true. Close the >> stack window and open it again. >> >> 2) Remove the stack from memory. Open it again. >> >> Here is a snippet of code that will create a new stack, set the >> externals property and load the exteranl. You can run this in the >> multiline message box: >> >> create stack "MyStack" >> set the destroyWindow of stack "MyStack" to true >> set the externals of stack "MyStack" to "EnhancedWin.dll" >> close stack "MyStack" >> go stack "MyStack" >> put the externalPackages of stack "MyStack" > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From kray at sonsothunder.com Thu Jul 21 10:43:07 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 21 Jul 2005 09:43:07 -0500 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: Message-ID: On 7/21/05 9:04 AM, "Brad Borch" wrote: > Ah, but I only have the Mac development platform. I guess that argues > for me to get the PC platform. > > Which raises a couple of points: > > 1) I got tired of paying Macromedia for the right to develop on two > platforms. Every time Director upgraded, I had to shell out another $800 > for the upgrade on both platforms. I'm glad that Rev Studio on the Mac > creates xplatform executables, but it sure would be nice to have both > platforms included in the purchase of the product. Brad, AFAIK you can use the Mac version of Rev Studio to build for both Mac and Windows - you just don't get the development environment for Windows (which makes debugging a bear). Rev Enterprise gives you everything - development and deployment on ALL platforms (including Linux). Didn't know if you knew that... > 2) As the development platform depends on the player, would it be > possible to create a limited development stack that would basically > allow the testing of commands (like you list below) that would be > interpreted by the player? Yes - just build a Windows standalone from the Mac version of Rev Studio and test it under Windows. > I guess the issue comes down to this: In director you could get away > with creating movies that were playable on a PC using a "stub" projector > (essentially a player). It was doable, but troubleshooting was a real > PITA. I'm thinking the same it true of Rev? Yes it is definitely doable, in fact the "stub" approach is a good one for other reasons - you can't write data back to a standalone, so if you want to store data in a stack, it needs to remain a stack file. From ljk144 at gmail.com Thu Jul 21 10:45:44 2005 From: ljk144 at gmail.com (Levi Kendall) Date: Thu, 21 Jul 2005 10:45:44 -0400 Subject: Locking selective text in a field Message-ID: Hi all, I'm looking for a method to allow selective text to be locked in a field. Essentially everything in the field would need to be editable except specific lines of text. Or perhaps not even lines, but specific chunks of characters. One difficulty is as text is added or deleted from the field, the sections of text that need to remained locked will move around. Has anyone experimented with something similar or found an implementation to do this? Thanks. -Levi From signup at hawaii.rr.com Tue Jul 19 15:35:40 2005 From: signup at hawaii.rr.com (Jim Bufalini) Date: Tue, 19 Jul 2005 09:35:40 -1000 Subject: GIF license Message-ID: Anyone know if a license is still required to export snapshot ... as GIF? If so, what does this cost? -Jim From charles.silverman at mac.com Wed Jul 20 20:50:12 2005 From: charles.silverman at mac.com (charles.silverman at mac.com) Date: Wed, 20 Jul 2005 20:50:12 -0400 Subject: HTMLtext problem In-Reply-To: <20050720222801.198938248DA@mail.runrev.com> References: <20050720222801.198938248DA@mail.runrev.com> Message-ID: <23B6ADF7-4DB1-4C96-936D-28A1E60587A7@mac.com> I need to get an accurate record of the text styles within a field but htmlText doesn't seem to report everything. If "This is a test" is entered into a field without any changes, I get...

this is a test

Font, size, style and color information is not reported. It seems that I have to change the font, size, color and style of some selected text within the field to something other than the default settings to get the additional style information. For example, once I've made these changes, the following now gets reported:

this is a test

Is there a simpler way to get this to happen? Thanks! Charles _______________ Charles Silverman www.captionweb.ca From bnz2 at cdc.gov Thu Jul 21 10:59:09 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 21 Jul 2005 10:59:09 -0400 Subject: Locking selective text in a field Message-ID: <64878EF567131D4596246171F75FD4A97445F3@m-epo-1.epo.cdc.gov> For setting the lock on a chunk use something like this in a script somewhere: Set the linktext of char 4 to 6 of field "myField" to "Locked" In the script of the field, use this (untested): On rawkeydown Put word 2 of the selectedchunk into tStartChar Put word 4 of the selectedchunk into tEndChar If tEndChar < tStartChar then If the linktext of the selection = "Locked" then Exit rawkeydown End if Else Repeat with X = tStartChar to tEndChar If the linktext of char X of me = "Locked" then Exit rawkeydown End if End repeat End if Pass rawkeydown End rawkeydown -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Levi Kendall Sent: Thursday, July 21, 2005 10:46 AM To: use-revolution at lists.runrev.com Subject: Locking selective text in a field Hi all, I'm looking for a method to allow selective text to be locked in a field. Essentially everything in the field would need to be editable except specific lines of text. Or perhaps not even lines, but specific chunks of characters. One difficulty is as text is added or deleted from the field, the sections of text that need to remained locked will move around. Has anyone experimented with something similar or found an implementation to do this? Thanks. -Levi _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Thu Jul 21 11:03:43 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 21 Jul 2005 11:03:43 -0400 Subject: HTMLtext problem Message-ID: <64878EF567131D4596246171F75FD4A99680CA@m-epo-1.epo.cdc.gov> If the text is inheriting its textfont, textstyle, textsize, etc... from an object higher up in the message path, then that information would not be kept in the htmltext. You can do something like this: Put the effective textstyle of char 5 of field "myField" into tMyVariable -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of charles.silverman at mac.com Sent: Wednesday, July 20, 2005 8:50 PM To: use-revolution at lists.runrev.com Subject: HTMLtext problem I need to get an accurate record of the text styles within a field but htmlText doesn't seem to report everything. If "This is a test" is entered into a field without any changes, I get...

this is a test

Font, size, style and color information is not reported. It seems that I have to change the font, size, color and style of some selected text within the field to something other than the default settings to get the additional style information. For example, once I've made these changes, the following now gets reported:

this is a test

Is there a simpler way to get this to happen? Thanks! Charles _______________ Charles Silverman www.captionweb.ca _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From yoursignup at yahoo.com Thu Jul 21 11:04:06 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Thu, 21 Jul 2005 05:04:06 -1000 Subject: GIF license In-Reply-To: Message-ID: Please ignore my last message on this topic. It's already been discussed and answered. I accidentally originally sent it from a non-registered email address (with this list) and it was "held up for review." Jim -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Jim Bufalini Sent: Tuesday, July 19, 2005 9:36 AM To: How to use Revolution Subject: GIF license Anyone know if a license is still required to export snapshot ... as GIF? If so, what does this cost? -Jim _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From ridge11103 at btinternet.com Thu Jul 21 11:09:48 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Thu, 21 Jul 2005 16:09:48 +0100 Subject: Project Registry (was Ransomware) In-Reply-To: <1e6.401a3a60.3010370f@aol.com> Message-ID: on 21/7/05 12:23 am, SimPLsol at aol.com wrote : Both methods need a Registry (or some other means of communication between investors and developers). I have pledged $100 to start building this registry. Since there is no registry until the registry is built, I volunteer to keep a list of pledges and will find a trusted third party to hold actual funds if we get that far in this experiment. Paul Looney ********************************************** Paul, if it's any help I'd like to make a $100 pledge also - payment presumably via PayPal? Best wishes John -- From brad at activadesign.com Thu Jul 21 11:44:20 2005 From: brad at activadesign.com (Brad Borch) Date: Thu, 21 Jul 2005 11:44:20 -0400 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: References: Message-ID: >> 2) As the development platform depends on the player, would it be >> possible to create a limited development stack that would basically >> allow the testing of commands (like you list below) that would be >> interpreted by the player? > Yes - just build a Windows standalone from the Mac version of Rev Studio and > test it under Windows. I know I can build an executable. What I was thinking was an executable that worked something like the message window, where I could write in commands and the stack would execute it, using the "do" command. Otherwise, how can I try the solution Trevor DeVore suggested: > > create stack "MyStack" > set the destroyWindow of stack "MyStack" to true > set the externals of stack "MyStack" to "EnhancedWin.dll" > close stack "MyStack" > go stack "MyStack" > put the externalPackages of stack "MyStack" I can't do that outside the development platform, can I? From kray at sonsothunder.com Thu Jul 21 11:50:38 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 21 Jul 2005 10:50:38 -0500 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: Message-ID: On 7/21/05 10:44 AM, "Brad Borch" wrote: >> Yes - just build a Windows standalone from the Mac version of Rev Studio and >> test it under Windows. > > I know I can build an executable. What I was thinking was an executable > that worked something like the message window, where I could write in > commands and the stack would execute it, using the "do" command. > Otherwise, how can I try the solution Trevor DeVore suggested: Oh, sorry... the answer is yes - you can just make a field in a stack and then click a button that says: do (the text of field 1) You should be able to set up a multiline field that way >> create stack "MyStack" >> set the destroyWindow of stack "MyStack" to true >> set the externals of stack "MyStack" to "EnhancedWin.dll" >> close stack "MyStack" >> go stack "MyStack" >> put the externalPackages of stack "MyStack" > > I can't do that outside the development platform, can I? Sure you can... the only thing you can't do outside the development platform is to set the script of an object to something more than 10 lines in length. Everything else (stack/object creation, etc.) is fair game... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From lestond at lpsoftware.com Thu Jul 21 12:49:20 2005 From: lestond at lpsoftware.com (Leston Drake) Date: Thu, 21 Jul 2005 09:49:20 -0700 Subject: stack exporter? Message-ID: <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> Hi all, I have a stack that needs to be translated into another language. There are a good number of images in the stack that have text on them, so the images will need to be replaced. I'm trying to streamline the process as much as possible. My thinking is to create a utility that would export all of the images to files and create a text file (XML type, perhaps) that would contain loc, height, width, name etc. type of information for the images. I wonder if a utility such as this may already exist. Perhaps one that exports all object data to XML that I could modify to meet my needs without starting from scratch. Anyone aware of a utility stack that may be helpful? Thanks. Leston From klaus at major-k.de Thu Jul 21 12:00:09 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Jul 2005 18:00:09 +0200 Subject: stack exporter? In-Reply-To: <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> References: <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> Message-ID: <27C6BBF1-55CB-4D2D-A692-9BB4659D3B83@major-k.de> Hi Leston, > Hi all, > > I have a stack that needs to be translated into another language. > There are a good number of images in the stack that have text on > them, so the images will need to be replaced. I'm trying to > streamline the process as much as possible. > > My thinking is to create a utility that would export all of the > images to files and create a text file (XML type, perhaps) that > would contain loc, height, width, name etc. type of information for > the images. > > I wonder if a utility such as this may already exist. Perhaps one > that exports all object data to XML that I could modify to meet my > needs without starting from scratch. > Anyone aware of a utility stack that may be helpful? take a look at my nice "2lz2" plugin*, it contains a substack called "Analyze it..."** which might get you started. * Get it here: http://www.major-k.de/revstart.html Scroll a bit down the page... **Besides other nice and handy features :-) > Thanks. > Leston Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Thu Jul 21 12:04:03 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Jul 2005 18:04:03 +0200 Subject: stack exporter? In-Reply-To: <27C6BBF1-55CB-4D2D-A692-9BB4659D3B83@major-k.de> References: <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> <27C6BBF1-55CB-4D2D-A692-9BB4659D3B83@major-k.de> Message-ID: Am 21.07.2005 um 18:00 schrieb Klaus Major: > Hi Leston, > >> Hi all, >> >> I have a stack that needs to be translated into another language. >> There are a good number of images in the stack that have text on >> them, so the images will need to be replaced. I'm trying to >> streamline the process as much as possible. >> >> My thinking is to create a utility that would export all of the >> images to files and create a text file (XML type, perhaps) that >> would contain loc, height, width, name etc. type of information >> for the images. >> >> I wonder if a utility such as this may already exist. Perhaps one >> that exports all object data to XML that I could modify to meet my >> needs without starting from scratch. >> Anyone aware of a utility stack that may be helpful? >> > > take a look at my nice "2lz2" plugin*, it contains a substack > called "Analyze it..."** > which might get you started. > > * Get it here: > http://www.major-k.de/revstart.html > Scroll a bit down the page... > > **Besides other nice and handy features :-) > > >> Thanks. >> Leston MON DIEUX!!!! I actually could post a hint BEFORE Mr. Chatonet created a dozen tutorials and posted them on this list :-D Will have to mark this day in red in my calendar ;-) Best Klaus Major klaus at major-k.de http://www.major-k.de P.S. Just kidding, Eric, had too little sleep tonight ;-) From eric.chatonet at sosmartsoftware.com Thu Jul 21 12:08:14 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Jul 2005 18:08:14 +0200 Subject: Apologises from So Smart Software Message-ID: <6A9DDE4A-459A-443C-A38B-A6503B1FF136@sosmartsoftware.com> Paris, Thursday, 21 July 2005 ---------------------- English version ------------------------- Hello, A few hours ago I announced the availability of Tutorials Picker 2.0. and Tutorials Watcher 1.0. In fact the files uploaded to the website as to Rev Online were not the good ones. Thanks to those who trusted me and download yet these plugins to be kind enough... to do it again :-) With my apologises for this inconvenience. http://www.sosmartsoftware.com/?r=revolution&l=en Best regards from Paris, Eric Chatonet. --------------------- Version fran?aise ------------------------ Bonjour, J'ai eu le plaisir il y a quelques heures d'annoncer la sortie de Tutorials Picker 2.0. et Tutorials Watcher 1.0. En fait, les fichiers t?l?charg?s sur le site comme sur Rev Online n'?taient pas les bons. Merci ? ceux qui m'ont fait confiance et ont d?j? t?l?charg? ces plugins d'?tre assez aimables pour... recommencer :-) Avec toutes mes excuses pour ce d?sagr?ment. http://www.sosmartsoftware.com/?r=revolution&l=fr Cordialement, Eric Chatonet. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entrep rises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Jul 21 12:16:44 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Jul 2005 18:16:44 +0200 Subject: HTMLtext problem In-Reply-To: <23B6ADF7-4DB1-4C96-936D-28A1E60587A7@mac.com> References: <20050720222801.198938248DA@mail.runrev.com> <23B6ADF7-4DB1-4C96-936D-28A1E60587A7@mac.com> Message-ID: <77CCA4E9-BBA0-43A2-B668-EF8DFF74C448@sosmartsoftware.com> Hi Charles, Your html is good html :-) Make a stack with 2 fields. Type (or paste) the text you desire in the first one. Change fonts, colours, styles as usual using the Text menu. Add a button the script of which will be: on mouseUp put the htmlText of fld 1 into fld 2 end mouseUp If you are too lazy ;-) or desire a more sophisticated tool, you might be interested by Encoded Text Picker, a complete translator you will find on my web site (Revolution plugins section). Best Regards from Paris, Eric Chatonet. Le 21 juil. 05 ? 02:50, charles.silverman at mac.com a ?crit : > I need to get an accurate record of the text styles within a field > but htmlText doesn't seem to report everything. > > If "This is a test" is entered into a field without any changes, I > get... > >

this is a test

> > Font, size, style and color information is not reported. > > > It seems that I have to change the font, size, color and style of > some selected text within the field to something other than the > default settings to get the additional style information. For > example, once I've made these changes, the following now gets > reported: > >

color="#FF0000">this is a test

> > Is there a simpler way to get this to happen? ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Thu Jul 21 12:19:40 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Jul 2005 18:19:40 +0200 Subject: stack exporter? In-Reply-To: References: <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> <27C6BBF1-55CB-4D2D-A692-9BB4659D3B83@major-k.de> Message-ID: <46FA19E2-B30E-4E50-B336-10D267C8E044@sosmartsoftware.com> Hi Klaus, LOL Le 21 juil. 05 ? 18:04, Klaus Major a ?crit : > MON DIEUX!!!! > > I actually could post a hint BEFORE Mr. Chatonet created a dozen > tutorials and posted them on this list :-D > > Will have to mark this day in red in my calendar ;-) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From lestond at lpsoftware.com Thu Jul 21 13:17:40 2005 From: lestond at lpsoftware.com (Leston Drake) Date: Thu, 21 Jul 2005 10:17:40 -0700 Subject: stack exporter? In-Reply-To: <27C6BBF1-55CB-4D2D-A692-9BB4659D3B83@major-k.de> References: <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> <5.1.1.6.0.20050721093622.01e5b418@mail.xmission.com> Message-ID: <5.1.1.6.0.20050721101608.01e71590@mail.xmission.com> Thanks Klaus. Looks like it will be very helpful. Some other very handy features - I'm going to hold on to this one! Leston At 09:00 AM 7/21/2005, you wrote: >Hi Leston, > >>Hi all, >> >>I have a stack that needs to be translated into another language. >>There are a good number of images in the stack that have text on >>them, so the images will need to be replaced. I'm trying to >>streamline the process as much as possible. >> >>My thinking is to create a utility that would export all of the >>images to files and create a text file (XML type, perhaps) that >>would contain loc, height, width, name etc. type of information for >>the images. >> >>I wonder if a utility such as this may already exist. Perhaps one >>that exports all object data to XML that I could modify to meet my >>needs without starting from scratch. >>Anyone aware of a utility stack that may be helpful? > >take a look at my nice "2lz2" plugin*, it contains a substack called >"Analyze it..."** >which might get you started. > >* Get it here: >http://www.major-k.de/revstart.html >Scroll a bit down the page... > >**Besides other nice and handy features :-) > >>Thanks. >>Leston > >Regards > >Klaus Major >klaus at major-k.de >http://www.major-k.de > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From gbrackett at luceatlux.com Thu Jul 21 13:00:47 2005 From: gbrackett at luceatlux.com (George Brackett) Date: Thu, 21 Jul 2005 13:00:47 -0400 Subject: Apologises from So Smart Software In-Reply-To: <6A9DDE4A-459A-443C-A38B-A6503B1FF136@sosmartsoftware.com> References: <6A9DDE4A-459A-443C-A38B-A6503B1FF136@sosmartsoftware.com> Message-ID: <9D608EE3-02F8-4A75-A4B4-2D33BE4B2C44@luceatlux.com> Thanks, Eric! No problem at all. Une petite le?on en Anglais: "apologies". I probably got the gender of le?on wrong... George On Jul 21, 2005, at 12:08 PM, Eric Chatonet wrote: Paris, Thursday, 21 July 2005 ---------------------- English version ------------------------- Hello, A few hours ago I announced the availability of Tutorials Picker 2.0. and Tutorials Watcher 1.0. In fact the files uploaded to the website as to Rev Online were not the good ones. Thanks to those who trusted me and download yet these plugins to be kind enough... to do it again :-) With my apologises for this inconvenience. http://www.sosmartsoftware.com/?r=revolution&l=en Best regards from Paris, Eric Chatonet. --------------------- Version fran?aise ------------------------ Bonjour, J'ai eu le plaisir il y a quelques heures d'annoncer la sortie de Tutorials Picker 2.0. et Tutorials Watcher 1.0. En fait, les fichiers t?l?charg?s sur le site comme sur Rev Online n'?taient pas les bons. Merci ? ceux qui m'ont fait confiance et ont d?j? t?l?charg? ces plugins d'?tre assez aimables pour... recommencer :-) Avec toutes mes excuses pour ce d?sagr?ment. http://www.sosmartsoftware.com/?r=revolution&l=fr Cordialement, Eric Chatonet. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entrep rises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From brad at activadesign.com Thu Jul 21 13:00:25 2005 From: brad at activadesign.com (Brad Borch) Date: Thu, 21 Jul 2005 13:00:25 -0400 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: References: Message-ID: Where do I find EnhancedWin.dll?? From eric.chatonet at sosmartsoftware.com Thu Jul 21 13:06:47 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Jul 2005 19:06:47 +0200 Subject: Apologises from So Smart Software In-Reply-To: <9D608EE3-02F8-4A75-A4B4-2D33BE4B2C44@luceatlux.com> References: <6A9DDE4A-459A-443C-A38B-A6503B1FF136@sosmartsoftware.com> <9D608EE3-02F8-4A75-A4B4-2D33BE4B2C44@luceatlux.com> Message-ID: Hi George, I was very worried, in a hurry and as usual with my bad English. So... No time to submit this to my Editor :-) Many thanks for your comprehension! Le 21 juil. 05 ? 19:00, George Brackett a ?crit : > Thanks, Eric! No problem at all. > > Une petite le?on en Anglais: "apologies". > > I probably got the gender of le?on wrong... Not at all. C'est parfait ! > George 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bann at sunncomm.com Thu Jul 21 13:15:01 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 21 Jul 2005 10:15:01 -0700 Subject: Screen Postion??? Message-ID: Hello, I am creating an application which has one main stack and 5 substacks. I lock the size and location using property inspector BUT when I view the application on different computers with different screen setting those 5 substacks are displayed in different locations The problem is I don't know how to set the location for those 5 substacks so they are displayed in the right position that I set so I don't have to worry about other users' computer screen setting. Thank you From eric.chatonet at sosmartsoftware.com Thu Jul 21 13:27:01 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 21 Jul 2005 19:27:01 +0200 Subject: Screen Postion??? In-Reply-To: References: Message-ID: <62364796-8801-4841-94ED-33BB76F45E35@sosmartsoftware.com> Hi Ban, You could try to set the position of your stacks relative to the screenRect value in a preOpenStack handler in your main stack. For instance: on preOpenStack local tCurLoc ----- put the screenLoc into tCurLoc set the loc of this stack to tCurLoc repeat with i = 1 to 5 add x to item 1 of tCurLoc -- horizontal co-ordinate add y to item 2 of tCurLoc -- vertical co-ordinate set the loc of stack item i of "MySubstack1, MySubstack2, etc" to tCurLoc end repeat end preOpenStack Such a handler will present the main stack centred on- screen and the others in cascade according to x and y values. Of course, you can change all that to suit your needs (working for instance with the screenRect too). It's just to get you the idea. Le 21 juil. 05 ? 19:15, Ban Nguyen a ?crit : > I am creating an application which has one main stack and 5 > substacks. I > lock the size and location using property inspector BUT when I view > the > application on different computers with different screen setting > those 5 > substacks are displayed in different locations > > The problem is I don't know how to set the location for those 5 > substacks so they are displayed in the right position that I set so I > don't have to worry about other users' computer screen setting. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From klaus at major-k.de Thu Jul 21 13:37:43 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Jul 2005 19:37:43 +0200 Subject: Screen Postion??? In-Reply-To: References: Message-ID: Hi Ban, > Hello, > > I am creating an application which has one main stack and 5 > substacks. I > lock the size and location using property inspector BUT when I view > the > application on different computers with different screen setting > those 5 > substacks are displayed in different locations > > The problem is I don't know how to set the location for those 5 > substacks so they are displayed in the right position that I set so I > don't have to worry about other users' computer screen setting. Well, what is the question actually??? How to set the position of your stacks? You can do so on "preopenstack" preferrably... To center a stack in the middel of the (ANY) screen: on preopenstack set the loc of this stack to the screenloc ... end preopenstack To open a stack somewhere else, you can compute the necessary and available loc by yourself ;-) "The loc" means "the center" of your stack! Please remember to add about*** 30 pixel for the window title and another 30 pixel for the Mac menubar, in case you are working on/for a mac... ***It is a bit less, but I idon't have the correct sizes at hand. So to open a stack e.g. in the topleft corner of ANY windows! monitor you can: on preopenstack put round(the width of this stack/2) into new_xloc put round(the height of this stack/2 + 30) into new_yloc ## add some pixel, so the window title will not be hidden! set the loc of this stack to new_xloc,new_yloc ... end preopenstack You get the picture. Hope that helps... > Thank you You are welcome :-) Regards Klaus Major klaus at major-k.de http://www.major-k.de From klaus at major-k.de Thu Jul 21 13:39:46 2005 From: klaus at major-k.de (Klaus Major) Date: Thu, 21 Jul 2005 19:39:46 +0200 Subject: Screen Postion??? Eric strikes again :-) In-Reply-To: <62364796-8801-4841-94ED-33BB76F45E35@sosmartsoftware.com> References: <62364796-8801-4841-94ED-33BB76F45E35@sosmartsoftware.com> Message-ID: Hi Eric, > Hi Ban, > > You could try to set the position of your stacks relative to the > screenRect value in a preOpenStack handler in your main stack. > For instance: > > on preOpenStack > local tCurLoc > ----- > put the screenLoc into tCurLoc > set the loc of this stack to tCurLoc > repeat with i = 1 to 5 > add x to item 1 of tCurLoc -- horizontal co-ordinate > add y to item 2 of tCurLoc -- vertical co-ordinate > set the loc of stack item i of "MySubstack1, MySubstack2, > etc" to tCurLoc > end repeat > end preOpenStack > > Such a handler will present the main stack centred on- screen and > the others in cascade according to x and y values. > Of course, you can change all that to suit your needs (working for > instance with the screenRect too). > It's just to get you the idea. > > Le 21 juil. 05 ? 19:15, Ban Nguyen a ?crit : > > >> I am creating an application which has one main stack and 5 >> substacks. I >> lock the size and location using property inspector BUT when I >> view the >> application on different computers with different screen setting >> those 5 >> substacks are displayed in different locations >> >> The problem is I don't know how to set the location for those 5 >> substacks so they are displayed in the right position that I set so I >> don't have to worry about other users' computer screen setting. >> > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 DAMN, i'm way too slow :-D Best Klaus Major klaus at major-k.de http://www.major-k.de From bann at sunncomm.com Thu Jul 21 13:48:21 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 21 Jul 2005 10:48:21 -0700 Subject: Screen Postion??? Message-ID: I am trying to use this code and I give me an error: executing at 10:45:16 AM Type Chunk: can't find stack Object main Line set the loc of stack item i of "partners, aboutUs, location, contact" to tCurLoc Hint stack "main.rev" ------------------------------------- You could try to set the position of your stacks relative to the screenRect value in a preOpenStack handler in your main stack. For instance: on preOpenStack local tCurLoc ----- put the screenLoc into tCurLoc set the loc of this stack to tCurLoc repeat with i = 1 to 5 add x to item 1 of tCurLoc -- horizontal co-ordinate add y to item 2 of tCurLoc -- vertical co-ordinate set the loc of stack item i of "MySubstack1, MySubstack2, etc" to tCurLoc end repeat end preOpenStack Such a handler will present the main stack centred on- screen and the others in cascade according to x and y values. Of course, you can change all that to suit your needs (working for instance with the screenRect too). It's just to get you the idea. --------------------------------------------------------- > I am creating an application which has one main stack and 5 > substacks. I > lock the size and location using property inspector BUT when I view > the > application on different computers with different screen setting > those 5 > substacks are displayed in different locations > > The problem is I don't know how to set the location for those 5 > substacks so they are displayed in the right position that I set so I > don't have to worry about other users' computer screen setting. - - From europe at ehug.info Thu Jul 21 16:31:28 2005 From: europe at ehug.info (Mark Schonewille) Date: Thu, 21 Jul 2005 22:31:28 +0200 Subject: I need help with custom cursors In-Reply-To: <23C94F7D-B48E-45AF-8A53-65BF1D625D4F@cableone.net> References: <64878EF567131D4596246171F75FD4A97445E4@m-epo-1.epo.cdc.gov> <86BADBA1-C283-4764-AEDE-F8C8721190FD@cableone.net> <23C94F7D-B48E-45AF-8A53-65BF1D625D4F@cableone.net> Message-ID: <42E00620.5030407@ehug.info> Chris, I tried as you suggest, but without success. I have an image of 16x16 pixels, containing three colours: some transparent colour, rgb value 0,0,1 and white. I saved it as a png and as a gif file. The png file is completely white, except for the transparent area, when imported. If I use the pencil tool to change one pixel, it becomes completely black (except the transparent area). If I import the gif file, it gets completely black and stays black after changing a pixel (except transparent area). Would you be willing to describe the process step by step? Best, Mark Chris Sheffield wrote: > For anyone who is even remotely interested, Jonathan has figured out > this little problem. > > It turns out that using black in the cursor images is the problem. So > use some other color very close to black (RGB 1,0,0 for example) > instead of black. Then after importing your image into Rev, use Rev's > pencil tool to change a pixel or two, then just undo your changes (I'm > not sure what exactly this does, but it doesn't work without this > step). Then just set your cursor like normal. Works like a charm. > > Thanks again, Jonathan. > > Chris > > > > On Jul 13, 2005, at 2:31 PM, Chris Sheffield wrote: > >> Well, since no other ideas appear to be coming in, I'm wondering if >> anyone out there has any custom cursors that work that you would be >> willing to share. I'm looking for an hourglass along with left, >> right, up and down pointing fingers (much like they had/have in the >> Myst games. Anyone? >> >> Thanks. -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From chipp at chipp.com Thu Jul 21 16:50:36 2005 From: chipp at chipp.com (Chipp Walters) Date: Thu, 21 Jul 2005 15:50:36 -0500 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: References: <143.49471793.300f4375@aol.com> <3A59B2BF-DCF8-4BA1-A381-6C3F5E2E6CC8@mangomultimedia.com> Message-ID: <42E00A9C.2030008@chipp.com> Brad Borch wrote: > ..., but it sure would be nice to have both > platforms included in the purchase of the product. Check out the Enterprise edition. I believe it has support for all platforms 'built in.' -Chipp From dick.kriesel at mail.com Thu Jul 21 17:19:37 2005 From: dick.kriesel at mail.com (Dick Kriesel) Date: Thu, 21 Jul 2005 14:19:37 -0700 Subject: NPR puzzle In-Reply-To: Message-ID: Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. The main reason for the speed improvement over previous solutions is that array look-ups are typically faster than string searches. put the milliseconds into tMilliseconds repeat for each line tSymbol in field 2 put "true" into tSymbolArray[tSymbol] end repeat repeat for each word tWord in field 1 if tSymbolArray[char 1 to 2 of tWord] then if tSymbolArray[char 3 to 4 of tWord] then if tSymbolArray[char 5 to 6 of tWord] then if tSymbolArray[char 7 to 8 of tWord] then if tSymbolArray[char 9 to 10 of tWord] then put tWord & return after tHits end if end if end if end if end if end repeat put the milliseconds - tMilliseconds \ into tElapsedMilliseconds put number of lines in tHits && "hits in" \ && tElapsedMilliseconds && "milliseconds" \ & return & return & tHits -- Dick From bnz2 at cdc.gov Thu Jul 21 17:22:36 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 21 Jul 2005 17:22:36 -0400 Subject: NPR puzzle Message-ID: <64878EF567131D4596246171F75FD4A99680D3@m-epo-1.epo.cdc.gov> I humbly bow before thee... -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dick Kriesel Sent: Thursday, July 21, 2005 5:20 PM To: How to use Revolution Subject: Re: NPR puzzle Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. The main reason for the speed improvement over previous solutions is that array look-ups are typically faster than string searches. put the milliseconds into tMilliseconds repeat for each line tSymbol in field 2 put "true" into tSymbolArray[tSymbol] end repeat repeat for each word tWord in field 1 if tSymbolArray[char 1 to 2 of tWord] then if tSymbolArray[char 3 to 4 of tWord] then if tSymbolArray[char 5 to 6 of tWord] then if tSymbolArray[char 7 to 8 of tWord] then if tSymbolArray[char 9 to 10 of tWord] then put tWord & return after tHits end if end if end if end if end if end repeat put the milliseconds - tMilliseconds \ into tElapsedMilliseconds put number of lines in tHits && "hits in" \ && tElapsedMilliseconds && "milliseconds" \ & return & return & tHits -- Dick _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at yahoo.com Thu Jul 21 18:22:48 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 21 Jul 2005 15:22:48 -0700 (PDT) Subject: Indexing mail list messages In-Reply-To: <20050721153752.C6E688248D5@mail.runrev.com> Message-ID: <20050721222249.13934.qmail@web40528.mail.yahoo.com> Hi Developers, i've started build indexes for searching (from a CD-RW), keywords and phrases within the 200 MB of mail list messages. Many of you suggest third party software, but i'm sure that RR is able to search for phrases and keywords within these text files. The files range (for RR mail list messages) from 4.8 MB to 543k and my first idea is to create two indexes for each of the 45 mail messages text files. The first index have a list of each message subjects submitted in that month, followed by the line or lines where this subject is found in the text. For example: message subject lines where this text appears Subject: Gif animation 75,124,257,310,358, Creating this index took only a few minutes for all the files. The second index is for keywords within each text file, using the same approach. Unfortunaly, using this approach, pairing words with line offsets created in some cases files bigger than the mail archive! :-( For example, the june 2005 text file is only 4.8 MB, but the index is more than 5.3 MB... After, i deleted the stop words from the index, (search in Google for: "google stop words") it was "reduced" to 3.5 MB. Still too big for my taste. Which approach could i take to build a smaller and accurate word index for mail list archives? Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From alex at tweedly.net Thu Jul 21 18:57:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 21 Jul 2005 23:57:28 +0100 Subject: Indexing mail list messages In-Reply-To: <20050721222249.13934.qmail@web40528.mail.yahoo.com> References: <20050721222249.13934.qmail@web40528.mail.yahoo.com> Message-ID: <42E02858.8060000@tweedly.net> Alejandro Tejada wrote: >The second index is for keywords within each >text file, using the same approach. >Unfortunaly, using this approach, pairing >words with line offsets created in some cases >files bigger than the mail archive! :-( >For example, the june 2005 text file is only >4.8 MB, but the index is more than 5.3 MB... > >After, i deleted the stop words from the index, >(search in Google for: "google stop words") >it was "reduced" to 3.5 MB. Still too big for >my taste. > >Which approach could i take to build a smaller >and accurate word index for mail list archives? > > Are you indexing every line where the word exists ? Could you instead index only the message number (or id, or first line of the message) ? Or could you post the code / a stack to save me asking you another 50 questions ... ? :-) Are you keeping the whole mbox format ? Or discarding the headers you don't need ? How many different words remain after the stop words are discarded ? How many lines in the file ? How many entries per word ? (min, max, avg, mean, std dev) .. ? -- 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.9.0/50 - Release Date: 16/07/2005 From briany at qldlearning.com Thu Jul 21 19:08:51 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 21 Jul 2005 16:08:51 -0700 Subject: Indexing mail list messages In-Reply-To: <20050721222249.13934.qmail@web40528.mail.yahoo.com> References: <20050721222249.13934.qmail@web40528.mail.yahoo.com> Message-ID: Alejandro, Some off-the-cusp thoughts: * Add synonyms for common xTalk terms (cd => card, btn => button, etc) and combine their indices * Support some sort of stemming (or at least, combine words with their plurals) * Create a stop word threshold: any term which occurs in more than X% of messages becomes a stop word and is discarded from the index. * Index by message, not by line. You could always find the line in the message on the fly. * Don't index all message headers * Don't index message footers and/or signatures * Remove dups (i.e. if a word appears twice on a line or twice in a message) Hope these give you some ideas. Of course I also have a high level question- what's wrong with just a 5MB index on a CD-ROM? If it is just for disk space, you could compress the index and probably get a significant savings. - Brian From rishi at puredata.com.au Thu Jul 21 19:25:15 2005 From: rishi at puredata.com.au (Rishi Viner) Date: Fri, 22 Jul 2005 09:25:15 +1000 Subject: Question for Linux Users: In-Reply-To: <1121931926.757.7.camel@White-Side> References: <200507211128.03003.rishi@puredata.com.au> <1121931926.757.7.camel@White-Side> Message-ID: <200507220925.15933.rishi@puredata.com.au> Hi Damien, On Thu, 21 Jul 2005 05:45 pm, you wrote: > Please, go to http://support.runrev.com/bugzilla (or use RevZilla) and > confirm bugs that I have reported about the Linux engine. OK, will do. I have looked at a few of the Linux bugs there now and found one relating to Klipper under KDE (clipboard manager tool). I turned Klipper off and bingo - cut/copy/paste now works with Rev! (_Such_ a relief...). > And I have never had a perfect/smooth/functional experience with Rev > under Linux/Unix. (I have got FreeBSD now, and Runrev doesn't work at > all). I'm running SuSE 9.2 Pro with KDE 3.4. > > So, I am waiting the perfect "Revolution Linux/Unix" who work so good as > work Runrev under MacOS X. I agree, wouldn't that be great! Best of both worlds. I guess Linux users are in the minority, but we do pay the same price to buy Rev... Cheers, -- Rishi Viner PUREDATA Australia www.puredata.com.au From SimPLsol at aol.com Thu Jul 21 21:09:28 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Thu, 21 Jul 2005 21:09:28 EDT Subject: Project Registry Message-ID: <1e2.407d4749.3011a148@aol.com> David, It has been a full day, sorry it has taken so long to reply. You used some terms with which I am not familiar: Ricardian contract, shards, Scum / Agile Development, Product Backcatalog, and Sprint Backlog. Enlightenment is appreciated. Why would one want to split the revenue instead of the profit? With your pledge and mine, the three day total is $300. At this rate, if it takes us a year to get all the details worked out, there might be $36,500 to program it ;-) Paul Looney From capellan2000 at yahoo.com Thu Jul 21 21:36:06 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 21 Jul 2005 18:36:06 -0700 (PDT) Subject: Indexing mail list messages Message-ID: <20050722013606.82189.qmail@web40501.mail.yahoo.com> Alex Tweedley wrote: > Are you indexing every line where the word exists ? Oh yes, in a first try i was guilty of that... :-( > Could you instead index only the message number (or > id, or first line of the message) ? Ah! The msg id... this is a good choice because this specific line is not repeated when developers replies to a message. So there is only one msg id for every msg. :-) > Or could you post the code / a stack to save me > asking you another 50 questions ... ? :-) Here is the first iteration that produced an index larger than the indexed file. (i'll change it to work, not with line numbers, but with message number) -- start script -- on mouseUp -- based in Scott Raney's example code -- comments that start with "#" are his... answer file "Select a mail message text file for input:" if it is empty then exit mouseUp # let user know we're working on it set the cursor to watch put it into inputFile set the itemdelimiter to "\" put the last item of inputFile into zvn put ".wndx" into char -4 to -1 of zvn put "file:" before zvn open file inputFile for read read from file inputFile until eof put it into fileContent close file inputFile repeat for each line w in fileContent add 1 to mylinecount repeat for each word z in w put mylinecount & comma after wordCount[z] end repeat end repeat # copy all the indexes that is in the wordCount associative array put keys(wordCount) into keyWords # sort the indexes -- keyWords contains a list of elements in array sort keyWords repeat for each line l in keyWords put l & tab & wordCount[l] & return after displayResult end repeat put displayResult into URL zvn -- look for a file with the extension *.wndx -- in the same location of the selected text file -- This *.wndx file contains the index. end mouseUp -- end script -- > Are you keeping the whole mbox format ? Yes, completely. > Or discarding the headers you don't need ? No, the file is complete without change. > How many different words remain after the stop words > are discarded ? Not too many words, but there are a lot of similar words that change a little in their endings. > How many lines in the file ? > How many entries per word ? > (min, max, avg, mean, std dev) .. ? With the code above, and this file: the answer to these questions is at a glance. ;-) I'll keep building on these new ideas! Thanks a lot for your help! al Visit my site: http://www.geocities.com/capellan2000/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From capellan2000 at yahoo.com Thu Jul 21 21:51:03 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 21 Jul 2005 18:51:03 -0700 (PDT) Subject: Indexing mail list messages Message-ID: <20050722015103.85082.qmail@web40504.mail.yahoo.com> Hi Brian, :-) Brian Yennie wrote: > Some off-the-cusp thoughts: > * Add synonyms for common xTalk terms (cd => card, > btn => button, etc) and combine their indices Interesting idea, i'll give more thought to this possibility. > * Support some sort of stemming (or at least, combine > words with their plurals) Yes, this is a must. > * Create a stop word threshold: any term which occurs > in more than X% of messages becomes a stop word and > is discarded from the index. This is a good recomendation. For example, the word "revolution" should be a stop word. :-) > * Index by message, not by line. You could always > find the line in the message on the fly. Yes, Alex Tweedley makes this recomendation too. > * Don't index all message headers > * Don't index message footers and/or signatures The headers contains some useful info... No? > * Remove dups (i.e. if a word appears twice on a line > or twice in a message) Yes, this is a must too. > Hope these give you some ideas. Sure they do! These are mind opening ideas. You could be sure that many other ideas, probably unrelated to this task will take life while working on this... :-) Today i have step on an interesting idea for a new educative game. Let's keep the hope to raise the resources to make this game a reality! > Of course I also have a high level question- what's > wrong with just a 5MB index on a CD-ROM? If it is > just for disk space, you could compress > the index and probably get a significant savings. Space is not the problem, fast searching in optimized indexes are the goal. ;-) Thanks again for your help, Brian! al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From lists at mangomultimedia.com Thu Jul 21 22:00:53 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 21 Jul 2005 20:00:53 -0600 Subject: PC/x-platform development (was Re: embed/install font) In-Reply-To: References: Message-ID: On Jul 21, 2005, at 11:00 AM, Brad Borch wrote: > Where do I find EnhancedWin.dll?? I posted a message about this a few days ago. It has a call that will help you limit your app to only one instance on Windows and another which will correctly launch email or urls on Windows. revGoURL has some problems on occasion. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From abecedarian at mac.com Thu Jul 21 22:03:59 2005 From: abecedarian at mac.com (Russell Martin) Date: Thu, 21 Jul 2005 20:03:59 -0600 Subject: Visual Effects Question Message-ID: Is it possible to have conrols on a card/window that aren't affected by visual effects? For instance, is it possible to have forward/back buttons that don't move when using visual effects like slide or push? If so, how is this done? Thanks. =========================== Russ Martin abecedarian at mac.com russell_martin at yahoo.com From sarahr at genesearch.com.au Thu Jul 21 22:15:11 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 22 Jul 2005 12:15:11 +1000 Subject: Printing only selected pages Message-ID: Hi All, I ran into a problem today, that I am surprised not to have encountered before. I use revPrintField to print a multi-page document and usually I print it to a PDF and then print selected pages if needed. Today I tried printing directly from Revolution (this is just a stack that runs from the IDE) and despite selecting page 1 to 1 in the print dialog, it tried to print all the pages. I guess I have a couple of questions: - does this happen to everyone, in which case I'll bugzilla it? - is there a workaround? TIA, Sarah Mac OS X 10.4.2 From 3mcgrath at adelphia.net Thu Jul 21 22:43:34 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Jul 2005 22:43:34 -0400 Subject: Visual Effects Question In-Reply-To: References: Message-ID: <2c88a2774b68c96d09157801dbf7a1b2@adelphia.net> Russell, The only way since visual effects are card/window based would be to do a move command instead where everything moves but the buttons you want to stay put. on opencard move grp "movingthings" from 100,30 to 0,30 without messages end opencard of course the points should maybe be offscreen depending on how you want the effect to look. HTH Tom On Jul 21, 2005, at 10:03 PM, Russell Martin wrote: > Is it possible to have conrols on a card/window that aren't affected > by visual effects? For instance, is it possible to have forward/back > buttons that don't move when using visual effects like slide or push? > If so, how is this done? Thanks. > > =========================== > Russ Martin > abecedarian at mac.com > russell_martin at yahoo.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From mwieder at ahsoftware.net Thu Jul 21 22:45:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Jul 2005 19:45:24 -0700 Subject: NPR puzzle In-Reply-To: References: <20050720222801.3957E82490E@mail.runrev.com> Message-ID: <17943861920.20050721194524@ahsoftware.net> Jim- Wednesday, July 20, 2005, 4:13:16 PM, you wrote: >>And even though "alliterate" is among the answers, there are no >>two-letter symbols that use the same letter twice. JH> Mark, JH> The *successive* pairs for "alliterate " are al-li-te-ra-te. I guess I should learn to be more explict about jokes. If the pairs are alliterative, I would expect to find "AA" and "RR" among the element symbols. I'll stare at my chart some more, but I don't think there are any., even though you included "LA" twice. Next item: A helicopter comes out as a Helium-Lithium-Cobalt-Platinum-Erbium molecule. You're going to have a hard time keeping that together at room temperature, especially trying to bind the helium atom. I'd venture to guess that helicopters are impractical and will never fly. -- -Mark Wieder mwieder at ahsoftware.net From 3mcgrath at adelphia.net Thu Jul 21 22:49:38 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 21 Jul 2005 22:49:38 -0400 Subject: Screen Postion??? In-Reply-To: References: Message-ID: <5c7da265c4a3ee8d0554a6a9cac4881f@adelphia.net> set the loc of stack (item i of "partners, aboutUs, location, contact") to tCurLoc or better yet put item i of "partners, aboutUs, location, contact" into tmystack set the loc of stack tmystack to tcurLoc unless of course the tCurLoc does not have full coordinates in it??? Tom McGrath On Jul 21, 2005, at 1:48 PM, Ban Nguyen wrote: > > I am trying to use this code and I give me an error: > > executing at 10:45:16 AM > Type Chunk: can't find stack > Object main > Line set the loc of stack item i of "partners, aboutUs, location, > contact" to tCurLoc > Hint stack "main.rev" > > > ------------------------------------- > You could try to set the position of your stacks relative to the > screenRect value in a preOpenStack handler in your main stack. > For instance: > > on preOpenStack > local tCurLoc > ----- > put the screenLoc into tCurLoc > set the loc of this stack to tCurLoc > repeat with i = 1 to 5 > add x to item 1 of tCurLoc -- horizontal co-ordinate > add y to item 2 of tCurLoc -- vertical co-ordinate > set the loc of stack item i of "MySubstack1, MySubstack2, etc" > to tCurLoc > end repeat > end preOpenStack > > Such a handler will present the main stack centred on- screen and the > others in cascade according to x and y values. > Of course, you can change all that to suit your needs (working for > instance with the screenRect too). > It's just to get you the idea. > > --------------------------------------------------------- > >> I am creating an application which has one main stack and 5 >> substacks. I >> lock the size and location using property inspector BUT when I view >> the >> application on different computers with different screen setting >> those 5 >> substacks are displayed in different locations >> >> The problem is I don't know how to set the location for those 5 >> substacks so they are displayed in the right position that I set so I >> don't have to worry about other users' computer screen setting. > > - > - > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From scott at tactilemedia.com Thu Jul 21 23:26:15 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Jul 2005 20:26:15 -0700 Subject: Visual Effects Question In-Reply-To: Message-ID: Recently, Russell Martin wrote: > Is it possible to have conrols on a card/window that aren't affected > by visual effects? For instance, is it possible to have forward/back > buttons that don't move when using visual effects like slide or push? > If so, how is this done? Yes, if you reference one object or a single group of objects. You do this by using the hide/show commands. For example, in an (unaffected) button: on mouseUp if the vis of group 1 then hide group 1 with visual effect push right else show group 1 with visual effect push left end mouseUp When executed, group 1 will disappear/reappear using the designated visual effect. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From mwieder at ahsoftware.net Thu Jul 21 23:29:33 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Jul 2005 20:29:33 -0700 Subject: NPR puzzle In-Reply-To: References: Message-ID: <4546510718.20050721202933@ahsoftware.net> Dick- Thursday, July 21, 2005, 2:19:37 PM, you wrote: DK> Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. That's amazing. I optimized the heck out of my nested loop and it still runs ten times slower than your array-based algorithm. However... you're pulling a fast one here. You're getting away with calling something a boolean when it actually isn't. Apparently Transcript is letting you get away with this. "if tSymbolArray[char 1 to 2 of tWord] then" should really be "if tSymbolArray[char 1 to 2 of tWord] is not empty then" Making the change slows things down on my machine from 14 milliseconds to 18 milliseconds, making it about 30% slower, but still much faster than anything I could do with repeat loops. -- -Mark Wieder mwieder at ahsoftware.net From briany at qldlearning.com Thu Jul 21 23:43:43 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 21 Jul 2005 20:43:43 -0700 Subject: NPR puzzle In-Reply-To: <4546510718.20050721202933@ahsoftware.net> References: <4546510718.20050721202933@ahsoftware.net> Message-ID: <701d5f3fb70cc3075df5c9d3b32d6be7@qldlearning.com> > However... you're pulling a fast one here. You're getting away with > calling something a boolean when it actually isn't. Apparently > Transcript is letting you get away with this. > > "if tSymbolArray[char 1 to 2 of tWord] then" should really be > "if tSymbolArray[char 1 to 2 of tWord] is not empty then" Well, to be fair, even a strongly-typed language like C lets you do the same sort of things. false is frequently defined as "everything other than true". if/else is usually interpreted as "if TRUE then do this, OTHERWISE do this", not "if TRUE then do this, if FALSE do this". In C, you get things like: if (0)... if ('') ... if (NULL)... etc... which all evaluate to false. Of course when speed is not critical, it's easier to read if you say things like: "if (condition = TRUE)" instead of "if (condition)" As such the point is well taken, but I think it's actually accepted practice in most languages to do the latter. - Brian From pixelbird at interisland.net Thu Jul 21 23:55:40 2005 From: pixelbird at interisland.net (Ken Norris) Date: Thu, 21 Jul 2005 20:55:40 -0700 Subject: NPR puzzle In-Reply-To: <20050722023539.09E31824913@mail.runrev.com> References: <20050722023539.09E31824913@mail.runrev.com> Message-ID: <13e2c11660de97a08523715cce402ce3@interisland.net> Hello Dick, > Date: Thu, 21 Jul 2005 14:19:37 -0700 > From: Dick Kriesel > Subject: Re: NPR puzzle Question: > > repeat for each word tWord in field 1 > if tSymbolArray[char 1 to 2 of tWord] then > if tSymbolArray[char 3 to 4 of tWord] then > if tSymbolArray[char 5 to 6 of tWord] then > if tSymbolArray[char 7 to 8 of tWord] then > if tSymbolArray[char 9 to 10 of tWord] then > put tWord & return after tHits > end if > end if > end if > end if > end if > end repeat If you want speed, can you replace this with a switch/case structure? All the best, Ken N. From sarahr at genesearch.com.au Thu Jul 21 23:57:52 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 22 Jul 2005 13:57:52 +1000 Subject: NPR puzzle In-Reply-To: <4546510718.20050721202933@ahsoftware.net> References: <4546510718.20050721202933@ahsoftware.net> Message-ID: > However... you're pulling a fast one here. You're getting away with > calling something a boolean when it actually isn't. Apparently > Transcript is letting you get away with this. > > "if tSymbolArray[char 1 to 2 of tWord] then" should really be > "if tSymbolArray[char 1 to 2 of tWord] is not empty then" > Dick's solution set up the initial array by putting "true" into each element, so I think his syntax is perfectly correct :-) > repeat for each line tSymbol in field 2 > put "true" into tSymbolArray[tSymbol] > end repeat It was a great solution. I thought that putting the field data into variables first might speed things up, but it didn't, so the "repeat for each" loops must grab the complete set of data before they start. Very efficient. Cheers, Sarah From ambassador at fourthworld.com Fri Jul 22 00:17:34 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Jul 2005 21:17:34 -0700 Subject: Automator? Message-ID: <42E0735E.1040809@fourthworld.com> Any of you adding Automator support to your apps? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Fri Jul 22 00:48:13 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Jul 2005 21:48:13 -0700 Subject: XML questions Message-ID: <8151231286.20050721214813@ahsoftware.net> All- I started playing around with the revXML functions today instead of just rolling my own as usual, and a few questions came up: 1. There seem to be many functions for reading and parsing XML files into the proper format and they seem to work fine after enough fiddling with them, but very few functions for writing data. There still needs to be a fair amount of packaging data for the addElement and addAttribute functions. There doesn't seem to be any support for CDATA tags unless I'm missing something. Is there something I missed? Do I still need to encapsulate this in my own CDATA tags? 2. What in the world is revXMLAddDTD for? I know what a DTD is and I can validate my xml tree against a DTD, but why would I want to add a DTD to an existing XML tree? 3. I take it there's no support for xml schemas here, just DTDs. -- -Mark Wieder mwieder at ahsoftware.net From b.xavier at internet.lu Fri Jul 22 00:51:07 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Jul 2005 06:51:07 +0200 Subject: Automator? In-Reply-To: <42E0735E.1040809@fourthworld.com> Message-ID: <20050722044158.5F57C8248D3@mail.runrev.com> Hi Richard No, not really. For one it's Mac ONLY and second with TAOO in mind (because i know its capabilities can do this within Rev) I could do this in Rev on all platforms and across different script languages (if not real languages). The idea is nice though. But still it's just another approach to AppleScripts (is Apple rethinking itself again?) without them which means you will have to wait until the App makers develop this capability in full (or is this already done via Applescript?)... My intermediary revScript Contest entry was built based on the taoo (an OOP) model and supposed to work like these automators using almost any keywords (assuming you've built the methods and objectual functions for the class you're using). Unfortunately, doing control statements in a dynamic fashion proved a bit more tortuous than i had intended for the contest - though it's not impossible... And the xml-form (though ugly) gives me a couple ideas to resolve this issue ;) Definitely interesting - but for a limited market which no PC or linux user will see the benefit (95% of the market still?). Meanwhile a rev based solution for all-platform solutions could be implemented quite easily... Sorry but as a multi-national, multi-OS aware power user, i fail to see the benefit of a single platform solution. As with most life situations, the analogy with tourism springs to mind: a bilingual tourist will definitely fare better and farter than a monolingual non-native tourist in a foreign country... In rev terms, my taoo solution will work with VBS objects or applescript objects and even this automator should i build a TAOO class-manager for it. I find that much more useful than a single-os technology with a limited product-lifecycle (will Automator still exists in OSX v15? After 15 years, TAOO rocks on with the same technology while others had to reinvent the wheel each time... I just copy pasted my scripts and most just worked right of the bat in Rev! Im sure if Apple started making more cross-platform tools like they have done with QT, they would gobble more market percentages (thanks to their great GUIs). Surely you dont want to be confined in a tourist bus to discover europe in 7 days when you could instead discover the real europe and its many cultures equipped with a universal translator and make "real" contact with the outside world - Europe or whatever country you visit! ;) Just me two economist's euro-cents... No offenses meant - just marketing realism. Critiques welcome! cheers Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Richard Gaskin > Sent: Friday, July 22, 2005 06:18 > To: How to use Revolution > Subject: Automator? > > Any of you adding Automator support to your apps? > > > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Fri Jul 22 00:56:14 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Jul 2005 06:56:14 +0200 Subject: Pre-release WinNO2 beta testers needed Message-ID: <20050722044656.E5DD98248F4@mail.runrev.com> Hi there, Im coming out with a new version of the WinNO2 plugin - the ultimate Rev-Window/Stack manager. New skin, new menus, revised features... http://monsieurx.com/hyper/xos/screenshots/WinNO2.png Rev or Metacard ready. But I have no way of testing it on OSX or linux (im working on a way to test it on solaris soon)... Im looking for some beta testers who can spare a bit of their time and critiques for a better final release. Those interested, please contact me off-list. Those who help with any fixes or comments will get a free license, free support and upgrades - offer available only while bugs supply lasts ;). cheers Xavier http://monsieurx.com From eric.chatonet at sosmartsoftware.com Fri Jul 22 02:01:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Jul 2005 08:01:53 +0200 Subject: NPR puzzle In-Reply-To: References: Message-ID: Hi Dick, Kudos! As Sarah pointed it out, I was surprised to find out that putting the fields into some variables first did not speed up the things as I would have thought. Good to know. Let us think array :-) Le 21 juil. 05 ? 23:19, Dick Kriesel a ?crit : > Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. > > The main reason for the speed improvement over previous solutions > is that > array look-ups are typically faster than string searches. > > put the milliseconds into tMilliseconds > repeat for each line tSymbol in field 2 > put "true" into tSymbolArray[tSymbol] > end repeat > repeat for each word tWord in field 1 > if tSymbolArray[char 1 to 2 of tWord] then > if tSymbolArray[char 3 to 4 of tWord] then > if tSymbolArray[char 5 to 6 of tWord] then > if tSymbolArray[char 7 to 8 of tWord] then > if tSymbolArray[char 9 to 10 of tWord] then > put tWord & return after tHits > end if > end if > end if > end if > end if > end repeat > put the milliseconds - tMilliseconds \ > into tElapsedMilliseconds > put number of lines in tHits && "hits in" \ > && tElapsedMilliseconds && "milliseconds" \ > & return & return & tHits 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From janschenkel at yahoo.com Fri Jul 22 02:50:22 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 21 Jul 2005 23:50:22 -0700 (PDT) Subject: XML questions In-Reply-To: <8151231286.20050721214813@ahsoftware.net> Message-ID: <20050722065022.99113.qmail@web60515.mail.yahoo.com> --- Mark Wieder wrote: > All- > > I started playing around with the revXML functions > today instead of > just rolling my own as usual, and a few questions > came up: > > 1. There seem to be many functions for reading and > parsing XML files > into the proper format and they seem to work fine > after enough > fiddling with them, but very few functions for > writing data. There > still needs to be a fair amount of packaging data > for the addElement > and addAttribute functions. There doesn't seem to be > any support for > CDATA tags unless I'm missing something. Is there > something I missed? > Do I still need to encapsulate this in my own CDATA > tags? > > 2. What in the world is revXMLAddDTD for? I know > what a DTD is and I > can validate my xml tree against a DTD, but why > would I want to add a > DTD to an existing XML tree? > > 3. I take it there's no support for xml schemas > here, just DTDs. > > -- > -Mark Wieder > Hi Mark, Your remarks are quite accurate. I use the library mostly for reading data, and write the XML by hand. 1. My favourite command for writing to a tree is revAppendXML, as this allows me to toss in a chunk of XML data, and have it parsed into the tree instantly. 2. I'm not entirely sure about revXMLAddDTD either. I presumed it would mean spitting out the tree into text would insert a reference to a DTD, but it didn't. Maybe further testing will show that this is meant for embedding a DTD into your tree. 3. There's no support for XSD, XSL and all those other goodies. But I know they're on the RR radar, and the more people request them, the higher the chance to get them sooner. Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From janschenkel at yahoo.com Fri Jul 22 02:59:53 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 21 Jul 2005 23:59:53 -0700 (PDT) Subject: Printing only selected pages In-Reply-To: Message-ID: <20050722065953.37555.qmail@web60523.mail.yahoo.com> --- Sarah Reichelt wrote: > Hi All, > > I ran into a problem today, that I am surprised not > to have > encountered before. I use revPrintField to print a > multi-page > document and usually I print it to a PDF and then > print selected > pages if needed. Today I tried printing directly > from Revolution > (this is just a stack that runs from the IDE) and > despite selecting > page 1 to 1 in the print dialog, it tried to print > all the pages. > > I guess I have a couple of questions: > - does this happen to everyone, in which case I'll > bugzilla it? > - is there a workaround? > > TIA, > Sarah > Hi Sarah, The revPrintField and revPrintText commands are not designed to handle this. You could hack these yourself, but unfortunately, the engine does not give us a way to determine which pages the user wanted to print. I noticed that SuperCard 4.5 has a new 'printRange' property. Naturally, I'm one of the people who hope that this will be added to Revolution soon. Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From dcragg at lacscentre.co.uk Fri Jul 22 04:51:58 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 22 Jul 2005 09:51:58 +0100 Subject: Indexing mail list messages In-Reply-To: <20050722013606.82189.qmail@web40501.mail.yahoo.com> References: <20050722013606.82189.qmail@web40501.mail.yahoo.com> Message-ID: On 22 Jul 2005, at 02:36, Alejandro Tejada wrote: Just one small observation: > > > repeat for each line w in fileContent > add 1 to mylinecount > repeat for each word z in w > put mylinecount & comma after wordCount[z] > end repeat > end repeat z will include any puntuation attached to words, so "script","script,", "script?", etc. will be indexed separately. (Unless I missed the point where you accounted for this.) Cheers Dave From david at openpartnership.net Fri Jul 22 07:15:13 2005 From: david at openpartnership.net (david bovill) Date: Fri, 22 Jul 2005 13:15:13 +0200 Subject: Project Registry In-Reply-To: <1e2.407d4749.3011a148@aol.com> References: <1e2.407d4749.3011a148@aol.com> Message-ID: <4713a02f458d094ae737840f1c988745@openpartnership.net> In brief - as deadlines today: Scrum / Product / Sprint catalogs all come from the synthesis of software project management methodology known as Agile Development - heavily influenced by the better known extreme programming ideas. Good starting point as ever is Wikipedia - I'll put up some links and PDFs on the weekend. Shards is a particular contract / digital currency that is based on the theory and software implementation of Ricardian Contracts - which is the work of a friend of mine Ian Grigg from Systemics Inc going back to the days of David Chaum / DigiCash. There is plenty of badly presented text on the web about this which I'm currently working on to gather the bits into one place. On 22 Jul 2005, at 03:09, SimPLsol at aol.com wrote: > David, > ???? It has been a full day, sorry it has taken so long to reply. > ???? You used some terms with which I am not familiar: Ricardian > contract, shards, Scum / Agile Development, Product Backcatalog, and > Sprint Backlog. Enlightenment is appreciated. > ???? Why would one want to split the revenue instead of the profit? It is an interesting option, which avoids a kind of "man in the middle attack" - that is what is to stop the management from taking the revenues and paying themselves unjustified fees? Revenue share is more transparent, and has been used relatively recently by large financial institutions (Hilton Group / Pension Funds) to raise finance in a way which binds all parties together in a common purpose (finance and project) - decreasing certain risks which arise from conflicts of interest with the more usual profit / finance models. Probably not too clear but best I can do in 10 minutes :) > ???? With your pledge and mine, the three day total is $300. At this > rate, if it takes us a year to get all the details worked out, there > might be $36,500 to program it ;-) > Paul Looney From FlexibleLearning at aol.com Fri Jul 22 07:28:27 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 22 Jul 2005 07:28:27 EDT Subject: [TIDBIT] A resizeStack button Message-ID: <8a.2b4ddfbe.3012325b@aol.com> A tidbit for your Scripter's Scrapbook: - How to use a button to resize a stack Put this in the script of a button called "resizeMe", placed at the bottomRight of your stack... on mouseMove if the mouse is up then pass mouseMove put the topLeft of this stack into tTL put globalLoc(the mouseLoc) into tML put max(the minWidth of this stack + item 1 of tTL,item 1 of tML) \ into item 1 of tML put max(the minHeight of this stack + item 2 of tTL,item 2 of tML) \ into item 2 of tML set the rect of this stack to tTL,tML end mouseMove and this in your stack script... on resizeStack set the bottomRight of btn "resizeMe" to the bottomRight of this card end resizeStack ----- /H The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From bill at bluewatermaritime.com Fri Jul 22 07:29:07 2005 From: bill at bluewatermaritime.com (Bill) Date: Fri, 22 Jul 2005 07:29:07 -0400 Subject: Printing only selected pages In-Reply-To: <20050722065953.37555.qmail@web60523.mail.yahoo.com> Message-ID: I notice that when printing in runrev with dialogue true the dialogue will not allow you to enter the number of pages you wish to print unless you first change it to another printer and then change back. This started since tiger and doesn't happen in other applications. On 7/22/05 2:59 AM, "Jan Schenkel" wrote: > --- Sarah Reichelt wrote: >> Hi All, >> >> I ran into a problem today, that I am surprised not >> to have >> encountered before. I use revPrintField to print a >> multi-page >> document and usually I print it to a PDF and then >> print selected >> pages if needed. Today I tried printing directly >> from Revolution >> (this is just a stack that runs from the IDE) and >> despite selecting >> page 1 to 1 in the print dialog, it tried to print >> all the pages. >> >> I guess I have a couple of questions: >> - does this happen to everyone, in which case I'll >> bugzilla it? >> - is there a workaround? >> >> TIA, >> Sarah >> > > Hi Sarah, > > The revPrintField and revPrintText commands are not > designed to handle this. You could hack these > yourself, but unfortunately, the engine does not give > us a way to determine which pages the user wanted to > print. > I noticed that SuperCard 4.5 has a new 'printRange' > property. Naturally, I'm one of the people who hope > that this will be added to Revolution soon. > > Jan Schenkel. > > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La > Rochefoucauld) > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From FlexibleLearning at aol.com Fri Jul 22 08:14:59 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 22 Jul 2005 08:14:59 EDT Subject: Anomolous is among Message-ID: <1e9.4066345a.30123d43@aol.com> put "penguin" is among the words of "1 2 3 4" = FALSE put "penguin" is among the words of "1 2 3 4 " = TRUE hmm. Comments? /H From eric.chatonet at sosmartsoftware.com Fri Jul 22 08:21:28 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Jul 2005 14:21:28 +0200 Subject: Anomolous is among In-Reply-To: <1e9.4066345a.30123d43@aol.com> References: <1e9.4066345a.30123d43@aol.com> Message-ID: Hi Hugh, Since put "penguin" is among the items of "1,2,3,4, " = FALSE The extra space seems to allow any word to be "recognised"... I would be inclined to name this a real bug :-( Le 22 juil. 05 ? 14:14, FlexibleLearning at aol.com a ?crit : > put "penguin" is among the words of "1 2 3 4" = FALSE > put "penguin" is among the words of "1 2 3 4 " = TRUE > > hmm. Comments? > > /H 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Fri Jul 22 08:32:08 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Jul 2005 14:32:08 +0200 Subject: [TIDBIT] A resizeStack button In-Reply-To: <8a.2b4ddfbe.3012325b@aol.com> References: <8a.2b4ddfbe.3012325b@aol.com> Message-ID: <0B029653-8504-432E-929B-86D54A8FC2EE@sosmartsoftware.com> Hi Hugh, You have a good script too in Rev Object Library. The scripted control is named "Mac Style Resizer" Le 22 juil. 05 ? 13:28, FlexibleLearning at aol.com a ?crit : > A tidbit for your Scripter's Scrapbook: > - How to use a button to resize a stack > > Put this in the script of a button called "resizeMe", placed at the > bottomRight of your stack... > > on mouseMove > if the mouse is up then pass mouseMove > put the topLeft of this stack into tTL > put globalLoc(the mouseLoc) into tML > put max(the minWidth of this stack + item 1 of tTL,item 1 of tML) \ > into item 1 of tML > put max(the minHeight of this stack + item 2 of tTL,item 2 of tML) \ > into item 2 of tML > set the rect of this stack to tTL,tML > end mouseMove > > and this in your stack script... > > on resizeStack > set the bottomRight of btn "resizeMe" to the bottomRight of this card > end resizeStack 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From capellan2000 at yahoo.com Fri Jul 22 08:55:42 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 22 Jul 2005 05:55:42 -0700 (PDT) Subject: Indexing mail list messages In-Reply-To: <20050722120653.33E95824931@mail.runrev.com> Message-ID: <20050722125542.93965.qmail@web40525.mail.yahoo.com> on Fri, 22 Jul 2005 Dave Cragg wrote: > Just one small observation: > > repeat for each line w in fileContent > > add 1 to mylinecount > > repeat for each word z in w > > put mylinecount & comma after wordCount[z] > > end repeat > > end repeat > z will include any puntuation attached to words, so > "script","script,", "script?", etc. will be indexed > separately. > (Unless I missed the point where you accounted for > this.) You are right. This first version handler will include words with any punctuation attached. This is wrong. :-( i'm working to apply the advices that alex and brian generously provide last night. When i have a complete handler that implements all their recomendations, i'll post the results. Did you have a regex that could handle these words with punctuation? Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From xbury.cs at clearstream.com Fri Jul 22 08:59:02 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 22 Jul 2005 14:59:02 +0200 Subject: Indexing mail list messages In-Reply-To: <20050722125542.93965.qmail@web40525.mail.yahoo.com> Message-ID: Al, To remove the RevWordDefitiency, just replace "," with " " in yourtext do the same for any punctuation, and all non-wordy characters the RevWordDefitiency implies! cheers Xavier On 22/07/2005 14:55:42 use-revolution-bounces wrote: >on Fri, 22 Jul 2005 >Dave Cragg wrote: > >> Just one small observation: >> > repeat for each line w in fileContent >> > add 1 to mylinecount >> > repeat for each word z in w >> > put mylinecount & comma after wordCount[z] >> > end repeat >> > end repeat >> z will include any puntuation attached to words, so >> "script","script,", "script?", etc. will be indexed >> separately. >> (Unless I missed the point where you accounted for >> this.) > >You are right. This first version handler >will include words with any punctuation attached. >This is wrong. :-( > >i'm working to apply the advices that alex and brian >generously provide last night. >When i have a complete handler that implements >all their recomendations, i'll post the results. > >Did you have a regex that could handle these >words with punctuation? > >Thanks in advance. > >al > > >Visit my site: >http://www.geocities.com/capellan2000/ > > > >____________________________________________________ >Start your day with Yahoo! - make it your home page >http://www.yahoo.com/r/hs > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From jhurley at infostations.com Fri Jul 22 09:09:11 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 22 Jul 2005 06:09:11 -0700 Subject: NPR puzzle In-Reply-To: <20050722023539.1C0D7824914@mail.runrev.com> References: <20050722023539.1C0D7824914@mail.runrev.com> Message-ID: > >Message: 8 >Date: Thu, 21 Jul 2005 14:19:37 -0700 >From: Dick Kriesel >Subject: Re: NPR puzzle >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. > >The main reason for the speed improvement over previous solutions is that >array look-ups are typically faster than string searches. > > put the milliseconds into tMilliseconds > repeat for each line tSymbol in field 2 > put "true" into tSymbolArray[tSymbol] > end repeat > repeat for each word tWord in field 1 > if tSymbolArray[char 1 to 2 of tWord] then > if tSymbolArray[char 3 to 4 of tWord] then > if tSymbolArray[char 5 to 6 of tWord] then > if tSymbolArray[char 7 to 8 of tWord] then > if tSymbolArray[char 9 to 10 of tWord] then > put tWord & return after tHits > end if > end if > end if > end if > end if > end repeat > put the milliseconds - tMilliseconds \ > into tElapsedMilliseconds > put number of lines in tHits && "hits in" \ > && tElapsedMilliseconds && "milliseconds" \ > & return & return & tHits > >-- Dick Dick, Dazzling! Jim From bnz2 at cdc.gov Fri Jul 22 09:19:23 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Jul 2005 09:19:23 -0400 Subject: NPR puzzle Message-ID: <64878EF567131D4596246171F75FD4A97445F6@m-epo-1.epo.cdc.gov> This method has made me realize how I can alter the spellcheck routine we use at work... Instead of checking to see if each word is in the list (174,000 words!) I will split the list into an array, with each key named for the word, and do what he did here! Who'd've thought that a fun puzzle would lead to acquiring such an important bit of knowledge? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Hurley Sent: Friday, July 22, 2005 9:09 AM To: use-revolution at lists.runrev.com Subject: Re: NPR puzzle > >Message: 8 >Date: Thu, 21 Jul 2005 14:19:37 -0700 >From: Dick Kriesel >Subject: Re: NPR puzzle >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. > >The main reason for the speed improvement over previous solutions is that >array look-ups are typically faster than string searches. > > put the milliseconds into tMilliseconds > repeat for each line tSymbol in field 2 > put "true" into tSymbolArray[tSymbol] > end repeat > repeat for each word tWord in field 1 > if tSymbolArray[char 1 to 2 of tWord] then > if tSymbolArray[char 3 to 4 of tWord] then > if tSymbolArray[char 5 to 6 of tWord] then > if tSymbolArray[char 7 to 8 of tWord] then > if tSymbolArray[char 9 to 10 of tWord] then > put tWord & return after tHits > end if > end if > end if > end if > end if > end repeat > put the milliseconds - tMilliseconds \ > into tElapsedMilliseconds > put number of lines in tHits && "hits in" \ > && tElapsedMilliseconds && "milliseconds" \ > & return & return & tHits > >-- Dick Dick, Dazzling! Jim _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From paolo.mazza at neol.it Fri Jul 22 09:36:10 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Fri, 22 Jul 2005 15:36:10 +0200 Subject: CGI MAC OSX In-Reply-To: <64878EF567131D4596246171F75FD4A97445F6@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445F6@m-epo-1.epo.cdc.gov> Message-ID: Hi revs, I am looking for a MAC OSX engine of Revolution. I need to install it in a MAC OSX server as CGI. In the ftp.runrev.com I found the REV 2.5 engines for WINDOWS and LINUX. Where can I find the engine for the MAC OS X ? Best regards Paolo Mazza From eric.chatonet at sosmartsoftware.com Fri Jul 22 09:36:27 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Jul 2005 15:36:27 +0200 Subject: CGI MAC OSX In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445F6@m-epo-1.epo.cdc.gov> Message-ID: <8D007A3C-DB74-4006-84D1-5ACEF42735E9@sosmartsoftware.com> Benvenuto Paolo, http://downloads.runrev.com/revolution/ Le 22 juil. 05 ? 15:36, paolo mazza a ?crit : > Hi revs, > I am looking for a MAC OSX engine of Revolution. I need to install > it in > a MAC OSX server as CGI. > In the ftp.runrev.com I found the REV 2.5 engines for WINDOWS and > LINUX. > Where can I find the engine for the MAC OS X ? > Best regards Riguardi migliori da Parigi, 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From xbury.cs at clearstream.com Fri Jul 22 09:58:26 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 22 Jul 2005 15:58:26 +0200 Subject: # POSSIBLY SPAM #::Anomolous is among In-Reply-To: <1e9.4066345a.30123d43@aol.com> Message-ID: Fantastic, we have quantum word amongness functions in rev now ;) Reminds me the joke: Q: Ever seen an elephant hidden behind a light post? A: no... Reply: Well hidden, wasn't it? ;)) On 22/07/2005 14:14:59 use-revolution-bounces wrote: >put "penguin" is among the words of "1 2 3 4" = FALSE > >put "penguin" is among the words of "1 2 3 4 " = TRUE > >hmm. Comments? > >/H > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription >preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From markgreenberg at cox.net Fri Jul 22 10:09:34 2005 From: markgreenberg at cox.net (Mark Greenberg) Date: Fri, 22 Jul 2005 07:09:34 -0700 Subject: Anomolous is among In-Reply-To: <20050722120653.1E099824928@mail.runrev.com> Message-ID: <3AF80CAA-FABA-11D9-9661-000A959B61BE@cox.net> Of course, in the extreme white space regions, that's where penguins live. (Sorry, couldn't resist. : ) Mark On Friday, July 22, 2005, at 05:06 AM, use-revolution-request at lists.runrev.com wrote: > put "penguin" is among the words of "1 2 3 4" = FALSE > > put "penguin" is among the words of "1 2 3 4 " = TRUE From dcragg at lacscentre.co.uk Fri Jul 22 10:32:11 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 22 Jul 2005 15:32:11 +0100 Subject: Indexing mail list messages In-Reply-To: <20050722125542.93965.qmail@web40525.mail.yahoo.com> References: <20050722125542.93965.qmail@web40525.mail.yahoo.com> Message-ID: On 22 Jul 2005, at 13:55, Alejandro Tejada wrote: > > Did you have a regex that could handle these > words with punctuation? No regex, but I've used this sequence of replace calls in the past. replace quote with space in tData replace "(" with space in tData replace "[" with space in tData replace "{" with space in tData replace ")" with space in tData replace "]" with space in tData replace "}" with space in tData replace "," with space in tData replace ":" with space in tData replace ";" with space in tData replace "." with space in tData replace "?" with space in tData replace "!" with space in tData replace "*" with space in tData replace "#" with space in tData replace "/" with space in tData replace "`" with space in tData However, you should probably give this some thought. For example, if you replace "." and "/", you will break up urls which may not be a good idea in all situations. In that case, it might be better to just replace a "." that is followed by a space or return. replace ". " with space & space in tData replace "." & return with space & return in tData The reason for replacing with an equal number of characters is that I understand it's much faster. (From previous discussion on the list.) Cheers Dave From gcanyon at inspiredlogic.com Fri Jul 22 11:04:53 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Fri, 22 Jul 2005 08:04:53 -0700 Subject: NPR puzzle In-Reply-To: References: <20050722023539.1C0D7824914@mail.runrev.com> Message-ID: The engine optimizes the tests in conditionals. So in this statement: if a=3 and b=2 then... b never gets evaluated if a is not 3. I rewrote Dick's very nice code using this principle, to get rid of the nested if statements. Interestingly, my code slowed down a couple milliseconds. Just from 13 to 15, but I wonder why that might be. Maybe the engine goes to the trouble of getting the substrings before doing the tests. Here's the code: put the milliseconds into tMilliseconds repeat for each line tSymbol in field 2 put "true" into S[tSymbol] end repeat repeat for each word W in field 1 if S[char 1 to 2 of W] and \ S[char 3 to 4 of W] and \ S[char 5 to 6 of W] and \ S[char 7 to 8 of W] and \ S[char 9 to 10 of W] then \ put W & return after tHits end repeat put the milliseconds - tMilliseconds into tElapsedMilliseconds put number of lines in tHits && "hits in" \ && tElapsedMilliseconds && "milliseconds" \ & return & return & tHits On Jul 22, 2005, at 6:09 AM, Jim Hurley wrote: >> >> Message: 8 >> Date: Thu, 21 Jul 2005 14:19:37 -0700 >> From: Dick Kriesel >> Subject: Re: NPR puzzle >> To: How to use Revolution >> Message-ID: >> Content-Type: text/plain; charset="US-ASCII" >> >> Here's a solution that takes 10 milliseconds on a 1GHz PowerBook G4. >> >> The main reason for the speed improvement over previous solutions >> is that >> array look-ups are typically faster than string searches. >> >> put the milliseconds into tMilliseconds >> repeat for each line tSymbol in field 2 >> put "true" into tSymbolArray[tSymbol] >> end repeat >> repeat for each word tWord in field 1 >> if tSymbolArray[char 1 to 2 of tWord] then >> if tSymbolArray[char 3 to 4 of tWord] then >> if tSymbolArray[char 5 to 6 of tWord] then >> if tSymbolArray[char 7 to 8 of tWord] then >> if tSymbolArray[char 9 to 10 of tWord] then >> put tWord & return after tHits >> end if >> end if >> end if >> end if >> end if >> end repeat >> put the milliseconds - tMilliseconds \ >> into tElapsedMilliseconds >> put number of lines in tHits && "hits in" \ >> && tElapsedMilliseconds && "milliseconds" \ >> & return & return & tHits >> >> -- Dick >> > > Dick, > > Dazzling! > > Jim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mwieder at ahsoftware.net Fri Jul 22 11:10:27 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 08:10:27 -0700 Subject: XML questions In-Reply-To: <20050722065022.99113.qmail@web60515.mail.yahoo.com> References: <20050722065022.99113.qmail@web60515.mail.yahoo.com> Message-ID: <402220803.20050722081027@ahsoftware.net> Jan- Thursday, July 21, 2005, 11:50:22 PM, you wrote: JS> 1. My favourite command for writing to a tree is JS> revAppendXML, as this allows me to toss in a chunk of JS> XML data, and have it parsed into the tree instantly. Thanks for the confirmation. RevAppendXML also seems to be the only builtin command that can handle the CDATA elements. The other append commands insist on converting the "<" and ">" tags into "<" and ">" and there doesn't seem to be any way of escaping the literal chars. What I find annoying about revAppendXML, though, is the inability to append literal data into an existing node. Node creation and appending of data must be done in a single step. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 22 11:15:33 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 08:15:33 -0700 Subject: Anomolous is among In-Reply-To: <1e9.4066345a.30123d43@aol.com> References: <1e9.4066345a.30123d43@aol.com> Message-ID: <242527023.20050722081533@ahsoftware.net> Hugh- Friday, July 22, 2005, 5:14:59 AM, you wrote: Fac> put "penguin" is among the words of "1 2 3 4" = FALSE Fac> put "penguin" is among the words of "1 2 3 4 " = TRUE Fac> hmm. Comments? Must be a messagebox thing. This works fine in a button script: on mouseUp local xyz put "1 2 3 4 " into xyz put "penguin" is among the words of xyz end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 22 11:31:00 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 08:31:00 -0700 Subject: NPR puzzle In-Reply-To: <701d5f3fb70cc3075df5c9d3b32d6be7@qldlearning.com> References: <4546510718.20050721202933@ahsoftware.net> <701d5f3fb70cc3075df5c9d3b32d6be7@qldlearning.com> Message-ID: <653454557.20050722083100@ahsoftware.net> Brian- Thursday, July 21, 2005, 8:43:43 PM, you wrote: BY> Well, to be fair, even a strongly-typed language like C lets you do the BY> same sort of things. BY> false is frequently defined as "everything other than true". BY> if/else is usually interpreted as "if TRUE then do this, OTHERWISE do BY> this", not "if TRUE then do this, if FALSE do this". By that reasoning, anything not TRUE is FALSE. Carried to its logical conclusion, on mouseUp local xyz put 1234 into xyz if xyz is false then put "xyz evaluates to FALSE" else put "xyz evaluates to TRUE" end if end mouseUp should provide "FALSE", since 1234 isn't FALSE. Obviously this doesn't happen. There's nothing you can put into xyz other than "false" that will evaluate to FALSE. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 22 11:35:29 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 08:35:29 -0700 Subject: NPR puzzle In-Reply-To: References: <4546510718.20050721202933@ahsoftware.net> Message-ID: <1793723023.20050722083529@ahsoftware.net> Sarah- Thursday, July 21, 2005, 8:57:52 PM, you wrote: SR> Dick's solution set up the initial array by putting "true" into each SR> element, so I think his syntax is perfectly correct :-) It's not the true part of the conditional I'm taking issue with, but the false part; the assumption that anything not explicitly "true" is "false". SR> It was a great solution. I thought that putting the field data into Indeed. -- -Mark Wieder mwieder at ahsoftware.net From eric.chatonet at sosmartsoftware.com Fri Jul 22 11:40:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 22 Jul 2005 17:40:53 +0200 Subject: NPR puzzle In-Reply-To: <653454557.20050722083100@ahsoftware.net> References: <4546510718.20050721202933@ahsoftware.net> <701d5f3fb70cc3075df5c9d3b32d6be7@qldlearning.com> <653454557.20050722083100@ahsoftware.net> Message-ID: <9A317847-05DB-4E3B-ADCA-27B0A32ECAFD@sosmartsoftware.com> Hi Mark, Strictly speaking, anything "not TRUE" is "FALSE" is correct: on mouseUp local xyz put 1234 into xyz if not xyz then put false else put true end mouseUp And you tried anything "FALSE" is "not TRUE" :-) Le 22 juil. 05 ? 17:31, Mark Wieder a ?crit : > By that reasoning, anything not TRUE is FALSE. Carried to its logical > conclusion, > > on mouseUp > local xyz > > put 1234 into xyz > if xyz is false then > put "xyz evaluates to FALSE" > else > put "xyz evaluates to TRUE" > end if > end mouseUp > > should provide "FALSE", since 1234 isn't FALSE. Obviously this doesn't > happen. There's nothing you can put into xyz other than "false" 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bnz2 at cdc.gov Fri Jul 22 12:13:45 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Jul 2005 12:13:45 -0400 Subject: NPR puzzle Message-ID: <64878EF567131D4596246171F75FD4A99680DB@m-epo-1.epo.cdc.gov> I just applied this technique to a spellchecker we use for a program at work... Holy freakin' cow! It was ultrafast - I mean, like nearly instant. Much faster than the spellchecker on MSWord Thanks Dick! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Friday, July 22, 2005 11:35 AM To: How to use Revolution Subject: Re: NPR puzzle Sarah- Thursday, July 21, 2005, 8:57:52 PM, you wrote: SR> Dick's solution set up the initial array by putting "true" into each SR> element, so I think his syntax is perfectly correct :-) It's not the true part of the conditional I'm taking issue with, but the false part; the assumption that anything not explicitly "true" is "false". SR> It was a great solution. I thought that putting the field data into Indeed. -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Fri Jul 22 12:20:54 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 22 Jul 2005 09:20:54 -0700 Subject: [WAY OT] Macs Show Huge Gains in Corporations Message-ID: <9B2D3962-A74B-4211-9899-EAA041D20051@danshafer.com> Just because this llst is so cross-platform-conscious, I thought it would be at least marginally interesting to note that a new Jupiter Research report says OS X has driven Macs into a much larger share of the corporate desktop than at least I had previously thought. Upwards of 17% of corporate workers in small to medium-sized companies (some with 10,000+ employees) are using OS X on their desktops. ANd OS X Server's doing remarkably well, too. Here's the story: http://www.macworld.com/news/2005/07/21/osx/index.php ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From lestond at lpsoftware.com Fri Jul 22 14:12:02 2005 From: lestond at lpsoftware.com (Leston Drake) Date: Fri, 22 Jul 2005 11:12:02 -0700 Subject: Rev won't paste Message-ID: <5.1.1.6.0.20050722110237.01e23470@mail.xmission.com> Hi all, I've discovered something quirky with my Rev. I want to simply copy some text from a text editor and paste it into a field. However, the paste command doesn't work. (Windows) Tried both Ctrl+V or Edit | Paste from the menu. I've found that if copy my text from my text editor, then in Rev select some text in the field, the Edit menu now shows "Paste Text." Then it will paste the text properly. But it seems strange that it will not recognize Ctrl+V. BTW, it does recognize Ctrl+X (cut), Ctrl+C (copy), and Ctrl+Z (undo). Has anyone else noticed this? This is in version 2.2.1, not the latest one. --Leston From tom.morrison at email.stvincent.edu Fri Jul 22 13:22:00 2005 From: tom.morrison at email.stvincent.edu (C. Thomas Morrison) Date: Fri, 22 Jul 2005 13:22:00 -0400 Subject: cursor submarining Message-ID: <450F0C47-B4C8-4766-A71F-42A2B6C17BD8@email.stvincent.edu> Hi, I'm a new RunRevolution (Dreamcard 2.6) user in higher ed. I've quickly thrown together a stack which is simply intended to create an email message via the revMail command. It works fine on my Mac in both Dreamcard and Dreamcard Player. However, when a co-worker tries to use the stack on a Windows PC with Player, one of the two problems arise: 1) If he double-clicks on the stack to launch Player, the revMail command does not work (it is called when the user clicks on a button on a card). 2) If he launches Player and then opens the stack, the revMail command works fine. However, the cursor submarines under the stack, which obviously makes using the stack somewhat of a challenge. Any suggestions would be appreciated. Thanks, Tom From FlexibleLearning at aol.com Fri Jul 22 13:22:58 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Fri, 22 Jul 2005 13:22:58 EDT Subject: Anomolous is among Message-ID: <1f2.e24807f.30128572@aol.com> Try this one, Mark... on mouseUp local xyz put "1 2 3 4 " into xyz put ("penguin" is among the words of xyz) &CR&\ ("penguin" is among the words of "1 2 3 4 ") end mouseUp /H From jhurley at infostations.com Fri Jul 22 13:31:10 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 22 Jul 2005 10:31:10 -0700 Subject: NPR puzzle In-Reply-To: <20050722170005.369AA824996@mail.runrev.com> References: <20050722170005.369AA824996@mail.runrev.com> Message-ID: > >Message: 12 >Date: Fri, 22 Jul 2005 08:04:53 -0700 >From: Geoff Canyon >Subject: Re: NPR puzzle >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > >The engine optimizes the tests in conditionals. So in this statement: > >if a=3 and b=2 then... > >b never gets evaluated if a is not 3. I rewrote Dick's very nice code >using this principle, to get rid of the nested if statements. >Interestingly, my code slowed down a couple milliseconds. Just from >13 to 15, but I wonder why that might be. Maybe the engine goes to >the trouble of getting the substrings before doing the tests. > >Here's the code: > > put the milliseconds into tMilliseconds > repeat for each line tSymbol in field 2 > put "true" into S[tSymbol] > end repeat > repeat for each word W in field 1 > if S[char 1 to 2 of W] and \ > S[char 3 to 4 of W] and \ > S[char 5 to 6 of W] and \ > S[char 7 to 8 of W] and \ > S[char 9 to 10 of W] then \ > put W & return after tHits > end repeat > put the milliseconds - tMilliseconds into tElapsedMilliseconds > put number of lines in tHits && "hits in" \ > && tElapsedMilliseconds && "milliseconds" \ > & return & return & tHits Geoff, It appears that RR also does not continue with the nested ifs after it gets a false. I put a "beep" after the next to last if in Dick's handler and the handler only beeped once. Jim From sanke at hrz.uni-kassel.de Fri Jul 22 13:36:01 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Fri, 22 Jul 2005 19:36:01 +0200 Subject: Anomolous is among Message-ID: <42E12E81.1060501@hrz.uni-kassel.de> On Fri Jul 22 Mark Wieder mwieder at ahsoftware.net wrote: > Must be a messagebox thing. This works fine in a button script: > > on mouseUp > local xyz > > put "1 2 3 4 " into xyz > put "penguin" is among the words of xyz > end mouseUp > > -- > -Mark Wieder > mwieder at ahsoftware.net It isn't a message box thing. If you leave out the variable and use put "penguin" is among the words of "1 2 3 4 " into your script - like in the message box - you get the same result "true". Hence it must be an engine thing that goes way back, even in Rev 2.1.2 it is "true". And it is not an IDE bug as a standalone yields the same results. --Wilhelm Sanke From chris at carroll-davis.co.uk Fri Jul 22 13:57:01 2005 From: chris at carroll-davis.co.uk (Chris Carroll-Davis) Date: Fri, 22 Jul 2005 18:57:01 +0100 Subject: Rev won't paste References: <5.1.1.6.0.20050722110237.01e23470@mail.xmission.com> Message-ID: <000c01c58ee6$c486ad70$08f2fea9@etlaptop> Ah! So I'm not going mad. I've seen this weird behaviour and never got to the bottom of the mystery. But try Ctrl+SHIFT+V...?? Mystery. Chris ----- Original Message ----- From: "Leston Drake" To: Sent: Friday, July 22, 2005 7:12 PM Subject: Rev won't paste > Hi all, > > I've discovered something quirky with my Rev. I want to simply copy some > text from a text editor and paste it into a field. > However, the paste command doesn't work. (Windows) > > Tried both Ctrl+V or Edit | Paste from the menu. > > I've found that if copy my text from my text editor, then in Rev select > some text in the field, the Edit menu now shows "Paste Text." Then it will > paste the text properly. But it seems strange that it will not recognize > Ctrl+V. BTW, it does recognize Ctrl+X (cut), Ctrl+C (copy), and Ctrl+Z > (undo). > > Has anyone else noticed this? This is in version 2.2.1, not the latest > one. > > --Leston > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Jul 22 14:05:13 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 11:05:13 -0700 Subject: NPR puzzle In-Reply-To: <9A317847-05DB-4E3B-ADCA-27B0A32ECAFD@sosmartsoftware.com> References: <4546510718.20050721202933@ahsoftware.net> <701d5f3fb70cc3075df5c9d3b32d6be7@qldlearning.com> <653454557.20050722083100@ahsoftware.net> <9A317847-05DB-4E3B-ADCA-27B0A32ECAFD@sosmartsoftware.com> Message-ID: <7912707322.20050722110513@ahsoftware.net> Eric- Friday, July 22, 2005, 8:40:53 AM, you wrote: EC> Strictly speaking, anything "not TRUE" is "FALSE" is correct: EC> on mouseUp EC> local xyz EC> put 1234 into xyz EC> if not xyz then put false EC> else put true EC> end mouseUp EC> And you tried anything "FALSE" is "not TRUE" :-) Right. The point being that "if not xyz" is not the same as "if xyz is false". It's not really correct that "anything not TRUE is FALSE", it's simply that anything not TRUE fails the "is true" test. Anything not "true" is "not true". Therefore, testing to see is something is false will not necessarily return the correct answer, i.e., will not determine whether something is true or false in boolean terms, but rather whether it is strictly equal to the value "false". -- -Mark Wieder mwieder at ahsoftware.net From bann at sunncomm.com Fri Jul 22 14:15:44 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 22 Jul 2005 11:15:44 -0700 Subject: How to snap a substack window to the bottom of mainstack window??? Message-ID: From b.xavier at internet.lu Fri Jul 22 14:18:19 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Jul 2005 20:18:19 +0200 Subject: Rev won't paste In-Reply-To: <000c01c58ee6$c486ad70$08f2fea9@etlaptop> Message-ID: <20050722180857.3F67F8248D4@mail.runrev.com> Hi This one should be in any faq... ;) Actually, if you just click on the menubar of the scripteditor or the revmenubar it will work again, it's just a focus problem. Another "ever-working" shortcut is the insert-key (right of the backspace)... Shift-ins copies, ins pastes... I heard rev is woring on some double-focals for it ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chris Carroll-Davis > Sent: Friday, July 22, 2005 19:57 > To: How to use Revolution > Subject: Re: Rev won't paste > > Ah! So I'm not going mad. I've seen this weird behaviour > and never got to the bottom of the mystery. But try Ctrl+SHIFT+V...?? > > Mystery. > > Chris > > > ----- Original Message ----- > From: "Leston Drake" > To: > Sent: Friday, July 22, 2005 7:12 PM > Subject: Rev won't paste > > > > Hi all, > > > > I've discovered something quirky with my Rev. I want to > simply copy some > > text from a text editor and paste it into a field. > > However, the paste command doesn't work. (Windows) > > > > Tried both Ctrl+V or Edit | Paste from the menu. > > > > I've found that if copy my text from my text editor, then > in Rev select > > some text in the field, the Edit menu now shows "Paste > Text." Then it will > > paste the text properly. But it seems strange that it will > not recognize > > Ctrl+V. BTW, it does recognize Ctrl+X (cut), Ctrl+C (copy), > and Ctrl+Z > > (undo). > > > > Has anyone else noticed this? This is in version 2.2.1, not > the latest > > one. > > > > --Leston > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Fri Jul 22 14:17:11 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Jul 2005 14:17:11 -0400 Subject: Well that was a weird bug... Message-ID: <64878EF567131D4596246171F75FD4A97445F7@m-epo-1.epo.cdc.gov> I just figured out the strangest thing... For a program at work, I have a stack and a substack. The stack sends a message to the substack. In part of the handler in the substack, it copies a group from one part of itself to another part of itself. When you copy a group, the id of the new group is placed in the 'it' variable. If the substack is open, then RR gives the new group a proper ID, and everything works properly. However, if the substack is closed, then RR gives the new group an ID of 0 - which is a problem if you copy more than one group like this, because they all wind up with the ID being 0. As you can imagine, this causes all sorts of weird behavior when other scripts try to reference these groups by their IDs. Anyone ever seen this before? I found an easy work-around for my situation, and now I know to look out for it. From jacque at hyperactivesw.com Fri Jul 22 14:19:09 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Jul 2005 13:19:09 -0500 Subject: CGI MAC OSX In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445F6@m-epo-1.epo.cdc.gov> Message-ID: <42E1389D.6080204@hyperactivesw.com> paolo mazza wrote: > Hi revs, > I am looking for a MAC OSX engine of Revolution. I need to install it in > a MAC OSX server as CGI. > In the ftp.runrev.com I found the REV 2.5 engines for WINDOWS and LINUX. > Where can I find the engine for the MAC OS X ? The last Darwin engine available is 2.1.2. This version still works fine. You can get it here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Fri Jul 22 14:35:49 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 22 Jul 2005 19:35:49 +0100 Subject: Rev won't paste In-Reply-To: <000c01c58ee6$c486ad70$08f2fea9@etlaptop> References: <5.1.1.6.0.20050722110237.01e23470@mail.xmission.com> <000c01c58ee6$c486ad70$08f2fea9@etlaptop> Message-ID: <42E13C85.5040209@tweedly.net> Chris Carroll-Davis wrote: > Ah! So I'm not going mad. I've seen this weird behaviour and never > got to the bottom of the mystery. But try Ctrl+SHIFT+V...?? > > Mystery. I have a vague memory (well, half a memory) of being told by someone at RunRev that there was a known problem (Windows only) where Paste (by Ctrl-V) does not operate correctly in the IDE until a script editor has been opened. But I can't find the email .... so that memory may be suspect ... -- 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.9.2/55 - Release Date: 21/07/2005 From ambassador at fourthworld.com Fri Jul 22 14:53:15 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2005 11:53:15 -0700 Subject: 3D? Message-ID: <42E1409B.20304@fourthworld.com> I have a friend who recently asked me this: > I am interested in 3D support within Revolution/DreamCard. > Nothing fancy, just the ability to plot points (variable > size and color spheres) on an X-Y-Z cartesian grid and > then rotate the grid around in different orientations. Suggestions? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bnz2 at cdc.gov Fri Jul 22 15:04:09 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Jul 2005 15:04:09 -0400 Subject: 3D? Message-ID: <64878EF567131D4596246171F75FD4A97445F8@m-epo-1.epo.cdc.gov> I have looked into this a little bit, and here is what I concluded: - An image with custom properties - one customproperty contains the 3D data - another customproperty contains the viewing perspective data (zoom,tilt,twist,pan,veiwpoint,etc...) - An external to do the math required for various moves - On opencard rev sends the 3D dataset to the external - When any movement is made, the viewing perspective information is changed, and you send the new viewing perspective information to the external, which does the math to calculate the imagedata for the image, then returns that imagedata to Rev - Rev then sets the imagedata of the image to the new imagedata The math for doing these computations is not quite as bad as I thought it would be, and there are a number of websites on the Web that explain it. However, a huge number of calculations must be performed, which is why I suggest an external. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Friday, July 22, 2005 2:53 PM To: How to use Revolution Subject: 3D? I have a friend who recently asked me this: > I am interested in 3D support within Revolution/DreamCard. > Nothing fancy, just the ability to plot points (variable > size and color spheres) on an X-Y-Z cartesian grid and > then rotate the grid around in different orientations. Suggestions? -- Richard Gaskin Fourth World Media Corporation Developer of WebMerge: Publish any database on any Web site ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From see3d at writeme.com Fri Jul 22 15:25:14 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 22 Jul 2005 15:25:14 -0400 Subject: 3D? In-Reply-To: <64878EF567131D4596246171F75FD4A97445F8@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445F8@m-epo-1.epo.cdc.gov> Message-ID: <4762B26D-4920-4BB2-BEBD-90BFEBAB8771@writeme.com> Rev should be able to handle these calculations directly as long as you are not talking about thousands of points. Dennis On Jul 22, 2005, at 3:04 PM, Lynch, Jonathan wrote: > I have looked into this a little bit, and here is what I concluded: > > - An image with custom properties > - one customproperty contains the 3D data > - another customproperty contains the viewing perspective data > (zoom,tilt,twist,pan,veiwpoint,etc...) > - An external to do the math required for various moves > - On opencard rev sends the 3D dataset to the external > - When any movement is made, the viewing perspective information is > changed, and you send the new viewing perspective information to the > external, which does the math to calculate the imagedata for the > image, > then returns that imagedata to Rev > - Rev then sets the imagedata of the image to the new imagedata > > > The math for doing these computations is not quite as bad as I thought > it would be, and there are a number of websites on the Web that > explain > it. However, a huge number of calculations must be performed, which is > why I suggest an external. From bnz2 at cdc.gov Fri Jul 22 15:40:45 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Jul 2005 15:40:45 -0400 Subject: 3D? Message-ID: <64878EF567131D4596246171F75FD4A97445F9@m-epo-1.epo.cdc.gov> I believe that in part it depends on whether you are using the points/splines/surfaces approach or the 3D pixel approach. The points/splines/surfaces approach uses much less data, although the math is a bit more complex. I know that the 3D programs I have played with use points/splines/surfaces. I had the idea to store the data as 3D pixels, but where you only store info for pixels that exist. For a small object, calculating the first intersecting point between a line extending from the notional viewing window and the object should not be too hard, and should allow the use of fast commands like intersect. But even for that, think about an image that is 100x100 - that's 10,000 pixels, each of which requires some calculation to figure out. Pixel by pixel image processing in transcript is not that fast. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dennis Brown Sent: Friday, July 22, 2005 3:25 PM To: How to use Revolution Subject: Re: 3D? Rev should be able to handle these calculations directly as long as you are not talking about thousands of points. Dennis On Jul 22, 2005, at 3:04 PM, Lynch, Jonathan wrote: > I have looked into this a little bit, and here is what I concluded: > > - An image with custom properties > - one customproperty contains the 3D data > - another customproperty contains the viewing perspective data > (zoom,tilt,twist,pan,veiwpoint,etc...) > - An external to do the math required for various moves > - On opencard rev sends the 3D dataset to the external > - When any movement is made, the viewing perspective information is > changed, and you send the new viewing perspective information to the > external, which does the math to calculate the imagedata for the > image, > then returns that imagedata to Rev > - Rev then sets the imagedata of the image to the new imagedata > > > The math for doing these computations is not quite as bad as I thought > it would be, and there are a number of websites on the Web that > explain > it. However, a huge number of calculations must be performed, which is > why I suggest an external. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at Club-Internet.fr Fri Jul 22 15:54:00 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 22 Jul 2005 21:54:00 +0200 Subject: 3D? References: <42E1409B.20304@fourthworld.com> Message-ID: <42E14ECE.3F3EC8A8@Club-Internet.fr> > I have a friend who recently asked me this: > > > I am interested in 3D support within Revolution/DreamCard. > > Nothing fancy, just the ability to plot points (variable > > size and color spheres) on an X-Y-Z cartesian grid and > > then rotate the grid around in different orientations. > > Suggestions? > openGL. JB From sims at ezpzapps.com Fri Jul 22 15:45:52 2005 From: sims at ezpzapps.com (sims) Date: Fri, 22 Jul 2005 21:45:52 +0200 Subject: 3D? In-Reply-To: <42E1409B.20304@fourthworld.com> References: <42E1409B.20304@fourthworld.com> Message-ID: At 11:53 AM -0700 7/22/05, Richard Gaskin wrote: >I have a friend who recently asked me this: > >> I am interested in 3D support within Revolution/DreamCard. >> Nothing fancy, just the ability to plot points (variable >> size and color spheres) on an X-Y-Z cartesian grid and >> then rotate the grid around in different orientations. > >Suggestions? I might be mistaken but didn't Scott Rossi have some 3D shapes a year or two ago...one was something like a doughnut shape...that were produced in Rev/MC? sims From b.xavier at internet.lu Fri Jul 22 16:09:23 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 22 Jul 2005 22:09:23 +0200 Subject: 3D? In-Reply-To: Message-ID: <20050722195956.439D5824A61@mail.runrev.com> You're all forgetting Alejandro's amazing 3D applications... There's Scott's simlation via flash (was it?) And i've made a few strides but no API yet But OpenGL should be the tao... After all these years of asking im impressed at the lack of a built-in solution. Then again if QTVR or QT3D does work, why not... Did we all forget about MacOS 3D QT way back in QT 3.0? But how do you make multiple objects interact or let alone script them? We're more than a decade behind the competition >;( Behind that, note that if we dont have proper array functions we're still dead in the water... Lack of support of graphic card's built in functions also is requirement to get close to "real" modern graphic engines. And behind all that, without threading... well, your server is also down the water (there's an interesting article on newscientist.com about that (and telepathic software - mentioned on the mc list)... Now, that's worth a license upgrade fee ;) Sorry for the faint of heart... Just dreaming the revolution up! cheers Xavier http://monsieurx.com - always a decade ahead ;) > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of sims > Sent: Friday, July 22, 2005 21:46 > To: How to use Revolution > Subject: Re: 3D? > > At 11:53 AM -0700 7/22/05, Richard Gaskin wrote: > >I have a friend who recently asked me this: > > > >> I am interested in 3D support within Revolution/DreamCard. > >> Nothing fancy, just the ability to plot points (variable > size and > >> color spheres) on an X-Y-Z cartesian grid and then rotate > the grid > >> around in different orientations. > > > >Suggestions? > > I might be mistaken but didn't Scott Rossi have some 3D > shapes a year or two ago...one was something like a doughnut > shape...that were produced in Rev/MC? > > sims > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bann at sunncomm.com Fri Jul 22 16:31:49 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 22 Jul 2005 13:31:49 -0700 Subject: How to snap a substack window to the bottom of mainstack window Message-ID: Hello, Does anyone know: How to snap a substack window to the bottom of mainstack window? When usr move the main stack, the substack should snap and follow? Thank you From see3d at writeme.com Fri Jul 22 16:35:38 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 22 Jul 2005 16:35:38 -0400 Subject: 3D? In-Reply-To: <64878EF567131D4596246171F75FD4A97445F9@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445F9@m-epo-1.epo.cdc.gov> Message-ID: <7D20DD80-AD4A-45BB-A89A-9C6E48CF12BE@writeme.com> Based on the original request, > I am interested in 3D support within Revolution/DreamCard. > Nothing fancy, just the ability to plot points (variable > size and color spheres) on an X-Y-Z cartesian grid and > then rotate the grid around in different orientations. I would build buttons of images of spheres for each point, sized to the requirement, then positioned/layered according to the view point. It would be a bit harder than the clock challenge, but not too much based on what I have seen recently from this list. In fact it would make a good challenge problem. Might even find some application as a real cool ball clock in 3D. Dennis On Jul 22, 2005, at 3:40 PM, Lynch, Jonathan wrote: > I believe that in part it depends on whether you are using the > points/splines/surfaces approach or the 3D pixel approach. > > The points/splines/surfaces approach uses much less data, although the > math is a bit more complex. I know that the 3D programs I have played > with use points/splines/surfaces. > > I had the idea to store the data as 3D pixels, but where you only > store > info for pixels that exist. For a small object, calculating the first > intersecting point between a line extending from the notional viewing > window and the object should not be too hard, and should allow the use > of fast commands like intersect. > > But even for that, think about an image that is 100x100 - that's > 10,000 > pixels, each of which requires some calculation to figure out. > Pixel by > pixel image processing in transcript is not that fast. From jbv.silences at Club-Internet.fr Fri Jul 22 16:59:30 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Fri, 22 Jul 2005 22:59:30 +0200 Subject: 3D? References: <20050722195956.439D5824A61@mail.runrev.com> Message-ID: <42E15E25.39E09397@Club-Internet.fr> > > But OpenGL should be the tao... After all these years of asking > im impressed at the lack of a built-in solution. > If anyone has some $$$$ to put in this ransomware thing, I could volunteer to spend a few weeks / months of my time in implementing openGL access within Rev... JB From lestond at lpsoftware.com Fri Jul 22 17:54:01 2005 From: lestond at lpsoftware.com (Leston Drake) Date: Fri, 22 Jul 2005 14:54:01 -0700 Subject: Rev won't paste In-Reply-To: <000c01c58ee6$c486ad70$08f2fea9@etlaptop> References: <5.1.1.6.0.20050722110237.01e23470@mail.xmission.com> Message-ID: <5.1.1.6.0.20050722145333.01e262d8@mail.xmission.com> Yes. I discovered the SHIFT trick too. --Leston At 10:57 AM 7/22/2005, you wrote: >Ah! So I'm not going mad. I've seen this weird behaviour and never got >to the bottom of the mystery. But try Ctrl+SHIFT+V...?? > >Mystery. > >Chris > > >----- Original Message ----- From: "Leston Drake" >To: >Sent: Friday, July 22, 2005 7:12 PM >Subject: Rev won't paste > > >>Hi all, >> >>I've discovered something quirky with my Rev. I want to simply copy some >>text from a text editor and paste it into a field. >>However, the paste command doesn't work. (Windows) >> >>Tried both Ctrl+V or Edit | Paste from the menu. >> >>I've found that if copy my text from my text editor, then in Rev select >>some text in the field, the Edit menu now shows "Paste Text." Then it >>will paste the text properly. But it seems strange that it will not >>recognize Ctrl+V. BTW, it does recognize Ctrl+X (cut), Ctrl+C (copy), and >>Ctrl+Z (undo). >> >>Has anyone else noticed this? This is in version 2.2.1, not the latest one. >> >>--Leston >> >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Fri Jul 22 17:32:48 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 14:32:48 -0700 Subject: Anomolous is among In-Reply-To: <1f2.e24807f.30128572@aol.com> References: <1f2.e24807f.30128572@aol.com> Message-ID: <13125162071.20050722143248@ahsoftware.net> Well, that's pretty bizarre. However, I'm not sure the culprit is "among", since on mouseUp local xyz put "1 2 3 4 " into xyz put ("penguin" is among the words of xyz) &CR&\ ("penguin" is among the items of "1, 2, 3, 4, ") end mouseUp returns false false ...maybe "penguin" is a subset of the set of empty words?... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Jul 22 17:39:56 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 22 Jul 2005 14:39:56 -0700 Subject: Place vs copy Message-ID: <16625590046.20050722143956@ahsoftware.net> All- I'm trying to apply some optimization techniques learned from the online scripting conferences. And running into snags. "Placing" a group instead of copying and pasting it seems to turn its background behavior on. Is there something similar for non-background groups? Here's what I'm faced with - I'm currently pasting between some 100 to 300 copies of a single group onto a card. Is there a better way to do this than copy-once-paste-many? -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Fri Jul 22 17:40:38 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 22 Jul 2005 16:40:38 -0500 Subject: Rev won't paste In-Reply-To: <5.1.1.6.0.20050722145333.01e262d8@mail.xmission.com> References: <5.1.1.6.0.20050722110237.01e23470@mail.xmission.com> <5.1.1.6.0.20050722145333.01e262d8@mail.xmission.com> Message-ID: <42E167D6.2080101@chipp.com> Leston, This is a known problem in a previous engine release. It's fixed in the latest release. -Chipp From chipp at chipp.com Fri Jul 22 17:44:12 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 22 Jul 2005 16:44:12 -0500 Subject: How to snap a substack window to the bottom of mainstack window In-Reply-To: References: Message-ID: <42E168AC.7080004@chipp.com> Check out altBuddyStack at: http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm -Chipp Ban Nguyen wrote: > Hello, > > > Does anyone know: > > How to snap a substack window to the bottom of mainstack window? > When usr move the main stack, the substack should snap and follow? From bnz2 at cdc.gov Fri Jul 22 17:46:28 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 22 Jul 2005 17:46:28 -0400 Subject: Place vs copy Message-ID: <64878EF567131D4596246171F75FD4A99680E7@m-epo-1.epo.cdc.gov> Is it bad for the group to be a background? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Mark Wieder Sent: Friday, July 22, 2005 5:40 PM To: use-revolution at lists.runrev.com Subject: Place vs copy All- I'm trying to apply some optimization techniques learned from the online scripting conferences. And running into snags. "Placing" a group instead of copying and pasting it seems to turn its background behavior on. Is there something similar for non-background groups? Here's what I'm faced with - I'm currently pasting between some 100 to 300 copies of a single group onto a card. Is there a better way to do this than copy-once-paste-many? -- -Mark Wieder mwieder at ahsoftware.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Fri Jul 22 17:58:53 2005 From: klaus at major-k.de (Klaus Major) Date: Fri, 22 Jul 2005 23:58:53 +0200 Subject: How to snap a substack window to the bottom of mainstack window In-Reply-To: References: Message-ID: <100A8924-1229-4FC8-AAD3-E8372A85C683@major-k.de> Hi Ban, > Hello, > > Does anyone know: > > How to snap a substack window to the bottom of mainstack window? > When usr move the main stack, the substack should snap and follow? > > Thank you take a look at the "stackmove" function (?)... This will be sent AFTER the user has moved a stack around with the title bar. So you could script in the "main stack to be dragged": on movestack set the topleft of stack "snap stack" to the bottomleft of stack "main stack" end movestack You may have to adjust the locs a bit, but you get the picture :-) Have a nice weekend! Best Klaus Major klaus at major-k.de http://www.major-k.de From ambassador at fourthworld.com Fri Jul 22 18:13:30 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2005 15:13:30 -0700 Subject: 3D? In-Reply-To: <42E14ECE.3F3EC8A8@Club-Internet.fr> References: <42E1409B.20304@fourthworld.com> <42E14ECE.3F3EC8A8@Club-Internet.fr> Message-ID: <42E16F8A.1010407@fourthworld.com> jbv wrote: > >>I have a friend who recently asked me this: >> >> > I am interested in 3D support within Revolution/DreamCard. >> > Nothing fancy, just the ability to plot points (variable >> > size and color spheres) on an X-Y-Z cartesian grid and >> > then rotate the grid around in different orientations. >> >>Suggestions? >> > > > openGL. What are the Rev commands to access OpenGL's 3D capabilities? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Hamburger1 at aol.com Fri Jul 22 18:32:51 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Fri, 22 Jul 2005 18:32:51 EDT Subject: Menubar Problem on Mac OSX Message-ID: <146.49017d44.3012ce13@aol.com> Hi everyone, OK I admit it, I'm thick headed. One of you kind folks already answered my question and I trashed the response. Please tell me again what I have to include in the "File" menu and "Edit" menu so I can add other things to each, Thanks Joe, Orlando, FL From alex at tweedly.net Fri Jul 22 19:34:45 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 23 Jul 2005 00:34:45 +0100 Subject: Rev won't paste In-Reply-To: <42E13C85.5040209@tweedly.net> References: <5.1.1.6.0.20050722110237.01e23470@mail.xmission.com> <000c01c58ee6$c486ad70$08f2fea9@etlaptop> <42E13C85.5040209@tweedly.net> Message-ID: <42E18295.5030400@tweedly.net> Chipp said: >Leston, > >This is a known problem in a previous engine release. It's fixed in the >latest release. > > Chipp, Do you know if there was a BZ describing which problem was fixed in the latest release ? Because I know the problem of poor cut/paste behaviour isn't completely fixed, and I'd like to see if it needs a new BZ entry. Recipe: (WinXP, Rev 2.6 bld 108) open Rev open Message Box Type "abc" Highlight the whole line (Ctrl-A) Copy it (Ctrl-C) Overtype something new (e.g. "def") Highlight this whole line (Ctrl-A) Paste (Ctrl-V) What do you see ? It should be "abc" - but for me it is in fact the last thing I "Copied" - in this case, "this is a known ...." Using the menu gets it right - and thereafter using Ctrl-shortcuts seems to work OK every time This is much improved over 2.5.1 (when you couldn't do that first "paste" operation at all - all it did was beep, even if you used the menu). - but it's still not completely correct. -- 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.9.2/55 - Release Date: 21/07/2005 From ambassador at fourthworld.com Fri Jul 22 19:41:48 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Jul 2005 16:41:48 -0700 Subject: Menubar Problem on Mac OSX In-Reply-To: <146.49017d44.3012ce13@aol.com> References: <146.49017d44.3012ce13@aol.com> Message-ID: <42E1843C.50909@fourthworld.com> Hamburger1 at aol.com wrote: > Hi everyone, > > OK I admit it, I'm thick headed. One of you kind folks already answered my > question and I trashed the response. > > Please tell me again what I have to include in the "File" menu and "Edit" > menu so I can add other things to each, The common menu items for OS X are listed here: The same for Windows can be found here: The way Rev handles the differences is described in: Documentation->Topics->Menus and the Menu Bar See the section titled "Special Menu Items" there. For the Human Interface Guidelines for most platforms Rev supports see the links at the topright of this page: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From irog at mac.com Fri Jul 22 20:49:01 2005 From: irog at mac.com (Roger Guay) Date: Fri, 22 Jul 2005 18:49:01 -0600 Subject: Simulated Mouse Action Message-ID: <70A2A0DD-B6BE-42C6-A74B-5E0ED514FE37@mac.com> I just uploaded a stack to User Spaces that illustrates how mouse movement and action can be simulated. This may be useful for example, in animated tutorials and presentations of how to use a Rev stack of your own design or CBT or?? Look for it under my username of RogerG. It's called MovingHand. Cheers, Roger From charles.hartman at conncoll.edu Fri Jul 22 21:05:24 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Fri, 22 Jul 2005 21:05:24 -0400 Subject: Simulated Mouse Action In-Reply-To: <70A2A0DD-B6BE-42C6-A74B-5E0ED514FE37@mac.com> References: <70A2A0DD-B6BE-42C6-A74B-5E0ED514FE37@mac.com> Message-ID: Cool -- thanks -- but don't you want to call it The Invisible Hand ? Charles Hartman On Jul 22, 2005, at 8:49 PM, Roger Guay wrote: > I just uploaded a stack to User Spaces that illustrates how mouse > movement and action can be simulated. This may be useful for > example, in animated tutorials and presentations of how to use a > Rev stack of your own design or CBT or?? > > Look for it under my username of RogerG. It's called MovingHand. > From capellan2000 at yahoo.com Fri Jul 22 23:14:50 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 22 Jul 2005 20:14:50 -0700 (PDT) Subject: [ANN] exportVector_v02c In-Reply-To: <20050722202736.4E584824D15@mail.runrev.com> Message-ID: <20050723031450.42378.qmail@web40502.mail.yahoo.com> Hi Developers, Download the stack: exportVector_v02c From: This stack resumes and unifies all my previous development work, exporting vector graphics to Adobe Ilustrator and PDF file formats. Have a nice weekend! al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From dsc at swcp.com Fri Jul 22 23:36:29 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 22 Jul 2005 21:36:29 -0600 Subject: Anomolous is among In-Reply-To: <42E12E81.1060501@hrz.uni-kassel.de> References: <42E12E81.1060501@hrz.uni-kassel.de> Message-ID: <85ecfb82eddd5476f532d32a27e9fa87@swcp.com> On Jul 22, 2005, at 11:36 AM, Wilhelm Sanke wrote: > put "penguin" is among the words of "1 2 3 4 " ==> true Hmmm. put "penguin" is among the words of char 1 to 10 of "1 2 3 4 5 " ==> true put "penguin" is among the words of char 1 to 8 of "1 2 3 4 5 " ==> false Very interesting. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming and software ********************************************** From sims at ezpzapps.com Fri Jul 22 23:35:52 2005 From: sims at ezpzapps.com (sims) Date: Sat, 23 Jul 2005 05:35:52 +0200 Subject: 3D? - Tutti 3D In-Reply-To: <42E16F8A.1010407@fourthworld.com> References: <42E1409B.20304@fourthworld.com> <42E14ECE.3F3EC8A8@Club-Internet.fr> <42E16F8A.1010407@fourthworld.com> Message-ID: >Tutti 3D is available on RevNet and via our Media Panel. Enter the >> following in your message box: >> >> go url "http://www.tactilemedia.com/tmpanel.rev" >> Tutti 3D Probably not what you need BUT has the usual Rossi cool factor! cube - pyramid - star - ring drawings which you can rotate at different angles and speeds. ciao, sims From briany at qldlearning.com Fri Jul 22 23:47:49 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 22 Jul 2005 20:47:49 -0700 Subject: Anomolous is among In-Reply-To: <85ecfb82eddd5476f532d32a27e9fa87@swcp.com> References: <42E12E81.1060501@hrz.uni-kassel.de> <85ecfb82eddd5476f532d32a27e9fa87@swcp.com> Message-ID: <7b0d9fed312b5f07ed77064721689a93@qldlearning.com> Even simpler: put " " into x answer "planets" is among the words of " " => TRUE answer "planets" is among the words of x => FALSE It looks like it has to do with using string literals in the statement, and chokes on empty words. - Brian From dsc at swcp.com Sat Jul 23 00:09:24 2005 From: dsc at swcp.com (Dar Scott) Date: Fri, 22 Jul 2005 22:09:24 -0600 Subject: Anomolous is among In-Reply-To: <7b0d9fed312b5f07ed77064721689a93@qldlearning.com> References: <42E12E81.1060501@hrz.uni-kassel.de> <85ecfb82eddd5476f532d32a27e9fa87@swcp.com> <7b0d9fed312b5f07ed77064721689a93@qldlearning.com> Message-ID: <3b93e0ff90d7442ce0b5599b8a2d5711@swcp.com> On Jul 22, 2005, at 9:47 PM, Brian Yennie wrote: > answer "planets" is among the words of " " => TRUE > answer "planets" is among the words of x => FALSE > > It looks like it has to do with using string literals in the > statement, and chokes on empty words. Yeah. But it seems to be a little more involved than that: put "planets" is among the words of char 4 of "1 2 " ==> true put "planets" is among the words of char 2 of "1 2 " ==> false Weird. on mouseUp constant x = " " put "planets" is among the words of x end mouseUp ==> true Dar From briany at qldlearning.com Sat Jul 23 00:50:23 2005 From: briany at qldlearning.com (Brian Yennie) Date: Fri, 22 Jul 2005 21:50:23 -0700 Subject: Anomolous is among In-Reply-To: <3b93e0ff90d7442ce0b5599b8a2d5711@swcp.com> References: <42E12E81.1060501@hrz.uni-kassel.de> <85ecfb82eddd5476f532d32a27e9fa87@swcp.com> <7b0d9fed312b5f07ed77064721689a93@qldlearning.com> <3b93e0ff90d7442ce0b5599b8a2d5711@swcp.com> Message-ID: <96d031cd2ad1913f8c819ef2e2ed1360@qldlearning.com> How about this rule: Transcript fails when determining if a word is among the words of a string literal WHEN: The string literal ends with AND, in the case of a chunk expression, includes that last space. In any case, it definitely looks like a bug and smells of some check for end-of-string, next-word, and NULL going wrong in the engine... > Yeah. But it seems to be a little more involved than that: > > put "planets" is among the words of char 4 of "1 2 " > ==> true > > put "planets" is among the words of char 2 of "1 2 " > ==> false > > Weird. > > on mouseUp > constant x = " " > put "planets" is among the words of x > end mouseUp > > ==> true From katir at hindu.org Sat Jul 23 01:10:29 2005 From: katir at hindu.org (Sivakatirswami) Date: Fri, 22 Jul 2005 19:10:29 -1000 Subject: Strange Entities from htmlText Message-ID: <72BB4E23-5739-453D-9406-4DEF2E4A6B0B@hindu.org> I don't really think this is a Rev issue but actually some wierd Microsoft issue or an email issue? Some text which originally came from MSWord, is passed to an email (by cut and paste into mail.app on the mac) and then to a field. and then output this via the "htmlText" property to an XML document which is destined to run against a XSLT using xsltProc (run via shell commands from a Rev UI) This XML file is then urlEncoded as prep for uploading via POST ... a Rev CGI, gets the POST (engine is Darwin running on Xserve..) which urlDecodes it and saves it back to an XML file.. goal being (obviously) that the XML on the server is exactly the same as was generated by my rev app on the remote client, before uploading This system is working really well, btw...until I decided to make use of the htmlText of that field... In the original document I am seeing curly quotes and curly apostrophes... which were pasted into the original input field... now, my script cleans these up to straight quotes first, and then we get the htmlText... htmlText result: [snippet from a complete XML file]

In The Blessings of Children  Tiruvalluvar begins by describing the benefits of having children and states that an intelligent child is the greatest blessing to the family and is indeed the family s real wealth.

if I run this thru xsltProc against my style sheet (which is turning the xml into a .shtml file) these all error out as "unknown entities... unable to parse /file" I don't see these entities on BBEdits Entity list... and the other weird thing is the introduction of a space before the closing quote or apostrophe... And we also are seeing another gruesome manifestation: “To foster a sense of self-worth in children, corporal punishment must be eliminated completely. To think that assaulting a child--a criminal offense between adults--constitutes discipline, is virtually insane. Yet, in the US, it is still legal in many states. Discipline means to teach. The only thing the paddle teaches, is hatred. This hatred is very often repressed and unconsciously directed toward self. When this happens, you have crippled a mind for life.” could the urlEncoding/Decoding be doing something nasty here? And what is even wierder: if the user manually enters a quote or apostrophe in the field... we get what we expect to get: "e; Any clues? Sivakatirswami From capellan2000 at yahoo.com Sat Jul 23 03:24:40 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 23 Jul 2005 00:24:40 -0700 (PDT) Subject: [ANN] Beta Release for penToolv032d Message-ID: <20050723072440.70674.qmail@web40528.mail.yahoo.com> Hi Developers, Download the stack: "penToolv032d" from: This Beta version has many glitches, so you must not run this stack while working in other important projects in RR, MC or DC. This release include tools (in Beta) to add, delete and convert vertex and control points in vector graphics created with the tools of this stack. Report errors (with recipe to replicate, if possible) to my email: capellan2000 at yahoo.com Thanks in advance for your time to test and report the errors in this stack. ;-) Have a nice weekend. :-) al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From martin at materiaprima.fsnet.co.uk Sat Jul 23 03:41:06 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Sat, 23 Jul 2005 08:41:06 +0100 Subject: Strange Entities from htmlText In-Reply-To: <72BB4E23-5739-453D-9406-4DEF2E4A6B0B@hindu.org> References: <72BB4E23-5739-453D-9406-4DEF2E4A6B0B@hindu.org> Message-ID: <42E1F492.6080400@materiaprima.fsnet.co.uk> Greetings, As a clue... One of the originating applications is (reasonably enough) encoding the curly quotes as unicode entities: decimal 8220 and 8221. This is 201C and 201D in hex. 20 in hex = 32 in decimal which is space 1C in hex = 28 in decimal hence  so 1D in hex = 29 in decimal hence  Martin Baxter Sivakatirswami wrote: > I don't really think this is a Rev issue but actually some wierd > Microsoft issue or an email issue? > > Some text which originally came from MSWord, is passed to an email (by > cut and paste into mail.app on the mac) and then to a field. and then > output this via the "htmlText" property to an XML document which is > destined to run against a XSLT using xsltProc (run via shell commands > from a Rev UI) This XML file is then urlEncoded as prep for uploading > via POST ... a Rev CGI, gets the POST (engine is Darwin running on > Xserve..) which urlDecodes it and saves it back to an XML file.. goal > being (obviously) that the XML on the server is exactly the same as was > generated by my rev app on the remote client, before uploading > > This system is working really well, btw...until I decided to make use > of the htmlText of that field... > > In the original document I am seeing curly quotes and curly > apostrophes... which were pasted into the original input field... now, > my script cleans these up to straight quotes first, and then we get > the htmlText... > > htmlText result: [snippet from a complete XML file] > >

In The Blessings of Children  Tiruvalluvar begins by > describing the benefits of having children and states that an > intelligent child is the greatest blessing to the family and is indeed > the family s real wealth.

> > if I run this thru xsltProc against my style sheet (which is turning > the xml into a .shtml file) these all error out as "unknown entities... > unable to parse /file" > > I don't see these entities on BBEdits Entity list... and the other > weird thing is the introduction of a space before the closing quote or > apostrophe... > > And we also are seeing another gruesome manifestation: > > “To foster a sense of self-worth in children, corporal punishment > must be eliminated completely. To think that assaulting a child--a > criminal offense between adults--constitutes discipline, is virtually > insane. Yet, in the US, it is still legal in many states. Discipline > means to teach. The only thing the paddle teaches, is hatred. This > hatred is very often repressed and unconsciously directed toward self. > When this happens, you have crippled a mind for life.” > > could the urlEncoding/Decoding be doing something nasty here? > > And what is even wierder: if the user manually enters a quote or > apostrophe in the field... we get what we expect to get: > > "e; > > Any clues? > > Sivakatirswami > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From FlexibleLearning at aol.com Sat Jul 23 04:10:32 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 23 Jul 2005 04:10:32 EDT Subject: Anomolous is among Message-ID: <83.2c20d619.30135578@aol.com> My suggestion: For safety, include a scope definition when using 'is among', as in... if [tStr] is among char|word|item|token n to -m of [tSrc] e.g. if "penguin" is among word 1 to -1 of "1 2 3 4 " This copes with the current engine's potential interpretation anomolies of string literals. /H Brian Yennie wrote... >How about this rule: > >Transcript fails when determining if a word is among the words of a >string literal WHEN: >The string literal ends with AND, in the case of a chunk >expression, includes that last space. > >In any case, it definitely looks like a bug and smells of some check >for end-of-string, next-word, and NULL going wrong in the engine... >> Yeah. But it seems to be a little more involved than that: >> >> put "planets" is among the words of char 4 of "1 2 " >> ==> true >> >> put "planets" is among the words of char 2 of "1 2 " >> ==> false >> >> Weird. >> >>on mouseUp >> constant x = " " >> put "planets" is among the words of x >> end mouseUp >> >> ==> true From FlexibleLearning at aol.com Sat Jul 23 06:54:15 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sat, 23 Jul 2005 06:54:15 EDT Subject: [TIDBIT] A resizeStack button [2] Message-ID: <191.43c64ef6.30137bd7@aol.com> This improves stack resizing by accommodating both the minWidth and maxWidth properties of the stack. I have yet to figure out how to handle the initial 'judder' by incorporating the initial mouseLoc xOffset and yOffset within the button... Offers? Put this in your stack script... on resizeStack set the bottomRight of btn "resizeMe" to the bottomRight of this card end resizeStack Put this in the script of a button called "resizeMe", placed at the bottomRight of your stack... on mouseMove # Constraining algorithm: max (lowerLimit, min(upperLimit, var)) if the mouse is up then pass mouseMove put the topLeft of this stack into tTL put globalLoc(the mouseLoc) into tML put the minWidth of this stack + item 1 of tTL into lowerLimit put the maxWidth of this stack + item 1 of tTL into upperLimit put max(lowerLimit,min(upperLimit, item 1 of tML)) \ into item 1 of tML put the minHeight of this stack + item 2 of tTL into lowerLimit put the maxHeight of this stack + item 2 of tTL into upperLimit put max(lowerLimit,min(upperLimit, item 2 of tML)) \ into item 2 of tML set the rect of this stack to tTL,tML end mouseMove # CONDENSED VERSION # on mouseMove if the mouse is up then pass mouseMove put the topLeft of this stack into tTL put globalLoc(the mouseLoc) into tML set the rect of this stack to tTL,max(the minWidth of this stack + item 1 of tTL,min(the maxWidth of this stack + item 1 of tTL, item 1 of tML)), max(the minHeight of this stack + item 2 of tTL,min(the maxHeight of this stack + item 2 of tTL, item 2 of tML)) end mouseMove /H The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From irog at mac.com Sat Jul 23 09:02:55 2005 From: irog at mac.com (Roger Guay) Date: Sat, 23 Jul 2005 07:02:55 -0600 Subject: Simulated Mouse Action In-Reply-To: <20050723073255.3905D824D69@mail.runrev.com> References: <20050723073255.3905D824D69@mail.runrev.com> Message-ID: <201763E7-37B3-4A70-B823-D15F3593B074@mac.com> Nuts! Is the hand invisible on your machine? If so, could you give specifics? Thanks, Roger On Jul 23, 2005, at 1:32 AM, use-revolution-request at lists.runrev.com wrote: > Message: 14 > Date: Fri, 22 Jul 2005 21:05:24 -0400 > From: Charles Hartman > Subject: Re: Simulated Mouse Action > To: How to use Revolution > Message-ID: > Content-Type: text/plain; charset=US-ASCII; delsp=yes; > format=flowed > > Cool -- thanks -- but don't you want to call it > > The Invisible Hand > > ? > > Charles Hartman > On Jul 22, 2005, at 8:49 PM, Roger Guay wrote: > > >> I just uploaded a stack to User Spaces that illustrates how mouse >> movement and action can be simulated. This may be useful for >> example, in animated tutorials and presentations of how to use a >> Rev stack of your own design or CBT or?? >> >> Look for it under my username of RogerG. It's called MovingHand. >> > From charles.hartman at conncoll.edu Sat Jul 23 09:19:42 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 23 Jul 2005 09:19:42 -0400 Subject: blocking button hilite Message-ID: Is there a way to prevent a button from being hilited when clicked? I want to put hilite under script control, but the toggling of hilite happens before the mouseUp handler is entered. Also, more or less the same question about the "visited" property. I can set it false for all buttons in an openCard handler -- but as soon as one is clicked, before its mouseUp handler is called, the button's "visited" is already set to true. So how can I tell within a button's mouseUp handler whether it's been clicked before? (If it has been, I want to prevent the hilite from toggling back and forth, and also prevent a "tasks to do" counter from being decremented.) Hope the question makes sense. Charles Hartman From charles.hartman at conncoll.edu Sat Jul 23 09:21:37 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 23 Jul 2005 09:21:37 -0400 Subject: Simulated Mouse Action In-Reply-To: <201763E7-37B3-4A70-B823-D15F3593B074@mac.com> References: <20050723073255.3905D824D69@mail.runrev.com> <201763E7-37B3-4A70-B823-D15F3593B074@mac.com> Message-ID: On Jul 23, 2005, at 9:02 AM, Roger Guay wrote: > Nuts! Is the hand invisible on your machine? If so, could you > give specifics? > > Thanks, Roger No no -- just a stupid joke. Sorry. It comes of listening to the radio while coding; there was some program about Adam Smith playing . . . Charles Hartman From eric.chatonet at sosmartsoftware.com Sat Jul 23 09:34:41 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Jul 2005 15:34:41 +0200 Subject: blocking button hilite In-Reply-To: References: Message-ID: <95C1DAC2-BF2B-4D9C-B71A-E5F0FBEFD9FD@sosmartsoftware.com> Hi Charles, All questions always make sense. Some answers no :-) Le 23 juil. 05 ? 15:19, Charles Hartman a ?crit : > Is there a way to prevent a button from being hilited when clicked? > I want to put hilite under script control, but the toggling of > hilite happens before the mouseUp handler is entered. Have a look at the autoHilite property and set it to false (there is a checkbox in the property inspector). Then script mouseDown, mouseUp and mouseRelease handlers according to you needs. > Also, more or less the same question about the "visited" property. > I can set it false for all buttons in an openCard handler -- but as > soon as one is clicked, before its mouseUp handler is called, the > button's "visited" is already set to true. > So how can I tell within a button's mouseUp handler whether it's > been clicked before? (If it has been, I want to prevent the hilite > from toggling back and forth, and also prevent a "tasks to do" > counter from being decremented.) Normal behaviour: on mouseDown > visited = false (or true) on mouseUp > visited = true So check the visited property on mouseDown and set a flag to act within the mouseUp handler: local lVisitedFlag --------------------------- on mouseDown put the visited of me into lVisitedFlag end mouseDown --------------------------- on mouseUp if lVisitedFlag then... else... end mouseUp 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From charles.hartman at conncoll.edu Sat Jul 23 09:38:40 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 23 Jul 2005 09:38:40 -0400 Subject: blocking button hilite In-Reply-To: <95C1DAC2-BF2B-4D9C-B71A-E5F0FBEFD9FD@sosmartsoftware.com> References: <95C1DAC2-BF2B-4D9C-B71A-E5F0FBEFD9FD@sosmartsoftware.com> Message-ID: Magnifique. Thanks! coh On Jul 23, 2005, at 9:34 AM, Eric Chatonet wrote: > Hi Charles, > > All questions always make sense. > Some answers no :-) > > Le 23 juil. 05 ? 15:19, Charles Hartman a ?crit : > > >> Is there a way to prevent a button from being hilited when >> clicked? I want to put hilite under script control, but the >> toggling of hilite happens before the mouseUp handler is entered. >> > > Have a look at the autoHilite property and set it to false (there > is a checkbox in the property inspector). > Then script mouseDown, mouseUp and mouseRelease handlers according > to you needs. > > >> Also, more or less the same question about the "visited" property. >> I can set it false for all buttons in an openCard handler -- but >> as soon as one is clicked, before its mouseUp handler is called, >> the button's "visited" is already set to true. >> So how can I tell within a button's mouseUp handler whether it's >> been clicked before? (If it has been, I want to prevent the hilite >> from toggling back and forth, and also prevent a "tasks to do" >> counter from being decremented.) >> > > Normal behaviour: > > on mouseDown > visited = false (or true) > on mouseUp > visited = true > > So check the visited property on mouseDown and set a flag to act > within the mouseUp handler: > > local lVisitedFlag > --------------------------- > on mouseDown > put the visited of me into lVisitedFlag > end mouseDown > --------------------------- > on mouseUp > if lVisitedFlag then... > else... > end mouseUp > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs.htm From katir at hindu.org Sat Jul 23 11:25:40 2005 From: katir at hindu.org (Sivakatirswami) Date: Sat, 23 Jul 2005 05:25:40 -1000 Subject: Strange Entities from htmlText In-Reply-To: <42E1F492.6080400@materiaprima.fsnet.co.uk> References: <72BB4E23-5739-453D-9406-4DEF2E4A6B0B@hindu.org> <42E1F492.6080400@materiaprima.fsnet.co.uk> Message-ID: Aloha, Martin: Thanks, that's definitely a clue... I'm not trained in these encoding issues, so I'm way out of my depth... what's mystifying is that I thought that the basic ANSI set (0-255) was the same in ASCII and Unicode a) on the decimal list in BBEdit's ASCII 28 and29 are empty b) put numToChar(28) returns a strange square box with an X thru it in Rev. c) 147 and 148 are not even on BBEdit's list at all... and these are definitely double quotes of some kind in the original text But, this is helpful..I need to to a lo-level byte by byte examination of some of the source text files... Thanks Sivakatirswami On Jul 22, 2005, at 9:41 PM, Martin Baxter wrote: > Greetings, > > As a clue... One of the originating applications is (reasonably > enough) encoding the curly quotes as unicode entities: > > decimal 8220 and 8221. > > This is 201C and 201D in hex. > 20 in hex = 32 in decimal which is space > 1C in hex = 28 in decimal hence  > so 1D in hex = 29 in decimal hence  > > Martin Baxter > > Sivakatirswami wrote: > >> I don't really think this is a Rev issue but actually some wierd >> Microsoft issue or an email issue? >> Some text which originally came from MSWord, is passed to an >> email (by cut and paste into mail.app on the mac) and then to a >> field. and then output this via the "htmlText" property to an XML >> document which is destined to run against a XSLT using xsltProc >> (run via shell commands from a Rev UI) This XML file is then >> urlEncoded as prep for uploading via POST ... a Rev CGI, gets the >> POST (engine is Darwin running on Xserve..) which urlDecodes it >> and saves it back to an XML file.. goal being (obviously) that >> the XML on the server is exactly the same as was generated by my >> rev app on the remote client, before uploading >> This system is working really well, btw...until I decided to make >> use of the htmlText of that field... >> In the original document I am seeing curly quotes and curly >> apostrophes... which were pasted into the original input field... >> now, my script cleans these up to straight quotes first, and then >> we get the htmlText... >> htmlText result: [snippet from a complete XML file] >>

In The Blessings of Children  Tiruvalluvar begins by >> describing the benefits of having children and states that an >> intelligent child is the greatest blessing to the family and is >> indeed the family s real wealth.

>> if I run this thru xsltProc against my style sheet (which is >> turning the xml into a .shtml file) these all error out as >> "unknown entities... unable to parse /file" >> I don't see these entities on BBEdits Entity list... and the >> other weird thing is the introduction of a space before the >> closing quote or apostrophe... >> And we also are seeing another gruesome manifestation: >> “To foster a sense of self-worth in children, corporal >> punishment must be eliminated completely. To think that assaulting >> a child--a criminal offense between adults--constitutes >> discipline, is virtually insane. Yet, in the US, it is still >> legal in many states. Discipline means to teach. The only thing >> the paddle teaches, is hatred. This hatred is very often >> repressed and unconsciously directed toward self. When this >> happens, you have crippled a mind for life.” >> could the urlEncoding/Decoding be doing something nasty here? >> And what is even wierder: if the user manually enters a quote or >> apostrophe in the field... we get what we expect to get: >> "e; >> Any clues? >> Sivakatirswami >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bvg at mac.com Sat Jul 23 11:38:26 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 23 Jul 2005 17:38:26 +0200 Subject: ChatRev DOWN! Message-ID: <2c58c7d33f7901ac9c4f26e2cb63ba84@mac.com> Hi fellow chat addicts ChatRev will be down at least until Monday (pending miracle notwithstanding). I moved to a cheaper appartment (just one or two kilometres in the same town). I hoped that the adsl company would do a double line for a few day (At least they told me they would), but unfortunately there is no such thing happening (no phone either at the new place). So if you wanna chat this weekend you need to resolve to other means, for example ichat/aim, or the web based chatroom... Note that this means the whole server is down, spending doom on the http://chatrev.cjb.net homepage, as well as any alternative clients. I am sorry for any inconvenience Bj?rnke von Gierke -- 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 From Roger.E.Eller at sealedair.com Sat Jul 23 12:10:52 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sat, 23 Jul 2005 12:10:52 -0400 Subject: Scale an image from an absolute point Message-ID: I need to scale an image from an absolute point within the image rect. This point will not be the loc or any of the 4 corners. The image must stay positioned (locked) by a point where the user clicks during the scaling routine. Does anyone have an idea of how to best approach this? I could calculate the offset from the loc of the image, but this changes as the image is dragged to be larger/smaller. Any ideas? Kind Regards, Roger Eller From jvalle at 1234web.net Sat Jul 23 13:05:03 2005 From: jvalle at 1234web.net (J. Valle 1234web.net) Date: Sat, 23 Jul 2005 19:05:03 +0200 Subject: Why choose Revolution Message-ID: <20050723190335.2027.JVALLE@1234web.net> Hi, I've been playing for a couple of days with Revolution and Realbasic, researching trought the lists, looking for the right tool to develop cross platform commercial applications, but the main target platform would be Windows and both tools looks specially focused on Mac OS. Seems that Revolution has a loyal base of users but is less popular than Realbasic, also a lot more expensive, the way documentation is organized is not exactly intuitive and the main con is their exotic language and programming paradigma. Then the questions are: - Why should choose Revolution instead Realbasic? comments from people using both tools would be greatly appreciated - Is this a mature tool to develop cross platform applications? - I suppose that maturity is not a problem for Mac, but what about Windows and Linux? - What are the differences between Studio and Enterprise version? a comparison table on your site would help to decide. Thanks, Jose -- J. Valle 1234web.net www.1234web.net From bill at bluewatermaritime.com Sat Jul 23 13:20:17 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 23 Jul 2005 13:20:17 -0400 Subject: Setting number of copies in print dialogue In-Reply-To: <20050723072440.70674.qmail@web40528.mail.yahoo.com> Message-ID: Does anyone know how to set the number of copies that will print on mac os x? I imagine you have to do this with some kind of tiny applescript that puts the number of copies in the dialogue. I used to do this manually but with the new tiger bug that forces me to unchoose a printer and then re-choose it before I can change the number of copies to print it has become very time consuming. From mpetrides at earthlink.net Sat Jul 23 13:38:12 2005 From: mpetrides at earthlink.net (Marian Petrides) Date: Sat, 23 Jul 2005 12:38:12 -0500 Subject: Why choose Revolution In-Reply-To: <20050723190335.2027.JVALLE@1234web.net> References: <20050723190335.2027.JVALLE@1234web.net> Message-ID: <00B51EE9-C955-4827-A3E1-5880EDC1D722@earthlink.net> Jose I've never used Real BASIC. But, I cut my teeth on Applesoft BASIC years ago, so I'm a BASIC fan from way back. That being said, the advantage I see to Rev is the fact that I can create an app on my Mac and port it to Windows at the very last minute (literally a few hours worth of work at most for a full app consisting of hundreds of cards, mainly checking every screen to make sure the fonts look OK). Frankly, I find Transcript and BASIC to have a lot in common...exact commands may vary slightly but I rarely have trouble figuring out which command I need by referring to the Transcript Dictionary that comes with the full set of manuals. The only disadvantage I've seen is that the interface is not all that well documented, so it takes a little while to get used to-- particularly if you've never used HyperCard (I had). But that is a one-time only learning curve. Rev is a real boon to Mac people who want to do seamless cross- platform development! I use the full Enterprise version, so I can't help you with the differences between it and other, less expensive versions. Marian On Jul 23, 2005, at 12:05 PM, J. Valle 1234web.net wrote: > Hi, > > I've been playing for a couple of days with Revolution and Realbasic, > researching trought the lists, looking for the right tool to develop > cross platform commercial applications, but the main target platform > would be Windows and both tools looks specially focused on Mac OS. > > Seems that Revolution has a loyal base of users but is less popular > than > Realbasic, also a lot more expensive, the way documentation is > organized > is not exactly intuitive and the main con is their exotic language and > programming paradigma. > > Then the questions are: > - Why should choose Revolution instead Realbasic? comments from people > using both tools would be greatly appreciated > - Is this a mature tool to develop cross platform applications? > - I suppose that maturity is not a problem for Mac, but what about > Windows and Linux? > - What are the differences between Studio and Enterprise version? a > comparison table on your site would help to decide. > > Thanks, > Jose > -- > J. Valle 1234web.net > www.1234web.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Sat Jul 23 13:47:59 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 23 Jul 2005 10:47:59 -0700 Subject: blocking button hilite In-Reply-To: <20050723170004.04F48824DA5@mail.runrev.com> References: <20050723170004.04F48824DA5@mail.runrev.com> Message-ID: <614413e349770b3f31da35b572de8368@interisland.net> > Date: Sat, 23 Jul 2005 09:19:42 -0400 > From: Charles Hartman > Subject: blocking button hilite > Is there a way to prevent a button from being hilited when clicked? I > want to put hilite under script control, but the toggling of hilite > happens before the mouseUp handler is entered. it's a property called 'autoHilite', so: set the autoHilite of cd btn x to false -- or just uncheck it in the PI, IIRC. HTH, Ken N. From revdan at danshafer.com Sat Jul 23 14:06:21 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 23 Jul 2005 11:06:21 -0700 Subject: Why choose Revolution In-Reply-To: <20050723190335.2027.JVALLE@1234web.net> References: <20050723190335.2027.JVALLE@1234web.net> Message-ID: Welcome to the conversation. I'm sure you'll be inundated with responses. I'll try to keep mine brief, but I'm not always very good at that. I write books for a living and sometimes my emails are book- like. On Jul 23, 2005, at 10:05 AM, J. Valle 1234web.net wrote: > Hi, > > I've been playing for a couple of days with Revolution and Realbasic, > researching trought the lists, looking for the right tool to develop > cross platform commercial applications, but the main target platform > would be Windows and both tools looks specially focused on Mac OS. > First, understand my comments about RealBASIC apply to Version 5.5. I have not looked at RB2005. I spent a fair amount of time looking at RB vs. Rev before I made the commitment to Rev about two years ago now. That said, I believe you'll find creating Windows apps on OS X much easier and more direct with Rev than with RB. Rev's IDE runs on Windows so you can, with the right license, debug, test and fix your apps directly on Windows. Last time I looked, RB lets you *deploy* an app on Windows but if it breaks, you have to go back to the Mac to fix it and then re-deploy it. My guess is that would become tiresome and inefficient in a real hurry. > Seems that Revolution has a loyal base of users but is less popular > than > Realbasic, also a lot more expensive, the way documentation is > organized > is not exactly intuitive and the main con is their exotic language and > programming paradigma. > You are correct that RB has a larger installed base. It's been around a lot longer and has attracted quite a few Visual Basic refugees to swell its ranks. "Expensive" is in the eyes of the evaluator. I think that the total cost of ownership (TCO) of a development tool is hard to forecast. But my feeling is that RB would turn out in the long run to be more expensive than Rev because of the xplat issues I mentioned above. The longer it takes to develop and deploy an application, the more costly the tool, regardless of initial price point. The language in Rev may seem exotic to you (I take it you probably come from a more conventional language background, perhaps even Basic. By those standards, Transcript is different, perhaps even exotic. But it's a VHLL (Very High Level Language) while Basic is an HLL. This translates into two observations. First, you can often do in one line of Transcript what would take several (perhaps many) lines of Basic. Second, there's a lot more built into the language than in RB. So very often you find that a single line/component in Rev does what would take a lot of work in RB. When I used RB, I found that I had to work out very detailed descriptions of code at a relatively low level to write methods. In Transcript, I more often than not just start coding and what seems like it should work just does. Big plus. That said, it's fair to say, too, that RB has true object orientation in its language. If you're an object thinker like I am, that's a very big attraction. One thing you can do in RB that you cannot do in Rev is to create new classes or types of UI components and other objects. Depending on your experience and approach and on your application's needs, that may or may not be important. > Then the questions are: > - Why should choose Revolution instead Realbasic? comments from people > using both tools would be greatly appreciated Above > - Is this a mature tool to develop cross platform applications? The language and the engine are very mature, in fact I think they're more mature than RB. The Revolution IDE still has quirks and bugs and workarounds and is very much a relatively stable work in progress. I have heard but cannot confirm from personal experience that RB 2005 -- which has been completely rewritten in itself -- has a lot of bugs and issues in the IDE as well. Prior to that release, my assessment would have been that the IDE in RB was somewhat more stable principally from having so many more people beating on it. > - I suppose that maturity is not a problem for Mac, but what about > Windows and Linux? See earlier comments re windows. Linux is farther along on Rev than on RB by quite a but but frankly neither tool does all that good a job there from what my limited testing and listening to this list reveals. > - What are the differences between Studio and Enterprise version? a > comparison table on your site would help to decide. > I'll let someone from RunRev answer. > Thanks, > Jose > -- > J. Valle 1234web.net > www.1234web.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From jacque at hyperactivesw.com Sat Jul 23 14:12:51 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Jul 2005 13:12:51 -0500 Subject: Place vs copy In-Reply-To: <16625590046.20050722143956@ahsoftware.net> References: <16625590046.20050722143956@ahsoftware.net> Message-ID: <42E288A3.6000309@hyperactivesw.com> Mark Wieder wrote: > All- > > I'm trying to apply some optimization techniques learned from the > online scripting conferences. And running into snags. > > "Placing" a group instead of copying and pasting it seems to turn its > background behavior on. Is there something similar for non-background > groups? Here's what I'm faced with - I'm currently pasting between > some 100 to 300 copies of a single group onto a card. Is there a > better way to do this than copy-once-paste-many? > You should definitely be placing the group onto the cards in this case. Having 300 copies of a group will not only inflate the stack size, but you'd have to make any changes to it 300 times if you want to alter something. Setting the backgroundbehavior of a group which has been placed on many cards makes sense (it changes the message path, which is usually what you want with a shared group.) But if you don't want group messages to happen after the card messages, then just turn off backgroundBehavior after you are done placing the group on all the cards. Why wouldn't you want backgroundBehavior in this case? Does your stack create new cards on the fly where you don't want the group placed? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at yahoo.com Sat Jul 23 14:45:54 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 23 Jul 2005 11:45:54 -0700 (PDT) Subject: [ANN] Beta Release for penToolv032d In-Reply-To: <20050723073255.3905D824D69@mail.runrev.com> Message-ID: <20050723184554.14225.qmail@web40501.mail.yahoo.com> Hi Developers, Thanks a lot to all of you who take time to test this stack! :-) Issues reported: > The Add point tool produces a loop > that only could be stopped by quitting > the Development environment. i suspect that this happens when you fail to click "exactly" over the second vertex point to add a point between two vertex points. i had another idea to implement this tool and hopefully it would require only one click, not three clicks, like it requires now. Actually to prevent this possible error, i included a cursor change to signal that you are exactly over a vertex point... but looks like it's not working in this release. i had it working thursday, but now, on friday it stop functioning. Surely this is a problem that started when i copy and paste elements from other stacks... > The graphic dissapeared when i click on it > with the direct selection tool (to edit their > vertex or control points) This happen when there is mismatch between the custom properties of the graphic named "bpoints" and "cpoints". i had to implement a better checking mechanism to failsafe the operations between these custom properties. An undo feature could help a lot until i device such failsafe mechanism. Could anyone help to create a multiple undo mechanism for editing operations of vertex and control points? (like moving, adding, deleting, converting, etc...) > The convert point tool has a mind of his own... > It converts some points, but others not. These choices are visible in the code of this tool. initially, i thought that this tool must only change a vertex to one of two states: Change a vertex without control points to a vertex with two control points.... or Change a vertex with one or two control points to a vertex without control points.... This idea proved to be very unsatisfactory, so i changed to a result based in the context of vertex adjacents. The result is the actual code, but it is far from perfected. Any concrete recomendation (with examples or screenshots) to improve it is more than welcome. > The star tool does not have any code! Good Question! :-D Malte Brill and Jim Hurley have code to draw many different kind of shapes. i'm sure they will fill this gap, as their time permits! ;-) Thanks in advance for all your reviews of this stack! Have a nice weekend! :-) al on Sat, 23 Jul 2005 Alejandro Tejada wrote: > Hi Developers, > > Download the stack: > "penToolv032d" from: > > > > This Beta version has many glitches, so you > must not run this stack while working in > other important projects in RR, MC or DC. > > This release include tools (in Beta) to > add, delete and convert vertex and control > points in vector graphics created with > the tools of this stack. > > Report errors (with recipe to replicate, > if possible) to my email: capellan2000 at yahoo.com > > Thanks in advance for your time to test > and report the errors in this stack. ;-) > > Have a nice weekend. :-) > > al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From kray at sonsothunder.com Sat Jul 23 14:50:22 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 23 Jul 2005 13:50:22 -0500 Subject: Why choose Revolution Message-ID: On 7/23/05 12:05 PM, "J. Valle 1234web.net" wrote: Hi Jose, First of all, thanks for posting your questions to the list... I know a number of us will respond, but since I use both RealBasic and Revolution (although a lot more Rev than RB), I figured I might be in a unique position to respond. BTW: I would recommend submitting your post to the RB list as well if you haven't already - it's always best to get comments from both "sides". > I've been playing for a couple of days with Revolution and Realbasic, > researching trought the lists, looking for the right tool to develop > cross platform commercial applications, but the main target platform > would be Windows and both tools looks specially focused on Mac OS. Actually, RB started on Mac and went to Windows and then finally Linux, whereas Revolution (which used to be called MetaCard) started on Linux, went to Windows, and then Mac. This means that there has been a Windows version longer than a Mac version. So I think that at least in Rev's case, the reason why it may look specially focused on Mac OS has more to do with marketing than it does on capabilities. I develop cross-platform stuff and find it equally enjoyable on either platform. > Seems that Revolution has a loyal base of users but is less popular than > Realbasic, also a lot more expensive, the way documentation is organized > is not exactly intuitive and the main con is their exotic language and > programming paradigma. Let's start with pricing... you need to compare apples with apples here - RealBasic is $99 for the standard version, but that only lets you develop and *deploy* to a single platform. The Pro version is $399 and gives you cross-platform compliation. And if you want to develop on multiple platforms you need to buy a version for each. Revolution Studio is $299 and lets you develop on a single platform, but deploy to *all* platforms. So Studio is actually $100 cheaper than RB at this stage. If you only care about Mac and Windows, you can add an extra platform for $199, which makes the total cost about $500 to develop on both Mac and Windows. RB would cost your $800. As to the documentation - you're right: it's not exactly intuitive, but RunRev knows this and has been working hard to improve the docs (this is the second iteration (third?) of the documentation and it keeps getting better. For "exotic language", I have to say that it is not as exotic as you think... it is an "x-Talk" language, and xTalk has been around since the 80s and has been implemented in at least 8 different development environments that I'm aware of (HyperCard, SuperCard, MetaCard, Revolution, HyperSense, ToolBook, Plus/ObjectPlus/WinPlus, Oracle Media Objects). I'm assuming you come from a Basic background, and it is definitely a different animal. But it's english-like syntax and robust message-passing model makes it an extremely flexible programming tool. Geoff Canyon did a comparison whitepaper between the two environments in 2001, which although it is 4 years old still hots a lot of clear information about the differences between the two tools: http://www.inspiredlogic.com/whitepaper/index.html > Then the questions are: > - Why should choose Revolution instead Realbasic? comments from people > using both tools would be greatly appreciated Well, a lot of my comments are covered in Geoff's whitepaper, but some additional reasons would be: - The fact that you can code and test immediately without having to compile first. This makes development very fast. - The message passing hierarchy and the ability to override messages. You can put no code in objects and have the messages trapped at the card layer (or lower) and execute things conditionally based on who the target of the message is. - Rev's ability to manipulate string data is second to none, IMHO, due to chunk expressions, like: put word 2 of item 3 of line 1 of myVar into field "Test" To do this in RB would require multiple lines of code and wouldn't be as readable. Additionally you can populate a list field or a popup menu by putting a multi-line text varaible into the field/button in one go: put tUserList into fld "Users" put tUserList into btn "UserPop" In RB you have to iterate through each line and add it to the list in a loop. - Rev also can do a lot of things with colors and patterns that can be done by simply setting properties, whereas in RB you need to set up a Canvas object (or equivlent) and paint it. Basically it all boils down to speed and ease of development, combined with the ability to wait until the last minute to build your standalone applications for any/all platforms. There are two things that RB has that Rev doesn't (yet) which may make the difference on your decision-making: 1) RB is truly object oriented (i.e. you can create/manipulate classes and work with instances of those classes). However keep in mind that most of what you want class/instance behavior to do can be easily simulated in Revolution - it's just that it's not *true* OO. 2) RB allows access to the Mac and Windows APIs directly; Rev doesn't. Although I've found that 90% of what I might have wanted to get/do with the API is native to Rev's functionality, so I haven't missed it much. > - Is this a mature tool to develop cross platform applications? Absolutely! > - I suppose that maturity is not a problem for Mac, but what about > Windows and Linux? Definitely for Windows; Mac and Windows developers are the lion's share of RunRev customers AFAIK, and so the Linux version has some bugs in it that make it less stable. Of course, the RunRev guys are working on these. > - What are the differences between Studio and Enterprise version? a > comparison table on your site would help to decide. Well, there *is* a comparison table, although it is by no means comprehensive: http://runrev.com/section/platform.php Basically it comes down to two things: platforms and add-ons. - If you want to have the flexibility to develop and deploy on everything, and have all the add-ons, pick Enterprise. ($899) - If you want to develop and deploy on multiple platforms, but don't need SSL or Oracle support (or don't mind paying for the add-ons later), pick Studio for your primary platform, and purchase additional editors for the other platform(s) you want. ($299 for 1st platform, +$199 per add'l platform) - If you want to develop and deploy on a single platform, pick Studio. ($299) Functionally both Studio and Enterprise are identical, although Enterprise comes bundled with the SSL and Oracle DB add-ons. Hope this helps, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Sat Jul 23 15:03:31 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 23 Jul 2005 21:03:31 +0200 Subject: Scale an image from an absolute point In-Reply-To: Message-ID: <20050723185356.D4E09824D25@mail.runrev.com> Hi Roger, I presented a solution to that long ago, kind of... It's called ResizeNO2, it's a TAOO plugin (a projet im working on). You're welcome to try improve it with your idea and it shouldn't be hard... you can download the plugin from MonsieurX.com's downloads in the XOS plugins for RunRev. From there you can see how it's done at: http://monsieurx.com/modules.php?name=Downloads&d_op=getit&lid=78 When you activate it, it allows you to resize controls by just dragging any point near the edge - not just the corners. You can also move the objects and restrict their movement or scaling via the shift and option keys (i observe Freehand rules) ResizeNO2 is not perfect... let me know if you have any troubles... It's free but support is held hostage against donations ;) It's beta-release, read the about field. Not much incentive from the public to publish it... so it's been lingering in low priority land... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Roger.E.Eller at sealedair.com > Sent: Saturday, July 23, 2005 18:11 > To: How to use Revolution > Subject: Scale an image from an absolute point > > I need to scale an image from an absolute point within the > image rect. > This point will not be the loc or any of the 4 corners. The > image must stay positioned (locked) by a point where the user > clicks during the scaling routine. Does anyone have an idea > of how to best approach this? I could calculate the offset > from the loc of the image, but this changes as the image is > dragged to be larger/smaller. Any ideas? > > Kind Regards, > Roger Eller > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From pixelbird at interisland.net Sat Jul 23 15:21:43 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 23 Jul 2005 12:21:43 -0700 Subject: Scale an image from an absolute point In-Reply-To: <20050723170004.04F48824DA5@mail.runrev.com> References: <20050723170004.04F48824DA5@mail.runrev.com> Message-ID: <088183a5c0debb8a9a81d2cc3acad517@interisland.net> Hi Roger, > Date: Sat, 23 Jul 2005 12:10:52 -0400 > From: Roger.E.Eller at sealedair.com > Subject: Scale an image from an absolute point > > I need to scale an image from an absolute point within the image rect. > This point will not be the loc or any of the 4 corners. The image must > stay positioned (locked) by a point where the user clicks during the > scaling routine. Does anyone have an idea of how to best approach > this? I > could calculate the offset from the loc of the image, but this changes > as > the image is dragged to be larger/smaller. Any ideas? Get the mouseLoc and use the scale factor to reset the rect of the image based on the offset values. There are probably half-a-dozen ways to do it that will work. Just work out the math. Here's a Q&D one (NOTE: Works only for upscale positive values; you'll need to tweak and polish for your purposes): 1) Create an image control and center it in the stack window 2) Create a short field named "ScaleFactor" 3) Put this into the script of the image (watch linewraps): on mouseDown global gOrigRect put value(cd fld "ScaleFactor") into scaleFactor put the rect of me into gOrigRect put item 1 of the mouseLoc - (scaleFactor * (item 1 of the mouseLoc - the left of me)) into offsetL put item 2 of the mouseLoc - (scaleFactor * (item 2 of the mouseLoc - the top of me)) into offsetT put item 1 of the mouseLoc + (scaleFactor * (the right of me - item 1 of the mouseLoc)) into offsetR put item 2 of the mouseLoc + (scaleFactor * (the bottom of me - item 2 of the mouseLoc)) into offsetB lock screen set the rect of me to offsetL,offsetT,offsetR,offsetB unlock screen end mouseDown on mouseUp global gOrigRect set the rect of me to gOrigRect end mouseUp HTH, Ken N. From b.xavier at internet.lu Sat Jul 23 16:04:21 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 23 Jul 2005 22:04:21 +0200 Subject: Why choose Revolution In-Reply-To: <20050723190335.2027.JVALLE@1234web.net> Message-ID: <20050723195441.2C7B98248BE@mail.runrev.com> Jose, for what it's worth... Im an old MacOS-only fan and now i work in NT enterprise developping software based administration tools to manage a very large network of NT servers, data storage systems, archival, backups and more (including active directory). All this is possible in Rev. Compared to the orthodox languages (realbasic, vbs, .net, java, etc...), there is overall a real pleasure creating or designing apps in Rev. Why? The language is just "natural" and there's little it cant do. Also it's directly interfaced into and within the GUI so it works "directly" - not through a tedious compile cycle. So the KISS principle in Rev is by far the best advantage you can have - do test=run. Fixes are 10X easier (compared to C like languages). On the downside, Rev lacks a lot of PC development tools. threading, native 3D, more inklevels, real 32 bit alpha channels ;) - just a matter of time before it comes... access to the COM objects is missing as well so most of ll the horrible restricted Windows APIs - which are usually disregarded or not fully compatible but surely in the fixing as we speak - Rev works hard for you! Think You are in a sandbox? While you can't benefit from "scripting" a native Windows API, open file dialogs and the like are available but not the file trees but nothing is preventing you from doing them! And many of us do so with much more panache! An overal win win situation. if you think rev is not oop, think differently... And object oriented object-reuse is as easy as copy-paste in Rev! Inheritance too (but GUI based, not memory object-oriented [yet]. An you can always write your own DLLs if you need so. If you do (and note this involves a C compiler - gcc works apparently, VB6 and up should work no prob), then anything, i mean ANYTHING is possible. But it wont be crossplatform - unless you write a C external in OSX. This is no surprise but the real surprise is that for 99.9% of the cases, you dont need an external, you write it in transcript and it will work on all platforms the same. I exagerated a little, maybe... some things dont always work as expected - happens in all IDEs. But there's a nice and simple way out for every situation in rev... And the mailist has over 305% of all the answers possible! Im not kidding, even the gurus admit to learning something new each day. We're humble, but we kick scripts in any one's teeth in no time! ;) And we get about 2 to 4 upgrades a year, not to mention an ever quicker increasing number of tools to help you and which most of us share freely or for a modest fee. Rev allows you to use any standard you want, built-in or not, etc. So there's no problems banking on it. It's solid - but it does have many idiosyncraties that keep baffling most users at one point. And for that there is what not many other language offers - a great mailist and a web interface for bug management - at the user level - it's great... Rev has it's troubles like many but it is also driven to make a difference - i can switch to ANY language i want since 5 years ago, im glad im still with Rev ;) Alas, management hasn't seen it that way yet ;) For the comparison between licenses, it requires a little reading in the products or downloads sections (see purchase, etc...) in the http://www.runrev.com web site, The mothership. im the man behind http://MonsieurX.com - not the best example of rev stuff, quite experimental but surely a great place to see lots what rev can do and lots of Rev links to find even more... I think i dont have them all but i thrive to add new ones when possible! Im also developing a radically new data-mining and knowledge management framework in Rev. I wouldn't even think about it if Rev wasn't up to par... It would take me about 10X more times in any other langauge... Most other IDEs are not capable of handling "it" actualy... sorry, im a little speeded - was just at a BMW z3 coupe meeting in Spa francorchamps - the race circuit we love! Some real racers and great hotdogs or frites and beer too! Including a 360HP Z3MCoupe racer for sale at just 42KEUs! That's cheaper than a stock Z3M back when you could buy them! The carpet is gone though - not street legal either... And that springs a dozen new ideas for stacks to flourish ;) Enjoy the ride! X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > J. Valle 1234web.net > Sent: Saturday, July 23, 2005 19:05 > To: use-revolution at lists.runrev.com > Subject: Why choose Revolution > > Hi, > > I've been playing for a couple of days with Revolution and > Realbasic, researching trought the lists, looking for the > right tool to develop cross platform commercial applications, > but the main target platform would be Windows and both tools > looks specially focused on Mac OS. > > Seems that Revolution has a loyal base of users but is less > popular than Realbasic, also a lot more expensive, the way > documentation is organized is not exactly intuitive and the > main con is their exotic language and programming paradigma. > > Then the questions are: > - Why should choose Revolution instead Realbasic? comments > from people using both tools would be greatly appreciated > - Is this a mature tool to develop cross platform applications? > - I suppose that maturity is not a problem for Mac, but what > about Windows and Linux? > - What are the differences between Studio and Enterprise > version? a comparison table on your site would help to decide. > > Thanks, > Jose > -- > J. Valle 1234web.net www.1234web.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jvalle at 1234web.net Sat Jul 23 15:58:38 2005 From: jvalle at 1234web.net (J. Valle 1234web.net) Date: Sat, 23 Jul 2005 21:58:38 +0200 Subject: Why choose Revolution In-Reply-To: <088183a5c0debb8a9a81d2cc3acad517@interisland.net> References: <20050723170004.04F48824DA5@mail.runrev.com> <088183a5c0debb8a9a81d2cc3acad517@interisland.net> Message-ID: <20050723212634.60E8.JVALLE@1234web.net> Hi, thanks Marian and Dan. As told you in my first post I did some research about this issue then I have to give a chance to Revolution. Most of the comments did by Dan insist in that way, yes Dan I read your thoughts in the list and other places, tried a few hours and noticed the Revolution potential. But probably because my poor English I was not able to explain well my doubts. We do mostly Internet business applications, think on CRM and intensive database apps to got the idea. Normally are applications in the range of 30-50 tables, some of them storing a few millions records and accessed for 10s of users at the same time. Normally 2-3 developers works on this kind of applications for less than 6 months, it could give you a picture about the complexity, is not rocket science but is not a personal notebook. We will develop mainly over Windows platform but products should be available in Windows, Mac OSX, Red Hat and Debian flavours, those are the most common OSs used by our customers. These are important things for us (if anybody can't point me to the right url or readings to continue researching will help me to decide): -As Dan wrote somewhere OOP and Revolution are closer but are not the same. Some way to group code in classes/libraries and organize in multiple layers is a must for this kind of applications. Then if you can't use classes how could you organize the code to be reused and easy to maintain and extend under the Revolution paradigm? - Localization, very often applications works in 2 or 3 different languages, need some way to store all needed strings in a common file or resource. - Interface customization, often applications also have to be adapted in some way to the customer image and look, it means change colors and some properties on a global way, think on a CSS style sheet, sometimes are minor cosmetic changes others are very important changes. Thanks in advance for your help Jose -- J. Valle 1234web.net From jvalle at 1234web.net Sat Jul 23 16:02:43 2005 From: jvalle at 1234web.net (J. Valle 1234web.net) Date: Sat, 23 Jul 2005 22:02:43 +0200 Subject: Why choose Revolution In-Reply-To: <20050723212634.60E8.JVALLE@1234web.net> References: <088183a5c0debb8a9a81d2cc3acad517@interisland.net> <20050723212634.60E8.JVALLE@1234web.net> Message-ID: <20050723220208.60EB.JVALLE@1234web.net> Sorry, sent to the wrong thread, please don't continue here. Jose -- J. Valle 1234web.net From eric.chatonet at sosmartsoftware.com Sat Jul 23 16:11:18 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 23 Jul 2005 22:11:18 +0200 Subject: [ANN][EN][FR] Thanks to Jim Message-ID: <3C2C7738-EFD2-47A1-9A2F-B8291A99A904@sosmartsoftware.com> Paris, Saturday, 23 July 2005 ---------------------- English version ------------------------- Hello, As you know it, my English is far from perfect... Jim Bufalini, happy man you know through this list and who lives in Honolulu :-) edited the documentation of Resources Picker in perfect English, suggested some additional features (among others, a FAQ section) and, both, we updated Resources Picker Overview. So It would be a good idea to downlad again Resources Picker, "the plugin which gives you the answers you need when programming" from http://www.sosmartsoftware.com in order to replace the Resources Picker Overview and benefit of a good documentation :-) Best regards from Paris, Eric Chatonet. --------------------- Version fran?aise ------------------------ Bonjour, Avec toutes mes excuses pour ce couriel si seul le fran?ais vous int?resse. Il annonce la r?vision de la documentation de Resources Picker Overview, le plugin "qui vous apporte sur un plateau les bonnes ressources dont vous avez besoin quand vous programmez" (disponible sur http://www.sosmartsoftware.com), dans un angais enfin parfaitement correct avec l'aide de Jim Bufalini, heureux homme qui vit ? Honolulu :-) Cordialement, Eric Chatonet. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From jvalle at 1234web.net Sat Jul 23 16:06:27 2005 From: jvalle at 1234web.net (J. Valle 1234web.net) Date: Sat, 23 Jul 2005 22:06:27 +0200 Subject: Why choose Revolution In-Reply-To: <20050723195441.2C7B98248BE@mail.runrev.com> References: <20050723190335.2027.JVALLE@1234web.net> <20050723195441.2C7B98248BE@mail.runrev.com> Message-ID: <20050723220607.60ED.JVALLE@1234web.net> Hi, thanks Marian and Dan. As told you in my first post I did some research about this issue then I have to give a chance to Revolution. Most of the comments did by Dan insist in that way, yes Dan I read your thoughts in the list and other places, tried a few hours and noticed the Revolution potential. But probably because my poor English I was not able to explain well my doubts. We do mostly Internet business applications, think on CRM and intensive database apps to got the idea. Normally are applications in the range of 30-50 tables, some of them storing a few millions records and accessed for 10s of users at the same time. Normally 2-3 developers works on this kind of applications for less than 6 months, it could give you a picture about the complexity, is not rocket science but is not a personal notebook. We will develop mainly over Windows platform but products should be available in Windows, Mac OSX, Red Hat and Debian flavours, those are the most common OSs used by our customers. These are important things for us (if anybody can't point me to the right url or readings to continue researching will help me to decide): -As Dan wrote somewhere OOP and Revolution are closer but are not the same. Some way to group code in classes/libraries and organize in multiple layers is a must for this kind of applications. Then if you can't use classes how could you organize the code to be reused and easy to maintain and extend under the Revolution paradigm? - Localization, very often applications works in 2 or 3 different languages, need some way to store all needed strings in a common file or resource. - Interface customization, often applications also have to be adapted in some way to the customer image and look, it means change colors and some properties on a global way, think on a CSS style sheet, sometimes are minor cosmetic changes others are very important changes. Thanks in advance for your help Jose -- J. Valle 1234web.net From jvalle at 1234web.net Sat Jul 23 16:09:57 2005 From: jvalle at 1234web.net (J. Valle 1234web.net) Date: Sat, 23 Jul 2005 22:09:57 +0200 Subject: Why choose Revolution In-Reply-To: <20050723195441.2C7B98248BE@mail.runrev.com> References: <20050723190335.2027.JVALLE@1234web.net> <20050723195441.2C7B98248BE@mail.runrev.com> Message-ID: <20050723220632.60EF.JVALLE@1234web.net> Hi X, nice comments, that is one of the things because I asked before take a decission, this list is great. I can accept everything you said and I know that no language or tool is perfect, but there is a point that don't understand yet, how reuse and extend code? You said... > > if you think rev is not oop, think differently... > And object oriented object-reuse is as easy as copy-paste in Rev! > Inheritance too (but GUI based, not memory object-oriented [yet]. > Thanks, Jose -- J. Valle 1234web.net From ambassador at fourthworld.com Sat Jul 23 16:34:03 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2005 13:34:03 -0700 Subject: Why choose Revolution In-Reply-To: <20050723190335.2027.JVALLE@1234web.net> References: <20050723190335.2027.JVALLE@1234web.net> Message-ID: <42E2A9BB.60700@fourthworld.com> J. Valle 1234web.net wrote: > Seems that Revolution has a loyal base of users but is less popular than > Realbasic, also a lot more expensive, the way documentation is organized > is not exactly intuitive and the main con is their exotic language and > programming paradigma. A lot more expensive? "The Meme That Wouldn't Die." Seems I only hear that in discussions with people who've been talking to the RB crowd. Curious. Many, many years ago what is now the Revolution engine was called MetaCard, and it was effectively an exclusive private club with a price of admission of $995. I've never met anyone who didn't feel they got an outstanding value at that price, but when RunRev acquired the engine they introduced two lower-priced options to cover broader markets than just the high-end professionals like Sun and Novell (and me ) who had been using MetaCard. If you step back from the spin and look carefully at what each package provides, I think you'll agree the prices are at least on par. And yes, Rev is definitely an unusual way of working. Those who use it often report much higher productivity than with more traditional tools, but the decision to buy comes down to one's goals. If you're just looking to flesh out a resume then Java would be your better bet. Like BASIC it's a lower-level language than Rev's Transcript, so the number of lines to accomplish a given task is roughly on par with other 3GLs. There are many more tools and examples for Java than for proprietary variants of BASIC, it can be used on more platforms, and modern Java compilers offer quite good performance; indeed a growing number of commercial and open source desktop applications are written in Java. And in terms of jobs, I'd guess the number of openings for Java are a few orders of magnitude more than for any proprietary language. But if you're writing software for yourself and clients, you may not want to dismss Rev so quickly. Its unusual paradigm offers unusual productivity -- no compile-runtime cycle, strong rich-media support, good performance usually at least on par with Java and most BASIC implementations, uncommonly simple and efficient string parsing, and a lot more. John Ousterhout's seminal paper on scripting covers a lot on the productivity angle of higher-level languages: His position on TCL applies to Rev, and then some. But of course the proof is in the pudding. I'd recommend doing the tutorials in each, and if you decide on one it would be helpful for the other to drop the vendor a note to let them know why. I agree with you on the current documentation structure, though it's worth noting that those are being reworked as I write this. It would be a shame if the taxonomy of the current docs prevented you from enjoying what Rev has to offer, and it would be valuable for RunRev to know if that's the case. And of course you have this list. When I was learning Pascal and later C and C++, I wouldn't have gotten very far without a strong community to help my learning. That seems to be the case with most languages, so you've already taken the most important step toward highly productive work with this one. Keep those questions coming.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Sat Jul 23 16:42:04 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2005 13:42:04 -0700 Subject: Why choose Revolution In-Reply-To: <20050723212634.60E8.JVALLE@1234web.net> References: <20050723170004.04F48824DA5@mail.runrev.com> <088183a5c0debb8a9a81d2cc3acad517@interisland.net> <20050723212634.60E8.JVALLE@1234web.net> Message-ID: <42E2AB9C.6050604@fourthworld.com> J. Valle 1234web.net wrote: > We do mostly Internet business applications, think on CRM and intensive > database apps to got the idea. Normally are applications in the range of > 30-50 tables, some of them storing a few millions records and accessed > for 10s of users at the same time. Normally 2-3 developers works on this > kind of applications for less than 6 months, it could give you a picture > about the complexity, is not rocket science but is not a personal > notebook. We will develop mainly over Windows platform but products > should be available in Windows, Mac OSX, Red Hat and Debian flavours, > those are the most common OSs used by our customers. In such an environment it seems the UI tool is perhaps less significant than the underlying DB engine. Rev provides interfaces for MySQL, Oracle, and others, so you can pick the one that's most appropriate for you easily. > These are important things for us (if anybody can't point me to the > right url or readings to continue researching will help me to decide): > > -As Dan wrote somewhere OOP and Revolution are closer but are not the > same. Some way to group code in classes/libraries and organize in > multiple layers is a must for this kind of applications. Then if you > can't use classes how could you organize the code to be reused and easy > to maintain and extend under the Revolution paradigm? This may help: Extending the Runtime Revolution Message Path An introduction to using Libraries, FrontScripts, and BackScripts in Runtime Revolution's Transcript Programming Language FWIW, about 80% of most applications I write these days start from libraries of resusable components. > - Localization, very often applications works in 2 or 3 different > languages, need some way to store all needed strings in a common file or > resource. See Rev's Profile Manager as one way to handle localization. > - Interface customization, often applications also have to be adapted in > some way to the customer image and look, it means change colors and some > properties on a global way, think on a CSS style sheet, sometimes are > minor cosmetic changes others are very important changes. Rev can create and modify any object in its obejct model dynamically on the fly, and with impressive speed. You may also want to take a moment to play with Rev's inheritance for visual properties (text attributes, colors, etc.) to see how you can set these values at the stack level and have them applied to all objects within it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From pixelbird at interisland.net Sat Jul 23 16:43:11 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sat, 23 Jul 2005 13:43:11 -0700 Subject: Scale an image from an absolute point In-Reply-To: <20050723200253.C1444824DB6@mail.runrev.com> References: <20050723200253.C1444824DB6@mail.runrev.com> Message-ID: <7d9e38f34ad618cdeacdd6649b22e9bc@interisland.net> P.S., > Date: Sat, 23 Jul 2005 12:21:43 -0700 > From: Ken Norris > Subject: Re: Scale an image from an absolute point From the previous posted script: > lock screen > set the rect of me to offsetL,offsetT,offsetR,offsetB > unlock screen You don't need the lock/unlock screen lines; they got left in from when I was playing with it. All the best, Ken N. From sanke at hrz.uni-kassel.de Sat Jul 23 16:56:21 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 23 Jul 2005 22:56:21 +0200 Subject: Deep-mask feature revisited and snapshots Message-ID: <42E2AEF5.1030607@hrz.uni-kassel.de> When looking through one of my tutorial stacks using Rev 2.6.5 (BN 108) I observed - when the windowshape property is used and the deep-mask feature is set because of an transparent image - a) a slowing down of script execution if surface properties of objects are involved, like changing the color or label b) that it is impossible to take a snapshot of or from part of a deep-masked stack, neither within Rev or the Metacard IDE nor with an external graphics program like "Paintshop Pro" A. Slowing down The time needed to change backgroundcolors of four buttons (width of button = 234;height of button = 48) without deep mask is 4 milliseconds on my main computer (Windows XP, 2 GHz). I mention the size of the buttons because the larger the objects are the more time is needed to "refresh" the objects in deep-mask mode. Changing the labels of the four buttons takes only 1 milliseconds. When deep mask is set the time needed increases to 190 milliseconds on the average for both the backcolors and the labels, which results in an awkward sequential and noticeable change. If "lock screen" is used script execution is still about 20 times slower than without set deep mask. B. Snapshots One of the many differences between the Metacard and Rev IDE is that in Rev all open stacks immediately disappear when you choose "Import as Control" and "Snapshot". This is not that way in the Metacard IDE where it is possible to take a snapshot of a stack window - or part of a stack window - you intend to present on your website or attach to an email. Of course you can script a snapshot of a stack, this possibility remains in Rev. But if you try to take a snapshot of a stack even in the MC IDE where the stacks remain visible, if you select the whole or part of a visible deep-mask stack, all you get is the screen background behind it. Using an external tool like "Paintshop Pro" fails likewise, a deep-mask stack seems to possess its own degree of visibility that eludes the possibilities of taking snapshots, scripted or via menu commands or using external tools. The only way that remains for a deep-mask stack is to get out your digital camera and take a real "screenshot" from the outside.-- I came across these problems, because a couple of weeks ago - while I was sitting in the computer lab of Florida International University - I had received a message from Richmond Mathewson (now in Bulgaria) concerning multiple choice formats. After having come home recently and after necessary re-organising and resettling after a longer stay abroad, I finally managed to take a second look at my Multiple Choice Tutorial (which is available for inspection on my website). I will address the issue of multiple-choice formats in one of my next posts. Regards, Wilhelm Sanke From revolution at derbrill.de Sat Jul 23 17:25:57 2005 From: revolution at derbrill.de (Malte Brill) Date: Sat, 23 Jul 2005 23:25:57 +0200 Subject: Rev CGI argumets for ISP In-Reply-To: <20050723200254.43407824DB2@mail.runrev.com> Message-ID: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> Hi list, I?ve talked to my ISP if it was possible to use rev CGI on their servers. They are potentially interested to allow it, but need more technical details on stability, security, etc. . So if there is some kind of FAQ on Rev CGIs somewhere or some articles (besides the excellent getting started pages by Jaque) I would be glad if you let me know. Cheers, Malte ------------------------------------------------------------------------ ------------ ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From ambassador at fourthworld.com Sat Jul 23 18:26:03 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Jul 2005 15:26:03 -0700 Subject: Rev CGI argumets for ISP In-Reply-To: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> Message-ID: <42E2C3FB.2070006@fourthworld.com> Malte Brill wrote: > Hi list, > > I?ve talked to my ISP if it was possible to use rev CGI on their > servers. They are potentially interested to allow it, but need more > technical details on stability, security, etc. . So if there is some > kind of FAQ on Rev CGIs somewhere or some articles (besides the > excellent getting started pages by Jaque) I would be glad if you let me > know. I keep forgetting which additional libraries need to be installed with the engine to do that. Anyone have those handy? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Sat Jul 23 19:25:17 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Jul 2005 16:25:17 -0700 Subject: Place vs copy In-Reply-To: <42E288A3.6000309@hyperactivesw.com> References: <16625590046.20050722143956@ahsoftware.net> <42E288A3.6000309@hyperactivesw.com> Message-ID: <132118311342.20050723162517@ahsoftware.net> Jacque- Saturday, July 23, 2005, 11:12:51 AM, you wrote: JLG> Mark Wieder wrote: >> All- >> >> I'm trying to apply some optimization techniques learned from the >> online scripting conferences. And running into snags. >> >> "Placing" a group instead of copying and pasting it seems to turn its >> background behavior on. Is there something similar for non-background >> groups? Here's what I'm faced with - I'm currently pasting between >> some 100 to 300 copies of a single group onto a card. Is there a >> better way to do this than copy-once-paste-many? >> JLG> You should definitely be placing the group onto the cards in this case. JLG> Having 300 copies of a group will not only inflate the stack size, but JLG> you'd have to make any changes to it 300 times if you want to alter JLG> something. JLG> Setting the backgroundbehavior of a group which has been placed on many JLG> cards makes sense (it changes the message path, which is usually what JLG> you want with a shared group.) But if you don't want group messages to JLG> happen after the card messages, then just turn off backgroundBehavior JLG> after you are done placing the group on all the cards. JLG> Why wouldn't you want backgroundBehavior in this case? Does your stack JLG> create new cards on the fly where you don't want the group placed? Well, here's what I'm doing: I've got a template group which contains a few fields. I need to place many copies of this group onto a card and I then set the name of the newly created copy to a unique indicator. I'm not using multiple cards here except that I've now got the template group on a "templates" card so that I can place it. Otherwise all the copies to onto a single card. Think of a crossword grid where each square is a separate group. The first problem I run into is that if I "place" the template group onto the card and then rename it, the template group is also renamed (and made into a background group). Therefore the second attempt to place another copy of the template fails because the original can't be found. I don't really care whether backgroundBehavior is turned on or off on the copy, but making the original a background group prevents me from placing other copies. I think making multiple copies of the group and pasting them onto the card is what I'm stuck with here. My guess is that "place" makes an alias of the original group and pastes it into the destination, enabling backgroundBehavior along the way. -- -Mark Wieder mwieder at ahsoftware.net From charles.hartman at conncoll.edu Sat Jul 23 19:34:44 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 23 Jul 2005 19:34:44 -0400 Subject: declaring arrays? Message-ID: <539AFE2E-6685-4717-AEAA-46046C0FAA8D@conncoll.edu> I'm sure I'm missing something simple here. (Still learning Transcript-speak.) I need to have a global array, just eight elements, all initialized to false, set to true one by one in various scripts to measure progress toward a goal. In my main stack's script I have global gInteractLineDone and in its openStack handler, repeat with n = 1 to 8 put false into gInteractLineDone[n] end repeat But when I check in variableWatcher, I can't see any value in gInteractLineDone at all. (And my later scripts don't seem to do anything to it; yes, it's declared global in those scripts.) Do I need to declare the variable as an array somehow? Is there a way, that I've just plain missed, of initializing a variable at the same time as declaring its scope? Sorry, I'm just getting started with arrays here. Charles Hartman From see3d at writeme.com Sat Jul 23 20:29:48 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 23 Jul 2005 20:29:48 -0400 Subject: declaring arrays? In-Reply-To: <539AFE2E-6685-4717-AEAA-46046C0FAA8D@conncoll.edu> References: <539AFE2E-6685-4717-AEAA-46046C0FAA8D@conncoll.edu> Message-ID: Charles, What version of Rev are you running? The ability to see array contents was added in 2.6, but you have to click on it to see the contents in the lower frame. Arrays are not initialized or declared any different than any other variable. When you put something into a variable with a [key], Rev creates the key and element. If you ask for a [key] that does not yet exist, Rev hands you back an empty. What you wrote should work. Dennis On Jul 23, 2005, at 7:34 PM, Charles Hartman wrote: > I'm sure I'm missing something simple here. (Still learning > Transcript-speak.) I need to have a global array, just eight > elements, all initialized to false, set to true one by one in > various scripts to measure progress toward a goal. In my main > stack's script I have > > global gInteractLineDone > > and in its openStack handler, > > repeat with n = 1 to 8 > put false into gInteractLineDone[n] > end repeat > > But when I check in variableWatcher, I can't see any value in > gInteractLineDone at all. (And my later scripts don't seem to do > anything to it; yes, it's declared global in those scripts.) Do I > need to declare the variable as an array somehow? Is there a way, > that I've just plain missed, of initializing a variable at the same > time as declaring its scope? > > Sorry, I'm just getting started with arrays here. > > Charles Hartman > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From davis.phil at comcast.net Sat Jul 23 20:47:14 2005 From: davis.phil at comcast.net (Phil Davis) Date: Sat, 23 Jul 2005 17:47:14 -0700 Subject: Rev CGI argumets for ISP In-Reply-To: <42E2C3FB.2070006@fourthworld.com> References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> <42E2C3FB.2070006@fourthworld.com> Message-ID: <42E2E512.106@comcast.net> I found an old message on the Metacard list archives about this: http://www.mail-archive.com/metacard at lists.runrev.com/msg07942.html At that time (22 Jan 2003) the lib in question was 'libXext.so.6'. Phil Davis Richard Gaskin wrote: > Malte Brill wrote: > >> Hi list, >> >> I?ve talked to my ISP if it was possible to use rev CGI on their >> servers. They are potentially interested to allow it, but need more >> technical details on stability, security, etc. . So if there is some >> kind of FAQ on Rev CGIs somewhere or some articles (besides the >> excellent getting started pages by Jaque) I would be glad if you let >> me know. > > > I keep forgetting which additional libraries need to be installed with > the engine to do that. > > Anyone have those handy? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com From capellan2000 at yahoo.com Sat Jul 23 21:18:15 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 23 Jul 2005 18:18:15 -0700 (PDT) Subject: Scale an image from an absolute point In-Reply-To: <20050723170004.87EF6824DA6@mail.runrev.com> Message-ID: <20050724011815.91603.qmail@web40506.mail.yahoo.com> on Sat, 23 Jul 2005 Roger.E.Eller at sealedair.com wrote: > I need to scale an image from an absolute point > within the image rect. > This point will not be the loc or any of the 4 > corners. The image must > stay positioned (locked) by a point where the user > clicks during the > scaling routine. Does anyone have an idea of how to > best approach this? I > could calculate the offset from the loc of the > image, but this changes as > the image is dragged to be larger/smaller. Any > ideas? Hi Roger, Could you use a vector graphic to show the scale of the image as it resizes? In this way, when the user stop resizing the graphic, set the rectangle of the image to the rect of the graphic. or... Do you had to show in real time the image change in size, as the user resizes the image? The stack "penToolv32c" have code to resize a vector graphic from a point the user clicked. It is in the stack with the Transformation tools: scale, rotate, skew and flip. Notice, this code uses matrices for resize calculations. You could download it from: Have a nice weekend. al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From charles.hartman at conncoll.edu Sat Jul 23 21:32:33 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sat, 23 Jul 2005 21:32:33 -0400 Subject: declaring arrays? In-Reply-To: References: <539AFE2E-6685-4717-AEAA-46046C0FAA8D@conncoll.edu> Message-ID: It does. Stupid me. VarWatcher does show the values after my initialization. What isn't working, rather, is that the openCard handler that needs to check these values is not being called at all, for some reason. Which is probably something else small that I'm missing. I'll keep staring at it. No spelling erorr, as far as I can see. Thanks. Charles Hartman On Jul 23, 2005, at 8:29 PM, Dennis Brown wrote: > Charles, > > What version of Rev are you running? > The ability to see array contents was added in 2.6, but you have to > click on it to see the contents in the lower frame. > Arrays are not initialized or declared any different than any other > variable. > When you put something into a variable with a [key], Rev creates > the key and element. > If you ask for a [key] that does not yet exist, Rev hands you back > an empty. > What you wrote should work. > > Dennis > > On Jul 23, 2005, at 7:34 PM, Charles Hartman wrote: > > >> I'm sure I'm missing something simple here. (Still learning >> Transcript-speak.) I need to have a global array, just eight >> elements, all initialized to false, set to true one by one in >> various scripts to measure progress toward a goal. In my main >> stack's script I have >> >> global gInteractLineDone >> >> and in its openStack handler, >> >> repeat with n = 1 to 8 >> put false into gInteractLineDone[n] >> end repeat >> >> But when I check in variableWatcher, I can't see any value in >> gInteractLineDone at all. (And my later scripts don't seem to do >> anything to it; yes, it's declared global in those scripts.) Do I >> need to declare the variable as an array somehow? Is there a way, >> that I've just plain missed, of initializing a variable at the >> same time as declaring its scope? >> >> Sorry, I'm just getting started with arrays here. >> >> Charles Hartman >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gandalf at doctortimothyMiller.com Sat Jul 23 22:59:18 2005 From: gandalf at doctortimothyMiller.com (Timothy Miller) Date: Sat, 23 Jul 2005 19:59:18 -0700 Subject: How do I edit a bg image? Message-ID: Howdy, y'all, Because my Rev stacks are HC imports, all the bitmapped text and graphics from each HC background became a single background image in Rev. (Unless I misunderstood something, which is quite possible.) I know how to identify the images, make them visible and invisible, change their locations, and so on, but I'd like to edit some of them. How do I do that? As usual, I searched the docs, but couldn't find anything. If the information is in there, it's hard to find. Thanks in advance, Tim From davis.phil at comcast.net Sun Jul 24 00:47:41 2005 From: davis.phil at comcast.net (Phil Davis) Date: Sat, 23 Jul 2005 21:47:41 -0700 Subject: How do I edit a bg image? In-Reply-To: References: Message-ID: <42E31D6D.9050100@comcast.net> Timothy Miller wrote: > Howdy, y'all, > > Because my Rev stacks are HC imports, all the bitmapped text and > graphics from each HC background became a single background image in > Rev. (Unless I misunderstood something, which is quite possible.) I know > how to identify the images, make them visible and invisible, change > their locations, and so on, but I'd like to edit some of them. How do I > do that? Hi Timothy, I haven't done any HC-->Rev conversions in years, but here are some ideas. 1) You could export the image using a button containing the following code, edit the image outside the RunRev environment, then import it back in. (Or set the filename of the bg image object to the file's name.) Before running this, you'll need to know the ID of the image to export (unless it's the only image): on mouseUp -- identify where to save the exported image ask file "Save exported image as:" if it = empty then exit mouseUp -- cancelled put it into tImageFilename -- identify which image to export if the number of images > 1 then ask "Export which image? (Enter a 'short' image ID.)" if it = empty then exit mouseUp -- cancelled put it into tID else put the short id of image 1 into tID end if -- export the image export image id tID to file tImageFilename as PNG -- or JPEG, or... end mouseUp 2) You could take a look at Richard Gaskin's 4wCamera plug-in. I use it often for making images. See if it gives you what you need. 3) Have you tried using RunRev's image editing tools? That might also give you what you need. At the bottom of the Tools palette there's a line with a small up-arrow at the right end. Click the arrow to reveal the paint tools. HTH - it'll at least give you some starting points. Phil Davis From davis.phil at comcast.net Sun Jul 24 01:04:31 2005 From: davis.phil at comcast.net (Phil Davis) Date: Sat, 23 Jul 2005 22:04:31 -0700 Subject: Failed search phrases In-Reply-To: References: Message-ID: <42E3215F.8010500@comcast.net> Timothy Miller wrote: > Howdy, y'all, > --- snip --- > > As usual, I searched the docs, but couldn't find anything. If the > information is in there, it's hard to find. I suspect this happens often. For this reason, I sometimes wish there were a Rev feature we could turn on which would collect our failed Docs search phrases, give us space to explain in longhand what we're looking for, and send the phrase and the explanation to RunRev. The purpose of the feature would be to inform those who create the docs of the language we use when searching, so maybe the docs could be brought more in line with our way of looking for info. Food for thought. Phil Davis From jacque at hyperactivesw.com Sun Jul 24 01:08:38 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2005 00:08:38 -0500 Subject: Place vs copy In-Reply-To: <132118311342.20050723162517@ahsoftware.net> References: <16625590046.20050722143956@ahsoftware.net> <42E288A3.6000309@hyperactivesw.com> <132118311342.20050723162517@ahsoftware.net> Message-ID: <42E32256.7090906@hyperactivesw.com> Mark Wieder wrote: > I think making multiple copies of the group and pasting them onto the > card is what I'm stuck with here. My guess is that "place" makes an > alias of the original group and pastes it into the destination, > enabling backgroundBehavior along the way. > Yes, it sounds like you are stuck with that. I didn't know you were trying to put multiple copies on the same card. Groups aren't meant to do that and I don't think you can. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Jul 24 01:13:58 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2005 00:13:58 -0500 Subject: How do I edit a bg image? In-Reply-To: References: Message-ID: <42E32396.5040207@hyperactivesw.com> Timothy Miller wrote: > Howdy, y'all, > > Because my Rev stacks are HC imports, all the bitmapped text and > graphics from each HC background became a single background image in > Rev. (Unless I misunderstood something, which is quite possible.) I know > how to identify the images, make them visible and invisible, change > their locations, and so on, but I'd like to edit some of them. How do I > do that? The image is the same as any other. You can use Rev's paint tools to edit it after you make it visible. Note that if it is a background image, you have to go into bg edit mode first (use "Edit group" in the Objects menu to get there.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Jul 24 01:23:55 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Jul 2005 22:23:55 -0700 Subject: Place vs copy In-Reply-To: <42E32256.7090906@hyperactivesw.com> References: <16625590046.20050722143956@ahsoftware.net> <42E288A3.6000309@hyperactivesw.com> <132118311342.20050723162517@ahsoftware.net> <42E32256.7090906@hyperactivesw.com> Message-ID: <184139829654.20050723222355@ahsoftware.net> Jacque- Saturday, July 23, 2005, 10:08:38 PM, you wrote: JLG> Yes, it sounds like you are stuck with that. I didn't know you were JLG> trying to put multiple copies on the same card. Groups aren't meant to JLG> do that and I don't think you can. Thanks. I'm fine with that. It's fairly fast, does what I want, and I don't really need persistent storage of the screen image. Just trying to explore new possibilities for optimization. -- -Mark Wieder mwieder at ahsoftware.net From b.xavier at internet.lu Sun Jul 24 02:26:17 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 24 Jul 2005 08:26:17 +0200 Subject: Deep-mask feature revisited and snapshots In-Reply-To: <42E2AEF5.1030607@hrz.uni-kassel.de> Message-ID: <20050724061631.33876824D43@mail.runrev.com> if you try the normal shift-printscreenKey command in windows you will be able to paste the image... no camera needed! ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Wilhelm Sanke > Sent: Saturday, July 23, 2005 22:56 > To: use-revolution at lists.runrev.com > Subject: Deep-mask feature revisited and snapshots > > When looking through one of my tutorial stacks using Rev > 2.6.5 (BN 108) I observed - when the windowshape property is > used and the deep-mask feature is set because of an > transparent image - > > a) a slowing down of script execution if surface properties > of objects are involved, like changing the color or label > > b) that it is impossible to take a snapshot of or from part > of a deep-masked stack, neither within Rev or the Metacard > IDE nor with an external graphics program like "Paintshop Pro" > > A. Slowing down > > The time needed to change backgroundcolors of four buttons > (width of button = 234;height of button = 48) without deep > mask is 4 milliseconds on my main computer (Windows XP, 2 GHz). > I mention the size of the buttons because the larger the > objects are the more time is needed to "refresh" the objects > in deep-mask mode. > Changing the labels of the four buttons takes only 1 milliseconds. > > When deep mask is set the time needed increases to 190 > milliseconds on the average for both the backcolors and the > labels, which results in an awkward sequential and noticeable > change. If "lock screen" is used script execution is still > about 20 times slower than without set deep mask. > > B. Snapshots > > One of the many differences between the Metacard and Rev IDE > is that in Rev all open stacks immediately disappear when you > choose "Import as Control" and "Snapshot". This is not that > way in the Metacard IDE where it is possible to take a > snapshot of a stack window - or part of a stack window - you > intend to present on your website or attach to an email. Of > course you can script a snapshot of a stack, this possibility > remains in Rev. > > But if you try to take a snapshot of a stack even in the MC > IDE where the stacks remain visible, if you select the whole > or part of a visible deep-mask stack, all you get is the > screen background behind it. > > Using an external tool like "Paintshop Pro" fails likewise, a > deep-mask stack seems to possess its own degree of visibility > that eludes the possibilities of taking snapshots, scripted > or via menu commands or using external tools. > > The only way that remains for a deep-mask stack is to get out > your digital camera and take a real "screenshot" from the outside.-- > > I came across these problems, because a couple of weeks ago - > while I was sitting in the computer lab of Florida > International University - I had received a message from > Richmond Mathewson (now in Bulgaria) concerning multiple > choice formats. After having come home recently and after > necessary re-organising and resettling after a longer stay > abroad, I finally managed to take a second look at my > Multiple Choice Tutorial (which is available for inspection > on my website). > I will address the issue of multiple-choice formats in one of > my next posts. > > Regards, > > Wilhelm Sanke > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From alex at harryscollar.com Sun Jul 24 02:35:16 2005 From: alex at harryscollar.com (Alex Shaw) Date: Sun, 24 Jul 2005 16:35:16 +1000 Subject: [ANN] Beta Release for penToolv032d In-Reply-To: <20050723073255.3905D824D69@mail.runrev.com> References: <20050723073255.3905D824D69@mail.runrev.com> Message-ID: <42E336A4.8050800@harryscollar.com> hi Alejandro Having trouble accessing aulasdigitales.net domain to check your great work re: penTool files. Do you have another download location? regards alex From jvalle at 1234web.net Sun Jul 24 05:49:34 2005 From: jvalle at 1234web.net (J. Valle 1234web.net) Date: Sun, 24 Jul 2005 11:49:34 +0200 Subject: Why choose Revolution In-Reply-To: <42E2AB9C.6050604@fourthworld.com> References: <20050723212634.60E8.JVALLE@1234web.net> <42E2AB9C.6050604@fourthworld.com> Message-ID: <20050724114409.60FB.JVALLE@1234web.net> Richard, thanks for your help. Another question related to your article "Extending Message Path". You talk about Script Limits, could these limits be changed? and if is not possible, what it means in terms of the application size/complexity? Thanks Jose -- J. Valle 1234web.net From 3mcgrath at adelphia.net Sun Jul 24 10:05:49 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 24 Jul 2005 10:05:49 -0400 Subject: How do I edit a bg image? In-Reply-To: References: Message-ID: <1b2fd01fd8a4194793404a91d0711ac0@adelphia.net> Hey Tim, There are no bg images in REV. All images are just images!?! You can however treat an image as a bg group and have it show up on all newly created cards or you can use "place" to place the bg group on an existing card, in effect this acts similar to HC then but with more power. If your HC project has a lot of the same images on each card and they were converted to a single image on each card in REV then it would be worth your time to delete the extras except the first card and group that image and place on each card/auto place on new cards. This way if you edit the one image it will show up on all cards. Now, to edit your images (all images) select the image and in the properties panel for the image there is a pencil button that will open the image in your chosen image editor (if you have not chosen one a dialog will open asking you to pick one - Photoshop in my case). Then the image will open in your chosen editor and when you are done you will close/save the image in the editor and go back to REV and hit update and there you have it - image edited. This works on linked (files on your HD) images in REV and also images that only exist in REV with no external file. HTH Tom McGrath On Jul 23, 2005, at 10:59 PM, Timothy Miller wrote: > Howdy, y'all, > > Because my Rev stacks are HC imports, all the bitmapped text and > graphics from each HC background became a single background image in > Rev. (Unless I misunderstood something, which is quite possible.) I > know how to identify the images, make them visible and invisible, > change their locations, and so on, but I'd like to edit some of them. > How do I do that? > > As usual, I searched the docs, but couldn't find anything. If the > information is in there, it's hard to find. > > > Thanks in advance, > > > Tim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From sonesond1 at southernct.edu Sun Jul 24 10:22:16 2005 From: sonesond1 at southernct.edu (Dan Soneson) Date: Sun, 24 Jul 2005 10:22:16 -0400 Subject: Place vs Copy Message-ID: <56516BCC-FC4E-11D9-9D90-00039303CE26@southernct.edu> Have you looked into the clone command? You'd still be doing multiple copies of the original group, but possibly faster. Apparently, you can also use use "Edit > Replicate..." in the menu to make as many copies of the group (and place them in relation to one another on your card) as you wish. Dan > Mark Wieder wrote: > >> I think making multiple copies of the group and pasting them onto the >> card is what I'm stuck with here. My guess is that "place" makes an >> alias of the original group and pastes it into the destination, >> enabling backgroundBehavior along the way. >> > > Yes, it sounds like you are stuck with that. I didn't know you were > trying to put multiple copies on the same card. Groups aren't meant to > do that and I don't think you can. Daniel B. Soneson Director, Language Lab Southern CT State University From jbv.silences at Club-Internet.fr Sun Jul 24 10:47:54 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Sun, 24 Jul 2005 16:47:54 +0200 Subject: Why choose Revolution References: <20050723212634.60E8.JVALLE@1234web.net> <42E2AB9C.6050604@fourthworld.com> <20050724114409.60FB.JVALLE@1234web.net> Message-ID: <42E3AA0E.3B3102B0@Club-Internet.fr> Jose, > Richard, thanks for your help. > > Another question related to your article "Extending Message Path". > > You talk about Script Limits, could these limits be changed? and if is > not possible, what it means in terms of the application size/complexity? > AFAIR the limit of a script is in the Mb range (possibly 32Mb, although this needs to be checked - you'll probably find several threads about Rev or MC limits in the archives). IOW that leaves plenty of room for complexity... FYI, the longest script I ever wrote weighted 100 Kb and was 3200 lines long. Anyway, it's always a good idea to split Rev scripts into smaller chunks, which makes things much easier for debugging (and reuse) your code... and also because Rev doesn't feature (yet) debugging tools making it easy to handle millions of lines of code... Best, JB From jacque at hyperactivesw.com Sun Jul 24 12:01:24 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2005 11:01:24 -0500 Subject: Why choose Revolution In-Reply-To: <42E3AA0E.3B3102B0@Club-Internet.fr> References: <20050723212634.60E8.JVALLE@1234web.net> <42E2AB9C.6050604@fourthworld.com> <20050724114409.60FB.JVALLE@1234web.net> <42E3AA0E.3B3102B0@Club-Internet.fr> Message-ID: <42E3BB54.3070909@hyperactivesw.com> jbv wrote: > Jose, > > >>Richard, thanks for your help. >> >>Another question related to your article "Extending Message Path". >> >>You talk about Script Limits, could these limits be changed? and if is >>not possible, what it means in terms of the application size/complexity? >> > > > AFAIR the limit of a script is in the Mb range (possibly 32Mb, although > this needs to be checked - you'll probably find several threads about Rev > or MC limits in the archives). A script can be up to 4 gigs. But "script limits" here isn't refering to the size of a script written in the IDE, but rather how many lines a script can be if a standalone tries to set one. Without the development environment running, a new script can be only 10 lines long. This is not usually a problem. Almost always, scripts are written during development and made into a standalone afterward; it is only rarely that a standalone needs to write and set a script on the fly, and the 10-line limit in this case can often be worked around in various ways. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley at infostations.com Sun Jul 24 13:45:51 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 24 Jul 2005 10:45:51 -0700 Subject: ANN: Update on Nine Ball In-Reply-To: <20050724170005.61899824DEF@mail.runrev.com> References: <20050724170005.61899824DEF@mail.runrev.com> Message-ID: With the sound on I was hearing multiple collisions when a ball was pocketed. ("Sound on" works well in OS X. Probably not in Windows. Use the preferences to turn the sound off.) After much confusion, I discovered that balls that had been pocketed (and set to a loc off screen) were undergoing collisions off screen. Not good to have pocketed balls playing their own game off screen. The update corrects this. (When a ball is pocketed the ball number is put into a custom property. Subsequently, when a repeat loop comes across this number, it does a "next repeat" thereby ignoring all pocketed balls. Not only does this avoid off screen collisions, but it is more efficient.) New and improved at: (Run this in the message box.) go stack url "http://home.infostations.net/jhurley/NineBallWithSpin.rev" Jim From b.xavier at internet.lu Sun Jul 24 14:04:06 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 24 Jul 2005 20:04:06 +0200 Subject: empty ask result + ok = result:cancel Message-ID: <20050724175416.E1C61824D4D@mail.runrev.com> im implementing a nice search and replace function and well, check it out... local lselection on mouseenter put "viewbar" into f get the selectedtext of fld f put it into lselection end if end mouseenter on mouseUp local f,x,y,txt put "viewbar" into f put fld f into txt ask "Replace what:" with lselection put it into x get the result if it is "cancel" then exit mouseup ask "Replace with:" with it put it into y get the result if it is "cancel" then exit mouseup replace x with y in fld f end mouseup Now, if i want to replace x with nothing, i leave the second ask empty but the result, despite clicking OK, is "Cancel"... grrr Can any of you replicate this? bugzilla or is it me? TIA cheers Xavier From mwieder at ahsoftware.net Sun Jul 24 14:08:55 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 24 Jul 2005 11:08:55 -0700 Subject: Place vs Copy In-Reply-To: <56516BCC-FC4E-11D9-9D90-00039303CE26@southernct.edu> References: <56516BCC-FC4E-11D9-9D90-00039303CE26@southernct.edu> Message-ID: <1391518864.20050724110855@ahsoftware.net> Dan- Sunday, July 24, 2005, 7:22:16 AM, you wrote: DS> Have you looked into the clone command? You'd still be doing multiple DS> copies of the original group, but possibly faster. Apparently, you can DS> also use use "Edit >> Replicate..." in the menu to make use use "Edit >> as many copies of the DS> group (and place them in relation to one another on your card) as you DS> wish. Hmmm. Interesting idea. I hadn't thought of using "clone" instead of "paste". Now that I've tried it, though, the timing seems to be exactly the same. And I have to admit that I've never even looked at the "Replicate..." menuItem, even though I use "Duplicate" all the time. However, I need to script the copying, so this isn't going to be an option, even if it did turn out to be faster. -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Jul 24 15:18:50 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2005 14:18:50 -0500 Subject: Scripting conference - Script Anatomy 2 log available Message-ID: <42E3E99A.2070700@hyperactivesw.com> The transcript log of yesterday's Script Anatomy 2 scripting conference has been placed into the conference stack, and the revised stack is now available at the usual place: Frank did a great job -- check it out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From see3d at writeme.com Sun Jul 24 15:28:09 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 24 Jul 2005 15:28:09 -0400 Subject: empty ask result + ok = result:cancel In-Reply-To: <20050724175416.E1C61824D4D@mail.runrev.com> References: <20050724175416.E1C61824D4D@mail.runrev.com> Message-ID: <9C37BBC5-8B3A-41E2-AE37-C8D13A783192@writeme.com> x, This script works fine on my OS X machine with 2.6 (108) That is once I take out that extra end if The empty and cancel are returned as expected. Dennis On Jul 24, 2005, at 2:04 PM, MisterX wrote: > local lselection > > on mouseenter > put "viewbar" into f > get the selectedtext of fld f > put it into lselection > end if > end mouseenter > > on mouseUp > local f,x,y,txt > > put "viewbar" into f > put fld f into txt > > ask "Replace what:" with lselection > put it into x > get the result > if it is "cancel" then exit mouseup > ask "Replace with:" with it > put it into y > get the result > if it is "cancel" then exit mouseup > > replace x with y in fld f > end mouseup > From gbojsza at gmail.com Sun Jul 24 15:48:21 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 24 Jul 2005 15:48:21 -0400 Subject: Polling in Rev (send verses wait) Message-ID: <3d8af41505072412485dfad451@mail.gmail.com> I am working on an app that needs to do a polling routine every N seconds (where N is defaulted to 10 unless the user defines it themselves). The routine gathers information from some files and parses it with the results being displayed in the appropriate fields. This routine needs to be a run as a background process because the user will be working with the application to update information etc. The Rev docs lead me to think that either the send or the wait command could be used. I was hoping someone would shed some light on which selection should be used in this case. thanks, From sanke at hrz.uni-kassel.de Sun Jul 24 15:54:59 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sun, 24 Jul 2005 21:54:59 +0200 Subject: Deep-mask feature revisited and snapshots Message-ID: <42E3F213.2050702@hrz.uni-kassel.de> On Sun, 24 Jul 2005, "MisterX" wrote: > if you try the normal shift-printscreenKey command in windows > you will be able to paste the image... > > no camera needed! > > cheers > Xavier Xavier, You are right of course. Only you get a picture of the complete screen, 6.5 MB in my case, then you have to start your image program to select and process the area of the screenshot you really need. With a camera screenshot you could select the area in advance. On a Mac - with the screenshot program that comes with OSX - you could select an area or window ; I did not yet test if it is able to capture a deep-mask stack. Anyway, I would like to know whether this eluding visibility comes as an unavoidable corollary for stacks with the deep-mask feature or if this is a bug. Maybe somebody from the Rev team could comment here? Regards, Wilhelm Sanke From jacque at hyperactivesw.com Sun Jul 24 16:02:00 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2005 15:02:00 -0500 Subject: Polling in Rev (send verses wait) In-Reply-To: <3d8af41505072412485dfad451@mail.gmail.com> References: <3d8af41505072412485dfad451@mail.gmail.com> Message-ID: <42E3F3B8.3050307@hyperactivesw.com> Glen Bojsza wrote: > I am working on an app that needs to do a polling routine every N > seconds (where N is defaulted to 10 unless the user defines it > themselves). The routine gathers information from some files and > parses it with the results being displayed in the appropriate fields. > > This routine needs to be a run as a background process because the > user will be working with the application to update information etc. > > The Rev docs lead me to think that either the send or the wait command > could be used. I was hoping someone would shed some light on which > selection should be used in this case. Use "send". More info here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mike at Doub.com Sun Jul 24 16:02:06 2005 From: Mike at Doub.com (Mike Doub) Date: Sun, 24 Jul 2005 16:02:06 -0400 Subject: Squarified Treemaps Message-ID: <20050724195335.3E531824DD4@mail.runrev.com> I am doing some experimentation with data visualization and was wondering if anyone had already created a control for a Squarified Treemap written in transcript. Are there any other transcript based data visualization tools available? Thanks in Advance. Mike From eric.chatonet at sosmartsoftware.com Sun Jul 24 16:19:32 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 24 Jul 2005 22:19:32 +0200 Subject: empty ask result + ok = result:cancel In-Reply-To: <20050724175416.E1C61824D4D@mail.runrev.com> References: <20050724175416.E1C61824D4D@mail.runrev.com> Message-ID: <3A3F0754-3C43-4986-81A0-CAC9148E1ABF@sosmartsoftware.com> Hi Xavier, May be I'm wrong but your code makes no sense for me :-) You want to get a result but you insert a line of code between the command and the request for the result: can't work. You have to request the result immediately without requesting anything else to the engine in the meantime. Then you ask replace with it:" it" is supposed to be a result and is not a result... And I don't understand why you would place a result as default in an ask dialog... As for me - but may be again, I'm wrong - I could write: on mouseUp local f,x,y,txt ----- put "viewbar" into f put fld f into txt ----- ask "Replace what:" with lselection if the result = "cancel" then exit mouseUp put it into x ----- ask "Replace with:" with it if the result = "cancel" then exit mouseUp put it into y ----- replace x with y in fld f end mouseUp Le 24 juil. 05 ? 20:04, MisterX a ?crit : > im implementing a nice search and replace function and well, check > it out... > > local lselection > > on mouseenter > put "viewbar" into f > get the selectedtext of fld f > put it into lselection > end if > end mouseenter > > on mouseUp > local f,x,y,txt > > put "viewbar" into f > put fld f into txt > > ask "Replace what:" with lselection > put it into x > get the result > if it is "cancel" then exit mouseup > ask "Replace with:" with it > put it into y > get the result > if it is "cancel" then exit mouseup > > replace x with y in fld f > end mouseup > > Now, if i want to replace x with nothing, i leave the second ask > empty but the result, despite clicking OK, is "Cancel"... grrr 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gbojsza at gmail.com Sun Jul 24 16:49:28 2005 From: gbojsza at gmail.com (Glen Bojsza) Date: Sun, 24 Jul 2005 16:49:28 -0400 Subject: Polling in Rev (send verses wait) In-Reply-To: <42E3F3B8.3050307@hyperactivesw.com> References: <3d8af41505072412485dfad451@mail.gmail.com> <42E3F3B8.3050307@hyperactivesw.com> Message-ID: <3d8af41505072413493846276@mail.gmail.com> Thanks Jacque, I have built a quick script that uses "send" and it seems to work well. regards, Glen On 7/24/05, J. Landman Gay wrote: > Glen Bojsza wrote: > > I am working on an app that needs to do a polling routine every N > > seconds (where N is defaulted to 10 unless the user defines it > > themselves). The routine gathers information from some files and > > parses it with the results being displayed in the appropriate fields. > > > > This routine needs to be a run as a background process because the > > user will be working with the application to update information etc. > > > > The Rev docs lead me to think that either the send or the wait command > > could be used. I was hoping someone would shed some light on which > > selection should be used in this case. > > Use "send". More info here: > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Roger.E.Eller at sealedair.com Sun Jul 24 17:01:15 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Sun, 24 Jul 2005 17:01:15 -0400 Subject: Scale an image from an absolute point Message-ID: Thank you to everyone who replied to this thread. Using snippets from each suggestion, I think I will be able to arrive at a solution that fits my situation. Roger Eller From sarahr at genesearch.com.au Sun Jul 24 19:01:02 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 25 Jul 2005 09:01:02 +1000 Subject: Printing only selected pages In-Reply-To: <20050722065953.37555.qmail@web60523.mail.yahoo.com> References: <20050722065953.37555.qmail@web60523.mail.yahoo.com> Message-ID: <0B9CD181-9FF7-4C55-856D-01561B9B505F@genesearch.com.au> >> I ran into a problem today, that I am surprised not >> to have >> encountered before. I use revPrintField to print a >> multi-page >> document and usually I print it to a PDF and then >> print selected >> pages if needed. Today I tried printing directly >> from Revolution >> (this is just a stack that runs from the IDE) and >> despite selecting >> page 1 to 1 in the print dialog, it tried to print >> all the pages. >> >> I guess I have a couple of questions: >> - does this happen to everyone, in which case I'll >> bugzilla it? >> - is there a workaround? >> >> TIA, >> Sarah >> >> > > Hi Sarah, > > The revPrintField and revPrintText commands are not > designed to handle this. You could hack these > yourself, but unfortunately, the engine does not give > us a way to determine which pages the user wanted to > print. > I noticed that SuperCard 4.5 has a new 'printRange' > property. Naturally, I'm one of the people who hope > that this will be added to Revolution soon. > > Jan Schenkel. Thanks Jan, I'll add this to bugzilla as a feature request. If Rev allows us to use the standard print dialog, then it should respect the settings it gets back from that dialog. Cheers, Sarah From pixelbird at interisland.net Sun Jul 24 21:45:50 2005 From: pixelbird at interisland.net (Ken Norris) Date: Sun, 24 Jul 2005 18:45:50 -0700 Subject: Scale an image from an absolute point In-Reply-To: <20050723170004.04F48824DA5@mail.runrev.com> References: <20050723170004.04F48824DA5@mail.runrev.com> Message-ID: Hi again, Roger, On Jul 23, 2005, at 10:00 AM, use-revolution-request at lists.runrev.com wrote: > Date: Sat, 23 Jul 2005 12:10:52 -0400 > From: Roger.E.Eller at sealedair.com > Subject: Scale an image from an absolute point > > I need to scale an image from an absolute point within the image rect. > This point will not be the loc or any of the 4 corners. The image must > stay positioned (locked) by a point where the user clicks during the > scaling routine. Is the rect of the image going to change, or do you want to zoom the image while maintaining a visible rect at the same size (image needs to be grouped)? > Does anyone have an idea of how to best approach this? I > could calculate the offset from the loc of the image, but this changes > as > the image is dragged to be larger/smaller. Any ideas? I took a shot at an idea I hoped might get you started but I guess I'm not understanding this. For example, I don't get how you are wanting to drag the image to change the size. Is that to change the image rect? See, that will also change the scale, so it's confusing what that is for, if you also expect to scale it another way as well. IOW, it appears you're presenting several different things going on, and I don't have clear idea what you want to do. Do you want to enlarge the image by dragging a corner (resizing the rect, which also scales the image), and then zoom further from a point within the new rect while that new rect stays as it was set? How do you want to control the zoom? I'm sure it can happen, and I've done quite a few things like this, so I thought I could help. Could you step through the process as a user might do it, one thing at a time? All the best, Ken N. From soapdog at mac.com Sun Jul 24 21:45:21 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 24 Jul 2005 22:45:21 -0300 Subject: Rev CGI argumets for ISP In-Reply-To: <42E2C3FB.2070006@fourthworld.com> References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> <42E2C3FB.2070006@fourthworld.com> Message-ID: On Jul 23, 2005, at 7:26 PM, Richard Gaskin wrote: > Malte Brill wrote: >> Hi list, >> I?ve talked to my ISP if it was possible to use rev CGI on their >> servers. They are potentially interested to allow it, but need more >> technical details on stability, security, etc. . So if there is some >> kind of FAQ on Rev CGIs somewhere or some articles (besides the >> excellent getting started pages by Jaque) I would be glad if you let >> me know. > > I keep forgetting which additional libraries need to be installed with > the engine to do that. > > Anyone have those handy? > I don't think they need any non standard library. For the newer engines they need libC (GLIBC) 2.3, but that comes with any recent linux... Cheers andre > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From gandalf at doctorTimothyMiller.com Sun Jul 24 22:22:16 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Sun, 24 Jul 2005 19:22:16 -0700 Subject: Rant Re Rev Documentation In-Reply-To: <42E3215F.8010500@comcast.net> References: <42E3215F.8010500@comcast.net> Message-ID: >Timothy Miller wrote: >>Howdy, y'all, >> >--- snip --- >> >>As usual, I searched the docs, but couldn't find anything. If the >>information is in there, it's hard to find. > > >I suspect this happens often. For this reason, I sometimes wish >there were a Rev feature we could turn on which would collect our >failed Docs search phrases, give us space to explain in longhand >what we're looking for, and send the phrase and the explanation to >RunRev. The purpose of the feature would be to inform those who >create the docs of the language we use when searching, so maybe the >docs could be brought more in line with our way of looking for info. > >Food for thought. >Phil Davis Hi Phil, I appreciate your comment. It's a good idea. However, I'm not sure that the elementary information I needed exists in the onboard Rev documentation. Well... Pieces of it are in there, no doubt, but maybe not in a form that would have been useful to me, when I was stuck, given my skill level, which is above newbie, above novice, maybe around amateur, or a bit lower. All I needed was a tip from the list. Simple was good. Jacque has a gift for getting the gist of a question, and then answering it clearly and briefly. (I appreciated the other suggestions also, though they were more complex than I really needed.) I enjoyed a blinding flash of the obvious, and I was ready to do my work. I fear your comment is more than food for thought. It seems to me, sometimes, that your comment represents a life or death issue for Revolution. Rev is supposed to be "enterprise-ware" if I'm not mistaken. If I understand the term, enterprise-ware is appropriate for do-it-yourself end users. In my opinion, it ain't enterprise-ware. Not yet, anyway. A person with my skill level as an all-around computer user, for many, many years, and former heavy HC user, should suffer far less difficulty with Rev than I have experienced. And I've been spending money on an (excellent) consultant, too. Consider the number of professional developers -- and other experts -- on the list, versus the number of newbies-with-questions. Look at the number of do-it-yourself end users, who use Rev for serious business. (Sometimes, it seems like I'm the only one in the world.) That suggests to me that something is wrong. (I assume it's obvious that the experts predominate.) There have been a couple of bugs, and of course Rev is more feature-rich than HC, and it's different from HC in some important ways. But these have not been the main obstacles for me. The main obstacle is that there is no adequate documentation for Revolution. There's not even a manual! Even HC 1.0 shipped with a pretty good manual! And a reference guide, too, as I recall. Danny Goodman's HC books appeared not long after. They constituted more-than-adequate documentation, and they set the standard that Rev must follow, one way or another, and soon! (I found a comprehensive Trancript dictionary on the Web the other day. It was over my head. That's not the answer. I'm not even sure I understood what it was.) Rev's onboard documentation is a very good start, and I love it because it's onboard, and free. But many dictionary entries are just too terse. Terse is what I want -- sometimes. Like if I've forgotten some detail I used to know. At other times, like when I'm trying to do something I never did before, or I can't get something to work and I can't figure out why it's not working, I need verbose. A book could do that, but this is the kind of situation that is best handled by hypertext. (Given Rev's hypertext capabilities, that's ironic at the laugh-or-cry level.) In other words, the onboard documentation might be the best delivery method. Rev will certainly be able to attract customers more effectively, if the customers can get started without buying an expensive and intimidating thick book. Getting back to terse and verbose, if I filter or search the dictionary, it seems to me I should get the terse explanation. A simple link could, and should, give me a more detailed and digestible verbose explanation. The related terms are great, sometimes. If they're mostly mysterious to me, they are too terse, also. A verbose version of related terms would provide a fairly brief and digestible summary each term's meaning, with a link for each one, of course. Scripting examples in the onboard docs are very sparse. Often there are about three. Once again, sometimes that's fine, sometimes not. If none of the examples are particularly relevant to what I'm trying to do, or fix, I've got a problem. I should have the option of a verbose version of the scripting examples. Rev is so feature-rich that two or three dozen scripting examples would be barely sufficient, in some cases. The onboard docs are missing other obvious links, as well. How about a "gotchas" link for most dictionary terms? The gotchas could be rank-ordered from mistakes commonly made by newbies to mistakes commonly made by experts. Sort of like the list of commonly misspelled words found in some dictionaries. (Funny... I'm not sure how to spell "misspell.") If the onboard docs could reach the foregoing specifications, and soon, they'd be good-enough. For instance, the verbose explanation of the drawing tools or images or backgrounds -- or something -- would have told me how to do what I wanted to do (I'm talking about my previous query to the list). I would have found it quick enough. Beyond "good-enough," a few more links under most dictionary terms would raise the level of the onboard documentation from good-enough to excellent. For instance, how about a "clever scripting tricks you probably wouldn't think of yourself" link? Or a "for experts only" link? Maybe someday, many dictionary terms could be linked with mini-stacks that actually demonstrate the use of the command, property, function, object or whatever described in the documentation. These could be downloaded by the user at need, or downloaded all in an archive, for local retrieval by the documentation stack, as needed. (I assume the onboard documentation is a stack.) The mini-stacks could be donated by Rev-loyal users. Your suggestion is also excellent, and could also greatly improve the onboard docs, by adding some intelligent searching to the abysmally simple filter and search functions currently available. If google can ask, in a few nanoseconds: "Did you mean to search for podophilia rather than pedophilia?" I guess Rev's docs could give us a link like, "Click here for more ideas if you didn't find what you need to know." Boolean searchability of the documentation, including "near" and "not" and field restrictions, and such, could be a big step forward, too. I just can't understand why Rev hasn't done all of these things already. It might be a somewhat daunting task, but it's minuscule compared to the trouble it took to build Rev in the first place. If it's too much for Rev's overworked staff, they could get 95% of the work done for free. All of the items I've mentioned could be submitted by users to a wiki. Of course, Rev would need editorial control of the wiki to keep out errors and vandalism. Even the editorial control of the wiki could be delegated to experienced and responsible volunteer users, who could check each other's work, and so on. Professional developers could be allowed to place self-promotional links in their wiki contributions. Sure, Rev is a privately owned, for-profit company. I don't' care. It's in my interest for Rev to succeed as a commercial product. The price is quite reasonable anyway. Maybe someday there will be a free opensourced version of Rev. Or maybe not. I don't care. Ironically, Rev is also probably the ideal application for building a wiki. If Rev is in a hurry to start a wiki, I understand free, off-the-shelf wiki software, is readily available. As the documentation stack grew and improved, Rev could arrange, in a forthcoming upgrade, a convenient way for users to check for the latest version of the documentation stack, and download as needed. When I rant like this, I always worry I will appear not to appreciate or respect Dan Shafer and his books. I do, and I do.I own volume 1, and consult it often, and I recommend it to others. I don't know about Volumes 2 and 3 -- haven't tried them yet. I understand they are not yet published, But Dan's books are very different from Danny Goodman's HC handbooks. It is true that Goodman walked HC kindergartners through the creation of simple and then increasingly complex stacks. But the HC Handbooks did far more than that. When I was teaching myself HC, I had the keyboard in one hand and Goodman's book in the other. I started with "new stack." I asked questions on the HC list from time to time, but the vast majority of the time, I found what I needed to know easily enough in Goodman's guides. I depend far more heavily on this list than I ever did on the HC list. And Goodman had the disadvantage of working with ink on paper. If a guide like that could be continuously improved, expanded, indexed and error-corrected, because it was a free downloadable, wiki-enabled stack, imagine what it could be! Getting back to Dan -- I sometimes wonder why Dan didn't start by writing a comprehensive reference. As I think about it, that's probably a no-win proposition for an author, because Rev's free onboard documentation would be a hard act to follow, even if it's not that good. And as soon as Rev improved its onboard documentation, the book would stop selling. I'd guess that's Dan's reasoning, but it's only a guess. Rant concluded. Maybe it's been said before. It probably bears repeating anyway. Tim Miller From revdan at danshafer.com Sun Jul 24 22:25:50 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 24 Jul 2005 19:25:50 -0700 Subject: Rev CGI argumets for ISP In-Reply-To: References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> <42E2C3FB.2070006@fourthworld.com> Message-ID: <6C6A226A-182D-4F8E-9F2F-36A8ADD7F5AF@danshafer.com> Depends on the distro. FreeBSD, for example, apparently does not yet support this, nor does Debian. dan On Jul 24, 2005, at 6:45 PM, Andre Garzia wrote: > For the newer engines they need libC (GLIBC) 2.3, but that comes > with any recent linux... > From sarahr at genesearch.com.au Sun Jul 24 22:55:30 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 25 Jul 2005 12:55:30 +1000 Subject: Rant Re Rev Documentation In-Reply-To: References: <42E3215F.8010500@comcast.net> Message-ID: <29B2BAFC-D8DC-46F8-82C7-48D110EAFB93@genesearch.com.au> Hi Tim, I understand what you are saying but I'm not sure I agree with your idea of the what the docs are for. I see them as a reference guide, not a tutorial. For learning Revolution, you need other resources: the built-in tutorials, the scripting conference stacks, Dan's book, this list and the other resources available on the net. I too was a long-time HyperCard user, but I didn't learn HyperTalk by using the HyperCard manuals. I learnt from Dan Shafer's book "HyperTalk Programming" and from the HyperCard list. The docs were only used as a reference to check the syntax of a command I knew I wanted to use or to look up the variations of a command. When I converted to Revolution, I read the list of entries in the Transcript dictionary, mainly so I could get a feel for what sort of things were available to me. Many I already knew, and some where completely new to me, so I stopped to read them, but the main object at that stage was to give myself an idea of what commands I could use, if I needed them in the future. Then I did all the tutorials and then put together a test stack where I wrote code snippets that tried out some of the new commands that I knew I would use immediately. Now I realize that there are many different learning styles (there are people on this list far more qualified to talk about that than I am), but I just wanted to let you know that it IS possible to learn Revolution from the available material. To use a weak analogy, it is as if you are annoyed because a French dictionary is not teaching you how to speak French :-) Cheers, Sarah From tominjapan at excite.com Sun Jul 24 23:16:17 2005 From: tominjapan at excite.com (Thomas McCarthy) Date: Sun, 24 Jul 2005 23:16:17 -0400 (EDT) Subject: Rev CGI argumets for ISP Message-ID: <20050725031617.DF276B945@xprdmailfe14.nwk.excite.com> >Depends on the distro. FreeBSD, for example, apparently does not yet support this Funny, I just started doing CGI and it was on FreeBSD. No problems! I just went to the rev site and got the proper Unix version. (I did this about 3 weeks ago) tm _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! From ambassador at fourthworld.com Mon Jul 25 00:03:59 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 24 Jul 2005 21:03:59 -0700 Subject: Rev CGI argumets for ISP In-Reply-To: References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> <42E2C3FB.2070006@fourthworld.com> Message-ID: <42E464AF.9070206@fourthworld.com> Andre Garzia wrote: > > On Jul 23, 2005, at 7:26 PM, Richard Gaskin wrote: > >> Malte Brill wrote: >> >>> Hi list, >>> I?ve talked to my ISP if it was possible to use rev CGI on their >>> servers. They are potentially interested to allow it, but need more >>> technical details on stability, security, etc. . So if there is some >>> kind of FAQ on Rev CGIs somewhere or some articles (besides the >>> excellent getting started pages by Jaque) I would be glad if you let >>> me know. >> >> >> I keep forgetting which additional libraries need to be installed with >> the engine to do that. >> >> Anyone have those handy? >> > > I don't think they need any non standard library. For the newer engines > they need libC (GLIBC) 2.3, but that comes with any recent linux... My understanding is that manu ISPs don't install all of the libraries one would install for desktop use, and that three (?) of those are needed for Rev to work as a CGI. Did this change in a recent version? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jacque at hyperactivesw.com Mon Jul 25 00:46:03 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Jul 2005 23:46:03 -0500 Subject: Rev CGI argumets for ISP In-Reply-To: <42E464AF.9070206@fourthworld.com> References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> <42E2C3FB.2070006@fourthworld.com> <42E464AF.9070206@fourthworld.com> Message-ID: <42E46E8B.9030508@hyperactivesw.com> Richard Gaskin wrote: > My understanding is that manu ISPs don't install all of the libraries > one would install for desktop use, and that three (?) of those are > needed for Rev to work as a CGI. > > Did this change in a recent version? I don't know, but probably not. When I first started with CGIs at my ISP, they were missing two libraries. I think Ken Ray had the same two missing on his. Other people have reported only one missing. I guess it depends on the hosted installation. The good part is that you don't have to know ahead of time. The CGI script will error and then you check the error log. The missing libraries will be listed there, so all you have to do is holler at the ISP and tell them to get those installed. Someone once told me you don't even need the real libraries; that all you need are empty text files in the right place with the right names. I don't know if that is really true, since my ISP went ahead and installed the ones I was missing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Mon Jul 25 00:54:18 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 00:54:18 -0400 Subject: Rant Re Rev Documentation In-Reply-To: <29B2BAFC-D8DC-46F8-82C7-48D110EAFB93@genesearch.com.au> References: <42E3215F.8010500@comcast.net> <29B2BAFC-D8DC-46F8-82C7-48D110EAFB93@genesearch.com.au> Message-ID: <1ff5a67d69559604ef1922fdd146a675@adelphia.net> Tim, I too disagree with your request/demand that the reference guide be a tutorial as well. It is just a reference guide. I do wish there were more than three examples especially for the more complex commands like send, etc. I went through the built-in tutorials and then the scripting conference and it's stacks. I was told to pay special attention to the 'see also' section of the docs as that was very thorough and well thought out. I checked out many of the REV web ring sites and read through helpful hints. I then started to download as many user contributed stacks as possible that I could find even before the RevOnline User area was available. I have hundreds of sample stacks with very, very useful information in them and more efficient ways to code solutions. Lastly when I got stuck on something I hit the list and right away got at least two possible solutions for every problem I have ever posted. More often it was three or four solutions. Plus there are a couple of revchat, wiki, and educational sites with so much info on them that I have yet to read them all yet. I have never needed to use any of my 10 support incidents that were included in my Enterprise version of Rev. That says a lot about these available resources. They are very, very good. I could not find a tenth of them for Director and most that I did find were not free. My fear is that a tutorial/guide that you refer too would be more database influenced and cgi based etc. and I do mostly graphical user interfaces and prototypes and have very little need for database type solutions. I was very frustrated during the first month learning curve as well coming from Supercard but once background groups and object properties were explained I started to feel more comfortable then the wonderful people on this list started showing me how fast and powerful things like send to me in 50 milliseconds and things like 'is among' I was on fire and only need help with my bad code habits and with misunderstanding syntax that may not have an example that fits what I am doing. Hang in there Tim, I know you'll be contributing and helping the next guy that comes alond. On Jul 24, 2005, at 10:55 PM, Sarah Reichelt wrote: > Hi Tim, > > I understand what you are saying but I'm not sure I agree with your > idea of the what the docs are for. I see them as a reference guide, > not a tutorial. For learning Revolution, you need other resources: the > built-in tutorials, the scripting conference stacks, Dan's book, this > list and the other resources available on the net. > ogy, it is as if you are annoyed because a French dictionary is not > teaching you how to speak French :-) > > Cheers, > Sarah From jperryl at ecs.fullerton.edu Mon Jul 25 00:58:32 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 24 Jul 2005 21:58:32 -0700 (PDT) Subject: Rant Re Rev Documentation In-Reply-To: Message-ID: Well, how about it, folks? Judy On Sun, 24 Jul 2005, Timothy Miller wrote: > Maybe someday, many dictionary terms could be linked with mini-stacks > that actually demonstrate the use of the command, property, function, > object or whatever described in the documentation. These could be > downloaded by the user at need, or downloaded all in an archive, for > local retrieval by the documentation stack, as needed. (I assume the > onboard documentation is a stack.) The mini-stacks could be donated > by Rev-loyal users. > > I just can't understand why Rev hasn't done all of these things > already. It might be a somewhat daunting task, but it's minuscule > compared to the trouble it took to build Rev in the first place. If > it's too much for Rev's overworked staff, they could get 95% of the > work done for free. All of the items I've mentioned could be > submitted by users to a wiki. Of course, Rev would need editorial > control of the wiki to keep out errors and vandalism. Even the > editorial control of the wiki could be delegated to experienced and > responsible volunteer users, who could check each other's work, and > so on. Professional developers could be allowed to place > self-promotional links in their wiki contributions. From b.xavier at internet.lu Mon Jul 25 01:01:04 2005 From: b.xavier at internet.lu (MisterX) Date: Mon, 25 Jul 2005 07:01:04 +0200 Subject: Deep-mask feature revisited and snapshots In-Reply-To: <42E3F213.2050702@hrz.uni-kassel.de> Message-ID: <20050725045108.1AF85824D32@mail.runrev.com> well, there's plenty of screen grabbers i tried a utility called SnagIt and it worked fine grabbing just the window region as square incl. the background... you can grab anything you want including videos with that gem of a program... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Wilhelm Sanke > Sent: Sunday, July 24, 2005 21:55 > To: use-revolution at lists.runrev.com > Subject: Re: Deep-mask feature revisited and snapshots > > On Sun, 24 Jul 2005, "MisterX" wrote: > > > if you try the normal shift-printscreenKey command in > windows you will > > be able to paste the image... > > > > no camera needed! > > > > cheers > > Xavier > > > > Xavier, > > You are right of course. Only you get a picture of the > complete screen, > 6.5 MB in my case, then you have to start your image program > to select and process the area of the screenshot you really > need. With a camera screenshot you could select the area in advance. > > On a Mac - with the screenshot program that comes with OSX - > you could select an area or window ; I did not yet test if it > is able to capture a deep-mask stack. > > Anyway, I would like to know whether this eluding visibility > comes as an unavoidable corollary for stacks with the > deep-mask feature or if this is a bug. > > Maybe somebody from the Rev team could comment here? > > Regards, > > Wilhelm Sanke > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Mon Jul 25 01:17:49 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 24 Jul 2005 22:17:49 -0700 Subject: Rant Re Rev Documentation In-Reply-To: References: <42E3215F.8010500@comcast.net> Message-ID: <33FDFEDC-085B-4FCF-95F1-252A55EC007D@danshafer.com> Not too far off the mark, Timothy, but a little. When I started my Rev book "series" the idea was that i would simply "port" my HT book to Rev and be done with it. A number of users on the list at that time ensured me that if I did that, I'd be doing the community a huge service. It seemed like a pretty simple undertaking so I jumped in. Boy, was I wrong. Not only would a port have been impossible (thanks in large part to the vastly richer vocabulary and power of Rev) and unhelpful, it would have been counter-productive. I couldn't bring myself to do that. So I ended up with a HUGE project and what I felt was a public commitment to produce it. I dug in and did the best I could under the circumstances. A lot of folks have kindly said good things about what I did produce and I'm continuing to add to the repertoire but it'll never be what's really needed. As I look back, I think the better course would have been to write an intro to Rev and Transcript. As it is, my book is ONLY about Transcript, not really about how to build things in Rev. That's a big missing piece. I could write it but I just don't know if there's a market for it. Frankly, total demand for the first volume was surprisingly small (to me, not to Rev, but then they knew the numbers and I had to guess). Maybe what's needed now is a comprehensive dictionary of Transcript in hypertext form from the perspective of a developer, but I'm not even sure how to start building something like that and feel pretty sure I'd end up getting slammed for "regurgitating the docs" if I did. I'm just about to release my eBooklet on printing. What other subjects do people want? Is a thorough overview of the IDE really needed at this point? I gave one at RevCon West (well, not thorough; not enough time) but not a lot of people seem interested. Sorry for the ramble/rant. Just trying to figure out what's most important to do next, if anything. There are days I think I should just shut up and go back to coding. On Jul 24, 2005, at 7:22 PM, Timothy Miller wrote: > I sometimes wonder why Dan didn't start by writing a comprehensive > reference. As I think about it, that's probably a no-win > proposition for an author, because Rev's free onboard documentation > would be a hard act to follow, even if it's not that good. And as > soon as Rev improved its onboard documentation, the book would stop > selling. I'd guess that's Dan's reasoning, but it's only a guess. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Mon Jul 25 01:18:45 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 24 Jul 2005 22:18:45 -0700 Subject: Rev CGI argumets for ISP In-Reply-To: <20050725031617.DF276B945@xprdmailfe14.nwk.excite.com> References: <20050725031617.DF276B945@xprdmailfe14.nwk.excite.com> Message-ID: I misspoke. It is the Debian distro that's at fault, apparently. It needs some C lib that isn't included. dan On Jul 24, 2005, at 8:16 PM, Thomas McCarthy wrote: > > >> Depends on the distro. FreeBSD, for example, apparently does not >> yet support this >> > > Funny, I just started doing CGI and it was on FreeBSD. No problems! > I just went to the rev site and got the proper Unix version. > > (I did this about 3 weeks ago) > tm > > _______________________________________________ > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Mon Jul 25 01:19:16 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 01:19:16 -0400 Subject: Rant Re Rev Documentation In-Reply-To: References: Message-ID: <8d86d09b4d749d35ad847419f46e1c7b@adelphia.net> Tim, Judy, To be fair I didn't respond to this part of Tim's request/rant because I thought it would be too daunting. It would be nice to have though. I always learn best by example. Sarah's stack on serial commands was very helpful, also some of the stacks/ideas that I found most helpful were: window shapes serial commands drawer examples password/encryption picture sliders/progress bars gif buttons/animated geometry hints and help player and quicktime and video grabber rotate images speech recognition and text speaking application icons screen saver/backdropper file path and preferences tabs and how they work text manipulation/hypertext printing/pdfs/export to file XML/tree view menus/ pop ups Unicode (the one thing I have yet to get to work right) Games/Colliding objects/moving balls drag and drop- internal and external Audio/wav/mp3 - recording and playback Midi Chat/Email and Nine Ball has been a great group learning experience. Maybe if we had a stack format like the ones used in the online conference stacks then these could be cleaned up and included??? I started a Speak and Listen stack and would be interested in helping where I can. Tom McGrath On Jul 25, 2005, at 12:58 AM, Judy Perry wrote: > Well, how about it, folks? > > Judy > > On Sun, 24 Jul 2005, Timothy Miller wrote: > >> Maybe someday, many dictionary terms could be linked with mini-stacks >> that actually demonstrate the use of the command, property, function, >> object or whatever described in the documentation. These could be >> downloaded by the user at need, or downloaded all in an archive, for >> local retrieval by the documentation stack, as needed. (I assume the >> onboard documentation is a stack.) The mini-stacks could be donated >> by Rev-loyal users. > > >> >> I just can't understand why Rev hasn't done all of these things >> already. It might be a somewhat daunting task, but it's minuscule >> compared to the trouble it took to build Rev in the first place. If >> it's too much for Rev's overworked staff, they could get 95% of the >> work done for free. All of the items I've mentioned could be >> submitted by users to a wiki. Of course, Rev would need editorial >> control of the wiki to keep out errors and vandalism. Even the >> editorial control of the wiki could be delegated to experienced and >> responsible volunteer users, who could check each other's work, and >> so on. Professional developers could be allowed to place >> self-promotional links in their wiki contributions. > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From jperryl at ecs.fullerton.edu Mon Jul 25 01:23:43 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 24 Jul 2005 22:23:43 -0700 (PDT) Subject: Rant Re Rev Documentation In-Reply-To: <29B2BAFC-D8DC-46F8-82C7-48D110EAFB93@genesearch.com.au> Message-ID: Ummmm, but the problem is that HC shipped with pre-builts, little things like buttons that did things ordinary users might want to do, and hence could just copy-paste them into their own work. Ditto with fields. Ditto with other thingies like what to do with QT. And sample, real, working applications/stacks. Oh, and, of course, at some point at least, a manual WITH AN INDEX! (contact me off-list if you need an explanation of WHY this is IMPORTANT). Rev has no such beasts. And, before all the veteran programmers jump on my back for not jumping on the "programming is hard" bandwagon (it apparently requires oodles and oodles of time, even for a language like Transcript, just so you can figure out how to do a simple thing like an interactive slideshow), we should note that the ACM literature is, well, littered, with research showing that newbie/novice programmers benefit from having such 'manipulatives' as working code fragments that can be tried and fiddled with to learn programming concepts. Even Dan, for all his effort, still talks about the Hypercard model and the 'seductive' factor for what I think he calls the 'inventive user' (my apologies to Dan if I have gotten this wrong). But, you know, even inventive users will only go searching just so far...and Dan's book, ... the conference stacks, ... the online docs, ... RevOnline ... etc. etc. : = This is all too confusing. IF Rev is to move beyond the 'low-hanging fruit' of the HC abandonment and the very inventive 'inventive user' of the programming crowd, I, for one, think a few things need to be realized and dealt with: (1) the IDE: for DC, at least, it's too complex, non-intuitive, has no learning guide, and needs to be reinvented WITH A MANUAL/EXPLANATION OF HOW TO USE IT. (2) again, for the DC crowd, but maybe even beyond, THERE NEEDS TO BE AN IN-THE-BOX SET OF PRE-PROGRAMMED WIDGETS. Pre-programmed little buttons, fields, what-have-you's, that already do the sorts of things people ask how to do all the time on list (even those who are self-described as 'veteral programmers': HOW TO SCRIPT TABS comes readily to mind here). For god's sake, even the entirely non-intuitive Director had such pre-builts as, what were they called, behaviors?! (3) for the DC crowd, especially, there needs to be something ala the scripting conferences, but oriented towards HOW TO DO THIS THING, XYZ. As opposed to 'how to learn to program in 6 short months. Normal humans do NOT NOT NOT!!! want to learn how to program. They want to learn how to do/make things. A subtle yet important distinction. Enough for a night after a day at the beach... Judy On Mon, 25 Jul 2005, Sarah Reichelt wrote: > Hi Tim, > > I understand what you are saying but I'm not sure I agree with your > idea of the what the docs are for. I see them as a reference guide, > not a tutorial. For learning Revolution, you need other resources: > the built-in tutorials, the scripting conference stacks, Dan's book, > this list and the other resources available on the net. From jperryl at ecs.fullerton.edu Mon Jul 25 01:33:16 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 24 Jul 2005 22:33:16 -0700 (PDT) Subject: Rant Re Rev Documentation In-Reply-To: <8d86d09b4d749d35ad847419f46e1c7b@adelphia.net> Message-ID: Thomas, But, indeed, when other 'birds of a feather' stay silent, the 'powers that be' are likely to be (justifiably) convinced that there is no such need because there was no public conment. This is why I do not mind looking like the community nay-sayer, unhappy camper, unfavorable term for a female dog, etc. I only wish I had a dollar US$ for every person who told me personally or privately per email that they agreed with what I said. Number 1: I'd be rich and could retire. Number 2: I'd be able to afford to direct my minions otherwise ;-) Some people are afraid of 'looking stupid' (I clearly have no such hang-ups) and so they say nothing. But, for every person who says nothing and stays on-list, how many others have we lost? for no reason? What you say, Thomas, below, is what I have just sent off in a related post to this list, namely, that for some people, we need compartmentalized, working, examples/tutorials/widgets ala what people want/expect to be able to do that will hopefully make this product succeed among the newbie/novice/inventive user category. Thanks for responding!!! Judy On Mon, 25 Jul 2005, Thomas McGrath III wrote: > Tim, Judy, > > To be fair I didn't respond to this part of Tim's request/rant because > I thought it would be too daunting. It would be nice to have though. I > always learn best by example. Sarah's stack on serial commands was very > helpful, also some of the stacks/ideas that I found most helpful were: > window shapes > serial commands > drawer examples > password/encryption > picture sliders/progress bars > gif buttons/animated > geometry hints and help > player and quicktime and video grabber > rotate images > speech recognition and text speaking > application icons > screen saver/backdropper > file path and preferences > tabs and how they work > text manipulation/hypertext > printing/pdfs/export to file > XML/tree view > menus/ pop ups > Unicode (the one thing I have yet to get to work right) > Games/Colliding objects/moving balls > drag and drop- internal and external > Audio/wav/mp3 - recording and playback > Midi > Chat/Email > > and Nine Ball has been a great group learning experience. > > Maybe if we had a stack format like the ones used in the online > conference stacks then these could be cleaned up and included??? From keith at vortex.co.uk Mon Jul 25 02:48:50 2005 From: keith at vortex.co.uk (keith) Date: Mon, 25 Jul 2005 07:48:50 +0100 Subject: URL path to Windows server? Message-ID: If I use the 'get URL' and 'put x into URL' command to get and put data from and into a file:path/data.txt file... how do I do that when the data is to be held on a network server? This'll be a Windows server; in one instance a steam-driven Win98 thing, in the other instance something far more up to date. I don't have one to play with right now, and I'd rather avoid ending up thrashing about experimenting too much when I can get to one. But I'm worried about how to handle access permissions to the file. This is one of the ways recommended for handling (basic) multiple-person access to a data source file, and it makes lots of sense in most ways - but I can't see how to build in the username/password fileserver access aspect. k From xbury.cs at clearstream.com Mon Jul 25 02:56:32 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Mon, 25 Jul 2005 08:56:32 +0200 Subject: # PROBABLY SPAM #::URL path to Windows server? In-Reply-To: Message-ID: K all you need is to mount the drive and copy. use the "net use" command. It has all the parameters you speak of. (type "net help use" for instructions on how to use it) Another way, assuming you have administrator priviledges is to use a simple shell copy command... the put url will only work with case 1... cheers X use-revolution-bounces at lists.runrev.com wrote on 25.07.2005 08:48:50: > If I use the 'get URL' and 'put x into URL' command to get and put > data from and into a file:path/data.txt file... how do I do that when > the data is to be held on a network server? This'll be a Windows > server; in one instance a steam-driven Win98 thing, in the other > instance something far more up to date. > > I don't have one to play with right now, and I'd rather avoid ending > up thrashing about experimenting too much when I can get to one. But > I'm worried about how to handle access permissions to the file. This > is one of the ways recommended for handling (basic) multiple-person > access to a data source file, and it makes lots of sense in most ways > - but I can't see how to build in the username/password fileserver > access aspect. > > k > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From martin at materiaprima.fsnet.co.uk Mon Jul 25 03:28:22 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Mon, 25 Jul 2005 08:28:22 +0100 Subject: Deep-mask feature revisited and snapshots In-Reply-To: <20050725045108.1AF85824D32@mail.runrev.com> References: <20050725045108.1AF85824D32@mail.runrev.com> Message-ID: <42E49496.5000200@materiaprima.fsnet.co.uk> SnagIt is pretty useful, but in Win you can grab a shot of the active window by doing alt-PrintScreenKey. maybe that would work? Martin Baxter MisterX wrote: > well, there's plenty of screen grabbers > > i tried a utility called SnagIt and it worked fine > grabbing just the window region as square incl. the background... > > you can grab anything you want including videos with that > gem of a program... > > cheers > Xavier > > >>-----Original Message----- >>From: use-revolution-bounces at lists.runrev.com >>[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>Wilhelm Sanke >>Sent: Sunday, July 24, 2005 21:55 >>To: use-revolution at lists.runrev.com >>Subject: Re: Deep-mask feature revisited and snapshots >> >>On Sun, 24 Jul 2005, "MisterX" wrote: >> >> >>>if you try the normal shift-printscreenKey command in >> >>windows you will >> >>>be able to paste the image... >>> >>>no camera needed! >>> >>>cheers >>>Xavier >> >> >> >>Xavier, >> >>You are right of course. Only you get a picture of the >>complete screen, >>6.5 MB in my case, then you have to start your image program >>to select and process the area of the screenshot you really >>need. With a camera screenshot you could select the area in advance. >> >>On a Mac - with the screenshot program that comes with OSX - >>you could select an area or window ; I did not yet test if it >>is able to capture a deep-mask stack. >> >>Anyway, I would like to know whether this eluding visibility >>comes as an unavoidable corollary for stacks with the >>deep-mask feature or if this is a bug. >> >>Maybe somebody from the Rev team could comment here? >> >>Regards, >> >>Wilhelm Sanke >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Mon Jul 25 03:30:13 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 02:30:13 -0500 Subject: Rant Re Rev Documentation In-Reply-To: References: <42E3215F.8010500@comcast.net> Message-ID: <42E49505.3020102@chipp.com> Hi Timothy, All good points. I agree. When I was just starting, many times the 'terse explanation' in the docs just didn't go far enough-- I wanted a few more examples of how the transcript term was used. I talked with Jeanne DeVoto about it (she *was* the author of most the documentation, and IMO did a great job), and she told me to put in explicit examples for all the terms would be a herculean effort above the current resource allocation for it. So, I don't blame her...or for that matter, RR. I believe someone at the RevCon West conference stood up and said what was really needed was a sort of 'application framework guide.' A book/website/wiki/whatever which explained step-by-step how to go about building basic programs. I agree. I really like your idea of a Rev-sponsored WIKI. That way people could post all kinds of examples, and it could be a great resource which Rev doesn't have to bear the full cost of building. chin up, Chipp From keith at vortex.co.uk Mon Jul 25 03:36:07 2005 From: keith at vortex.co.uk (keith) Date: Mon, 25 Jul 2005 08:36:07 +0100 Subject: URL path to Windows server? In-Reply-To: References: Message-ID: Sometime around 25/7/05 (at 08:56 +0200) xbury.cs at clearstream.com said: >all you need is to mount the drive and copy. > >use the "net use" command. It has all the parameters you speak of. >(type "net help use" for instructions on how to use it) > >Another way, assuming you have administrator priviledges is to use >a simple shell copy command... > >the put url will only work with case 1... Thanks xbury! I realised after I'd sent the request that it was probably just a case of ensuring the remote volume is mounted, then finding and using the correct path. I'll check out the command you suggested looking up too. k From todd at geistinteractive.com Mon Jul 25 06:23:41 2005 From: todd at geistinteractive.com (Todd Geist) Date: Mon, 25 Jul 2005 03:23:41 -0700 Subject: Rant Re Rev Documentation In-Reply-To: <42E49505.3020102@chipp.com> Message-ID: It was me who made this statement at RevCon so let me elaborate and chime in On 7/25/05 12:30 AM, "Chipp Walters" wrote: > I believe someone at the RevCon West conference stood up and said what > was really needed was a sort of 'application framework guide.' A > book/website/wiki/whatever which explained step-by-step how to go about > building basic programs. I agree. on what others have said... Like many others here have pointed out there are two potential markets for Rev to grow into. The inventive user and the professional developer. Very Very Very different markets. I make my living as a FileMaker developer so I understand this schism well and I for one would rather see more "pros" climbing on board. They add more skill to to the community and they don't drive down prices and they don't give the tool a bad name in IT departments. I know that may offend some people out there. I am sorry, but realize that this actually occurs. A lot of IT guys blame the tool not the guy who used it incorrectly. I for one have lost work because of it. Anyway I was pushing for more help for the pro who is looking at Rev. The pro knows that completing a successful project is as much about deployment, support, version control and upgrades as it is about whatever task the tool is being built for. A pro also knows that almost every application must do a few things like deal with user preferences and data storage etc. Too me this "application architecture" or "application framework" is as important to me as the little technical bits that are covered in the docs, maybe more so. Because once I get this I can set about building whatever it is I need to build, learning all the little pieces as I go.When I am done hopefully I will have something resembling an application that can be maintained extended and supported. NOT a cobbled together plate of spaghetti code that is close to imploding under it's own in efficiencies. This Application Architecture is what I had a hard time digging up when I started looking at Rev. It was clearly a powerful tool but I didn't the first thing about producing something of value with it. I had to go RevCon to begin to figure this out. It was well worth it but I don't live that far a way so I could drive. I think a half dozen examples representing the most common Commercial Applications Models (apps that are bringing in the most money for the most people) would go along way towards bring in new professional talent into the Revolution. Then I could say, "OK I need to build a multi-user database app So let me start with the "multi-user database example and go from there". Or "my client needs an internet app with a rich interface, so let me start with the internet app example" You want to see any product take off, teach people how they can make, ACTUAL REAL CASH using it! Goodnight all. Thanks for listening! Todd -- Todd Geist From eric.chatonet at sosmartsoftware.com Mon Jul 25 06:27:47 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 25 Jul 2005 12:27:47 +0200 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar Message-ID: Hi all, Lately Bob Earp asked for some 32*32 pixels icons in order to insert "non Chipp's" plugins into AltPluginToolbar. At first, I did not realised what it could mean... To be inserted in the (great :-) AltPluginToolbar, other plugins have to be compliant with Chipp's architecture. Plugins from So Smart Software were not designed to be compliant with Chipp's architecture. So, I just want to warn anybody that such an idea (interesting at first sight) can lead to many unexpected issues. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From Stgoldberg at aol.com Mon Jul 25 07:50:54 2005 From: Stgoldberg at aol.com (Stgoldberg at aol.com) Date: Mon, 25 Jul 2005 07:50:54 EDT Subject: Rant Re Rev Documentation Message-ID: <1db.402e5608.30162c1e@aol.com> Hi Sarah, I appreciate your comment about different learning styles. In my own case, I prefer to read a manual cover to cover to gain a more complete understanding. While I have started to use Revolution quite a lot, and am more impressed with it every day, I don't think I would be using it had I not already had some experience with Hypercard. For some people, myself included, it is just not sufficient trying to learn initially from scattered comments in a forum or in tutorial stacks, as excellent as they might be; there needs to be a much more linear pathway for the initial learning experience. For HyperCard, reading Danny Goodman's book was the way for me. One of the frustrations I have with Revolution, for instance, is that I have still not seen an adequate overview of the features of the Property Inspector. This is such a basic part of Revolution that one would think this would be a primary focus of attention in the documentation. Steve Goldberg In a message dated 7/24/05 10:56:15 PM, use-revolution-request at lists.runrev.com writes: > From: Sarah Reichelt > Now I realize that there are many different learning styles (there? > are people on this list far more qualified to talk about that than I? > am), but I just wanted to let you know that it IS possible to learn? > Revolution from the available material. > From bill at bluewatermaritime.com Mon Jul 25 08:42:35 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Jul 2005 08:42:35 -0400 Subject: Rant Re Rev Documentation In-Reply-To: <33FDFEDC-085B-4FCF-95F1-252A55EC007D@danshafer.com> Message-ID: Will your ebook on printing talk about how to feed information (such as number of pages to print) to printing dialogues? On 7/25/05 1:17 AM, "Dan Shafer" wrote: > Not too far off the mark, Timothy, but a little. > > When I started my Rev book "series" the idea was that i would simply > "port" my HT book to Rev and be done with it. A number of users on > the list at that time ensured me that if I did that, I'd be doing the > community a huge service. It seemed like a pretty simple undertaking > so I jumped in. > > Boy, was I wrong. Not only would a port have been impossible (thanks > in large part to the vastly richer vocabulary and power of Rev) and > unhelpful, it would have been counter-productive. I couldn't bring > myself to do that. So I ended up with a HUGE project and what I felt > was a public commitment to produce it. I dug in and did the best I > could under the circumstances. A lot of folks have kindly said good > things about what I did produce and I'm continuing to add to the > repertoire but it'll never be what's really needed. > > As I look back, I think the better course would have been to write an > intro to Rev and Transcript. As it is, my book is ONLY about > Transcript, not really about how to build things in Rev. That's a big > missing piece. I could write it but I just don't know if there's a > market for it. Frankly, total demand for the first volume was > surprisingly small (to me, not to Rev, but then they knew the numbers > and I had to guess). > > Maybe what's needed now is a comprehensive dictionary of Transcript > in hypertext form from the perspective of a developer, but I'm not > even sure how to start building something like that and feel pretty > sure I'd end up getting slammed for "regurgitating the docs" if I did. > > I'm just about to release my eBooklet on printing. What other > subjects do people want? Is a thorough overview of the IDE really > needed at this point? I gave one at RevCon West (well, not thorough; > not enough time) but not a lot of people seem interested. > > Sorry for the ramble/rant. Just trying to figure out what's most > important to do next, if anything. There are days I think I should > just shut up and go back to coding. > > > On Jul 24, 2005, at 7:22 PM, Timothy Miller wrote: > >> I sometimes wonder why Dan didn't start by writing a comprehensive >> reference. As I think about it, that's probably a no-win >> proposition for an author, because Rev's free onboard documentation >> would be a hard act to follow, even if it's not that good. And as >> soon as Rev improved its onboard documentation, the book would stop >> selling. I'd guess that's Dan's reasoning, but it's only a guess. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From gwthompson at mac.com Mon Jul 25 08:52:32 2005 From: gwthompson at mac.com (Gary Thompson) Date: Mon, 25 Jul 2005 08:52:32 -0400 Subject: Who is doing what with Revolution Message-ID: <224C1220-DC67-4684-8E32-61560B37B69E@mac.com> Hi All, I have recently purchased Runtime Revolution having been a fan of Hypercard/SuperCard and Multimediia Toolbook on Windows. I've basically been teaching myself by doing (the documentation being somewhat limited) and now I'm wondering: What are the possibilities of Revolution? Are there any (or many) commercial apps built with it? Are developers using it to prototype an idea than switching to some other tool? Is multimedia a prime focus of Revolution? Could I build a business around Revolution? By this I mean either build a software line of products or is it better suited for building custom one-offs for consulting jobs or???? Are there certain apps you shouldn't try to develop in Revolution? Such as intense number-crunching? I'm sure I'll have more questions but I would love to hear from the Revolution community what you believe are Revolution's strengths and weaknesses. Thanks, Gary Thompson From 3mcgrath at adelphia.net Mon Jul 25 09:53:29 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 09:53:29 -0400 Subject: Who is doing what with Revolution In-Reply-To: <224C1220-DC67-4684-8E32-61560B37B69E@mac.com> References: <224C1220-DC67-4684-8E32-61560B37B69E@mac.com> Message-ID: <5e1e7593df35213af7bfe9497a0cb783@adelphia.net> Gary, Welcome to the revolution! I (not announced yet) am launching into my own business based completely on Revolution starting August 1st. I have been a consultant for some time for a number of companies and decided that I need to start doing my own designs and work. I have a few ideas to start and am hopeful after that. I am going to be building useful add ons for production work and have one very large project that I will do after that. What I have been doing until now is using Revolution for interactive CDs that introduce technology for the company I work for. I also have been using Rev for building prototypes for an emerging technology that will be used on cell phones and PDAs. The prototypes are to work out ideas in a very quick fashion and are used to explain the technology to prospective customers/investors. The final project will of course be ported to C++/Java for download into the devices (unless Rev starts supporting these types of environments ;-) ) The courage to start my own business has come from the number of people on this list that are using Rev in commercial applications. I think the only real limitations are things like complex 3D applications. Multimedia is not necessarily a primary focus of Rev but is very doable. Lastly, I would say having built in web support and DB support along with a very polished final standalone product are Rev's strengths and multimedia/animation/styled text are where it still needs to grow (to my needs). The one thing I always hated about Director was that you could tell an app was created in it when the final product was shipped. It had a Director look and feel that was way to obvious. With Rev, as long as you follow HIG and GUI standards and keep the product clean there are no leftovers from Rev. You can't tell that it was not created in C++ or anything else. This is very important to me. I do always include a "Created with Revolution" in my about boxes though to give Rev credit for this. One project we had a Director guru create for us took over three months of coding to complete and then it needed lots of tweaking to work the way we expected. Due to a creative decision I decided to redo the work in Rev. I was able to do the three months of work in less than two weeks and that included creating nine mini games in it to demonstrate some new ideas. The games took up most of the second week. This is very fast and everyone (including the DIrector guru) was completely amazed at this. They were asking "What did you use to do this with?" and "Wow, that was fantastic how did you get it done so quickly?" etc. This was a big boost for the Rev work I have been doing for them. I call Rev a RAD (Rapid Application Development) tool so they can relate to it in their minds. They agree that it is very fast and clean. HTH Tom On Jul 25, 2005, at 8:52 AM, Gary Thompson wrote: > Hi All, > > I have recently purchased Runtime Revolution having been a fan of > Hypercard/SuperCard and Multimediia Toolbook on Windows. I've > basically been teaching myself by doing (the documentation being > somewhat limited) and now I'm wondering: > > What are the possibilities of Revolution? > > Are there any (or many) commercial apps built with it? > > Are developers using it to prototype an idea than switching to some > other tool? > > Is multimedia a prime focus of Revolution? > > Could I build a business around Revolution? By this I mean either > build a software line of products or is it better suited for building > custom one-offs for consulting jobs or???? > > Are there certain apps you shouldn't try to develop in Revolution? > Such as intense number-crunching? > > I'm sure I'll have more questions but I would love to hear from the > Revolution community what you believe are Revolution's strengths and > weaknesses. > > Thanks, > > Gary Thompson > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From david at openpartnership.net Mon Jul 25 10:17:32 2005 From: david at openpartnership.net (david bovill) Date: Mon, 25 Jul 2005 16:17:32 +0200 Subject: Squarified Treemaps In-Reply-To: <20050724195335.3E531824DD4@mail.runrev.com> References: <20050724195335.3E531824DD4@mail.runrev.com> Message-ID: <1a9c0bcec446bdf7a2feff59eedc2ed1@openpartnership.net> No, but very interested. I have code for directed / undirected graphing of relationships and am looking at Tree maps for a current project. So lets keep in touch? On 24 Jul 2005, at 22:02, Mike Doub wrote: > I am doing some experimentation with data visualization and was > wondering if > anyone had already created a control for a Squarified Treemap written > in > transcript. > > Are there any other transcript based data visualization tools > available? > > Thanks in Advance. > Mike From brad at activadesign.com Mon Jul 25 10:50:02 2005 From: brad at activadesign.com (Brad Borch) Date: Mon, 25 Jul 2005 10:50:02 -0400 Subject: Unicode confusion Message-ID: Ok, I'm thoroughly confused. I've built an application for creating a Greek dictionary. I'd like to use Bitstream Vera as the base font for the application. However, the rev documentation says: > If you set the unicodeText of a field to a unicodeString that contains multiple languages, Revolution automatically sets the textFont of double-byte characters to the appropriate Unicode font. Can I force Rev to choose a particular font for Unicode text? I can set the textFont but Rev still forces the Unicode text into Geneva. I can set the htmlText and use the appropriate tags but Rev still does strange things. For example, if I include a space between the entities, Rev renders the characters following the space as some sort of Asian font, but if I remove the space, the fonts render correctly. I was under the impression that the advantage of Unicode was that, no matter what font you used, any given unicode entity was exactly the same. Is this a bug? Is something happenting I'm not aware of? From jhurley at infostations.com Mon Jul 25 11:25:10 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 25 Jul 2005 08:25:10 -0700 Subject: Rant Re Rev Documentation In-Reply-To: <20050725101504.B4CA0824980@mail.runrev.com> References: <20050725101504.B4CA0824980@mail.runrev.com> Message-ID: > >Message: 9 >Date: Mon, 25 Jul 2005 01:19:16 -0400 >From: Thomas McGrath III <3mcgrath at adelphia.net> >Subject: Re: Rant Re Rev Documentation >To: How to use Revolution >Message-ID: <8d86d09b4d749d35ad847419f46e1c7b at adelphia.net> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Tim, Judy, > >To be fair I didn't respond to this part of Tim's request/rant because >I thought it would be too daunting. It would be nice to have though. I >always learn best by example. Sarah's stack on serial commands was very >helpful, also some of the stacks/ideas that I found most helpful were: >window shapes >serial commands >drawer examples >password/encryption >picture sliders/progress bars >gif buttons/animated >geometry hints and help >player and quicktime and video grabber >rotate images >speech recognition and text speaking >application icons >screen saver/backdropper >file path and preferences >tabs and how they work >text manipulation/hypertext >printing/pdfs/export to file >XML/tree view >menus/ pop ups >Unicode (the one thing I have yet to get to work right) >Games/Colliding objects/moving balls >drag and drop- internal and external >Audio/wav/mp3 - recording and playback >Midi >Chat/Email I like this list. I could benefit from a lesson on almost all of these topics I also like the suggestion made be others to have sample applications, something akin to the HC home stack. And to show that there is money where my mouth is, the kind of thing I have in mind is illustrated in the following Turtle Graphics "home stack": go stack url "http://home.infostations.net/jhurley/TurtleGraphics.rev" After you have punched all the buttons you should know whether TG, as an addendum to Transcript, would be of any use to you. It would be nice to have a similar set of stacks for the topics in Tom's list above. Maybe his list might be fleshed-out by others on this user list, followed by a pledge drive: Volunteers to take a topic or two. I appreciate what Jean says about a short illustration handler for each item in Transcript dictionary, al la Kamens, Winkler, DeVoto. Lots of work. But it sure would be nice. (I would like to comment on the excellence of Dan Shafer's book, but it hasn't arrived yet, although ordered back in February--sloooooow delivery.) Jim From sanke at hrz.uni-kassel.de Mon Jul 25 11:26:04 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Mon, 25 Jul 2005 17:26:04 +0200 Subject: Deep-mask feature revisited and snapshots Message-ID: <42E5048C.4040104@hrz.uni-kassel.de> On Mon, 25 Jul 2005 08:28:22 +0100 From: Martin Baxter wrote: > SnagIt is pretty useful, but in Win you can grab a shot of the active > window by doing alt-PrintScreenKey. maybe that would work? > > Martin Baxter Thanks Martin and Xavier for the hints. SnagIt works as does PrintScreen on Windows and "Bildschirmfoto" on Mac OSX, whereas "Paintshop Pro" and "Revolution" itself fail to capture part or all of a deep-masked stack. Looks like we could put together a list of programs which capture and another one of those who do not. Most important, however, would be to have this functionality inside Revolution as it exists for stacks without set deep mask. - Wilhelm Sanke From revdan at danshafer.com Mon Jul 25 11:29:30 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 08:29:30 -0700 Subject: Rant Re Rev Documentation In-Reply-To: References: Message-ID: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> Bill.......... That tidbit is not in the current draft. I did look into it but as far as I can tell, it's not possible to do this. At least if it is, documentation for how to do it is definitely buried or missing. Dan On Jul 25, 2005, at 5:42 AM, Bill wrote: > Will your ebook on printing talk about how to feed information > (such as > number of pages to print) to printing dialogues? > > > On 7/25/05 1:17 AM, "Dan Shafer" wrote: > > >> Not too far off the mark, Timothy, but a little. >> >> When I started my Rev book "series" the idea was that i would simply >> "port" my HT book to Rev and be done with it. A number of users on >> the list at that time ensured me that if I did that, I'd be doing the >> community a huge service. It seemed like a pretty simple undertaking >> so I jumped in. >> >> Boy, was I wrong. Not only would a port have been impossible (thanks >> in large part to the vastly richer vocabulary and power of Rev) and >> unhelpful, it would have been counter-productive. I couldn't bring >> myself to do that. So I ended up with a HUGE project and what I felt >> was a public commitment to produce it. I dug in and did the best I >> could under the circumstances. A lot of folks have kindly said good >> things about what I did produce and I'm continuing to add to the >> repertoire but it'll never be what's really needed. >> >> As I look back, I think the better course would have been to write an >> intro to Rev and Transcript. As it is, my book is ONLY about >> Transcript, not really about how to build things in Rev. That's a big >> missing piece. I could write it but I just don't know if there's a >> market for it. Frankly, total demand for the first volume was >> surprisingly small (to me, not to Rev, but then they knew the numbers >> and I had to guess). >> >> Maybe what's needed now is a comprehensive dictionary of Transcript >> in hypertext form from the perspective of a developer, but I'm not >> even sure how to start building something like that and feel pretty >> sure I'd end up getting slammed for "regurgitating the docs" if I >> did. >> >> I'm just about to release my eBooklet on printing. What other >> subjects do people want? Is a thorough overview of the IDE really >> needed at this point? I gave one at RevCon West (well, not thorough; >> not enough time) but not a lot of people seem interested. >> >> Sorry for the ramble/rant. Just trying to figure out what's most >> important to do next, if anything. There are days I think I should >> just shut up and go back to coding. >> >> >> On Jul 24, 2005, at 7:22 PM, Timothy Miller wrote: >> >> >>> I sometimes wonder why Dan didn't start by writing a comprehensive >>> reference. As I think about it, that's probably a no-win >>> proposition for an author, because Rev's free onboard documentation >>> would be a hard act to follow, even if it's not that good. And as >>> soon as Rev improved its onboard documentation, the book would stop >>> selling. I'd guess that's Dan's reasoning, but it's only a guess. >>> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com >> Get my book, "Revolution: Software at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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.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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bill at bluewatermaritime.com Mon Jul 25 11:54:27 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Jul 2005 11:54:27 -0400 Subject: Feeding information to print dialogues with runrev In-Reply-To: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> Message-ID: I couldn't find it in the documentation either. I was hoping someone knew how to do it as it is beyond my ability. I think it will require a short call to applescript. Please leave a link to buy your latest e-chapter when it is finished. I'm looking forward to reading it. On 7/25/05 11:29 AM, "Dan Shafer" wrote: > Bill.......... > > That tidbit is not in the current draft. I did look into it but as > far as I can tell, it's not possible to do this. At least if it is, > documentation for how to do it is definitely buried or missing. > > Dan > > On Jul 25, 2005, at 5:42 AM, Bill wrote: > >> Will your ebook on printing talk about how to feed information >> (such as >> number of pages to print) to printing dialogues? >> >> >> On 7/25/05 1:17 AM, "Dan Shafer" wrote: >> >> >>> Not too far off the mark, Timothy, but a little. >>> >>> When I started my Rev book "series" the idea was that i would simply >>> "port" my HT book to Rev and be done with it. A number of users on >>> the list at that time ensured me that if I did that, I'd be doing the >>> community a huge service. It seemed like a pretty simple undertaking >>> so I jumped in. >>> >>> Boy, was I wrong. Not only would a port have been impossible (thanks >>> in large part to the vastly richer vocabulary and power of Rev) and >>> unhelpful, it would have been counter-productive. I couldn't bring >>> myself to do that. So I ended up with a HUGE project and what I felt >>> was a public commitment to produce it. I dug in and did the best I >>> could under the circumstances. A lot of folks have kindly said good >>> things about what I did produce and I'm continuing to add to the >>> repertoire but it'll never be what's really needed. >>> >>> As I look back, I think the better course would have been to write an >>> intro to Rev and Transcript. As it is, my book is ONLY about >>> Transcript, not really about how to build things in Rev. That's a big >>> missing piece. I could write it but I just don't know if there's a >>> market for it. Frankly, total demand for the first volume was >>> surprisingly small (to me, not to Rev, but then they knew the numbers >>> and I had to guess). >>> >>> Maybe what's needed now is a comprehensive dictionary of Transcript >>> in hypertext form from the perspective of a developer, but I'm not >>> even sure how to start building something like that and feel pretty >>> sure I'd end up getting slammed for "regurgitating the docs" if I >>> did. >>> >>> I'm just about to release my eBooklet on printing. What other >>> subjects do people want? Is a thorough overview of the IDE really >>> needed at this point? I gave one at RevCon West (well, not thorough; >>> not enough time) but not a lot of people seem interested. >>> >>> Sorry for the ramble/rant. Just trying to figure out what's most >>> important to do next, if anything. There are days I think I should >>> just shut up and go back to coding. >>> >>> >>> On Jul 24, 2005, at 7:22 PM, Timothy Miller wrote: >>> >>> >>>> I sometimes wonder why Dan didn't start by writing a comprehensive >>>> reference. As I think about it, that's probably a no-win >>>> proposition for an author, because Rev's free onboard documentation >>>> would be a hard act to follow, even if it's not that good. And as >>>> soon as Rev improved its onboard documentation, the book would stop >>>> selling. I'd guess that's Dan's reasoning, but it's only a guess. >>>> >>> >>> >>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Shafer, Revolution Consultant and Author >>> http://www.shafermedia.com >>> Get my book, "Revolution: Software at the Speed of Thought" >>> From http://www.revolutionpros.com, Click "My Stuff" >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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.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 at 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 at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From charles.hartman at conncoll.edu Mon Jul 25 11:55:38 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 25 Jul 2005 11:55:38 -0400 Subject: Rant Re Rev Documentation In-Reply-To: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> References: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> Message-ID: <82AE402F-60BD-419D-95FF-0C0F23317CAB@conncoll.edu> It's not going to make me any more popular, but I have to say that this seems like an example of the basic problem. It's a pretty glaring bug -- as someone else pointed out, if you make the print dialog available, you probably need to pay attention to what it says. Some of the unicode and other text-handling problems people have pointed out are pretty glaring too. So are aspects of the Inspector, the Documentation window, and the Application Browser. These aren't problems of missing documentation, they're bugs & holes. And they're bugs & holes in places that someone just beginning to develop apps in Rev is likely to encounter -- not abstrusiosities off in the realm of getting Rev to communicate with RS-422 interfaces etc. Which is to be expected! Yes. It's a work in progress. I acknowledge and appreciate that, and I certainly acknowledge and appreciate the work of everybody, within and outside RR, working on that progress, both in functionality and in explanation. The trouble is that Rev is not an open-source, let's-all-get-together- and-build-it system -- it's a package that may be cheap from the point of view of a professional (that is: funded) developer, but not from other points of view. (Compare, say, Python.) Those other points of view include the "inventive users" Dan and others have talked about. They also include people like me -- definitely (decidedly! massively!) amateur, but with a certain amount of programming experience. I'm not meaning to complain. I'm working on a Dreamcard app right now (can't afford the other packages); I've taken on that learning curve. I'm only saying that the curve is steeper than someone might expect from a non-freeware system. It's about as steep as for wxPython, for example. This list is a magnificent help, I hasten to agree. Charles On Jul 25, 2005, at 11:29 AM, Dan Shafer wrote: > Bill.......... > > That tidbit is not in the current draft. I did look into it but as > far as I can tell, it's not possible to do this. At least if it is, > documentation for how to do it is definitely buried or missing. > > Dan > From keith at vortex.co.uk Mon Jul 25 12:00:04 2005 From: keith at vortex.co.uk (keith) Date: Mon, 25 Jul 2005 17:00:04 +0100 Subject: array info request (was: Re: Rant Re Rev Documentation) In-Reply-To: <8d86d09b4d749d35ad847419f46e1c7b@adelphia.net> References: <8d86d09b4d749d35ad847419f46e1c7b@adelphia.net> Message-ID: Sometime around 25/7/05 (at 01:19 -0400) Thomas McGrath III said: >I always learn best by example. Absolutely! Speaking of learning by example (or any other method, I'm not fussy! ;-) is there anything around that could help me get my head around arrays? Some kind of simple guide that doesn't start out at too high a level? Gotta start sometime! :-) I've made a bit of headway by dissecting and rebuilding a few simple things from past threads in this list, so I can put the contents of a set of fields into a line in an array in a card's user property and then pull specific elements (items?) back out again. What I'm wondering is whether arrays would be a useful way to store data which is to be accessed by more than one person across a network? There're perhaps 30 different fields and popup menus, and some of the fields will contain a few paragraphs of text each. (Yes, paragraphs. So returns have to be accepted in the data, in case that makes any difference.) I had been experimenting with using a text file on a networked computer (as suggested here), with the first item on each line flagging whether it could be edited or not. Editing a record involves reading the record, parsing the data into fields, making the changes there, then writing it all back out to the same record again. I'm hoping to add search abilities, and I wondered if using a data array might be more efficient... but I'm definitely fairly in the dark about these structures! I presume an array is a kind of data structure that has to be stored in a stack in some way, perhaps as a user property? It seems to be layered in a more complex dimensional way than can be represented in a flat text file. Or am I assuming more complications than there actually are? k ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From revdan at danshafer.com Mon Jul 25 12:09:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 09:09:39 -0700 Subject: Print Dialog Interaction (was Re: Rant Re Rev Documentation) In-Reply-To: <82AE402F-60BD-419D-95FF-0C0F23317CAB@conncoll.edu> References: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> <82AE402F-60BD-419D-95FF-0C0F23317CAB@conncoll.edu> Message-ID: I have a bit of trouble envisioning why it would be important for me to hard-code into an application the number of copies of a document to be printed. If the application requires that 3 copies of the report be generated, can we not trust the user to enter "3" into the "number of copies" field of the dialog? Or am I really missing something important and obvious here? Maybe this is more an exemplar of the kinds of issues people are concerned with than it is a complaint about Rev's design? On Jul 25, 2005, at 8:55 AM, Charles Hartman wrote: > It's not going to make me any more popular, but I have to say that > this seems like an example of the basic problem. It's a pretty > glaring bug -- as someone else pointed out, if you make the print > dialog available, you probably need to pay attention to what it says. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From stephenREVOLUTION at barncard.com Mon Jul 25 12:08:21 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 25 Jul 2005 09:08:21 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar Message-ID: Eric, Why not make your plugs compatible with Chipp's Alt Bar, since you don't have a 'bar' of your own? He's described what's needed for that to happen online and invites other developers and it appears really easy. The auto-update feature works great and many of us have gotten used to the 'bar'. I use many of your plugs and it sure would make updating easier. Also there is a method of adding plugs to altBar that are outside of the plugin folder completely, which currently I do with no side effects. It's just a drag that the auto-update feature is not there for those plugs. There really is no 'architecture'. they're still just plugins. From Chipps's site: "Also, altPlugin does not modify anything in the current RunRev IDE. No frontscripts are inserted. The intention is to make altPlugin 'transparent' to the IDE." http://www.altuit.com/webs/altuit2/altPluginCover/about.htm >Hi all, > >Lately Bob Earp asked for some 32*32 pixels icons in order to insert >"non Chipp's" plugins into AltPluginToolbar. >At first, I did not realised what it could mean... >To be inserted in the (great :-) AltPluginToolbar, other plugins >have to be compliant with Chipp's architecture. >Plugins from So Smart Software were not designed to be compliant >with Chipp's architecture. >So, I just want to warn anybody that such an idea (interesting at >first sight) can lead to many unexpected issues. > >Best Regards from Paris, > >Eric Chatonet. From stephenREVOLUTION at barncard.com Mon Jul 25 12:23:19 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 25 Jul 2005 09:23:19 -0700 Subject: Print Dialog Interaction (was Re: Rant Re Rev Documentation) In-Reply-To: References: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> <82AE402F-60BD-419D-95FF-0C0F23317CAB@conncoll.edu> Message-ID: Well, HUG aside, in some workflows triplicates and duplicates are sometimes needed...and entering the number every time one makes a sale, etc could get tedious. >I have a bit of trouble envisioning why it would be important for me >to hard-code into an application the number of copies of a document >to be printed. If the application requires that 3 copies of the >report be generated, can we not trust the user to enter "3" into the >"number of copies" field of the dialog? Or am I really missing >something important and obvious here? > >Maybe this is more an exemplar of the kinds of issues people are >concerned with than it is a complaint about Rev's design? > From revlist at cableone.net Mon Jul 25 12:25:34 2005 From: revlist at cableone.net (Chris Sheffield) Date: Mon, 25 Jul 2005 10:25:34 -0600 Subject: I need help with custom cursors In-Reply-To: <42E00620.5030407@ehug.info> References: <64878EF567131D4596246171F75FD4A97445E4@m-epo-1.epo.cdc.gov> <86BADBA1-C283-4764-AEDE-F8C8721190FD@cableone.net> <23C94F7D-B48E-45AF-8A53-65BF1D625D4F@cableone.net> <42E00620.5030407@ehug.info> Message-ID: <82459AD2-7244-48B4-A895-3ECCA6AC845F@cableone.net> Hi Mark, Sorry I've taken so long to respond. I've been out of town for the last few days. I'm not really sure what the problem would be. I had a pre-existing jpg image that I started with. I had to edit that image so that it only used three colors (some color very close to black (1,0,0 in my case), white, and then a transparent color). I set the transparency (using Paint Shop Pro, btw), then saved it has a gif. I imported that into Rev, used the pencil tool to edit a pixel, then I just hit undo to remove my changes to the image. I set the cursor and it worked fine for me. Not sure if that'll help or not. It sounds like you've followed the same steps, except for using 0,0,1 instead of 1,0,0 for your "black". Don't know if that would make a difference or not. Chris On Jul 21, 2005, at 2:31 PM, Mark Schonewille wrote: > Chris, > > I tried as you suggest, but without success. I have an image of > 16x16 pixels, containing three colours: some transparent colour, > rgb value 0,0,1 and white. I saved it as a png and as a gif file. > > The png file is completely white, except for the transparent area, > when imported. If I use the pencil tool to change one pixel, it > becomes completely black (except the transparent area). If I import > the gif file, it gets completely black and stays black after > changing a pixel (except transparent area). > > Would you be willing to describe the process step by step? > > Best, > > Mark > > Chris Sheffield wrote: > >> For anyone who is even remotely interested, Jonathan has figured >> out this little problem. >> It turns out that using black in the cursor images is the >> problem. So use some other color very close to black (RGB 1,0,0 >> for example) instead of black. Then after importing your image >> into Rev, use Rev's pencil tool to change a pixel or two, then >> just undo your changes (I'm not sure what exactly this does, but >> it doesn't work without this step). Then just set your cursor >> like normal. Works like a charm. >> Thanks again, Jonathan. >> Chris >> On Jul 13, 2005, at 2:31 PM, Chris Sheffield wrote: >> >>> Well, since no other ideas appear to be coming in, I'm wondering >>> if anyone out there has any custom cursors that work that you >>> would be willing to share. I'm looking for an hourglass along >>> with left, right, up and down pointing fingers (much like they >>> had/have in the Myst games. Anyone? >>> >>> Thanks. >>> > -- > > eHUG coordinator > mailto:europe at ehug.info > http://www.ehug.info > http://home.wanadoo.nl/mark.sch > http://www.economy-x-talk.com > > Please inform me about vacancies in the field of > general economics at your institute. I am also looking > for new freelance programming projects. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 ------------------------------------------ From bann at sunncomm.com Mon Jul 25 12:43:35 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 09:43:35 -0700 Subject: How to select the next clickLine of a scrolling list field Message-ID: Hello everyone, Does anyone know how to select the next line of a scrolling list field? Thanks From bnz2 at cdc.gov Mon Jul 25 12:55:02 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 12:55:02 -0400 Subject: array info request (was: Re: Rant Re Rev Documentation) Message-ID: <64878EF567131D4596246171F75FD4A97445FA@m-epo-1.epo.cdc.gov> In simplest terms: In Revolution, an array is a container that holds keys, and each key is a variable. An array can be thought of as a box containing a number of smaller boxes. myArray[1] would be a box named "1" that is contained within the larger box named "myArray". The inner boxes do not have to be named numbers. You can also have myArray["mybutt"] or any other valid variable name. If you do this: Put "myButt" into myVariable Put "way too scrawny" into myArray[myVariable] Then the words "way too scrawny" will have been put in a key named "mybutt" inside an array named "myArray" Arrays reside in memory, but are not saved. (although you can have global arrays, which stick around after the handler runs, but are not saved onto disk) If you want an array to be accessed by multiple users, you would need to save it as a custom property set. Custom properties and custom property sets can really be quite confusing until you get used to them. They use the same type of notation as arrays. I would suggest reading the docs about custom property sets very thoroughly, then coming here to ask questions about those things that are still confusing. You can create a data stack that stores information in custom property sets. You can keep that data stack on a shared drive, and allow everyone to search that custom property set from their computer. I warn you in advance, there are quite a few pitfalls to be wary of if you choose this method - but if you get it right, Revolution searches custom property sets very fast. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of keith Sent: Monday, July 25, 2005 12:00 PM To: How to use Revolution Subject: array info request (was: Re: Rant Re Rev Documentation) Sometime around 25/7/05 (at 01:19 -0400) Thomas McGrath III said: >I always learn best by example. Absolutely! Speaking of learning by example (or any other method, I'm not fussy! ;-) is there anything around that could help me get my head around arrays? Some kind of simple guide that doesn't start out at too high a level? Gotta start sometime! :-) I've made a bit of headway by dissecting and rebuilding a few simple things from past threads in this list, so I can put the contents of a set of fields into a line in an array in a card's user property and then pull specific elements (items?) back out again. What I'm wondering is whether arrays would be a useful way to store data which is to be accessed by more than one person across a network? There're perhaps 30 different fields and popup menus, and some of the fields will contain a few paragraphs of text each. (Yes, paragraphs. So returns have to be accepted in the data, in case that makes any difference.) I had been experimenting with using a text file on a networked computer (as suggested here), with the first item on each line flagging whether it could be edited or not. Editing a record involves reading the record, parsing the data into fields, making the changes there, then writing it all back out to the same record again. I'm hoping to add search abilities, and I wondered if using a data array might be more efficient... but I'm definitely fairly in the dark about these structures! I presume an array is a kind of data structure that has to be stored in a stack in some way, perhaps as a user property? It seems to be layered in a more complex dimensional way than can be represented in a flat text file. Or am I assuming more complications than there actually are? k ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From kray at sonsothunder.com Mon Jul 25 12:56:17 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 25 Jul 2005 11:56:17 -0500 Subject: How to select the next clickLine of a scrolling list field In-Reply-To: Message-ID: On 7/25/05 11:43 AM, "Ban Nguyen" wrote: > Hello everyone, > > Does anyone know how to select the next line of a scrolling list field? put the hilitedLines of fld "MyListFld" into tLine set the hilitedLines of fld "MyListFld" to (tLine+1) OR (more compact): set the hilitedLines of fld "MyListFld" to (the hilitedLines of fld "MyListFld" + 1) HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From ambassador at fourthworld.com Mon Jul 25 13:11:11 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 10:11:11 -0700 Subject: array info request In-Reply-To: References: <8d86d09b4d749d35ad847419f46e1c7b@adelphia.net> Message-ID: <42E51D2F.2010100@fourthworld.com> keith wrote: > is there anything around that could help me get my head around arrays? This may help get you started: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From capellan2000 at yahoo.com Mon Jul 25 13:13:02 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Mon, 25 Jul 2005 10:13:02 -0700 (PDT) Subject: Turtle Graphics Message-ID: <20050725171302.70713.qmail@web40521.mail.yahoo.com> Hi Jim, Could you make an option to draw the Turtle Graphics with vectors graphics, not only bitmaps? In this way, they could be exported and edited in vector drawing applications like Flash, FreeHand, Ilustrator, etc. Thanks in advance, al on Mon, 25 Jul 2005 Jim Hurley wrote: >I have in mind is illustrated in the following >Turtle Graphics "home stack": >go stack url >"http://home.infostations.net/jhurley/TurtleGraphics.rev" > After you have punched all the buttons you should > know whether TG, as an addendum to Transcript, would > be of any use to you. Visit my site: http://www.geocities.com/capellan2000/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From see3d at writeme.com Mon Jul 25 13:22:17 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 13:22:17 -0400 Subject: array info request (new thread) Message-ID: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> On Jul 25, 2005, at 12:00 PM, keith wrote: > Sometime around 25/7/05 (at 01:19 -0400) Thomas McGrath III said: > > >> I always learn best by example. >> > > Absolutely! > Speaking of learning by example (or any other method, I'm not > fussy! ;-) is there anything around that could help me get my head > around arrays? Some kind of simple guide that doesn't start out at > too high a level? Gotta start sometime! :-) Keith, It also took ma a bit of time to understand arrays. It turns out to be rather simple. Please let me practice a bit with some ideas I have about how to explain arrays in simple terms. An Array element is simply a variable with two names. The family name like Jones and the secondary name Jones["David"]. Now each time a new Jones kid is born, we can create a new entry for his birthday put "2005,July,25," into Jones["John"] Arrays may look like they are complex multidimensional constructs, but it is a lie --they are simple one dimensional variables. Array[key] and Array[key1,key2,key3] are both actually flat. Array ["1,2,3"] is the same as Array[1,2,3]. The keys of Array is a list of all the combinations of keys that have a data element stored. An Array key can be any text. A multidimensional array key is just a text version of all the keys combined key1&","&key2&","&key3 Because arrays are variables they lose there contents the same as other variables. One kind of array will cam retain its values. These are called custom property sets. See Dan's scripting conference for some more details about these. The limitation of using a custom property set is that you are limited to a single key in the [key]. However, as I have just shown, that is not really much of a limitation because you can create your own multiple key by combining keys like CustomPropertySetArray [key1&&key2&&key3]. The advantage of arrays over creating a bunch of variable names (e.g., put "2005,July,25," into (Jones&John)), is that you can't do that without a 'do' command which is slow and is also cumbersome to write. With an array you can build the key name the same way you can build any text or number. In fact you could have a single generic array that is used just for the purpose of making up variable names on the fly: allMyVariables["someVariableName"], but this is an extreme example just to make a point. Getting the keys of an array make it clear what is going on. There is more you can do with special commands like split and combine arrays. Some commands only work with arrays where all the elements must be numbers --like Sum, Average, Median, Min, Max, StandardDiviation. The array is just a proxy for a list of numbers. Other commands only work with arrays that only have a two sequential numbers as two keys (x,y) and all the elements must be numbers --like matrixMultiply and transpose. I don't know if this was any help, but I would also like to improve my conceptualizing of Rev arrays. Please ask more questions, or if anyone else has another slant on understanding arrays please contribute it to this thread. Perhaps it can be used as the springboard to a scripting conference stack on arrays and lists. From bill at bluewatermaritime.com Mon Jul 25 13:24:46 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Jul 2005 13:24:46 -0400 Subject: Print Dialog Interaction (was Re: Rant Re Rev Documentation) In-Reply-To: Message-ID: I print government forms. Some of them require 5 copies. Some require 2 copies. Some just one. It would be very nice if I could press one button "print all the stupid government forms" and then it would go to each form and print the number of copies each form requires. In hypercard days this was also difficult to do and required generating multiple copies and sending those to the printer which takes more print time than using the printer's ability to repeat a download. On 7/25/05 12:09 PM, "Dan Shafer" wrote: > I have a bit of trouble envisioning why it would be important for me > to hard-code into an application the number of copies of a document > to be printed. If the application requires that 3 copies of the > report be generated, can we not trust the user to enter "3" into the > "number of copies" field of the dialog? Or am I really missing > something important and obvious here? > > Maybe this is more an exemplar of the kinds of issues people are > concerned with than it is a complaint about Rev's design? > > > On Jul 25, 2005, at 8:55 AM, Charles Hartman wrote: > >> It's not going to make me any more popular, but I have to say that >> this seems like an example of the basic problem. It's a pretty >> glaring bug -- as someone else pointed out, if you make the print >> dialog available, you probably need to pay attention to what it says. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From bill at bluewatermaritime.com Mon Jul 25 13:26:43 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Jul 2005 13:26:43 -0400 Subject: Print Dialog Interaction (was Re: Rant Re Rev Documentation) In-Reply-To: Message-ID: Also the present release of Tiger has a bug (only evident in runrev) that requires an extra step in the print dialogue. To change the number of copies to be printed you have to choose another printer first and then go back and choose the right printer then the field where you put the number of copies allows you to change it. On 7/25/05 12:09 PM, "Dan Shafer" wrote: > I have a bit of trouble envisioning why it would be important for me > to hard-code into an application the number of copies of a document > to be printed. If the application requires that 3 copies of the > report be generated, can we not trust the user to enter "3" into the > "number of copies" field of the dialog? Or am I really missing > something important and obvious here? > > Maybe this is more an exemplar of the kinds of issues people are > concerned with than it is a complaint about Rev's design? > > > On Jul 25, 2005, at 8:55 AM, Charles Hartman wrote: > >> It's not going to make me any more popular, but I have to say that >> this seems like an example of the basic problem. It's a pretty >> glaring bug -- as someone else pointed out, if you make the print >> dialog available, you probably need to pay attention to what it says. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From keith at vortex.co.uk Mon Jul 25 13:31:44 2005 From: keith at vortex.co.uk (keith) Date: Mon, 25 Jul 2005 18:31:44 +0100 Subject: array info request (was: Re: Rant Re Rev Documentation) In-Reply-To: <64878EF567131D4596246171F75FD4A97445FA@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445FA@m-epo-1.epo.cdc.gov> Message-ID: Sometime around 25/7/05 (at 12:55 -0400) Lynch, Jonathan said: >In simplest terms: > >In Revolution, an array is a container that holds keys, and each key is >a variable. [very helpful information snipped reluctantly!] >I would suggest reading the docs about custom property sets very >thoroughly, then coming here to ask questions about those things that >are still confusing. Will do, thanks. > warn you in advance, there are quite a few pitfalls to be wary of if >you choose this method - but if you get it right, Revolution searches >custom property sets very fast. Any hints for things I should perhaps try to avoid? I know learning happens fast when you have to debug stuff, but it would be *very* nice (especially for my wife's sanity) if I could side-step a few things from the start! :-) Thanks for all this info BTW! k ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ From jperryl at ecs.fullerton.edu Mon Jul 25 13:32:35 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 10:32:35 -0700 (PDT) Subject: Rant Re Rev Documentation In-Reply-To: Message-ID: But, Dan, consider the audience: How many of those who really NEED the intro to the IDE booklet are going to fork over $200 cash of their own money (plus transportation, plus lodging: even for a California resident I think it ran me close to $1,000 for the whole kit'n'kaboodle) for a product that they are basically EVALUATING?! Of course, then there's the secondary consideration (probably m ore primary for you) of it being needed versus it selling in great numbers. Is it needed? Yes. Will people consent to an adoption model in which they are seemingly nickled and dimed for necessary components? Probably not. :( Judy > On 7/25/05 1:17 AM, "Dan Shafer" wrote: > > > I'm just about to release my eBooklet on printing. What other > > subjects do people want? Is a thorough overview of the IDE really > > needed at this point? I gave one at RevCon West (well, not thorough; > > not enough time) but not a lot of people seem interested. From bnz2 at cdc.gov Mon Jul 25 13:40:39 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 13:40:39 -0400 Subject: array info request (was: Re: Rant Re Rev Documentation) Message-ID: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> Custom properties and custom property sets should have 1-word names. Somewhere in the docs it says otherwise, but having a space in the name of a custom property caused me trouble at one point, which was fixed when I made sure it just had a single-word name. Another one that comes to mind is the repeat for each element control structure... The internal order in which keys are stored in a custom prop is not sorted alphabetically - so, if you need to search in order, you might be better off doing something like this: Set the custompropertyset of me to "scheduledItems" Put the customkeys of me into tKeys Sort tKeys Repeat for each line L in tKeys If the scheduleditems[L] of me contains "my search string" then Do whatever it needs to do End if End repeat There are other quirks as well, just don't recall them off the top of my head. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of keith Sent: Monday, July 25, 2005 1:32 PM To: How to use Revolution Subject: RE: array info request (was: Re: Rant Re Rev Documentation) Sometime around 25/7/05 (at 12:55 -0400) Lynch, Jonathan said: >In simplest terms: > >In Revolution, an array is a container that holds keys, and each key is >a variable. [very helpful information snipped reluctantly!] >I would suggest reading the docs about custom property sets very >thoroughly, then coming here to ask questions about those things that >are still confusing. Will do, thanks. > warn you in advance, there are quite a few pitfalls to be wary of if >you choose this method - but if you get it right, Revolution searches >custom property sets very fast. Any hints for things I should perhaps try to avoid? I know learning happens fast when you have to debug stuff, but it would be *very* nice (especially for my wife's sanity) if I could side-step a few things from the start! :-) Thanks for all this info BTW! k ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Mon Jul 25 13:43:28 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Mon, 25 Jul 2005 10:43:28 -0700 Subject: Praise: Rev Documentation to the rescue Message-ID: Dear fellow Revers, I use Rev every day like many of you and got stuck on something. I have a registration screen that works perfectly when the stack is modal. When the stack is toplevel, things fall apart. I looked up the modal command in the Rev Docs and found an answer to my question. Modal stacks stop a script in action until the modal stack has been closed. I did not realize this before. The point is, I think it is important to post once in a while how the Rev Docs do work for us. Quite possibly, they work more for us than they fail us. Over the years, there have been plenty of comments on how the Docs are inadequate, but few on their usefulness. I use them every day and have a deep appreciation for their existence. Thank you to all those involved. Mark Talluto -- CANELA Software http://www.canelasoftware.com From ambassador at fourthworld.com Mon Jul 25 13:45:07 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 10:45:07 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: References: Message-ID: <42E52523.80908@fourthworld.com> Stephen Barncard wrote: > Why not make your plugs compatible with Chipp's Alt Bar, since you don't > have a 'bar' of your own? ... > There really is no 'architecture'. they're still just plugins. Yet they require modification to work there. And that would be the case with devolution too, if you wanted them automatically updated. And with any other toolkit out there which could provide support for other people's tools. Interoperability between plugins can be very valuable, but it would be combersome for me to require that others add properties and objects just to work with mine, and then to add similar but differently-named properties to work with Chipp's, and similar but differently-named properties to work with Eric's, and so on with every new toolkit that comes along. Could there be a single set of conventions which could be used by all plugin authors to allow interoperability among all toolkits? That's the central question of the Rev Interoperability Group: As announced in Malta last year and explained in greater detail at RevCon West last month, RIP is an open working group for arriving at common solutions for things most of us are doing but had been doing differently from one another. Everything the group recommends is inherently optional and extensible, so one can adopt them or not to the degree that they want their tools and toolkits to work well with those from other authors and still provide any additional functionality unique to their toolkit with no penalty. The first deliverable from the RIP working group is the Edinburgh Core Metadata Initiative (ECMI). Modelled largely on the popular Dublin Core Metadata Initiative (but with a geographic reference to our friends at RunRev ), ECMI provides a set of conventions fort custom properties which support a wide range of common tool and project management tasks, including version control, automated updating, and more. Chipp has made contributions to the group, and Eric, Ken, Paul, myself, and others are in the process of updating our tools to use these conventions. The initial draft of ECMI is available in the Files section of that group. Tools for authors to help set up and manage those properties are in development by Eric, Ken, and myself, and should be available before the draft is finalized. The group is open to participation by anyone who has an interest in making Rev tools for others. Feel free to join in the discussion there. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From M.Lange at ed.ac.uk Mon Jul 25 14:04:11 2005 From: M.Lange at ed.ac.uk (Marielle Lange) Date: Mon, 25 Jul 2005 19:04:11 +0100 Subject: Squarified Treemaps In-Reply-To: <1a9c0bcec446bdf7a2feff59eedc2ed1@openpartnership.net> References: <20050724195335.3E531824DD4@mail.runrev.com> <1a9c0bcec446bdf7a2feff59eedc2ed1@openpartnership.net> Message-ID: Dear David, I am interested in this as well. I would appreciate if you could kindly add me to your "to:" list when you advertise any new development on this, as I don't have time to follow all threads on the use-revolution list. In case this can be useful, I have recently traced papers introducing algorithms for the automatic production of concept maps: http://pages.cpsc.ucalgary.ca/~kremer/dissertation/ - Constraint Graphs: A Concept Map Meta-Language http://citeseer.ist.psu.edu/conklin02webbased.html - Interactive visualization and exploration of diverse data Nathan James Conklin (2002) http://citeseer.ist.psu.edu/462379.html - Fully Dynamic Algorithms for Path Problems on Directed Graphs http://citeseer.ist.psu.edu/noik96dynamic.html - Dynamic Fisheye Views: Combining Dynamic Queries and Mapping with Database View Definition Some of these links are reproduced at: http://revolution.lexicall.org/wiki/tiki-index.php?page=TechniquesGraphPlots Feel free to contribute to this page (that's a wiki with open access to self-registered members) Best, Marielle >No, but very interested. > >I have code for directed / undirected graphing of relationships and >am looking at Tree maps for a current project. So lets keep in touch? > >On 24 Jul 2005, at 22:02, Mike Doub wrote: > >>I am doing some experimentation with data visualization and was wondering if >>anyone had already created a control for a Squarified Treemap written in >>transcript. >> >>Are there any other transcript based data visualization tools available? >> >>Thanks in Advance. >> Mike -- Marielle Lange (PhD), Psycholinguistics, Lecturer in Psychology and Informatics University of Edinburgh, UK Email: M.Lange at ed.ac.uk Homepage: http://homepages.inf.ed.ac.uk/mlange/ Calendar: http://www.icalx.com/html/mlange/week.php?cal=Work Contact details: Dept of Psychology / 7 George Square / EH8 9JZ / UK / Fax: 44 131 650 6626 ANC institute / 5 Forrest Hill / EH1 2QL / UK / Tel: 44 131 650 3098 / Fax: 44 131 650 6899 The University of Edinburgh is subject to the Freedom of Information (Scotland) Act 2002. Unless an exemption applies, information held by the University may be disclosed on request. The exemptions include ones for personal information, research in progress, commercially sensitive information and genuinely confidential information. Further information is available at http://www.recordsmanagement.ed.ac.uk. From ambassador at fourthworld.com Mon Jul 25 14:08:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 11:08:14 -0700 Subject: Who is doing what with Revolution In-Reply-To: <224C1220-DC67-4684-8E32-61560B37B69E@mac.com> References: <224C1220-DC67-4684-8E32-61560B37B69E@mac.com> Message-ID: <42E52A8E.3030204@fourthworld.com> Gary Thompson wrote: > What are the possibilities of Revolution? Endless. > Are there any (or many) commercial apps built with it? Hundreds, if not thousands. Many are used in-house in corporations and don't make their way out into the world at large, but a large and growing number do. > Are developers using it to prototype an idea than switching to some > other tool? Sometimes, and sometimes they start that way and wind up delivering the finished work in Rev once they find out how capable it is. Often Rev is used start to finish from the outset. > Is multimedia a prime focus of Revolution? It's a strong part of what makes Rev powerful, but I consider Rev more of a general-purpose app development tool with strong rich-media support. > Could I build a business around Revolution? Many of us do. :) > By this I mean either build > a software line of products or is it better suited for building custom > one-offs for consulting jobs or???? Rev provides hooks for some of the most popular database engines, and if your needs are modest you can use arrays or lists for a reasonably efficient RAM-based database. Some use cards for records a la HyperCard, and while that will work the inventor of the engine doesn't recommend it for more than 5,000 cards. > Are there certain apps you shouldn't try to develop in Revolution? Such > as intense number-crunching? Yes and no. Rev does surprisingly well on a great many tasks, but as with any tool there are strengths and weaknesses. Highly iterative number crunching has been cited as one, but I suspect the boundaries have not been fully explored. Should you come across a task that could benefit from something like C, you can use C to write an external for that one task and still get all of the other benefits of writing everything else in Rev. For some examples of products made in Rev: Case Studies at RunRev.com: A number of Rev-based products are also listed here (though the list isn't nearly as complete as it could be): Chipp Walters' Hemmingway is described here: Trevor DeVore has some cool products here: A fascinating multimedia geospatial internet app: A really cool simulation series: Tools for educators: Some good articles from Novell on Revolution: An old list of some of the stuff I've worked on (if I can slow down making new stuff I might get around to updating this): -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From larsbrehmer at mac.com Mon Jul 25 14:13:19 2005 From: larsbrehmer at mac.com (Lars Brehmer) Date: Mon, 25 Jul 2005 21:13:19 +0300 Subject: Open with? Message-ID: <92775026-D4D7-49F4-9A20-9AD2912AE3B5@mac.com> I just downloaded 2.6 for a test drive, but now all of my rev files try to open with 2.6, even when it's in the trash. On the open with contextual menu, 2.5 isn't one of the options even though it is installed and has been for a while, and when I click "get info" it isn't an option in the "open with" there either. So with 2.6 in the trash, i can't double click on a rev file to open it (error message) and from within rev, I can't choose open file and navigate to a file that is in a standalone package. I can open the package and drag the rev file onto the rev 2.5 icon in my dock, but what a pain! I seem to remember seeing this in the list back when 2.6 was released, but no lick finding it in the list archives. Anyone know the way around this? Cheers, Lars From gandalf at doctorTimothyMiller.com Mon Jul 25 14:18:10 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 25 Jul 2005 11:18:10 -0700 Subject: Rant Re Rev Documentation In-Reply-To: <1ff5a67d69559604ef1922fdd146a675@adelphia.net> References: <42E3215F.8010500@comcast.net> <29B2BAFC-D8DC-46F8-82C7-48D110EAFB93@genesearch.com.au> <1ff5a67d69559604ef1922fdd146a675@adelphia.net> Message-ID: >Tim, > >I too disagree with your request/demand that the reference guide be >a tutorial as well. Hi Sarah, and others who share the quoted sentiment. Well, it's not a demand. I want Rev to succeed, and I think better and more extensive documentation will help them do that. It could be critically important, though that's just an educated guess. I don't mean to suggest that the reference guide should be a tutorial. I mean to suggest that it should be an adequate reference guide, at minimum, and preferably an excellent reference guide. You're right about not making it overly complicated. The first few approximations on the way to adequate would only require supplementation of the existing reference format. That might be all that is necessary for excellent. Best regards, Tim From gandalf at doctorTimothyMiller.com Mon Jul 25 14:21:54 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 25 Jul 2005 11:21:54 -0700 Subject: Rant Re Rev Documentation In-Reply-To: <33FDFEDC-085B-4FCF-95F1-252A55EC007D@danshafer.com> References: <42E3215F.8010500@comcast.net> <33FDFEDC-085B-4FCF-95F1-252A55EC007D@danshafer.com> Message-ID: >Not too far off the mark, Timothy, but a little. > >When I started my Rev book "series" the idea was that i would simply >"port" my HT book to Rev and be done with it. A number of users on >the list at that time ensured me that if I did that, I'd be doing >the community a huge service. It seemed like a pretty simple >undertaking so I jumped in. > --snip-- Thanks for the nice reply Dan. I'm totally with you. You didn't rant or ramble. It's really a shame your book isn't selling better. One hopes that Rev's user base will grow exponentially. I fear that isn't happening so far. Best regards, Tim From lists at mangomultimedia.com Mon Jul 25 14:34:35 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 25 Jul 2005 11:34:35 -0700 Subject: External for running one instance on windows In-Reply-To: <75776ce0c091d314c34a74a6577c8363@mangomultimedia.com> References: <75776ce0c091d314c34a74a6577c8363@mangomultimedia.com> Message-ID: Anyone who downloaded the EnhancedWin DLL should download it again. I had an incorrect configuration option when I compiled the DLL and it was requiring msvcr71.dll which isn't necessary. You can download the DLL at : -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From stephenREVOLUTION at barncard.com Mon Jul 25 14:34:16 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 25 Jul 2005 11:34:16 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: <42E52523.80908@fourthworld.com> References: <42E52523.80908@fourthworld.com> Message-ID: Then Richard, we're in good hands and trust the main IDE plugin developers will come up with the standards. And yes I lurk in that group.. and I like what you are doing. sqb > >Chipp has made contributions to the group, and Eric, Ken, Paul, >myself, and others are in the process of updating our tools to use >these conventions. > >-- > Richard Gaskin From gandalf at doctorTimothyMiller.com Mon Jul 25 14:36:57 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Mon, 25 Jul 2005 11:36:57 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: >Dear fellow Revers, > >I use Rev every day like many of you and got stuck on something. I >have a registration screen that works perfectly when the stack is >modal. When the stack is toplevel, things fall apart. I looked up >the modal command in the Rev Docs and found an answer to my >question. Modal stacks stop a script in action until the modal >stack has been closed. I did not realize this before. > >The point is, I think it is important to post once in a while how >the Rev Docs do work for us. Quite possibly, they work more for us >than they fail us. Over the years, there have been plenty of >comments on how the Docs are inadequate, but few on their >usefulness. I use them every day and have a deep appreciation for >their existence. Thank you to all those involved. > >Mark Talluto I agree with you more than you might expect, Mark. Very often, the Rev docs work very well for me. It's delightful that they are onboard. Heaven knows I look at them every day. They have been my best teacher. But Rev is advertised as "enterprise-ware" if I'm not mistaken. In theory, Rev is great for pros, great for novices, and great for do-it-yourself end-users, who possess a modicum of intelligence, motivation and computer experience. Maybe it's fine for Pros, but it's too damned hard for everyone else. The documentation presently available is the biggest bottleneck, in my opinion. It still seems to me that it just wouldn't be that hard or expensive to make it a whole lot better. Cheers, Tim From bann at sunncomm.com Mon Jul 25 14:38:09 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 11:38:09 -0700 Subject: how to set the size of the card smaller than the size of the stack Message-ID: Hello, Does anyone know how to set the size of the card smaller than the size of the stack. When I create a new card in a stack, the card is the same size as the stack. I want its size smaller I have a main stack: In this stack I have 5 cards On the first card I have all graphics set up like background, borders.... and I also create 5 buttons to link to different cards Here is the problem: every time I create a new card, I have to copy all the graphics from the first card and paste into the new card (I want all card have the same look, just want to change the content) Is there any better way to do this I did another way by creating different substacks but it did not work the way I want it because those substacks are displayed in different locations (user's screen resolution) Thank you for your help From see3d at writeme.com Mon Jul 25 14:43:11 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 14:43:11 -0400 Subject: array info request (new thread) In-Reply-To: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> References: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> Message-ID: Jonathan, This is interesting about the 1-word names. I have been using multiword names without any problems. Do you recall exactly what the problem was? Was it that the array did not work as advertized, or that you had problems with sorting keys or making the key unique? Of course multi-item names are the normal state for a key name so even if my preferred simplicity of array[key1&&key2] for custom property set arrays has a problem, array[key1&comma&key2] has got to work. Dennis On Jul 25, 2005, at 1:40 PM, Lynch, Jonathan wrote: > Custom properties and custom property sets should have 1-word names. > > Somewhere in the docs it says otherwise, but having a space in the > name > of a custom property caused me trouble at one point, which was fixed > when I made sure it just had a single-word name. > > > Another one that comes to mind is the repeat for each element control > structure... > > The internal order in which keys are stored in a custom prop is not > sorted alphabetically - so, if you need to search in order, you > might be > better off doing something like this: > > Set the custompropertyset of me to "scheduledItems" > Put the customkeys of me into tKeys > Sort tKeys > Repeat for each line L in tKeys > If the scheduleditems[L] of me contains "my search string" then > Do whatever it needs to do > End if > End repeat From scott at tactilemedia.com Mon Jul 25 14:47:49 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Jul 2005 11:47:49 -0700 Subject: how to set the size of the card smaller than the size of the stack In-Reply-To: Message-ID: Recently, Ban Nguyen wrote: > Does anyone know how to set the size of the card smaller than the size > of the stack. When I create a new card in a stack, the card is the same > size as the stack. I want its size smaller If the card was smaller than the stack, what would you expect to see beyond the borders of the card? *Something* has to be there. > Here is the problem: every time I create a new card, I have to copy all > the graphics from the first card and paste into the new card (I want all > card have the same look, just want to change the content) > > Is there any better way to do this Yes -- group the items you want to appear on each card and set the group's background behavior property to true. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From bnz2 at cdc.gov Mon Jul 25 14:47:19 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 14:47:19 -0400 Subject: how to set the size of the card smaller than the size of the stack Message-ID: <64878EF567131D4596246171F75FD4A97445FD@m-epo-1.epo.cdc.gov> You cannot adjust the size of the card - but you also do not need to do this. Try creating your stack with just one card at first. Put together everything you need on that first card, then group all those objects together. Then, set the backgroundbehavior of that group to true. >From this point, when you are on a card that has this background and you create a new card, all the objects from that background will appear on the new card. You can also use the place command - but I suggest starting with the above method at first, until you are fully familiar with the way groups, backgrounds, cards, and stacks are structured and interact. Good luck -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ban Nguyen Sent: Monday, July 25, 2005 2:38 PM To: How to use Revolution Subject: how to set the size of the card smaller than the size of the stack Hello, Does anyone know how to set the size of the card smaller than the size of the stack. When I create a new card in a stack, the card is the same size as the stack. I want its size smaller I have a main stack: In this stack I have 5 cards On the first card I have all graphics set up like background, borders.... and I also create 5 buttons to link to different cards Here is the problem: every time I create a new card, I have to copy all the graphics from the first card and paste into the new card (I want all card have the same look, just want to change the content) Is there any better way to do this I did another way by creating different substacks but it did not work the way I want it because those substacks are displayed in different locations (user's screen resolution) Thank you for your help _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Mon Jul 25 14:52:54 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 11:52:54 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> Speaking as someone who's written a few words of documentation over the decades.... It is a LOT harder and more expensive than you think to make it a whole lot better. RR has to decide where to put resources. And despite a lot of periodic and sporadic complaining about the docs, several attempts to set up teams of users to work on improvements and extensions have failed due to lack of interest. Designing and writing good docs is nearly as hard as designing and writing good software. On Jul 25, 2005, at 11:36 AM, Timothy Miller wrote: > It still seems to me that it just wouldn't be that hard or > expensive to make it a whole lot better ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From bnz2 at cdc.gov Mon Jul 25 14:50:14 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 14:50:14 -0400 Subject: array info request (new thread) Message-ID: <64878EF567131D4596246171F75FD4A99680EE@m-epo-1.epo.cdc.gov> I have never had a problem with multiple item arrays: myArray[1,2,3] However, I did have a problem with a custom property set named "Scheduled Items" - but the problem cleared up when I named it "ScheduledItems" - I cannot remember what exactly the problem was, but I do remember that it was not real obvious. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dennis Brown Sent: Monday, July 25, 2005 2:43 PM To: How to use Revolution Subject: Re: array info request (new thread) Jonathan, This is interesting about the 1-word names. I have been using multiword names without any problems. Do you recall exactly what the problem was? Was it that the array did not work as advertized, or that you had problems with sorting keys or making the key unique? Of course multi-item names are the normal state for a key name so even if my preferred simplicity of array[key1&&key2] for custom property set arrays has a problem, array[key1&comma&key2] has got to work. Dennis On Jul 25, 2005, at 1:40 PM, Lynch, Jonathan wrote: > Custom properties and custom property sets should have 1-word names. > > Somewhere in the docs it says otherwise, but having a space in the > name > of a custom property caused me trouble at one point, which was fixed > when I made sure it just had a single-word name. > > > Another one that comes to mind is the repeat for each element control > structure... > > The internal order in which keys are stored in a custom prop is not > sorted alphabetically - so, if you need to search in order, you > might be > better off doing something like this: > > Set the custompropertyset of me to "scheduledItems" > Put the customkeys of me into tKeys > Sort tKeys > Repeat for each line L in tKeys > If the scheduleditems[L] of me contains "my search string" then > Do whatever it needs to do > End if > End repeat _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bann at sunncomm.com Mon Jul 25 14:55:01 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 11:55:01 -0700 Subject: how to set the size of the card smaller than the size of thestack Message-ID: > Does anyone know how to set the size of the card smaller than the size > of the stack. When I create a new card in a stack, the card is the same > size as the stack. I want its size smaller If the card was smaller than the stack, what would you expect to see beyond the borders of the card? *Something* has to be there. > Here is the problem: every time I create a new card, I have to copy all > the graphics from the first card and paste into the new card (I want all > card have the same look, just want to change the content) > > Is there any better way to do this ------------------------------------------- Yes -- group the items you want to appear on each card and set the group's background behavior property to true. --------------------------------------------- I want user still see the other buttons so they can click to go there From see3d at writeme.com Mon Jul 25 14:59:37 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 14:59:37 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <323460B9-13F8-4049-B4EB-3FCD433A9277@writeme.com> Tim, I have also posted in the past about the Docs merits and shortfalls and also suggested a wiki like you did. A wiki would be great for fleshing out the docs in depth. The built-in docs are great if you already know most stuff and just need a cheat sheet. Like others have said the problem is how to get over the hurdle when starting out. Tutorials are the best way, but they are also daunting when you look at all the stuff. The scripting conferences are making a good backbone that could be used as the beginners tutorials for writing programs. However, one of the problems is that all these pieces need to be updated as Rev is upgraded over time. This can become daunting for an IDE tutorial with UI changes. The whole issue is simple to conceptualize, and difficult to implement without strong leadership and commitment. I would be happy to participate in such projects, but I don't have a clue how to get them started. I could almost see a ransom-ware project to create a wiki for Transcript. I wonder how much RunRev would kick into the bucket to make it happen? Dennis On Jul 25, 2005, at 2:36 PM, Timothy Miller wrote: >> Dear fellow Revers, >> >> I use Rev every day like many of you and got stuck on something. >> I have a registration screen that works perfectly when the stack >> is modal. When the stack is toplevel, things fall apart. I >> looked up the modal command in the Rev Docs and found an answer to >> my question. Modal stacks stop a script in action until the modal >> stack has been closed. I did not realize this before. >> >> The point is, I think it is important to post once in a while how >> the Rev Docs do work for us. Quite possibly, they work more for >> us than they fail us. Over the years, there have been plenty of >> comments on how the Docs are inadequate, but few on their >> usefulness. I use them every day and have a deep appreciation for >> their existence. Thank you to all those involved. >> >> Mark Talluto >> > > > I agree with you more than you might expect, Mark. Very often, the > Rev docs work very well for me. It's delightful that they are > onboard. Heaven knows I look at them every day. They have been my > best teacher. > > But Rev is advertised as "enterprise-ware" if I'm not mistaken. In > theory, Rev is great for pros, great for novices, and great for do- > it-yourself end-users, who possess a modicum of intelligence, > motivation and computer experience. > > Maybe it's fine for Pros, but it's too damned hard for everyone > else. The documentation presently available is the biggest > bottleneck, in my opinion. It still seems to me that it just > wouldn't be that hard or expensive to make it a whole lot better. > > > Cheers, > > > Tim > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bnz2 at cdc.gov Mon Jul 25 15:07:19 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 15:07:19 -0400 Subject: array info request (new thread) Message-ID: <64878EF567131D4596246171F75FD4A97445FE@m-epo-1.epo.cdc.gov> I just tested this again, and the same problem shows up... Try clicking a button with this script: On mouseup Set the custompropertyset of this stack to "my Set" Set the myProp of this stack to "hello" End mouseup Then go look at the custom properties of the stack. When I do this, I have a custom property named "myProp" listed under the custom property set named "my set" - but I also have a custom property named myProp listed under the default custom property set. The first time I click the button, "hello" is put in the myProp in the default set, and then the second time I click the button, "hello" is put in myProp in "my set". Weird stuff, but it goes away if the custompropertyset just has a one-word name. Besides, you need a one-word name if you are going to access it with array notation: put mySet["myProp"] into field "my field" -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Monday, July 25, 2005 2:50 PM To: How to use Revolution Subject: RE: array info request (new thread) I have never had a problem with multiple item arrays: myArray[1,2,3] However, I did have a problem with a custom property set named "Scheduled Items" - but the problem cleared up when I named it "ScheduledItems" - I cannot remember what exactly the problem was, but I do remember that it was not real obvious. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dennis Brown Sent: Monday, July 25, 2005 2:43 PM To: How to use Revolution Subject: Re: array info request (new thread) Jonathan, This is interesting about the 1-word names. I have been using multiword names without any problems. Do you recall exactly what the problem was? Was it that the array did not work as advertized, or that you had problems with sorting keys or making the key unique? Of course multi-item names are the normal state for a key name so even if my preferred simplicity of array[key1&&key2] for custom property set arrays has a problem, array[key1&comma&key2] has got to work. Dennis On Jul 25, 2005, at 1:40 PM, Lynch, Jonathan wrote: > Custom properties and custom property sets should have 1-word names. > > Somewhere in the docs it says otherwise, but having a space in the > name > of a custom property caused me trouble at one point, which was fixed > when I made sure it just had a single-word name. > > > Another one that comes to mind is the repeat for each element control > structure... > > The internal order in which keys are stored in a custom prop is not > sorted alphabetically - so, if you need to search in order, you > might be > better off doing something like this: > > Set the custompropertyset of me to "scheduledItems" > Put the customkeys of me into tKeys > Sort tKeys > Repeat for each line L in tKeys > If the scheduleditems[L] of me contains "my search string" then > Do whatever it needs to do > End if > End repeat _______________________________________________ use-revolution mailing list use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mwieder at ahsoftware.net Mon Jul 25 15:12:42 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Jul 2005 12:12:42 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: <42E52523.80908@fourthworld.com> References: <42E52523.80908@fourthworld.com> Message-ID: <1699756248.20050725121242@ahsoftware.net> Richard- Monday, July 25, 2005, 10:45:07 AM, you wrote: RG> The initial draft of ECMI is available in the Files section of that RG> group. Tools for authors to help set up and manage those properties are RG> in development by Eric, Ken, and myself, and should be available before RG> the draft is finalized. But, as I've pointed out before, keeping the ECMI as a private document hardly qualifies it as a "standard". One really shouldn't have to join the group to be able to read it. -- -Mark Wieder mwieder at ahsoftware.net From bnz2 at cdc.gov Mon Jul 25 15:09:46 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 15:09:46 -0400 Subject: how to set the size of the card smaller than the size ofthestack Message-ID: <64878EF567131D4596246171F75FD4A99680F0@m-epo-1.epo.cdc.gov> The new card does not have to be a complete copy. Those control you want copied can show up from the group with backgroundbehavior set to true. Other controls can be placed on whatever cards you want, and as long as they are not part of a background group, they will be just on that card. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ban Nguyen Sent: Monday, July 25, 2005 2:55 PM To: How to use Revolution Subject: RE: how to set the size of the card smaller than the size ofthestack > Does anyone know how to set the size of the card smaller than the size > of the stack. When I create a new card in a stack, the card is the same > size as the stack. I want its size smaller If the card was smaller than the stack, what would you expect to see beyond the borders of the card? *Something* has to be there. > Here is the problem: every time I create a new card, I have to copy all > the graphics from the first card and paste into the new card (I want all > card have the same look, just want to change the content) > > Is there any better way to do this ------------------------------------------- Yes -- group the items you want to appear on each card and set the group's background behavior property to true. --------------------------------------------- I want user still see the other buttons so they can click to go there _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From rjearp at hotmail.com Mon Jul 25 15:17:26 2005 From: rjearp at hotmail.com (Bob Earp) Date: Mon, 25 Jul 2005 12:17:26 -0700 Subject: altPlugIns Icons Message-ID: For anybody interested, I have uploaded a tiny stack to my user space (Bob Earp) that has 32 x 32 pixel icons for use with Chip's great altPlugIns tool for Flexible Learning's Scripters Scrapbook, Richard's RevNet and Eric's Color Picker and Resource Picker. It's called altPlugIns_icons.rev I certainly would not call these "professional" graphics, but they are a tad better than a whote question mark on a blue background ;-) Many thanks to an absolutely fantastic developer community and all of the support you willingly give on an hourly basis. best, Bob... PS, Eric, I have yet to find a problem running your tools with Chip's toolbar except for all of your bugs of course....................... just kidding about the bugs, the tools are great !! _________________________________________________________________ Powerful Parental Controls Let your child discover the best the Internet has to offer. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSN? Premium right now and get the first two months FREE*. From ambassador at fourthworld.com Mon Jul 25 15:21:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 12:21:19 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> References: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> Message-ID: <42E53BAF.7000008@fourthworld.com> Dan Shafer wrote: > On Jul 25, 2005, at 11:36 AM, Timothy Miller wrote: >> It still seems to me that it just wouldn't be that hard or expensive >> to make it a whole lot better > > > Speaking as someone who's written a few words of documentation over the > decades.... > > It is a LOT harder and more expensive than you think to make it a whole > lot better. Maybe there's a third way, at least to edge things forward at minimal cost. With more than 3,000 pages of content, most of what anyone needs to get started is in there somewhere. It's the "somewhere", the finding of things, that seems to be the most common problem. Better indexing would help, but Search is only part of a complete breakfast. I wonder to what degree simply changing the taxonomy might help people get to what they need without restoring to Search at all? The Dictionary is straightforward enough, but I can never seem to confidently guess whether something is covered under Objects or Topics. For example, there's a topic called "Control Structures" in Objects, even though a control structure is not an object. A revised taxonomy could be done in just a couple days, and whether or not it proves a panacea it would certainly be a big step forward. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Mon Jul 25 15:26:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 12:26:14 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: <1699756248.20050725121242@ahsoftware.net> References: <42E52523.80908@fourthworld.com> <1699756248.20050725121242@ahsoftware.net> Message-ID: <42E53CD6.3080702@fourthworld.com> Mark Wieder wrote: > Richard- > > Monday, July 25, 2005, 10:45:07 AM, you wrote: > > RG> The initial draft of ECMI is available in the Files section of that > RG> group. Tools for authors to help set up and manage those properties are > RG> in development by Eric, Ken, and myself, and should be available before > RG> the draft is finalized. > > But, as I've pointed out before, keeping the ECMI as a private > document hardly qualifies it as a "standard". One really shouldn't > have to join the group to be able to read it. I agree wholeheartedly. While we have no control over the requirements Yahoo Groups has for file access, as I've written before we will have a mirror of the files at revJournal for tools authors who want to review them without joining the discussion. The RIP mirror at revJournal.com should be available as soon as I ship a critical app for a client. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdan at danshafer.com Mon Jul 25 15:26:41 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 12:26:41 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <323460B9-13F8-4049-B4EB-3FCD433A9277@writeme.com> References: <323460B9-13F8-4049-B4EB-3FCD433A9277@writeme.com> Message-ID: <86F9CBDA-11CE-4E76-AD10-0209C05A368E@danshafer.com> Back in early 2002, Geoff Canyon (who hasn't been seen around these parts in a while) started a Rev Docs Wiki. He exported all the docs to an XML format as I recall and populated the Wiki with them as starting points. It was met with a resounding thud. I'm sending Geoff a note to see if he's still got the original stuff around (the site is dead) and whether he'd be willing to share that as a starting point. I would be happy to step up to the plate and get something like this kick-started and at least help lead the effort. I can supply a hosting place for it. But I'm not sure this is an idea whose time has yet come. Would it get lots of use and update? WOuld RR support it in some meaningful ways? On Jul 25, 2005, at 11:59 AM, Dennis Brown wrote: > Tim, > > I have also posted in the past about the Docs merits and shortfalls > and also suggested a wiki like you did. A wiki would be great for > fleshing out the docs in depth. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From keith at vortex.co.uk Mon Jul 25 15:35:08 2005 From: keith at vortex.co.uk (keith) Date: Mon, 25 Jul 2005 20:35:08 +0100 Subject: array info request (was: Re: Rant Re Rev Documentation) In-Reply-To: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> Message-ID: Sometime around 25/7/05 (at 13:40 -0400) Lynch, Jonathan said: >Custom properties and custom property sets should have 1-word names. > >Somewhere in the docs it says otherwise, but having a space in the name >of a custom property caused me trouble at one point, which was fixed >when I made sure it just had a single-word name. That's no problem, I name properties in that way out of habit, and I have one eye on using MySQL at some point in the future. Sticking to single-word names is one of the basics for working with MySQL. (So basic that even *I* know about it! ;-) >The internal order in which keys are stored in a custom prop is not >sorted alphabetically Oh boy... >so, if you need to search in order, you might be >better off doing something like this: > >Set the custompropertyset of me to "scheduledItems" >Put the customkeys of me into tKeys >Sort tKeys >Repeat for each line L in tKeys > If the scheduleditems[L] of me contains "my search string" then > Do whatever it needs to do > End if >End repeat I'll experiment. Thanks very much for this heads-up, it could well have prevented me from nose-diving into the weeds! Any other comments will be extremely welcome if anyone has the time and energy to add 'em. k From eric.chatonet at sosmartsoftware.com Mon Jul 25 15:38:11 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 25 Jul 2005 21:38:11 +0200 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: <42E52523.80908@fourthworld.com> References: <42E52523.80908@fourthworld.com> Message-ID: <06AED603-D787-4514-BBF3-DC652871DFAE@sosmartsoftware.com> Hi Richard and Stephen, I agree Stephen wishes: a fully interoperability between all tools. I agree Richard meaningful remarks. I work with all for that happens... Just wait a moment... It's a hard work... which combines specs, psychology and a perceptive crystal ball :-) Best Regards from Paris, Eric Chatonet. Le 25 juil. 05 ? 19:45, Richard Gaskin a ?crit : > Stephen Barncard wrote: > >> Why not make your plugs compatible with Chipp's Alt Bar, since you >> don't have a 'bar' of your own? >> > ... > >> There really is no 'architecture'. they're still just plugins. >> > > Yet they require modification to work there. > > And that would be the case with devolution too, if you wanted them > automatically updated. And with any other toolkit out there which > could provide support for other people's tools. > > Interoperability between plugins can be very valuable, but it would > be combersome for me to require that others add properties and > objects just to work with mine, and then to add similar but > differently-named properties to work with Chipp's, and similar but > differently-named properties to work with Eric's, and so on with > every new toolkit that comes along. > > Could there be a single set of conventions which could be used by > all plugin authors to allow interoperability among all toolkits? > > That's the central question of the Rev Interoperability Group: > > > As announced in Malta last year and explained in greater detail at > RevCon West last month, RIP is an open working group for arriving > at common solutions for things most of us are doing but had been > doing differently from one another. Everything the group > recommends is inherently optional and extensible, so one can adopt > them or not to the degree that they want their tools and toolkits > to work well with those from other authors and still provide any > additional functionality unique to their toolkit with no penalty. > > The first deliverable from the RIP working group is the Edinburgh > Core Metadata Initiative (ECMI). Modelled largely on the popular > Dublin Core Metadata Initiative (but with a geographic reference to > our friends at RunRev ), ECMI provides a set of conventions fort > custom properties which support a wide range of common tool and > project management tasks, including version control, automated > updating, and more. > > Chipp has made contributions to the group, and Eric, Ken, Paul, > myself, and others are in the process of updating our tools to use > these conventions. > > The initial draft of ECMI is available in the Files section of that > group. Tools for authors to help set up and manage those > properties are in development by Eric, Ken, and myself, and should > be available before the draft is finalized. > > The group is open to participation by anyone who has an interest in > making Rev tools for others. Feel free to join in the discussion > there. > > -- > Richard Gaskin > Managing Editor, revJournal ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From see3d at writeme.com Mon Jul 25 15:38:41 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 15:38:41 -0400 Subject: array info request (new thread) In-Reply-To: <64878EF567131D4596246171F75FD4A97445FE@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A97445FE@m-epo-1.epo.cdc.gov> Message-ID: Jonathan, I can see why I have not had a problem. I only set the customPropertySet in order to create a set or play with the keys. I always set it back to empty immediately after (default) Then I access the custom property only using array notation mySet ["this and that words"] I continue to access normal single custom properties as if no sets exist. Using this method, I can keep everything straight in my mind, otherwise it can get confusing. However, it seems to me that what you did should have worked. Did you BZ this? Dennis On Jul 25, 2005, at 3:07 PM, Lynch, Jonathan wrote: > I just tested this again, and the same problem shows up... > > Try clicking a button with this script: > > On mouseup > Set the custompropertyset of this stack to "my Set" > Set the myProp of this stack to "hello" > End mouseup > > Then go look at the custom properties of the stack. When I do this, I > have a custom property named "myProp" listed under the custom property > set named "my set" - but I also have a custom property named myProp > listed under the default custom property set. The first time I > click the > button, "hello" is put in the myProp in the default set, and then the > second time I click the button, "hello" is put in myProp in "my set". > > Weird stuff, but it goes away if the custompropertyset just has a > one-word name. > > Besides, you need a one-word name if you are going to access it with > array notation: put mySet["myProp"] into field "my field" > From ambassador at fourthworld.com Mon Jul 25 15:39:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 12:39:43 -0700 Subject: array info request In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> Message-ID: <42E53FFF.7090604@fourthworld.com> keith wrote: >> The internal order in which keys are stored in a custom prop is not >> sorted alphabetically > > Oh boy... It's often not so bad. Associative arrays are often addressed by the key name, so sequential order wouldn't affect that one way or another. If you need sequential access you can use numeric keys. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Mon Jul 25 15:55:12 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Jul 2005 12:55:12 -0700 Subject: ECMI In-Reply-To: <42E53CD6.3080702@fourthworld.com> References: <42E52523.80908@fourthworld.com> <1699756248.20050725121242@ahsoftware.net> <42E53CD6.3080702@fourthworld.com> Message-ID: <7012306025.20050725125512@ahsoftware.net> Richard- Monday, July 25, 2005, 12:26:14 PM, you wrote: RG> I agree wholeheartedly. While we have no control over the requirements RG> Yahoo Groups has for file access, as I've written before we will have a That's interesting. In the past Yahoo allowed this control to the list owner. Has that changed? -- -Mark Wieder mwieder at ahsoftware.net From revolution at derbrill.de Mon Jul 25 15:53:38 2005 From: revolution at derbrill.de (Malte Brill) Date: Mon, 25 Jul 2005 21:53:38 +0200 Subject: Rev CGI argumets for ISP In-Reply-To: <20050725182640.96204824D92@mail.runrev.com> Message-ID: Thanks for your replies. That is a good starting point. What I am exactly after is some kind of pros and cons list that goes into detail on stability and security. Maybe some ISPs experiences things that went good or wrong. Perhaps a list with succesfull uses of revCGI. Jaque wrote: >The good part is that you don't have to know ahead of time. The CGI >script will error and then you check the error log. The missing >libraries will be listed there, so all you have to do is holler at the >ISP and tell them to get those installed. This is interesting. Where is the error log stored? Will I have access to it? Or is it something only the ISP will see. Thanks, Malte ------------------------------------------------------- ArcadeEngine - prepare to WOW your audience within minutes http://www.runrev.com/section/revselect/arcadeengine http://www.derbrill.com/arcadeengine/forum From dave at realsoftware.com Mon Jul 25 15:55:08 2005 From: dave at realsoftware.com (David Grogono) Date: Mon, 25 Jul 2005 14:55:08 -0500 Subject: Why choose Revolution In-Reply-To: <20050723200253.EE125824DB7@mail.runrev.com> References: <20050723200253.EE125824DB7@mail.runrev.com> Message-ID: <42A3009F-8359-4A39-855F-4661C8EB7F83@realsoftware.com> On Jul 23, 2005, at 3:02 PM, Dan Shafer wrote: > First, understand my comments about RealBASIC apply to Version 5.5. I > have not looked at RB2005. I spent a fair amount of time looking at > RB vs. Rev before I made the commitment to Rev about two years ago > now. > > That said, I believe you'll find creating Windows apps on OS X much > easier and more direct with Rev than with RB. Rev's IDE runs on > Windows so you can, with the right license, debug, test and fix your > apps directly on Windows. Last time I looked, RB lets you *deploy* an > app on Windows but if it breaks, you have to go back to the Mac to > fix it and then re-deploy it. My guess is that would become tiresome > and inefficient in a real hurry. Hi Dan - Since version 5.1 (April 2003), REALbasic has provided a Windows version of the IDE. REALbasic also offers remote debugging which allows one to easily test and/or debug a project on another platform without the hassle of moving the source code. >> - I suppose that maturity is not a problem for Mac, but what about >> Windows and Linux? > > See earlier comments re windows. Linux is farther along on Rev than > on RB by quite a but but frankly neither tool does all that good a > job there from what my limited testing and listening to this list > reveals. If Linux support is important to Jose then he should evaluate the latest version of both products. Best regards, David -- David Grogono REALbasic Product Manager dave at realsoftware.com www.realsoftware.com From keith at vortex.co.uk Mon Jul 25 16:15:38 2005 From: keith at vortex.co.uk (keith) Date: Mon, 25 Jul 2005 21:15:38 +0100 Subject: array info request In-Reply-To: <42E53FFF.7090604@fourthworld.com> References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> <42E53FFF.7090604@fourthworld.com> Message-ID: >>>The internal order in which keys are stored in a custom prop is not >>>sorted alphabetically >>Oh boy... >It's often not so bad. Associative arrays are often addressed by the >key name, so sequential order wouldn't affect that one way or >another. > >If you need sequential access you can use numeric keys. Ermm... :-) Okay, in my state of blissful ignorance I had assumed that arrays were effectively arranged in a spreadsheet-like manner. The array name is the spreadsheet (in this way of thinking), the keys are like a set of column headings, and the elements are the bits of data in each cell. I hope I'm not too off-target here! Anyway, an example of data in this layout, assuming it isn't just bonkers: Record Title ISBN Author Editor Comments 1 ABC 123 Tim Tom Lots of blahblah... 2 House 345 Mick Mark Different blahblah... Can I extract every record number and title in order to search for just titles? (I'm imagining that I'd need to know which record ID a found item was in to be able to pull the full record.) The rough idea in my head right now is to store the data in an array in a project: * People read it, showing one record at a time by either clicking through sequentially or by searching for specific things. The elements from that record are retrieved from the array and put into the right fields as each record is shown. * If someone wants to edit a record a flag is set in its part of the array so others can't do the same to that record. When editing is done, the different fields are written back to their respective elements in the array. * New records are made by writing new 'lines' in the array. They are then available for others to come across as they browse the data collection. In the opinion of those that have tried this sort of thing and/or worked with arrays, is this a moderately sensible approach? the ever-learning k (who's wife is waiting for a magic solution to the problem. Doh! :-) From eric.chatonet at sosmartsoftware.com Mon Jul 25 16:22:04 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 25 Jul 2005 22:22:04 +0200 Subject: how to set the size of the card smaller than the size of the stack In-Reply-To: References: Message-ID: Hi Ban, You might be interested in "Managing card dimensions", a simple tutorial available trough Tutorials Picker. Best Regards from Paris, Eric Chatonet. PS. Tutorials Picker can be downloaded from my website below. Le 25 juil. 05 ? 20:38, Ban Nguyen a ?crit : > Does anyone know how to set the size of the card smaller than the size > of the stack. When I create a new card in a stack, the card is the > same > size as the stack. I want its size smaller ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From bnz2 at cdc.gov Mon Jul 25 16:23:30 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 16:23:30 -0400 Subject: array info request Message-ID: <64878EF567131D4596246171F75FD4A97445FF@m-epo-1.epo.cdc.gov> In my opinion, the easiest way to do what you want is to have a separate customproperty set for each column. You can access the records as: Record[1], title[1], ISBN[1] etc... You can also do something like: myRecords[Record,1] myRecords[title,1] etc... if you want to think of it as a multidimensional array. I just think the first method winds up being easier, quicker, and less confusing. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of keith Sent: Monday, July 25, 2005 4:16 PM To: How to use Revolution Subject: Re: array info request >>>The internal order in which keys are stored in a custom prop is not >>>sorted alphabetically >>Oh boy... >It's often not so bad. Associative arrays are often addressed by the >key name, so sequential order wouldn't affect that one way or >another. > >If you need sequential access you can use numeric keys. Ermm... :-) Okay, in my state of blissful ignorance I had assumed that arrays were effectively arranged in a spreadsheet-like manner. The array name is the spreadsheet (in this way of thinking), the keys are like a set of column headings, and the elements are the bits of data in each cell. I hope I'm not too off-target here! Anyway, an example of data in this layout, assuming it isn't just bonkers: Record Title ISBN Author Editor Comments 1 ABC 123 Tim Tom Lots of blahblah... 2 House 345 Mick Mark Different blahblah... Can I extract every record number and title in order to search for just titles? (I'm imagining that I'd need to know which record ID a found item was in to be able to pull the full record.) The rough idea in my head right now is to store the data in an array in a project: * People read it, showing one record at a time by either clicking through sequentially or by searching for specific things. The elements from that record are retrieved from the array and put into the right fields as each record is shown. * If someone wants to edit a record a flag is set in its part of the array so others can't do the same to that record. When editing is done, the different fields are written back to their respective elements in the array. * New records are made by writing new 'lines' in the array. They are then available for others to come across as they browse the data collection. In the opinion of those that have tried this sort of thing and/or worked with arrays, is this a moderately sensible approach? the ever-learning k (who's wife is waiting for a magic solution to the problem. Doh! :-) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From wlists at fireworksmm.com Mon Jul 25 16:29:34 2005 From: wlists at fireworksmm.com (Wally Rodriguez) Date: Mon, 25 Jul 2005 16:29:34 -0400 Subject: Rev CGI argumets for ISP In-Reply-To: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> Message-ID: Could someone point me in the direction of these getting started pages? I've been working on a project that will require CGI's and rev might just be the easiest way for me to get this done. Thanks!! On Jul 23, 2005, at 5:25 PM, Malte Brill wrote: > Hi list, > > I?ve talked to my ISP if it was possible to use rev CGI on their > servers. They are potentially interested to allow it, but need more > technical details on stability, security, etc. . So if there is > some kind of FAQ on Rev CGIs somewhere or some articles (besides > the excellent getting started pages by Jaque) I would be glad if > you let me know. > > Cheers, > > Malte > From revdan at danshafer.com Mon Jul 25 16:34:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 13:34:00 -0700 Subject: Why choose Revolution In-Reply-To: <42A3009F-8359-4A39-855F-4661C8EB7F83@realsoftware.com> References: <20050723200253.EE125824DB7@mail.runrev.com> <42A3009F-8359-4A39-855F-4661C8EB7F83@realsoftware.com> Message-ID: <66C21550-AC78-4AE9-A97B-969CF937786F@danshafer.com> Hey, David.... Thanks for jumping in with the correction. Sorry I misstated the case vis a vis Windows platform debugging and deployment. Dan On Jul 25, 2005, at 12:55 PM, David Grogono wrote: > On Jul 23, 2005, at 3:02 PM, Dan Shafer wrote: > > >> First, understand my comments about RealBASIC apply to Version 5.5. I >> have not looked at RB2005. I spent a fair amount of time looking at >> RB vs. Rev before I made the commitment to Rev about two years ago >> now. >> >> That said, I believe you'll find creating Windows apps on OS X much >> easier and more direct with Rev than with RB. Rev's IDE runs on >> Windows so you can, with the right license, debug, test and fix your >> apps directly on Windows. Last time I looked, RB lets you *deploy* an >> app on Windows but if it breaks, you have to go back to the Mac to >> fix it and then re-deploy it. My guess is that would become tiresome >> and inefficient in a real hurry. >> > > Hi Dan - > > Since version 5.1 (April 2003), REALbasic has provided a Windows > version of the IDE. REALbasic also offers remote debugging which > allows one to easily test and/or debug a project on another > platform without the hassle of moving the source code. > > >>> - I suppose that maturity is not a problem for Mac, but what about >>> Windows and Linux? >>> >> >> See earlier comments re windows. Linux is farther along on Rev than >> on RB by quite a but but frankly neither tool does all that good a >> job there from what my limited testing and listening to this list >> reveals. >> > > If Linux support is important to Jose then he should evaluate the > latest version of both products. > > Best regards, David > -- > David Grogono > REALbasic Product Manager > dave at realsoftware.com > www.realsoftware.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From bann at sunncomm.com Mon Jul 25 16:42:22 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 13:42:22 -0700 Subject: cannot import a MS word file into field Message-ID: Hello everyone, I have a document MS word The document has text and several images. How can I import this doc into the field? I used the property inspector but it did not work Thank you From ambassador at fourthworld.com Mon Jul 25 16:46:11 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 13:46:11 -0700 Subject: ECMI In-Reply-To: <7012306025.20050725125512@ahsoftware.net> References: <42E52523.80908@fourthworld.com> <1699756248.20050725121242@ahsoftware.net> <42E53CD6.3080702@fourthworld.com> <7012306025.20050725125512@ahsoftware.net> Message-ID: <42E54F93.8040001@fourthworld.com> Mark Wieder wrote: > Richard- > > Monday, July 25, 2005, 12:26:14 PM, you wrote: > > RG> I agree wholeheartedly. While we have no control over the requirements > RG> Yahoo Groups has for file access, as I've written before we will have a > > That's interesting. In the past Yahoo allowed this control to the list > owner. Has that changed? I don't know. I don't recall having seen anything different, but I've only been managing groups at Yahoo for a few years, since the acquisition from eGroups. I don't recall what the eGroups options were. These are the options Yahoo provides me: - Members (upload/modify/download files) <- current setting - Limited (members can download files; moderators can upload/modify/download files) - Moderators only (upload/modify/download files) - Off (no one can access the Files feature) These appear to be the same for all of the Yahoo Groups I have admin access for. Which Yahoo Groups have you managed which allow another option? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Mon Jul 25 17:23:24 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 14:23:24 -0700 Subject: Rant Re Rev Documentation In-Reply-To: References: Message-ID: <42E5584C.1030000@fourthworld.com> Hello Todd - Well said , copied in its entirely below as I feel it's worth a second read. In addition to all of the good points you mention, a focus on pros makes both tools more desirable. But the reverse is not true, and often results in the opposite effect of having each less desirable to both camps. This is not to suggest that RunRev abandon the "inventive user" at all, but rather to simply have some follow-through on the product line differentiation started with renaming Revolution Express as DreamCard. Today the hobbyist tool and the pro tool are essentially the same, the differences not being readily apparent until you dig deeper under the hood; simply booting them makes them appear identical. For the hobbyists there is the lack of guidance that HyperCard provided with its Home stack and wealth of prefab parts. For the pro there is the risk of confusing the two and not knowing why the tool is so limited. Indeed one reviewer has already made that mistake, and I can't put the blame wholly on the reviewer for downloading the wrong version of two identical products. Hobbyists may respond more to ease of use, but everyone wants professional results. The first-run experience should reflect this, so that booting DreamCard leaves you with a feeling of "friendly", and booting Rev leaves you with a feeling of "studly" (or "powerful", or "professional" or whatever less sexist terms appeals). :) By making DreamCard more well suited for its intended audience, splitting the web site into two more distinct branches to reinforce this difference, and putting a lot more discussion of professional results in the Revolution pages, the company can position the Pro product for what it is, allowing it to sell itself and sell DreamCard more effectively. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev Todd Geist wrote: > It was me who made this statement at RevCon so let me elaborate and chime in > On 7/25/05 12:30 AM, "Chipp Walters" wrote: > > >>I believe someone at the RevCon West conference stood up and said what >>was really needed was a sort of 'application framework guide.' A >>book/website/wiki/whatever which explained step-by-step how to go about >>building basic programs. I agree. on what others have said... > > > Like many others here have pointed out there are two potential markets for > Rev to grow into. The inventive user and the professional developer. Very > Very Very different markets. I make my living as a FileMaker developer so I > understand this schism well and I for one would rather see more "pros" > climbing on board. They add more skill to to the community and they don't > drive down prices and they don't give the tool a bad name in IT departments. > > I know that may offend some people out there. I am sorry, but realize that > this actually occurs. A lot of IT guys blame the tool not the guy who used > it incorrectly. I for one have lost work because of it. > > Anyway I was pushing for more help for the pro who is looking at Rev. The > pro knows that completing a successful project is as much about deployment, > support, version control and upgrades as it is about whatever task the tool > is being built for. A pro also knows that almost every application must do > a few things like deal with user preferences and data storage etc. > > Too me this "application architecture" or "application framework" is as > important to me as the little technical bits that are covered in the docs, > maybe more so. Because once I get this I can set about building whatever it > is I need to build, learning all the little pieces as I go.When I am done > hopefully I will have something resembling an application that can be > maintained extended and supported. NOT a cobbled together plate of > spaghetti code that is close to imploding under it's own in efficiencies. > > This Application Architecture is what I had a hard time digging up when I > started looking at Rev. It was clearly a powerful tool but I didn't the > first thing about producing something of value with it. I had to go RevCon > to begin to figure this out. It was well worth it but I don't live that far > a way so I could drive. > > I think a half dozen examples representing the most common Commercial > Applications Models (apps that are bringing in the most money for the most > people) would go along way towards bring in new professional talent into the > Revolution. > > Then I could say, "OK I need to build a multi-user database app So let me > start with the "multi-user database example and go from there". Or "my > client needs an internet app with a rich interface, so let me start with the > internet app example" > > You want to see any product take off, teach people how they can make, ACTUAL > REAL CASH using it! > > Goodnight all. Thanks for listening! > > Todd From stephenREVOLUTION at barncard.com Mon Jul 25 17:24:16 2005 From: stephenREVOLUTION at barncard.com (Stephen Barncard) Date: Mon, 25 Jul 2005 14:24:16 -0700 Subject: array info request (new thread) In-Reply-To: References: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> Message-ID: I've found it's better to have one-word names for EVERYTHING as a general rule and use underscores and dashes to separate words. I do it by habit now. >Jonathan, > >This is interesting about the 1-word names. I have been using >multiword names without any problems. > >Dennis > >> >>Somewhere in the docs it says otherwise, but having a space in the name >>of a custom property caused me trouble at one point, which was fixed >>when I made sure it just had a single-word name. From jhurley at infostations.com Mon Jul 25 17:25:48 2005 From: jhurley at infostations.com (Jim Hurley) Date: Mon, 25 Jul 2005 14:25:48 -0700 Subject: Turtle Graphics In-Reply-To: <20050725182640.64986824D90@mail.runrev.com> References: <20050725182640.64986824D90@mail.runrev.com> Message-ID: > >Message: 2 >Date: Mon, 25 Jul 2005 10:13:02 -0700 (PDT) >From: Alejandro Tejada >Subject: Turtle Graphics >To: use-revolution at lists.runrev.com >Message-ID: <20050725171302.70713.qmail at web40521.mail.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Hi Jim, > >Could you make an option to draw the Turtle Graphics >with vectors graphics, not only bitmaps? > >In this way, they could be exported and edited >in vector drawing applications like Flash, >FreeHand, Ilustrator, etc. > >Thanks in advance, > >al > >on Mon, 25 Jul 2005 >Jim Hurley wrote: > >>I have in mind is illustrated in the following >>Turtle Graphics "home stack": > >>go stack url >>"http://home.infostations.net/jhurley/TurtleGraphics.rev" > >> After you have punched all the buttons you should >> know whether TG, as an addendum to Transcript, would > > > be of any use to you. > Al, I have several flavors of TG. Only the above cited TurtleGraphics.rev is bit map; the rest are all vector based. And are all grist for you splendid "Export-to-Illustrator" stack. See my web site: http://home.infostations.net/jhurley/ Or just go stack url "http://home.infostations.net/jhurley/StopTurtles.rev" (The StopTurtles illustrates a Jack-in-the-box example that, I claim, can't be done without TG or the equivalent tools.) or go stack url "http://home.infostations.net/jhurley/TellTurtles.rev" (Illustrates how to draw a clock face and start it running.) or go stack url "http://home.infostations.net/jhurley/ControlTurtles.rev" (Illustrates how to make any control receptive to the TG vocabulary.) These are all vector based. My web site discusses the various uses. Jim From ambassador at fourthworld.com Mon Jul 25 17:26:14 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 14:26:14 -0700 Subject: array info request (new thread) In-Reply-To: References: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> Message-ID: <42E558F6.5010601@fourthworld.com> Stephen Barncard wrote: > I've found it's better to have one-word names for EVERYTHING as a > general rule and use underscores and dashes to separate words. I do it Generally good advice, and easy to follow since Rev provides a label property for most objects in addition to its name. Extra bonus points: one-word names make it easy to copy with just a double-click. :) -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From bnz2 at cdc.gov Mon Jul 25 17:25:58 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 17:25:58 -0400 Subject: array info request (new thread) Message-ID: <64878EF567131D4596246171F75FD4A99680F2@m-epo-1.epo.cdc.gov> Dashes are dangerous too... -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Stephen Barncard Sent: Monday, July 25, 2005 5:24 PM To: How to use Revolution Subject: Re: array info request (new thread) I've found it's better to have one-word names for EVERYTHING as a general rule and use underscores and dashes to separate words. I do it by habit now. >Jonathan, > >This is interesting about the 1-word names. I have been using >multiword names without any problems. > >Dennis > >> >>Somewhere in the docs it says otherwise, but having a space in the name >>of a custom property caused me trouble at one point, which was fixed >>when I made sure it just had a single-word name. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bann at sunncomm.com Mon Jul 25 17:33:40 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 14:33:40 -0700 Subject: revPrintField problem Message-ID: Hello everyone, I am having a problem with revPrintField Here is the problem: I create a stack On the card, I create a text field (has a many lines of text), 5 images, then I group them and make scroll bar so user can scroll up and down to see the text and images (name the group as "myField") Then on the same card, I create a button called "print" and put this code into the print button: on mouseUp revPrintField the name of field "myField" end mouseUp This is the error I got when I click on "print": executing at 2:32:48 PM Type Chunk: no such object Object Button Line revPrintField the name of field "myField" Hint myField Has anyone went throught this situation? Please help From chipp at chipp.com Mon Jul 25 17:37:16 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 16:37:16 -0500 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: References: Message-ID: <42E55B8C.4010301@chipp.com> Hi Eric, Why don't you ping me offline and let me know what issues you are having. Even Constellation, Daniels & Mara's rewrite of an object browser and script editor, with all it's goings on, are altPlugin compatible, so I'd like to understand what you may be doing to create 'incompatibility' and perhaps offer a solution. Basically, all altPluginToolbar does, is just 'launch stacks.' Think of it as a stack launcher. best, Chipp Eric Chatonet wrote: > At first, I did not realised what it could mean... > To be inserted in the (great :-) AltPluginToolbar, other plugins have > to be compliant with Chipp's architecture. > Plugins from So Smart Software were not designed to be compliant with > Chipp's architecture. > So, I just want to warn anybody that such an idea (interesting at first > sight) can lead to many unexpected issues. From eric.chatonet at sosmartsoftware.com Mon Jul 25 17:38:56 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 25 Jul 2005 23:38:56 +0200 Subject: array info request (new thread) In-Reply-To: References: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> Message-ID: Hi Stepen, Le 25 juil. 05 ? 23:24, Stephen Barncard a ?crit : > I've found it's better to have one-word names for EVERYTHING as a > general rule and use underscores and dashes to separate words. I do > it by habit now. You are a good developer who always makes his work easier each day :-) Richard is right about double-click: it's the reason why I don't use underscores and dashes either... I prefer capitalise to make sense: ListCleanUp, DeleteUrl, etc. I should not say that... but, most of the time, 1-word names do not need to be quoted (multi-words have always to ;-) Bad and lazy habit anyway... that I don't use. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Mon Jul 25 17:39:35 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 14:39:35 -0700 Subject: Why choose Revolution In-Reply-To: <20050724114409.60FB.JVALLE@1234web.net> References: <20050723212634.60E8.JVALLE@1234web.net> <42E2AB9C.6050604@fourthworld.com> <20050724114409.60FB.JVALLE@1234web.net> Message-ID: <42E55C17.8070302@fourthworld.com> Hello Jose - > Richard, thanks for your help. > > Another question related to your article "Extending Message Path". > > You talk about Script Limits, could these limits be changed? and if is > not possible, what it means in terms of the application size/complexity? As has been written before, the script limits affect only the number of scripts that can be inserted into the message path dynamically at runtime; in a licensed development environment no such limits apply, so you can have tools galore that use front- and backscripts as needed without penalty. At runtime, you can have only 10 backscripts (and unfortunately Rev's full set of libraries currently occupy up to 8 of them, though I hope those will be concatenated in to a single backscript in the future; this was once a Bugzilla request that would take less than a day to implement, but I can find it now). But you can have 50 libraries, which for your needs are probably at least as useful and Rev takes none of those slots at runtime. As separate stacks, you can easily divide work up among multiple developers using libraries; I've done that a lot with contractors I've worked with, and these days most of my apps are driven by collections of reusable libraries. As Jacque pointed out, each script is "limited" to about 4GB; certainly plenty to let you do what you need (I pity the fingers that type 4GB of code ). And if you have an unusual app that truly needs more library and backscript slots (I haven't seen one yet but I suppose it's possible), Kevin at RunRev can negotiate a unique license for your needs on a case-by-case basis. For team development you may also want to check out Chipp Walters' nifty Magic Carpet, a tool to help manage check-in/check-out for stacks in small to medium teams with archiving, version control, and more, and it works on any standard FTP server with no specialized server configuration: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From janschenkel at yahoo.com Mon Jul 25 17:43:24 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 25 Jul 2005 14:43:24 -0700 (PDT) Subject: revPrintField problem In-Reply-To: Message-ID: <20050725214324.43777.qmail@web60519.mail.yahoo.com> --- Ban Nguyen wrote: > Hello everyone, > > > I am having a problem with revPrintField > > [snip] > > on mouseUp > revPrintField the name of field "myField" > end mouseUp > > This is the error I got when I click on "print": > > executing at 2:32:48 PM > Type Chunk: no such object > Object Button > Line revPrintField the name of field "myField" > Hint myField > Hi Ban, The revPrintField wants a long name or ID: -- on mouseUp revPrintField the long ID of field "MyField" end mouseUp -- Hope this helped, Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From chipp at chipp.com Mon Jul 25 17:43:16 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 16:43:16 -0500 Subject: Rant Re Rev Documentation In-Reply-To: <82AE402F-60BD-419D-95FF-0C0F23317CAB@conncoll.edu> References: <553C870D-6FBA-4C92-BD67-8F5385282E7E@danshafer.com> <82AE402F-60BD-419D-95FF-0C0F23317CAB@conncoll.edu> Message-ID: <42E55CF4.7040500@chipp.com> I just 'roll my own' print dialog boxes, which are cross-platform, have built in high quality 'Print Preview' and can print selected page ranges...so, IMO it's not a too 'glaring bug.' Dan and I have talked about creating an 'advanced printing ebook' with a library which would show how this is done. -Chipp Charles Hartman wrote: > It's not going to make me any more popular, but I have to say that this > seems like an example of the basic problem. It's a pretty glaring bug > -- as someone else pointed out, if you make the print dialog available, > you probably need to pay attention to what it says. From bnz2 at cdc.gov Mon Jul 25 17:45:26 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 17:45:26 -0400 Subject: Rant Re Rev Documentation Message-ID: <64878EF567131D4596246171F75FD4A99680F4@m-epo-1.epo.cdc.gov> Hi Chipp, Do you include printer selection in your print dialog? If so, did this require an external, or using Cscript.exe, or something like that? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp Walters Sent: Monday, July 25, 2005 5:43 PM To: How to use Revolution Subject: Re: Rant Re Rev Documentation I just 'roll my own' print dialog boxes, which are cross-platform, have built in high quality 'Print Preview' and can print selected page ranges...so, IMO it's not a too 'glaring bug.' Dan and I have talked about creating an 'advanced printing ebook' with a library which would show how this is done. -Chipp Charles Hartman wrote: > It's not going to make me any more popular, but I have to say that this > seems like an example of the basic problem. It's a pretty glaring bug > -- as someone else pointed out, if you make the print dialog available, > you probably need to pay attention to what it says. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bann at sunncomm.com Mon Jul 25 17:48:54 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 14:48:54 -0700 Subject: revPrintField problem Message-ID: > Hello everyone, > > > I am having a problem with revPrintField > > [snip] > > on mouseUp > revPrintField the name of field "myField" > end mouseUp > > This is the error I got when I click on "print": > > executing at 2:32:48 PM > Type Chunk: no such object > Object Button > Line revPrintField the name of field "myField" > Hint myField > --------------------------------------------------------------------- Hi Ban, The revPrintField wants a long name or ID: -- on mouseUp revPrintField the long ID of field "MyField" end mouseUp -- --------------------------------------------------------------------- I changed the field to a long name but still got the same error. The field does have an ID, I checked from property inspector ------------------------------------------------------------------------ From janschenkel at yahoo.com Mon Jul 25 17:50:54 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 25 Jul 2005 14:50:54 -0700 (PDT) Subject: array info request In-Reply-To: Message-ID: <20050725215054.29196.qmail@web60511.mail.yahoo.com> --- keith wrote: > Okay, in my state of blissful ignorance I had > assumed that arrays > were effectively arranged in a spreadsheet-like > manner. The array > name is the spreadsheet (in this way of thinking), > the keys are like > a set of column headings, and the elements are the > bits of data in > each cell. I hope I'm not too off-target here! > Anyway, an example of data in this layout, assuming > it isn't just bonkers: > > Record Title ISBN Author Editor Comments > 1 ABC 123 Tim Tom Lots of blahblah... > 2 House 345 Mick Mark Different > blahblah... > > Can I extract every record number and title in order > to search for > just titles? (I'm imagining that I'd need to know > which record ID a > found item was in to be able to pull the full > record.) > You can store your data into an array (or if you want to sve it more permanently, use a custompropertyset) and retrieve the data as: -- put "ABC" into tBooksArray["1,title"] put "123" into tBooksArray["2,ISBN"] -- Here's a trick to get a list of all the ID's: -- put the keys of tBooksArray into tKeys ## limit the keys to those that link to "title" filter tKeys with "*,title" ## now extract the ID's for each title repeat for each line tKey in tKeys put item 1 of tKey & return after tIDList end repeat ## now do whatever you want with the ID list -- > > The rough idea in my head right now is to store the > data in an array > in a project: > > * People read it, showing one record at a time by > either clicking > through sequentially or by searching for specific > things. The > elements from that record are retrieved from the > array and put into > the right fields as each record is shown. > > * If someone wants to edit a record a flag is set in > its part of the > array so others can't do the same to that record. > When editing is > done, the different fields are written back to their > respective > elements in the array. > > * New records are made by writing new 'lines' in the > array. They are > then available for others to come across as they > browse the data > collection. > > In the opinion of those that have tried this sort of > thing and/or > worked with arrays, is this a moderately sensible > approach? > > the ever-learning k > This is a sensible approach, though for storing the data, I suggest either using custom properties, ro saving the data into an SQL database. The latter will definitely help if you want to apply this in a multi-user situation. Then your editor stacks can leave the central storage up to the database. Hope this helped, Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From kray at sonsothunder.com Mon Jul 25 17:52:06 2005 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 25 Jul 2005 16:52:06 -0500 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: <1699756248.20050725121242@ahsoftware.net> Message-ID: On 7/25/05 2:12 PM, "Mark Wieder" wrote: > Richard- > > Monday, July 25, 2005, 10:45:07 AM, you wrote: > > RG> The initial draft of ECMI is available in the Files section of that > RG> group. Tools for authors to help set up and manage those properties are > RG> in development by Eric, Ken, and myself, and should be available before > RG> the draft is finalized. > > But, as I've pointed out before, keeping the ECMI as a private > document hardly qualifies it as a "standard". One really shouldn't > have to join the group to be able to read it. Sorry, Mark, but that is a weak argument, IMHO. It's not a private document if anyone can access it (which anyone can). And BTW, the purpose of the group is to help define the specification, which is necessary because it isn't fully solidified. If you don't want to help solidify the spec, then I guess you'll have to wait until it is made public. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From janschenkel at yahoo.com Mon Jul 25 17:53:31 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 25 Jul 2005 14:53:31 -0700 (PDT) Subject: revPrintField problem In-Reply-To: Message-ID: <20050725215331.66361.qmail@web60524.mail.yahoo.com> --- Ban Nguyen wrote: > > Hello everyone, > > > > > > I am having a problem with revPrintField > > > > [snip] > > > > on mouseUp > > revPrintField the name of field "myField" > > end mouseUp > > > > This is the error I got when I click on "print": > > > > executing at 2:32:48 PM > > Type Chunk: no such object > > Object Button > > Line revPrintField the name of field "myField" > > Hint myField > > > --------------------------------------------------------------------- > Hi Ban, > > The revPrintField wants a long name or ID: > -- > on mouseUp > revPrintField the long ID of field "MyField" > end mouseUp > -- > > --------------------------------------------------------------------- > > I changed the field to a long name but still got the > same error. The > field does have an ID, I checked from property > inspector > Bizarre. Does it help if you put parentheses ? -- on mouseUp revPrintField (the long ID of field "MyField") end mouseUp -- If that doesn't do it, it may not be able to find this field -- is it on the same card as the button ? Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From bnz2 at cdc.gov Mon Jul 25 17:58:22 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Mon, 25 Jul 2005 17:58:22 -0400 Subject: array info request Message-ID: <64878EF567131D4596246171F75FD4A9744600@m-epo-1.epo.cdc.gov> >The array > name is the spreadsheet (in this way of thinking), > the keys are like > a set of column headings, and the elements are the > bits of data in > each cell. Actually - the keys of a custom property set are like the elements of an array A custom property set can be thought of as the saved version of an array... The keys of a custom property set are the custom properties stored in that custom property set, the little boxes inside the big box - just like the elements of an array are the little boxes inside the big box of the array. From janschenkel at yahoo.com Mon Jul 25 17:59:56 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 25 Jul 2005 14:59:56 -0700 (PDT) Subject: cannot import a MS word file into field In-Reply-To: Message-ID: <20050725215956.759.qmail@web60512.mail.yahoo.com> --- Ban Nguyen wrote: > Hello everyone, > > I have a document MS word > > The document has text and several images. How can I > import this doc > into the field? > > I used the property inspector but it did not work > > Thank you > Hi Ban, While Revolution fields have a solid feature set, they are not a replacement for MS Word -- you cannot set the tabstops or alignment of each paragraph separately, there is no support for tables, etc. If your Word document doesn't require all that, you could try saving it as an HTML file, and then setting the htmlText of a field to the content of this file: -- on mouseUp answer file "Select an HTML file to import" if it is empty then exit mouseUp set the htmlText of field "HTML" to \ URL ("file:" & it) end mouseUp -- How much information this will carry over, is another question entirely, but it should get you somewhere. Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From bann at sunncomm.com Mon Jul 25 18:00:40 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Mon, 25 Jul 2005 15:00:40 -0700 Subject: revPrintField problem Message-ID: > > Hello everyone, > > > > > > I am having a problem with revPrintField > > > > [snip] > > > > on mouseUp > > revPrintField the name of field "myField" > > end mouseUp > > > > This is the error I got when I click on "print": > > > > executing at 2:32:48 PM > > Type Chunk: no such object > > Object Button > > Line revPrintField the name of field "myField" > > Hint myField > > > --------------------------------------------------------------------- > Hi Ban, > > The revPrintField wants a long name or ID: > -- > on mouseUp > revPrintField the long ID of field "MyField" > end mouseUp > -- > > --------------------------------------------------------------------- > > I changed the field to a long name but still got the > same error. The > field does have an ID, I checked from property > inspector > Bizarre. Does it help if you put parentheses ? -- on mouseUp revPrintField (the long ID of field "MyField") end mouseUp -- If that doesn't do it, it may not be able to find this field -- is it on the same card as the button ? ------------------------------------------------------ I did put the () but still got the same error ------------------------------------------------------ From see3d at writeme.com Mon Jul 25 18:04:18 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 18:04:18 -0400 Subject: array info request (new thread) In-Reply-To: <42E558F6.5010601@fourthworld.com> References: <1BDEC1C1-547E-4383-B4ED-F40C6EA8E2A1@writeme.com> <42E558F6.5010601@fourthworld.com> Message-ID: I only use multiword names as keys when I want to have a multi- dimensional array for a custom property. In essence I am just substituting a space for a comma because it is much easier to read the notation: customPropArray[varX&comma&varY] vs customPropArray[varX&&varY] The names are not really names but keys for the array made of multiple "names" or "numbers". In essence I am making up for the lack of multi-dimensional custom property arrays with the easiest notation. I would be happy to use an item cat operator like the && word cat operator if we had one -- instead of &comma& or &","&. Of course it would be better if the IDE just created a key for these the same way as the regular arrays and internally converted the syntax [x,y] to [x&","&y]. It is a mystery to me why they did not do this in the first place. It seems like they go to more work trying to explain why custom property arrays can't be used like ordinary arrays than the effort to just make them look like they work the same. Dennis On Jul 25, 2005, at 5:26 PM, Richard Gaskin wrote: > Stephen Barncard wrote: > >> I've found it's better to have one-word names for EVERYTHING as a >> general rule and use underscores and dashes to separate words. I >> do it >> > > Generally good advice, and easy to follow since Rev provides a > label property for most objects in addition to its name. > > Extra bonus points: one-word names make it easy to copy with just > a double-click. :) > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Jul 25 18:05:07 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 17:05:07 -0500 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> References: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> Message-ID: <42E56213.6010603@chipp.com> Dan Shafer wrote: > Designing and writing good docs is nearly as hard as designing and > writing good software. I beg to differ! How many software products/code libraries do you know of which don't even have documentation. Poor Xavier and his TAOO project is a great example, while he has told us some great ideas-- w/out *good* documentation, it's really hard to follow... (no disrespect intended, X, I still love you;-). In fact, without good documentation, much software is rendered unusable. A case might even be made that without the books authored by the '3 Dans,' Hypercard may have never been adopted so widely. best, Chipp From mwieder at ahsoftware.net Mon Jul 25 18:13:24 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Jul 2005 15:13:24 -0700 Subject: array info request In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> <42E53FFF.7090604@fourthworld.com> Message-ID: <8220598509.20050725151324@ahsoftware.net> keith- Monday, July 25, 2005, 1:15:38 PM, you wrote: k> Ermm... :-) k> Okay, in my state of blissful ignorance I had assumed that arrays k> were effectively arranged in a spreadsheet-like manner. The array k> name is the spreadsheet (in this way of thinking), the keys are like k> a set of column headings, and the elements are the bits of data in k> each cell. I hope I'm not too off-target here! k> Anyway, an example of data in this layout, assuming it isn't just bonkers: k> Record Title ISBN Author Editor Comments k> 1 ABC 123 Tim Tom Lots of blahblah... k> 2 House 345 Mick Mark Different blahblah... k> Can I extract every record number and title in order to search for k> just titles? (I'm imagining that I'd need to know which record ID a k> found item was in to be able to pull the full record.) Here's an example of one way to do this - there are other ways as well. Do you actually need a Record number, or is just a holdover from spreadsheet-thinking? Here I'm using the ISBN as the index, assuming that it's unique for each record. (untested) local tISBN, tKeys, tBooks -- do something like this for each record put 123 into tISBN put "ABC" into tBooks[tISBN,"title"] put "Tim" into tBooks[tISBN,"author"] put "Tom" into tBooks[tISBN,"editor"] put "Lots of blahblah" into tBooks[tISBN,"comments"] -- now to find a title in the array: -- the title to search for is in strSearchString put empty into tFoundTitle put the keys of tBooks into tKeys -- now you have a list of the array indices -- you're only interested in titles right now filter tKeys with "*title" repeat for each line tLine in tKeys if strSearchString is in tBooks[tLine] then -- item 1 of the index is the ISBN put item 1 of tLine into tFoundTitle exit repeat end if end repeat -- now tFoundTitle contains the found ISBN or is empty. k> The rough idea in my head right now is to store the data in an array k> in a project: You're bordering *very* close to where you'd be better off using a database than trying to store things in arrays. Keep in mind that arrays are temporary. If you need persistent storage and you're not using a database then you'll need to store the arrays in custom variables in a substack: set the books of mySubStack to tBooks -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Jul 25 18:16:53 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2005 17:16:53 -0500 Subject: Rev CGI argumets for ISP In-Reply-To: References: Message-ID: <42E564D5.9060802@hyperactivesw.com> Malte Brill wrote: > Thanks for your replies. That is a good starting point. What I am > exactly after is some kind of pros and cons list that goes into detail > on stability and security. Maybe some ISPs experiences things that went > good or wrong. Perhaps a list with succesfull uses of revCGI. In a discussion about this a few years ago, Scott Raney said that he couldn't think of any insecurities with CGIs that were innate to the engine. There aren't any loopholes per se; the problems would be only in your scripts. Your CGI scripts should not parse parameters indisciminately -- instead, they need to check that params are correct and only act if that is the case. In other words, your scripts might allow indiscriminate access, but the engine doesn't. > Jaque wrote: > > >The good part is that you don't have to know ahead of time. The CGI > >script will error and then you check the error log. The missing > >libraries will be listed there, so all you have to do is holler at the > >ISP and tell them to get those installed. > > This is interesting. Where is the error log stored? Will I have access > to it? Or is it something only the ISP will see. It depends on your ISP, but every one I've ever had gave me access to the error log. My ISP has an entry in my control panel online where I can see it. You'll have to ask where your provider keeps it, but I am fairly sure you can have access. It is a normal part of debugging a web site. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Jul 25 18:17:47 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2005 17:17:47 -0500 Subject: Rev CGI argumets for ISP In-Reply-To: References: <5B7D86EE-FBC0-11D9-94EE-0030659A795C@derbrill.de> Message-ID: <42E5650B.2070502@hyperactivesw.com> Wally Rodriguez wrote: > Could someone point me in the direction of these getting started pages? > I've been working on a project that will require CGI's and rev might > just be the easiest way for me to get this done. Here you go: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bill at bluewatermaritime.com Mon Jul 25 17:55:04 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Jul 2005 17:55:04 -0400 Subject: PRINT DIALOGUES In-Reply-To: <64878EF567131D4596246171F75FD4A99680F4@m-epo-1.epo.cdc.gov> Message-ID: Chip: Do you have examples of how "to roll your own" print dialogues? I could perhaps take them apart and figure how to do what I want to do which is print without print dilogues but with custom and different settings for each print request. Thanks in advance! Bill On 7/25/05 5:45 PM, "Lynch, Jonathan" wrote: > Hi Chipp, > > Do you include printer selection in your print dialog? If so, did this > require an external, or using Cscript.exe, or something like that? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp > Walters > Sent: Monday, July 25, 2005 5:43 PM > To: How to use Revolution > Subject: Re: Rant Re Rev Documentation > > I just 'roll my own' print dialog boxes, which are cross-platform, have > built in high quality 'Print Preview' and can print selected page > ranges...so, IMO it's not a too 'glaring bug.' > > Dan and I have talked about creating an 'advanced printing ebook' with a > > library which would show how this is done. > > > -Chipp > > Charles Hartman wrote: >> It's not going to make me any more popular, but I have to say that > this >> seems like an example of the basic problem. It's a pretty glaring bug > >> -- as someone else pointed out, if you make the print dialog > available, >> you probably need to pay attention to what it says. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From scott at tactilemedia.com Mon Jul 25 18:19:52 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Jul 2005 15:19:52 -0700 Subject: array info request (new thread) In-Reply-To: Message-ID: Recently, Stephen Barncard wrote: > I've found it's better to have one-word names for EVERYTHING as a > general rule and use underscores and dashes to separate words. I do > it by habit now. Don't get in the habit of using dashes (as opposed to underscores) -- Rev will often try evaluate a dash as subtraction and you may run into script errors because of this. Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From eric.chatonet at sosmartsoftware.com Mon Jul 25 18:22:59 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 00:22:59 +0200 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E56213.6010603@chipp.com> References: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> <42E56213.6010603@chipp.com> Message-ID: <830FD63F-DC7B-4A72-9DEE-5A2DC6705078@sosmartsoftware.com> Hi Dan and Chipp and... As you might know it, all my plugins come with a bilingual help stack (between 200 KB and 1 MB each) I shall only say that writing these stacks is a very hard job... often longer than writing the first attempt of the plugin. But this *always* gives me the opportunity to deeply revise ergonomics, interface and functions. I try to write "good and complete" docs not only for the end user benefit (I know that many hate the docs and never read them :-) but because that's essential for me to be able to provide a "good and complete" job :-) Le 26 juil. 05 ? 00:05, Chipp Walters a ?crit : > Dan Shafer wrote: > > >> Designing and writing good docs is nearly as hard as designing >> and writing good software. >> > > I beg to differ! How many software products/code libraries do you > know of which don't even have documentation. Poor Xavier and his > TAOO project is a great example, while he has told us some great > ideas-- w/out *good* documentation, it's really hard to follow... > (no disrespect intended, X, I still love you;-). > > In fact, without good documentation, much software is rendered > unusable. A case might even be made that without the books authored > by the '3 Dans,' Hypercard may have never been adopted so widely. > > best, > > Chipp 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Mon Jul 25 18:28:50 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 18:28:50 -0400 Subject: array info request In-Reply-To: <8220598509.20050725151324@ahsoftware.net> References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> <42E53FFF.7090604@fourthworld.com> <8220598509.20050725151324@ahsoftware.net> Message-ID: Pardon me butting in here but I have a question: Then what is the best use of arrays? What can/should they be used for? I understand the use and need for a custom property and the need for databases but what about these here arrays??? Thank you Tom On Jul 25, 2005, at 6:13 PM, Mark Wieder wrote: > You're bordering *very* close to where you'd be better off using a > database than trying to store things in arrays. > > Keep in mind that arrays are temporary. If you need persistent storage > and you're not using a database then you'll need to store the arrays > in custom variables in a substack: > > set the books of mySubStack to tBooks > > -- > -Mark Wieder > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From mwieder at ahsoftware.net Mon Jul 25 18:38:17 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Jul 2005 15:38:17 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: References: Message-ID: <3322091586.20050725153817@ahsoftware.net> Ken- Monday, July 25, 2005, 2:52:06 PM, you wrote: KR> Sorry, Mark, but that is a weak argument, IMHO. It's not a private document KR> if anyone can access it (which anyone can). And BTW, the purpose of the KR> group is to help define the specification, which is necessary because it KR> isn't fully solidified. If you don't want to help solidify the spec, then I KR> guess you'll have to wait until it is made public. Well, no. There's no point in pushing the ECMI as a standard which developers should adopt as long as one has to join the working group in order to even view the draft. I'm fine with waiting until it's solidified before jumping in - that's why I'm deliberately *not* joining the yahoo group. I realize I can join the club at any time - that's not the issue. IMHO there's no point in evangelizing a "standard" that's not publicly available. Mind you, I think the ECMI is a good idea, things are just getting a bit cart-before-horsey here. -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Mon Jul 25 18:36:33 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 17:36:33 -0500 Subject: Rant Re Rev Documentation In-Reply-To: <64878EF567131D4596246171F75FD4A9744601@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744601@m-epo-1.epo.cdc.gov> Message-ID: <42E56971.2060708@chipp.com> Hi Jonathan, I'm copying this to the list as well, as some there may be interested. Are you on Mac or PC? I did this for both Mac and PC, and it's different for each. On the PC, if you put in the msg: answer printer you will see 'page ranges' are not selectable. I then create an offscreen stack, and populate it with a card for each page to print. I then (optionally) capture the image of each card to a temp file, and show them in a print preview. From there it's a simple matter of marking the cards to print, and printing them one at a time. In the print preview window, I can also choose the number of copies, the page range, etc...store them in custom props and then: repeat for each line L in the uPagesToPrint go cd x --> tW & tH IS THE WIDTH AND HEIGHT TO PRINT IN PIXELS --> CHANGES DEPENDING ON PRINT LAYOUT print card into 0,0,tW,tH --> THIS PRINTS A BREAK SO THAT THE NEXT PAGE CAN PRINT print break end repeat hope that helps. Chipp Lynch, Jonathan wrote: > I have been stymied on part of this, > > How do you disable the page ranges? Do you also disable the collate > option? > > If you print multiple copies, does it have to re-send and re-calculate > the print job for every copy? > > I would really like to create a single step print dialog box that works > perfectly, but it looks like that would require an external, or using > cScript - which would be a big pain, and would not work cross-platform. From markgreenberg at cox.net Mon Jul 25 18:37:44 2005 From: markgreenberg at cox.net (Mark Greenberg) Date: Mon, 25 Jul 2005 15:37:44 -0700 Subject: Legal, Ethical? Message-ID: A few times on the list people have mentioned or posted a stack that reads part of a web site's HTML, formats it, and displays it for the stack's user without opening the default browser (e.g., a stock quote or pictures from Google). As an educator, I saw potential there. I experimented with pulling current news stories from the Internet, formatting them for language or social studies assignments, and having the students work on those lessons -- all without opening a browser. Though I haven't fleshed it out yet, my experiments show that it is possible to do. I would like your opinions on whether it is legal and ethical to do this. It seems to me that, on the one hand, the stories are offered openly on the web and that what I'd be doing isn't much different than what a browser does; on the other hand, the journalists and photographers did not give permission for this type of use. What do you all think? By the way, I am in the US, so the Fair Use clause of the intellectual properties laws might apply in a school setting. TIA, Mark Greenberg From europe at ehug.info Mon Jul 25 18:50:55 2005 From: europe at ehug.info (Mark Schonewille) Date: Tue, 26 Jul 2005 00:50:55 +0200 Subject: ChatRev DOWN! In-Reply-To: <2c58c7d33f7901ac9c4f26e2cb63ba84@mac.com> References: <2c58c7d33f7901ac9c4f26e2cb63ba84@mac.com> Message-ID: <42E56CCF.7040102@ehug.info> Dear ChatRev fans, During the next two days, I will be running the ChatRev server on my MacOS 9 iMac. This gives you the opportunity to chat between the crashes. The IP URL for this server is www.economy-x-talk.com/ip.txt and the ip address is 212.129.171.4 Depending on the client you use, you have to enter either one of them. The server is running on port 8008. You may have to register again. If there is a problem, you can send an e-mail to support at economy-x-talk.com. I will run this server for a short time only and hope that Bj?rnke will have his own server up and running very soon. Best regards, Mark Bj?rnke von Gierke wrote: > Hi fellow chat addicts > > ChatRev will be down at least until Monday (pending miracle > notwithstanding). I moved to a cheaper appartment (just one or two > kilometres in the same town). I hoped that the adsl company would do a > double line for a few day (At least they told me they would), but > unfortunately there is no such thing happening (no phone either at the > new place). So if you wanna chat this weekend you need to resolve to > other means, for example ichat/aim, or the web based chatroom... > Note that this means the whole server is down, spending doom on the > http://chatrev.cjb.net homepage, as well as any alternative clients. > > I am sorry for any inconvenience > > Bj?rnke von Gierke > -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From scott at tactilemedia.com Mon Jul 25 19:07:40 2005 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 25 Jul 2005 16:07:40 -0700 Subject: Scripting Style (was re: array info request) In-Reply-To: Message-ID: > Richard is right about double-click: it's the reason why I don't use > underscores and dashes either... If you really want to split hairs (hares?), this is a somewhat weak argument. If you use, for example, an underscore as a naming convention: _myField _myButton _myGraphic Or: my_field my_button my_graphic Or: button_fred button_jim button_mary ...it is quite easy to select the text string you want to change/modify with a double click -- the underscore remains unselected and doesn't need to be. And in my case, since I don't keep track of my billable time in milliseconds, the time it takes me to select an entire string including an underscore is negligible. :-) ----- And while we're talking about style and conventions (or lack of them), you might consider using upper case letters for single character variables: put 25 into A Why? If you look at X-Talk languages in general, what is the defining characteristic that identifies most of the reserved messages/properties: mouseUp openCard windowShape backgroundBehavior resumeStack Obviously, the upper case character in the middle of each name isn't truly *needed* for a script to function, but the capital serves as a visual cue to identify the text string as something "reserved": a message, a property name, etc (one could also argue the capital makes the name easier to read). Another consideration -- assuming that at least 99 percent of developers code in lower case, line 1 below might appear to be more ambiguous than line 2: put 25 into a put 25 into A IMO, line 1 has the *appearance* of an incomplete script, while in line 2, there *may* be missing script but the upper case character is a clue that "A" was intended as a variable name. Food for thought (and debate)... Regards, Scott Rossi Creative Director Tactile Media, Multimedia & Design ----- E: scott at tactilemedia.com W: http://www.tactilemedia.com From ambassador at fourthworld.com Mon Jul 25 19:08:18 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 16:08:18 -0700 Subject: [WARN] Inserting Any Plugin in the AltPluginToolbar In-Reply-To: <3322091586.20050725153817@ahsoftware.net> References: <3322091586.20050725153817@ahsoftware.net> Message-ID: <42E570E2.2090507@fourthworld.com> Mark Wieder wrote: > Ken- > Monday, July 25, 2005, 2:52:06 PM, you wrote: > > KR> Sorry, Mark, but that is a weak argument, IMHO. It's not a private document > KR> if anyone can access it (which anyone can). And BTW, the purpose of the > KR> group is to help define the specification, which is necessary because it > KR> isn't fully solidified. If you don't want to help solidify the spec, then I > KR> guess you'll have to wait until it is made public. > > Well, no. There's no point in pushing the ECMI as a standard which > developers should adopt as long as one has to join the working group > in order to even view the draft. I'm fine with waiting until it's > solidified before jumping in - that's why I'm deliberately *not* > joining the yahoo group. I realize I can join the club at any time - > that's not the issue. IMHO there's no point in evangelizing a > "standard" that's not publicly available. Mind you, I think the ECMI > is a good idea, things are just getting a bit cart-before-horsey here. I think we may be lost in symantics. Like the definition of "is" and the definition of "covert", it seems we could benefit from clarifying what's meant by "public": The ECMI recommendation, as with the RIP discussion group itself, is fully open to the public. Anyone can joing the group, and as with any Yahoo Group joining does not even require you to pollute your In Box; there's an option to not have any emails sent to you when you join. I'm subscribed to some 30 groups on Yahoo and recieve emails on only three of them. So the RIP discussion archive and files are fully available to anyone who wants them: Since there are more than a dozen xTalk-related groups on Yahoo, for most folks joining is as simple as clicking the "Join this Group" link. For example, if someone's already signed up on the Revolution_IPC group like yourself, no additional registration is required. But perhaps most importantly, it's worth noting that if the participants in the RIP group do their job well, the ECMI recommendation will be entirely invisible to most Rev users. Once finalized and implemented, tools will just start working together in a more integrated way than before, with nothing needed from the Rev user at all. So these interim drafts of ECMI are really only of interest to people who publish tools for others; those who use these tools won't have anything required of them to reap the benefits. There's certainly no harm in joining and lurking, and everyone is invited to do so if they choose. As I'd already explained, if Yahoo gave us another option for file access we wouldn't be having this discussion at all, and we'll be correcting for their limitation at revJournal.com for the small subset of people who might want to read the interim draft but haven't clicked the "Join this Group" link. But in the meantime there's nothing "private" about the group. It's open for anyone to join right now. I hope this clarifies the good intentions of the people who participate in the RIP group. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Mon Jul 25 19:18:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 16:18:16 -0700 Subject: Scripting Style (was re: array info request) In-Reply-To: References: Message-ID: <42E57338.60702@fourthworld.com> Scott Rossi wrote: > Another consideration -- assuming that at least 99 percent of developers > code in lower case, line 1 below might appear to be more ambiguous than line > 2: > > put 25 into a > > put 25 into A > > IMO, line 1 has the *appearance* of an incomplete script, while in line 2, > there *may* be missing script but the upper case character is a clue that > "A" was intended as a variable name. But neither would be optimal as "a" is a reserved token (used as part is the "there is a" operator). Oddly enough the compiler accepts it, but I try to avoid reserved tokens; I could have sworn I'd run into a case where using "a" as a var name gave me trouble, but I can't reproduce it now. Point taken just the same. To help make things more visually distinct I usually start my custom handlers with an upper-case letter, and leave built-in calls starting with lower-case, e.g.: on mouseUp global gMyVar set the title of this stack to MyFunction() DoSomething put version() into gMyVar end mouseUp The assumption is that it's more likely that the things that break will be mine more often than the engine's , so I make mine stand out to be easier to find when skimming. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Mon Jul 25 19:27:27 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 16:27:27 -0700 Subject: Legal, Ethical? In-Reply-To: References: Message-ID: <42E5755F.7050209@fourthworld.com> Mark Greenberg wrote: > A few times on the list people have mentioned or posted a stack that > reads part of a web site's HTML, formats it, and displays it for the > stack's user without opening the default browser (e.g., a stock quote or > pictures from Google). > > As an educator, I saw potential there. I experimented with pulling > current news stories from the Internet, formatting them for language or > social studies assignments, and having the students work on those > lessons -- all without opening a browser. Though I haven't fleshed it > out yet, my experiments show that it is possible to do. > > I would like your opinions on whether it is legal and ethical to do > this. California State Law requires me to precede my reply with this disclaimer: "I am not an attorney. If you need the services of an attorney you are encouraged to consult a qualified professional in your area." With that out of the way.... The common term for this is "scraping" (as in "scraping content from a page"), and policies vary from site to site. As an educator, it's my understanding (limited by the above disclaimer) that you have additional options for classroom use under the "fair use" clauses in copyright law not available to those of us who might use such materials commercially. Some school districts simplify things for their teachers by publishing policy documents outlining their interpretation of "fair use" for their teachers and staff. Most sites state their usage policies on a Copyright page, and provide a contact address for anything not addressed there. The policy in my office is: "When in doubt, contact the site administrator and request explicit permission." A lot of sites depend on ad revenue or have other value derived from presenting content in the context they designed. By scraping the content out of their content it can reduce that value, and in some cases may cause material harm to the site owner. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From michaell at unimelb.edu.au Mon Jul 25 19:30:20 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Tue, 26 Jul 2005 09:30:20 +1000 Subject: Praise: Rev Documentation to the rescue Message-ID: Oh dear, oh dear oh dear! What is it with people and the docs? The docs work perfectly well when you know where to look for information. That may not always be immediately obvious, but I think that some don't spend enough time looking at the arrangement of the information before they claim the docs are too hard, or a bottleneck. In Rev it is very easy to experiment with commands to see how they work. Try it. In Rev it is fairly easy to guess what a command might be. Just try it out and see if it works. If it doesn't then type it into the dictionary filter and see what comes up. This list is part of the effective documentation of Revolution (look up "effective" keyword in the dictionary ;-). Ask a question here and you will generally get a useful answer. Don't try to tell me that Rev is not good for non-professionals. This list is full of non-professionals who are making good things with it. Regards, Michael Lew At 2:29 PM -0500 25/7/05, use-revolution-request at lists.runrev.com wrote: > >But Rev is advertised as "enterprise-ware" if I'm not mistaken. In >theory, Rev is great for pros, great for novices, and great for >do-it-yourself end-users, who possess a modicum of intelligence, >motivation and computer experience. > >Maybe it's fine for Pros, but it's too damned hard for everyone else. >The documentation presently available is the biggest bottleneck, in >my opinion. It still seems to me that it just wouldn't be that hard >or expensive to make it a whole lot better. -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From charles.hartman at conncoll.edu Mon Jul 25 19:44:39 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Mon, 25 Jul 2005 19:44:39 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: I agree with this -- I think it's one of the virtues of Rev, and it goes along with virtues of clarity in the building of GUIs and so on. The command write-ups are terse, but pretty clear. I don't think most of the documentation problems have to do with Transcript, though maybe I'm wrong about that. I think it's the IDE that could use more thorough documentation. But then, I'm scraping by without getting Dan Schafer's book, so maybe it's just a complaint for the penurious & the stingy . . . Charles Hartman On Jul 25, 2005, at 7:30 PM, Michael J. Lew wrote: > > In Rev it is very easy to experiment with commands to see how they > work. Try it. > > In Rev it is fairly easy to guess what a command might be. Just try > it out and see if it works. If it doesn't then type it into the > dictionary filter and see what comes up. > > From revolution at jaedworks.com Mon Jul 25 18:12:29 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Mon, 25 Jul 2005 15:12:29 -0700 Subject: Rant Re Rev Documentation In-Reply-To: <42E49505.3020102@chipp.com> References: <42E3215F.8010500@comcast.net> <42E49505.3020102@chipp.com> Message-ID: At 2:30 AM -0500 7/25/2005, Chipp Walters wrote: >All good points. I agree. When I was just starting, many times the >'terse explanation' in the docs just didn't go far enough-- I wanted >a few more examples of how the transcript term was used. I talked >with Jeanne DeVoto about it (she *was* the author of most the >documentation, and IMO did a great job), and she told me to put in >explicit examples for all the terms would be a herculean effort >above the current resource allocation for it. So, I don't blame >her...or for that matter, RR. I should also mention that in older versions of the docs, there was a "Cookbook" section (many of the items written by our own Jacque) with extended annotated examples of useful handlers, and linked to the dictionary via the See Also section. There weren't enough of these - fewer than a hundred, I think - but the plan was to grow them gradually until each dictionary word had a cookbook example or two where you could see how it was used. (It looks like the Cookbook was one of the things removed in the newer versions of the docs, though - don't want to have anyone wasting time digging for it. But you may be able to find it if you have an older version.) I agree that there need to be a lot more worked examples. Writing the original documentation was, in many ways, triage: the most essential part was always the Dictionary, because without the language documentation you can't do anything at all. Then How Tos for the IDE and language, troubleshooting information, and basic navigation. Then conceptual overviews (the encyclopedia) and more extensive examples (the cookbook). Then everything else (graphics in the text, full index, extended navigation methods such as linear "tracks" through the docs for specific topics, documentation of windows in the IDE, still more examples, animated tutorials for beginners, and so on). I used to tell Kevin that I could finish my plans for the docs, if he sent the development team to the beach for a year so I wouldn't have to research any new features and add the new material for them. ;-) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From see3d at writeme.com Mon Jul 25 19:58:57 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 19:58:57 -0400 Subject: array info request In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> <42E53FFF.7090604@fourthworld.com> <8220598509.20050725151324@ahsoftware.net> Message-ID: <7D1E065E-CD45-471F-B314-7C1D611CD036@writeme.com> Thomas, I find arrays are very useful when you want to get random as opposed to sequential access to data. Most of my arrays are generated by using the split command. I read a file in, then split it by return to get quick random access to the lines, then I get a line and split it by comma to get quick access to an item. I also generate arrays on the fly to hold info when I need to calculate the name of the info --this is surprisingly useful. Custom properties are ways of attaching arrays to an object so that it is persistent. It is a little harder to play with the creation of arrays, and the keys are a bit harder to get and change, but not very bad. One way I use arrays is to hold the true/false answer to pre- calculated decisions. Say I have a complex UI and a program that iterates through a lot of data in different ways depending on the complex relationships selected in the UI. I pre-calculate all the UI decisions that I can for the IF THENS that are inside the loops. That way all the loops run faster. Each decision point is at a index key something like "1a3". You can actually do a lot of "logic" by creating arrays that hold the keys to other arrays. Once you get you head around them, you will wonder how you ever programmed anything without them. A friend of mine used arrays in the APL language 30 years ago to write a program called HexaPawn. It is a 6x6 Chess board with just 6 pawns on each side. You play against the computer. He wrote the game logic, and made it self learning in 6 terse lines. He unfortunately needed another 6 lines for the UI code to type out the chess board after each move and get the next move. Of course the Rev arrays are very crude compared to APL, but still extremely useful. Dennis On Jul 25, 2005, at 6:28 PM, Thomas McGrath III wrote: > Pardon me butting in here but I have a question: > Then what is the best use of arrays? What can/should they be used for? > > I understand the use and need for a custom property and the need > for databases but what about these here arrays??? > > > Thank you > > Tom > On Jul 25, 2005, at 6:13 PM, Mark Wieder wrote: > > >> You're bordering *very* close to where you'd be better off using a >> database than trying to store things in arrays. >> >> Keep in mind that arrays are temporary. If you need persistent >> storage >> and you're not using a database then you'll need to store the arrays >> in custom variables in a substack: >> >> set the books of mySubStack to tBooks >> >> -- >> -Mark Wieder >> >> > > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, > Rev 2.6 > > > Advanced Media Group > Eagle Works Art & Sculpture > Semantic Compaction Systems > Prentke Romich Company > Prentke Romich International > SCIconics, LLC > Artist > Thomas J McGrath III > 3mcgrath at adelphia.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Mon Jul 25 20:25:11 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 20:25:11 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> Ok all you first graders, You need to learn to read this semester, so I want you all to go down to the library and find a book on grammar, a couple from the 'See Spot Run" series would also be a good choice, and by all means get a dictionary --you will need that for the alphabet and to build up your knowledge of words. Now study these to learn how to read. Don't worry if it seems hard, I will be here from 8 to 5 for you to ask questions, and I will almost always know what to say to help your progress. If I am busy with someone else just take a number and I will get to you shortly. Once a week we will all come together as a class to learn how to sound out words. What is that? Why can't I teach you all at the same time instead of individually? Well it is because I am so busy answering individual questions I don't have any time left to organize all the information I know into a course plan. Hurry up now, don't waste any more of our time with silly questions, you need to get hunting for information or you will never learn to read before the semester is up! Food for thought, Dennis On Jul 25, 2005, at 7:30 PM, Michael J. Lew wrote: > Oh dear, oh dear oh dear! What is it with people and the docs? The > docs work perfectly well when you know where to look for > information. That may not always be immediately obvious, but I > think that some don't spend enough time looking at the arrangement > of the information before they claim the docs are too hard, or a > bottleneck. > > In Rev it is very easy to experiment with commands to see how they > work. Try it. > > In Rev it is fairly easy to guess what a command might be. Just try > it out and see if it works. If it doesn't then type it into the > dictionary filter and see what comes up. > > This list is part of the effective documentation of Revolution > (look up "effective" keyword in the dictionary ;-). Ask a question > here and you will generally get a useful answer. > > Don't try to tell me that Rev is not good for non-professionals. > This list is full of non-professionals who are making good things > with it. > > Regards, > Michael Lew From chipp at chipp.com Mon Jul 25 20:37:36 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 19:37:36 -0500 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> References: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> Message-ID: <42E585D0.5080201@chipp.com> Hmmm. I'm missing something. I honestly don't understand what you're trying to say. Do you teach Transcript in a course? Is it online? Or, is this all tongue-in-cheek? If it is I'm not sure I get your point. Dennis Brown wrote: > Ok all you first graders, > Why can't I teach you all at the same time instead of > individually? Well it is because I am so busy answering individual > questions I don't have any time left to organize all the information I > know into a course plan. From jperryl at ecs.fullerton.edu Mon Jul 25 20:48:20 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 17:48:20 -0700 (PDT) Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E56213.6010603@chipp.com> Message-ID: I agree with you entirely on this, Chipp. And Rev's pretty much in the same boat as HC as opposed to, say, Flash/Director, VB, etc. in this regard. The average new investigator sees the product, considers buying it or adopting it, but unlike Flash, Director, VB, ..., etc., it's not like they are confident of the ability to hit Barnes and Noble on the way home and pick up a little helper book or two. They can't surf on over to Amazon.com either. So, what are they to do? I suspect it's not likely that they're inclined to go looking all over etherspace to find the various (good) and scattered information, books, e-books, tutorials, video, conference stacks, etc. etc. RevOnline is only usable for those already in the inner sanctum (and those NOT on dial-up I suspect). People ashamed of its HC descent can't likely even bring themselves to suggest reading those old books by the three Dan's. Perhaps the co. should have a page that itself references where to find all these various helper thingies... but then there'd be the problem of appearing to endorse things that might not look sufficiently 'professional' to one audience while harbouring fears of endorsing only those others that might look indecipherable to another target user population. The feeling I continually harbour in the back of my mind is that, somewhere, there's a distinct unwillingness on the part of the company to pay for quality tutorial materials, things that are needed by new folks who are not going to want to pay separately for them and folks that I can't imagine the company wishes to turn away on that account. It may seem unfair to expect the co. to invest in this for nothing, but if, as Norman has remarked, the software isn't minimally useful out of the box, well, ... it doesn't speak well of the software's ability to be adopted in the marketplace. Judy On Mon, 25 Jul 2005, Chipp Walters wrote: > Dan Shafer wrote: > > > Designing and writing good docs is nearly as hard as designing and > > writing good software. > > I beg to differ! How many software products/code libraries do you know > of which don't even have documentation. Poor Xavier and his TAOO project > is a great example, while he has told us some great ideas-- w/out *good* > documentation, it's really hard to follow... (no disrespect intended, X, > I still love you;-). > > In fact, without good documentation, much software is rendered unusable. > A case might even be made that without the books authored by the '3 > Dans,' Hypercard may have never been adopted so widely. From dsc at swcp.com Mon Jul 25 20:58:07 2005 From: dsc at swcp.com (Dar Scott) Date: Mon, 25 Jul 2005 18:58:07 -0600 Subject: Unicode confusion In-Reply-To: References: Message-ID: On Jul 25, 2005, at 8:50 AM, Brad Borch wrote: > Can I force Rev to choose a particular font for Unicode text? I have had some problems with fonts that were solved by setting the font of the owner object. I don't remember if this applies. I was testing some large unicode fonts and there were times I would get the wrong one. Bugzilla'd some place. I think that if the code was in some range, Rev would search fonts until it found one that had it and use it, even if the current font would work. I don't use htmlText for unicode. I use the unicodeText property, so I'm not aware of all the htmlText problems. One of the things I noticed is that space should be outside of in most cases; I don't know why. In many cases, if the space is in the font, garbage comes out. It will also work to code the space as . I usually see the lang as "jp" for unicode text for some reason. Here is something that will set a field to the Greek text you mentioned before: on mouseUp get decimalCodesToUnicode("945,946,947,948,949,32,949,955,955,949,957,953,95 4,945") set the unicodeText of field "Greek" to it end mouseUp function decimalCodesToUnicode s set the useUnicode to true repeat for each item c in s put numToChar(c) after u end repeat return u end decimalCodesToUnicode If you get text and set text always with unicodeText, maybe it will work better for you. You can't use unicode yet in the script editor, though I think there is a way to cheat with some special tools. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming and software ********************************************** From sarahr at genesearch.com.au Mon Jul 25 21:06:59 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 26 Jul 2005 11:06:59 +1000 Subject: revPrintField problem In-Reply-To: References: Message-ID: <1FCE3210-6657-40CF-AA45-EEB4DB9D1C1B@genesearch.com.au> > I am having a problem with revPrintField > > Here is the problem: > I create a stack > On the card, I create a text field (has a many lines of text), 5 > images, > then I group them and make scroll bar so user can scroll up and > down to > see the text and images (name the group as "myField") > > Then on the same card, I create a button called "print" and put this > code into the print button: > > on mouseUp > revPrintField the name of field "myField" > end mouseUp > > This is the error I got when I click on "print": > > executing at 2:32:48 PM > Type Chunk: no such object > Object Button > Line revPrintField the name of field "myField" > Hint myField > You have named the GROUP "MyField" and then are trying to print the field using the group's name. What is the name of the field? Calling the group "MyField" will only lead to confusion. Call it "MyFieldGroup" or something similar so that it is obvious that it is a group & not a field. Then rename your field to "MyField" and use the script line: revPrintField the long name of field "myField" HTH, Sarah From see3d at writeme.com Mon Jul 25 21:12:48 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 21:12:48 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E585D0.5080201@chipp.com> References: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> <42E585D0.5080201@chipp.com> Message-ID: <355322CE-11A3-4E21-8052-83B7D58D2E50@writeme.com> Chipp, Not tongue-in-cheek, but direct analogy. I have seen more excuses for why we don't have an easy path for newbies than a porcupine has quills. We don't need to excuse the state of affairs --that is just giving permission to keep the status quo. We need a plan to improve things. I get the distinct impression that many actually do not want to see the exclusive club of knowledgeable Transcript programmers expand to quickly by having good docs. It almost appears to be a conflict of interests between professionals who want to keep the highly productive club small because it is their competitive advantage and the non-professionals who want to see the user base grow for the benefit of all. Also tutorials and other tools provided by professionals seem to be a sort of advertising that might be lost if the docs were first class. Don't get me wrong, I am very appreciative of the free and low cost tools and tutorials developed with much sweat and time by many on this list. I also appreciate the help with questions on the list. I just sense this reluctance by some --and for good reason. A group effort to improve the situation will have a cost/reward ratio that is different and will require rethinking strategy for some. I just want to lay this out on the table instead of leaving it half unsaid. I other words, when writing a tutorial brings in business, traffic to the web site, reputation, accolades, etc. a lot of energy can go into making such contributions. However, if a group wiki approach was used, would all the energy from the most knowledgeable users dry up? Maybe yes, maybe no. I believe that an undertaking to improve the docs by the user community needs the most knowledgeable professionals to contribute. So we need to make sure that it is done in a way the still delivers much of the benefits to them of the present system. So the question in my mind is not IF, but HOW to proceed. Dennis On Jul 25, 2005, at 8:37 PM, Chipp Walters wrote: > Hmmm. I'm missing something. I honestly don't understand what > you're trying to say. Do you teach Transcript in a course? Is it > online? Or, is this all tongue-in-cheek? If it is I'm not sure I > get your point. > > Dennis Brown wrote: > >> Ok all you first graders, >> > > > >> Why can't I teach you all at the same time instead of >> individually? Well it is because I am so busy answering >> individual questions I don't have any time left to organize all >> the information I know into a course plan. >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Mon Jul 25 21:34:20 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Tue, 26 Jul 2005 11:34:20 +1000 Subject: Open with? In-Reply-To: <92775026-D4D7-49F4-9A20-9AD2912AE3B5@mac.com> References: <92775026-D4D7-49F4-9A20-9AD2912AE3B5@mac.com> Message-ID: <0A6E1D26-9270-484E-A4AF-B35275BC72D6@genesearch.com.au> > I just downloaded 2.6 for a test drive, but now all of my rev files > try to open with 2.6, even when it's in the trash. On the open > with contextual menu, 2.5 isn't one of the options even though it > is installed and has been for a while, and when I click "get info" > it isn't an option in the "open with" there either. So with 2.6 in > the trash, i can't double click on a rev file to open it (error > message) and from within rev, I can't choose open file and navigate > to a file that is in a standalone package. I can open the package > and drag the rev file onto the rev 2.5 icon in my dock, but what a > pain! I seem to remember seeing this in the list back when 2.6 was > released, but no lick finding it in the list archives. > > Anyone know the way around this? First off, empty the trash! OS X is quite capable of using an application that is in the trash so either get rid of it completely, or archive it and then trash the original. Double-clicking on a Rev stack may just work then as Rev 2.5 will probably be the latest matching app on your system, but if not, Get Info for a stack and see if it appears in the list of Open with.. apps. If not, choose Other... from the bottom of that popup menu and find the Rev 2.5 app. Once you have done this, click the Change all.. button to apply this to all your Rev stacks. HTH, Sarah From bill at bluewatermaritime.com Mon Jul 25 21:36:20 2005 From: bill at bluewatermaritime.com (Bill) Date: Mon, 25 Jul 2005 21:36:20 -0400 Subject: Calling Print Dialogue In-Reply-To: <42E56971.2060708@chipp.com> Message-ID: Chip Can you show your examples for MAC OS X as well? Bill On 7/25/05 6:36 PM, "Chipp Walters" wrote: > Hi Jonathan, > > I'm copying this to the list as well, as some there may be interested. > > Are you on Mac or PC? I did this for both Mac and PC, and it's different > for each. On the PC, if you put in the msg: > > answer printer > > you will see 'page ranges' are not selectable. > > I then create an offscreen stack, and populate it with a card for each > page to print. I then (optionally) capture the image of each card to a > temp file, and show them in a print preview. From there it's a simple > matter of marking the cards to print, and printing them one at a time. > In the print preview window, I can also choose the number of copies, the > page range, etc...store them in custom props and then: > > repeat for each line L in the uPagesToPrint > go cd x > --> tW & tH IS THE WIDTH AND HEIGHT TO PRINT IN PIXELS > --> CHANGES DEPENDING ON PRINT LAYOUT > print card into 0,0,tW,tH > --> THIS PRINTS A BREAK SO THAT THE NEXT PAGE CAN PRINT > print break > end repeat > > hope that helps. > > Chipp > > Lynch, Jonathan wrote: >> I have been stymied on part of this, >> >> How do you disable the page ranges? Do you also disable the collate >> option? >> >> If you print multiple copies, does it have to re-send and re-calculate >> the print job for every copy? >> >> I would really like to create a single step print dialog box that works >> perfectly, but it looks like that would require an external, or using >> cScript - which would be a big pain, and would not work cross-platform. > > _______________________________________________ > use-revolution mailing list > use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From jbondy at sover.net Mon Jul 25 21:37:16 2005 From: jbondy at sover.net (Jon) Date: Mon, 25 Jul 2005 21:37:16 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <42E593CC.2020702@sover.net> "Oh dear, oh dear oh dear! What is it with people and the docs? The docs work perfectly well when you know where to look for information." If I knew what a facility's name was, or even whether such a facility existed, I would be most of the way there. The fact is that most newbies have no clue about any of this. Saying the "docs work perfectly" misses most of the point. For me, the biggest problem I have with the docs, aside from not being able to find things, is that when I get to a topic, there are not enough examples to indicate exactly how a facility might be used. Whether this belongs in the "docs" or in something else is beside the point. If I'm struggling with how to use a REPEAT, I need examples. :) Jon Michael J. Lew wrote: > Oh dear, oh dear oh dear! What is it with people and the docs? The > docs work perfectly well when you know where to look for information. > That may not always be immediately obvious, but I think that some > don't spend enough time looking at the arrangement of the information > before they claim the docs are too hard, or a bottleneck. > > In Rev it is very easy to experiment with commands to see how they > work. Try it. > > In Rev it is fairly easy to guess what a command might be. Just try it > out and see if it works. If it doesn't then type it into the > dictionary filter and see what comes up. > > This list is part of the effective documentation of Revolution (look > up "effective" keyword in the dictionary ;-). Ask a question here and > you will generally get a useful answer. > > Don't try to tell me that Rev is not good for non-professionals. This > list is full of non-professionals who are making good things with it. > > Regards, > Michael Lew > > At 2:29 PM -0500 25/7/05, use-revolution-request at lists.runrev.com wrote: > >> >> But Rev is advertised as "enterprise-ware" if I'm not mistaken. In >> theory, Rev is great for pros, great for novices, and great for >> do-it-yourself end-users, who possess a modicum of intelligence, >> motivation and computer experience. >> >> Maybe it's fine for Pros, but it's too damned hard for everyone else. >> The documentation presently available is the biggest bottleneck, in >> my opinion. It still seems to me that it just wouldn't be that hard >> or expensive to make it a whole lot better. > > From europe at ehug.info Mon Jul 25 21:42:50 2005 From: europe at ehug.info (Mark Schonewille) Date: Tue, 26 Jul 2005 03:42:50 +0200 Subject: I need help with custom cursors In-Reply-To: <82459AD2-7244-48B4-A895-3ECCA6AC845F@cableone.net> References: <64878EF567131D4596246171F75FD4A97445E4@m-epo-1.epo.cdc.gov> <86BADBA1-C283-4764-AEDE-F8C8721190FD@cableone.net> <23C94F7D-B48E-45AF-8A53-65BF1D625D4F@cableone.net> <42E00620.5030407@ehug.info> <82459AD2-7244-48B4-A895-3ECCA6AC845F@cableone.net> Message-ID: <42E5951A.1030307@ehug.info> Hello Chris, Many thanks for the reply. I didn't notice any delay, as I was away myself. I will try a cursor with 1,0,0 instead of 0,0,1 to substitute black and will report the results here. Best, Mark Chris Sheffield wrote: > Hi Mark, > > Sorry I've taken so long to respond. I've been out of town for the > last few days. > > I'm not really sure what the problem would be. I had a pre-existing > jpg image that I started with. I had to edit that image so that it > only used three colors (some color very close to black (1,0,0 in my > case), white, and then a transparent color). I set the transparency > (using Paint Shop Pro, btw), then saved it has a gif. I imported that > into Rev, used the pencil tool to edit a pixel, then I just hit undo to > remove my changes to the image. I set the cursor and it worked fine > for me. > > Not sure if that'll help or not. It sounds like you've followed the > same steps, except for using 0,0,1 instead of 1,0,0 for your "black". > Don't know if that would make a difference or not. > > Chris -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From chipp at chipp.com Mon Jul 25 21:57:37 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 20:57:37 -0500 Subject: Rev Documentation to the rescue Message-ID: <42E59891.50101@chipp.com> Dennis Brown wrote: > I get the distinct impression that many actually do not want to see the > exclusive club of knowledgeable Transcript programmers expand to > quickly by having good docs. It almost appears to be a conflict of > interests between professionals who want to keep the highly productive > club small because it is their competitive advantage and the > non-professionals who want to see the user base grow for the benefit of > all. Also tutorials and other tools provided by professionals seem to > be a sort of advertising that might be lost if the docs were first class. OK Dennis, I now know where you're coming from. I'm sorry you have that impression. AFAIK, it couldn't be further from the truth (speaking for myself, and probably many other 'professionals' here). The simple fact is: MOST ALL OTHER X-TALKS have gone out of business. Some a couple of times! So...we need to support as many users, in whatever way we can, in order to maintain our 'tool of choice.' And the fact that RR has conveniently separated the engine into 2 product lines: DC and Revolution, helps those who make a serious living with it, differentiate ourselves as well. So, IMO, all's well on THAT front. Now, I certainly don't speak for RR, but one thing I know they are smart about-- conserving resources. Unlike many others (i.e. Allegiant), RR understands they need to build a good business case for this product and spend wisely. This means slow and steady growth. They're in the same boat as many other companies. It used to be companies paid healthy advances to get someone of Dan's caliber to write a book. Unfortunately, it's no longer the case. Linspire's (formally Lindows) VP of Marketing (a friend and a former SuperCard VP) tried to work out a deal for a book earlier last year, but just couldn't put up an advance big enough to make it worthwhile. That being said, thank heavens for this community. It really does provide support for everyone, and does it quite well. I think it's probably time to consider real FORUMS, but that's another discussion. The more people 'chip in' (NPI), the better it gets. Hopefully, soon, someone will find the resources to help out in the 'Beginning Transcript' book department. best, Chipp From jacque at hyperactivesw.com Mon Jul 25 22:15:05 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2005 21:15:05 -0500 Subject: array info request In-Reply-To: References: <64878EF567131D4596246171F75FD4A97445FB@m-epo-1.epo.cdc.gov> <42E53FFF.7090604@fourthworld.com> <8220598509.20050725151324@ahsoftware.net> Message-ID: <42E59CA9.1020301@hyperactivesw.com> Thomas McGrath III wrote: > Pardon me butting in here but I have a question: > Then what is the best use of arrays? What can/should they be used for? > > I understand the use and need for a custom property and the need for > databases but what about these here arrays??? Actually, I used arrays exactly as the original poster suggested, and the application is working great, running the entire public school library for the Aborigines in the Australian Outback. They are a small library system. For anything very much larger, I'd go with a dedicated database as Mark suggetss. But their library tops out at about 40,000 books right now, and even with room for many thousands more, I think using arrays is a fine solution. Each library in the Outback has only a few thousand books. The master database in Darwin stores the titles for all of them combined, and keeps track of which school has what. In any case, the current library for both the schools and the master database is stored as a text file on disk, just a plain list with one book per line. This text file is read into memory when the app starts up, split into an array, and uses a single-card stack as a front end. When a book is accessed, the card fields are filled in from the array. It is very fast. Memory usage is minimal; the average school's text file is under 100K for a couple of thousand books. Access to any one of 40,000 titles is instantaneous. Searching for strings is also very fast. Backing up the library is a simple matter of copying a text file to another volume. Text files compress very well, which means they can be quickly sent over the internet to another school (the Outback has very iffy electrical and internet access, so this was important.) Importing a list of new books is just a matter of reading in a new text list and adding it to the current array. It all works very well and very fast. So I think the original idea is a fine use of arrays. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From see3d at writeme.com Mon Jul 25 22:15:50 2005 From: see3d at writeme.com (Dennis Brown) Date: Mon, 25 Jul 2005 22:15:50 -0400 Subject: Rev Documentation to the rescue In-Reply-To: <42E59891.50101@chipp.com> References: <42E59891.50101@chipp.com> Message-ID: Chipp, I hope you are right about that, I want to think the best of the community, and the actions speak louder than the words, but some of the posts took me aback, and made me start to wonder where some were coming from. I also am sensitive to the fact that changes to the status quo can have a real effect on peoples livelihoods if they don't also change to keep pace --"my altruism usually stops when your fist is occupying the same volume as my nose". I like to see win-win propositions in all my dealings. Dennis On Jul 25, 2005, at 9:57 PM, Chipp Walters wrote: > Dennis Brown wrote: > > >> I get the distinct impression that many actually do not want to >> see the exclusive club of knowledgeable Transcript programmers >> expand to quickly by having good docs. It almost appears to be a >> conflict of interests between professionals who want to keep the >> highly productive club small because it is their competitive >> advantage and the non-professionals who want to see the user base >> grow for the benefit of all. Also tutorials and other tools >> provided by professionals seem to be a sort of advertising that >> might be lost if the docs were first class. >> > > OK Dennis, I now know where you're coming from. > > I'm sorry you have that impression. AFAIK, it couldn't be further from > the truth (speaking for myself, and probably many other > 'professionals' > here). The simple fact is: MOST ALL OTHER X-TALKS have gone out of > business. Some a couple of times! > > So...we need to support as many users, in whatever way we can, in > order > to maintain our 'tool of choice.' And the fact that RR has > conveniently > separated the engine into 2 product lines: DC and Revolution, helps > those who make a serious living with it, differentiate ourselves as > well. So, IMO, all's well on THAT front. > > Now, I certainly don't speak for RR, but one thing I know they are > smart > about-- conserving resources. Unlike many others (i.e. Allegiant), RR > understands they need to build a good business case for this > product and > spend wisely. This means slow and steady growth. > > They're in the same boat as many other companies. It used to be > companies paid healthy advances to get someone of Dan's caliber to > write > a book. Unfortunately, it's no longer the case. Linspire's (formally > Lindows) VP of Marketing (a friend and a former SuperCard VP) tried to > work out a deal for a book earlier last year, but just couldn't put up > an advance big enough to make it worthwhile. > > That being said, thank heavens for this community. It really does > provide support for everyone, and does it quite well. I think it's > probably time to consider real FORUMS, but that's another discussion. > The more people 'chip in' (NPI), the better it gets. Hopefully, soon, > someone will find the resources to help out in the 'Beginning > Transcript' book department. > > best, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From chipp at chipp.com Mon Jul 25 22:22:46 2005 From: chipp at chipp.com (Chipp Walters) Date: Mon, 25 Jul 2005 21:22:46 -0500 Subject: Calling Print Dialogue In-Reply-To: References: Message-ID: <42E59E76.7000609@chipp.com> Sure, (stopping to launch OSX on laptop) OT speaking of Apple...did everyone see where Yahoo stepped up and purchased Konfabulator, then made it free? Something Apple should've done a long time ago. Nice to know there are still some good companies out there! So, here's how it goes on the Mac. Like the PC, I call answer printer first. That gives me the page setup dialog and I can get from that the printmargins. I then do the same as below, allowing the user to preview and select pages. Then I call open printing with dialog which allows me to pick a printer. In this case, I have already informed the user to always use the ALL range (as they've previously selected print range from my custom preview page). Then it goes from there as below. best, Chipp Bill wrote: > Chip > > Can you show your examples for MAC OS X as well? > > Bill > > > On 7/25/05 6:36 PM, "Chipp Walters" wrote: > > >>Hi Jonathan, >> >>I'm copying this to the list as well, as some there may be interested. >> >>Are you on Mac or PC? I did this for both Mac and PC, and it's different >>for each. On the PC, if you put in the msg: >> >>answer printer >> >>you will see 'page ranges' are not selectable. >> >>I then create an offscreen stack, and populate it with a card for each >>page to print. I then (optionally) capture the image of each card to a >>temp file, and show them in a print preview. From there it's a simple >>matter of marking the cards to print, and printing them one at a time. >>In the print preview window, I can also choose the number of copies, the >>page range, etc...store them in custom props and then: >> >>repeat for each line L in the uPagesToPrint >> go cd x >> --> tW & tH IS THE WIDTH AND HEIGHT TO PRINT IN PIXELS >> --> CHANGES DEPENDING ON PRINT LAYOUT >> print card into 0,0,tW,tH >> --> THIS PRINTS A BREAK SO THAT THE NEXT PAGE CAN PRINT >> print break >>end repeat >> >>hope that helps. >> >>Chipp >> >>Lynch, Jonathan wrote: >> >>>I have been stymied on part of this, >>> >>>How do you disable the page ranges? Do you also disable the collate >>>option? >>> >>>If you print multiple copies, does it have to re-send and re-calculate >>>the print job for every copy? >>> >>>I would really like to create a single step print dialog box that works >>>perfectly, but it looks like that would require an external, or using >>>cScript - which would be a big pain, and would not work cross-platform. >> >>_______________________________________________ >>use-revolution mailing list >>use-revolution at 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.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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From jacque at hyperactivesw.com Mon Jul 25 22:26:59 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2005 21:26:59 -0500 Subject: revPrintField problem In-Reply-To: References: Message-ID: <42E59F73.5070905@hyperactivesw.com> Ban Nguyen wrote: > Hello everyone, > > > I am having a problem with revPrintField > > Here is the problem: > I create a stack > On the card, I create a text field (has a many lines of text), 5 images, > then I group them and make scroll bar so user can scroll up and down to > see the text and images (name the group as "myField") RevPrintField will only print a field. You are trying to print a group. It won't work. TThe error says "no such object" because there is no field named "myField". To print a group, set the scroll of the group to 0. Print the card. Then set the scroll of the group to the current scroll plus the height of the group. Print the card again. Do that inside a repeat loop until the group is completely printed. > > Then on the same card, I create a button called "print" and put this > code into the print button: > > on mouseUp > revPrintField the name of field "myField" > end mouseUp > > This is the error I got when I click on "print": > > executing at 2:32:48 PM > Type Chunk: no such object > Object Button > Line revPrintField the name of field "myField" > Hint myField > > > > > Has anyone went throught this situation? Please help > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Mon Jul 25 22:28:36 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 19:28:36 -0700 (PDT) Subject: Rev Documentation to the rescue In-Reply-To: <42E59891.50101@chipp.com> Message-ID: Here, here. Judy On Mon, 25 Jul 2005, Chipp Walters wrote: > OK Dennis, I now know where you're coming from. > > I'm sorry you have that impression. AFAIK, it couldn't be further from > the truth (speaking for myself, and probably many other 'professionals' > here). The simple fact is: MOST ALL OTHER X-TALKS have gone out of > business. Some a couple of times! > > So...we need to support as many users, in whatever way we can, in order > to maintain our 'tool of choice.' And the fact that RR has conveniently > separated the engine into 2 product lines: DC and Revolution, helps > those who make a serious living with it, differentiate ourselves as > well. So, IMO, all's well on THAT front. > > Now, I certainly don't speak for RR, but one thing I know they are smart > about-- conserving resources. Unlike many others (i.e. Allegiant), RR > understands they need to build a good business case for this product and > spend wisely. This means slow and steady growth. > > They're in the same boat as many other companies. It used to be > companies paid healthy advances to get someone of Dan's caliber to write > a book. Unfortunately, it's no longer the case. Linspire's (formally > Lindows) VP of Marketing (a friend and a former SuperCard VP) tried to > work out a deal for a book earlier last year, but just couldn't put up > an advance big enough to make it worthwhile. > > That being said, thank heavens for this community. It really does > provide support for everyone, and does it quite well. I think it's > probably time to consider real FORUMS, but that's another discussion. > The more people 'chip in' (NPI), the better it gets. Hopefully, soon, > someone will find the resources to help out in the 'Beginning > Transcript' book department. > > best, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Jul 25 22:45:16 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 19:45:16 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <42E5A3BC.1030809@fourthworld.com> Judy Perry wrote: > I suspect it's not likely that they're inclined > to go looking all over etherspace to find the various (good) and scattered > information, books, e-books, tutorials, video, conference stacks, etc. > etc. All the more reason to make sure Rev-related sites are included in the DMOZ listing: DMOZ feeds most major search engines and is the world's largest hand-edited directory. While no panacea, it helps folks find what they're looking for. > RevOnline is only usable for those already in the inner sanctum (and > those NOT on dial-up I suspect). While I agree with your larger point and find little value in teaching abstract concepts like code using concrete expressions like video, it's worth noting for those of us who make 'net apps that broadband has outpaced dial-up in the US and the UK. -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jperryl at ecs.fullerton.edu Mon Jul 25 22:53:04 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 19:53:04 -0700 (PDT) Subject: Mea Culpa (long) In-Reply-To: <42E59F73.5070905@hyperactivesw.com> Message-ID: Hello, A thoughful fellow listmember has brought it to my attention that I am sounding even more strident than is normal (for me, anyways), and this has prompted me to try to rethink why my reactions are what they are and why they may be perceived differently than I intend them. So, in keeping with that idea, here's my Mea Culpa/FAQ: (1) No, I do not hate Dan Shafer. I bought his book. Will probably buy one or more of the e-books. Somehow, when whatever went down between him & the company, I wasn't able to get his book in print, which is what I wanted, and I ended up buying something other than what I eventually thought I had bought. I appreciate his and Chipp's efforts on behalf of the RR family. But I still am strident about books needing indices. (2) I don't think the Docs suck. I think they are what they were intended to be, namely, on online language dictionary. They can be hard to use at times, _especially_ if you are not (a) familiar with the HC lineage and/or (b) not a programmer. They're not Danny Goodman's Guide and, although we need something ala Danny Goodman's Guide, they shouldn't be judged harshly for not being what they are not. They're also not a guide to the IDE, which, while needed, is not what they are. Ditto for a set of project-based tutorials which, again, while needed, are not what they are. So why are they the focus of such intense, sometimes negative, reaction? Because they have to serve as all three of those things which they are not in addition to the one thing they are. And this has been a problem, unresolved, for a very long time. And I don't understand why. (3) I don't dislike Rev. In fact, should it go away, I shall retire to Sussex and keep bees or some such thing, because learning C, C++, Python, Java, etc. etc., is just NOT something I'm gonna do. But I don't understand why, when numerous _other_ people note again and again that certain things are problems (scripting tabs, anyone?) and certain things are needed (pre-builts, a comprehensive guide, project-based tutorials), that seemingly NOTHING SEEMS TO CHANGE? It's almost like there's this disastrous disconnect between what people are telling the company they want/need to see and what the company sees/hears needs to be done. And, sometimes, this gets mixed up with Dan's book and is perceived as an attack on Dan. It's not. It's not an attack on RR, either. It's more like when communication breaks down; one party says something, and the other party acts like _either_ they understood and are ignoring it _or_ they didn't understand it at all, both of which only prompt you to repeat yourself again and again, louder and still louder. But, it's not an attack on Rev: RevOnline is a good idea. But it's not for the novice/new user (I'm looking for something named what in which space under whose user name???). The Scripting Conferences are a good idea... but they emphasize teaching people "how to program" as opposed to "how to make things" (yes, I know that they're really the same thing, but how you couch terms makes a huge difference depending upon your intended audience). The Rev in Ed list is a good thing... in concept... but in reality it seems to be a bunch of confused or overloaded people waiting for something to happen, waiting especially for the company to speak to them as educators instead of providing them with their own mail list to talk to one another, wondering when something is gonna happen. I'm strident BECAUSE I want (selfishly, 'cuz I'm not all that fond of bees, either) RR to succeed. And I don't think complacency or silence about critical gaps will help. Of course, quite possibly, neither does being so loud that people simply stop listening, so, I'm sorry if I've offended. Judy From jperryl at ecs.fullerton.edu Mon Jul 25 23:00:05 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 20:00:05 -0700 (PDT) Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E5A3BC.1030809@fourthworld.com> Message-ID: Okay ... and, of course, _everybody_ knows what DMOZ is, right? Not just real geeks? @;-) Judy On Mon, 25 Jul 2005, Richard Gaskin wrote: > Judy Perry wrote: > > I suspect it's not likely that they're inclined > > to go looking all over etherspace to find the various (good) and scattered > > information, books, e-books, tutorials, video, conference stacks, etc. > > etc. > > All the more reason to make sure Rev-related sites are included in the > DMOZ listing: > > > > DMOZ feeds most major search engines and is the world's largest > hand-edited directory. While no panacea, it helps folks find what > they're looking for. > > > RevOnline is only usable for those already in the inner sanctum (and > > those NOT on dial-up I suspect). > > While I agree with your larger point and find little value in teaching > abstract concepts like code using concrete expressions like video, it's > worth noting for those of us who make 'net apps that broadband has > outpaced dial-up in the US and the UK. > > -- > Richard Gaskin > Fourth World Media Corporation > ___________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From 3mcgrath at adelphia.net Mon Jul 25 23:02:24 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 23:02:24 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E593CC.2020702@sover.net> References: <42E593CC.2020702@sover.net> Message-ID: <43fa833654f24e7f93efb6f614af6744@adelphia.net> Jon, But that is exactly the point. WHO will do this work and WHERE should it be put and in What context. Rev has been slowly making the docs better and it is still a work in progress. They are also trying the online conference thing with attached sample stacks (which is great). But this amount of work will definitely interfere with bug fixes and enhancement requests at the present time. They have started to implement a user editable area in the docs for user contribution on specific doc items but it still needs work. Where as a WIKI would be nice but people have already tried that and stalled in the effort. Besides a WIKI on some ones website besides Revs is not a good idea in the long run since that person might move or die or whatever and the effort is then lost. So Who, What and Where are the critical issues if this is to ever get done. It needs to be always accessible and monitored and formatted for correctness let alone be updated as changes are made to Transcript. Don't get me wrong I would love to see these: 1.) Extra examples in the existing docs (from different points of view - with different possible usages) . 2.) Sample stacks with existing code to make these examples work. 3.) A truly 'for beginners only' tutorial for the Rev application and interface and lastly 4.) A series of working Concept stacks that show the most integral parts of Transcript and how it can be used. Personally, I would like to see RevOnline expanded to host strictly pre-formated user submitted solution stacks that have gone through REV's seal of approval and hosted there and accessible from within Rev itself. This would be different from the user area where the strictness would not exist since many times that is to share a work in progress and get feedback. The format could be 'very' close to the format used in the online conference stacks. So if enough volunteers are available to write/contribute to these pre-formated stacks AND Rev is agreeable to host the space and provide the links in the RevOnline area then we could start to work on what types of solution/ideas are needed the most at this time. Then people could start working on them and this might get done. Other wise it becomes all 'talk'. Yours, Tom On Jul 25, 2005, at 9:37 PM, Jon wrote: > Whether this belongs in the "docs" or in something else is beside the > point. If I'm struggling with how to use a REPEAT, I need examples. Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Mon Jul 25 23:17:21 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 23:17:21 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <43fa833654f24e7f93efb6f614af6744@adelphia.net> References: <42E593CC.2020702@sover.net> <43fa833654f24e7f93efb6f614af6744@adelphia.net> Message-ID: <0915a6acac3308b3c75330037be21454@adelphia.net> P.S. And for those that don't use RevOnline because of dial-up issues or whatever then Concept stacks could be available on a CD for purchase like everyone else used to do. Death by committee and hot air aside this is very doable and at this time as well. I for one would enjoy contributing to this because everyone on this list has been of great help to me. Tom On Jul 25, 2005, at 11:02 PM, Thomas McGrath III wrote: > Personally, I would like to see RevOnline expanded to host strictly > pre-formated user submitted solution stacks that have gone through > REV's seal of approval and hosted there and accessible from within Rev > itself. This would be different from the user area where the > strictness would not exist since many times that is to share a work in > progress and get feedback. The format could be 'very' close to the > format used in the online conference stacks. > > So if enough volunteers are available to write/contribute to these > pre-formated stacks AND Rev is agreeable to host the space and provide > the links in the RevOnline area then we could start to work on what > types of solution/ideas are needed the most at this time. Then people > could start working on them and this might get done. Other wise it > becomes all 'talk'. Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From mpetrides at earthlink.net Mon Jul 25 23:22:35 2005 From: mpetrides at earthlink.net (Marian Petrides) Date: Mon, 25 Jul 2005 22:22:35 -0500 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: Actually what IS DMOZ, now that you mention it. M On Jul 25, 2005, at 10:00 PM, Judy Perry wrote: > Okay ... > > and, of course, _everybody_ knows what DMOZ is, right? Not just real > geeks? > > @;-) > > Judy > > On Mon, 25 Jul 2005, Richard Gaskin wrote: > > >> Judy Perry wrote: >> >>> I suspect it's not likely that they're inclined >>> to go looking all over etherspace to find the various (good) and >>> scattered >>> information, books, e-books, tutorials, video, conference stacks, >>> etc. >>> etc. >>> >> >> All the more reason to make sure Rev-related sites are included in >> the >> DMOZ listing: >> >> >> >> DMOZ feeds most major search engines and is the world's largest >> hand-edited directory. While no panacea, it helps folks find what >> they're looking for. >> >> >>> RevOnline is only usable for those already in the inner sanctum >>> (and >>> those NOT on dial-up I suspect). >>> >> >> While I agree with your larger point and find little value in >> teaching >> abstract concepts like code using concrete expressions like video, >> it's >> worth noting for those of us who make 'net apps that broadband has >> outpaced dial-up in the US and the UK. >> >> -- >> Richard Gaskin >> Fourth World Media Corporation >> ___________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Mon Jul 25 23:32:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 20:32:42 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <0915a6acac3308b3c75330037be21454@adelphia.net> References: <42E593CC.2020702@sover.net> <43fa833654f24e7f93efb6f614af6744@adelphia.net> <0915a6acac3308b3c75330037be21454@adelphia.net> Message-ID: <42E5AEDA.8090807@fourthworld.com> Thomas McGrath III wrote: > P.S. And for those that don't use RevOnline because of dial-up issues or > whatever then Concept stacks could be available on a CD for purchase Cool solution! Good idea. It's funny, but through all the many times this thread comes up, I don't think that's ever been offered as a way around the bandwidth issue. Thank you for the productive suggestion. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jacque at hyperactivesw.com Mon Jul 25 23:43:09 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Jul 2005 22:43:09 -0500 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <355322CE-11A3-4E21-8052-83B7D58D2E50@writeme.com> References: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> <42E585D0.5080201@chipp.com> <355322CE-11A3-4E21-8052-83B7D58D2E50@writeme.com> Message-ID: <42E5B14D.8020904@hyperactivesw.com> Dennis Brown wrote: > I get the distinct impression that many actually do not want to see the > exclusive club of knowledgeable Transcript programmers expand to > quickly by having good docs. Sorry, but this really bothers me. If the other professionals are anything like me, they want Revolution to be wildly successful; our livelihood depends on it. It's why I volunteer so much of my time to the community -- to spread the word. If I were concerned about being in the elite, I wouldn't give a shred of advice on this list and I wouldn't be spending the hours I do on the scripting conferences. I would love to see the program as well-used and understood as, say, Flash or VB. I would like to see a huge installed base from which I could cherry-pick clients and subcontractors. I'd love for Revolution to be so wide-spread and well-known that there was a whole shelf at Barnes and Noble on Transcript and an entire business community looking for Rev programmers. I want everyone and their grandma to know Revolution. It would increase my business a hundredfold. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From 3mcgrath at adelphia.net Mon Jul 25 23:43:26 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 23:43:26 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E5AEDA.8090807@fourthworld.com> References: <42E593CC.2020702@sover.net> <43fa833654f24e7f93efb6f614af6744@adelphia.net> <0915a6acac3308b3c75330037be21454@adelphia.net> <42E5AEDA.8090807@fourthworld.com> Message-ID: <8855dca913a559840f34866261cee7d4@adelphia.net> Richard, You're more than welcome. I just hope that this time around people get to agree on an approach and maybe do something about it. We'll see. If not I will save my emails for the next round of this thread. ;-) Tom P.S. I took you advice!!! August 1st is coming fast. Thanks. On Jul 25, 2005, at 11:32 PM, Richard Gaskin wrote: > Thomas McGrath III wrote: >> P.S. And for those that don't use RevOnline because of dial-up issues >> or whatever then Concept stacks could be available on a CD for >> purchase > > Cool solution! Good idea. > > It's funny, but through all the many times this thread comes up, I > don't think that's ever been offered as a way around the bandwidth > issue. > > Thank you for the productive suggestion. > > -- > Richard Gaskin > Fourth World Media Corporation > __________________________________________________ > Rev tools and more: http://www.fourthworld.com/rev > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Mon Jul 25 23:53:15 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Mon, 25 Jul 2005 23:53:15 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E5B14D.8020904@hyperactivesw.com> References: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> <42E585D0.5080201@chipp.com> <355322CE-11A3-4E21-8052-83B7D58D2E50@writeme.com> <42E5B14D.8020904@hyperactivesw.com> Message-ID: <43ba6661c09ab0b7562e913961d956de@adelphia.net> Jac, That is exactly the way the Director list serve is. Those who really know don't pass on what they learned and it is rather 'stuffy'. That is one reason why I abandoned Director in the end. The other was that every Director project 'looks' and 'feels' exactly the same, I mean you can tell a mile away if something was done in Director. I just didn't like that for the prototype work that I do. Where as this list and Rev's standalones are extremely fantastic. I am hoping that Borders Book stores also end up with a whole book shelf full of Transcript/Revolution stuff. P.S. Speaking of loving Rev and the people on this list, I want another Rev T-Shirt and Coffee Mug, I used mine everyday and, well, I spilled my coffee mug on the T-shirt and well now it's stained through. Anyone know if they will appear again??? Tom On Jul 25, 2005, at 11:43 PM, J. Landman Gay wrote: > Dennis Brown wrote: > >> I get the distinct impression that many actually do not want to see >> the exclusive club of knowledgeable Transcript programmers expand to >> quickly by having good docs. > > Sorry, but this really bothers me. If the other professionals are > anything like me, they want Revolution to be wildly successful; our > livelihood depends on it. It's why I volunteer so much of my time to > the community -- to spread the word. If I were concerned about being > in the elite, I wouldn't give a shred of advice on this list and I > wouldn't be spending the hours I do on the scripting conferences. I > would love to see the program as well-used and understood as, say, > Flash or VB. I would like to see a huge installed base from which I > could cherry-pick clients and subcontractors. I'd love for Revolution > to be so wide-spread and well-known that there was a whole shelf at > Barnes and Noble on Transcript and an entire business community > looking for Rev programmers. > > I want everyone and their grandma to know Revolution. It would > increase my business a hundredfold. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From ambassador at fourthworld.com Tue Jul 26 00:04:48 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 21:04:48 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <42E5B660.8030308@fourthworld.com> Marian Petrides wrote: >>> All the more reason to make sure Rev-related sites are included in the >>> DMOZ listing: >>> >>> >>> >>> DMOZ feeds most major search engines and is the world's largest >>> hand-edited directory. While no panacea, it helps folks find what >>> they're looking for. > > Actually what IS DMOZ, now that you mention it. The cool thing about DMOZ is that most folks never need to know a thing about it to still benefit from it. DMOZ is a dumb acronym (Directory MOZilla) for the Open Directory Project, the world's largest hand-edited index of web sites. Browse around in it from the link above and tell me you're not impressed. :) Being hand-edited, its entries have a MUCH higher quality of search results than purely machine-derived search engines like Inktomi and the other spiders that feed Google, MSN, Yahoo, Alta Vista, AOL, etc. For example there are a lot of people who spend their lives trying to game the seach engines, with crude tricks like keyword spamming and slightly less crude tricks like user-agent redirects. Google's PageRank algo is revised at least quarterly to fight spammy sites but with DMOZ they don't stand a chance from the start, since a human editor will review the site to ensure it's relevant for the proposed category. Also, the personal attention given to the index by its hundreds of volunteers means that sites are unusually well categorized, which lends even greater quality to the relevance of search results. And being the biggest of such indexes, DMOZ (or OPD, whichever you prefer) it's extremely valuable to machine-driven search engines to help weight and validate search results. And perhaps best of all it's a truly open project, so you can mirror it or use the data in a wide range of applications. So for all these reasons, the major search engines incorporate the DMOZ database into their own systems for evaluating and ranking pages. No matter which search engine you use, chances are the good results you've used were derived in part from DMOZ data. I suggest submitting Rev sites to it on this list about once a quarter for that reason: DMOZ' influence is vast, so the more sites we get posted there the more Rev-related concepts will influence the larger search pool. There are only 25 sites there now, but I know of many more. So in practial terms Rev is underrepresented there. Once the number of sites listed there begins to more accurately reflect the true size of the community, then folks using search engines for things like "cross-platform development" and "internet applications" will have a better chance of having Rev-related sites appropriately ranked among their search engine results. Chances are these sites are indexed anyway by spiders, but a listing at DMOZ can help raise spider frequency and sometimes the ranking as well. For additional background see . I think DMOZ is one of the best examples of community efforts ever. Hats off to the volunteers who make it possible! -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Jul 26 00:10:17 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 21:10:17 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <43fa833654f24e7f93efb6f614af6744@adelphia.net> References: <42E593CC.2020702@sover.net> <43fa833654f24e7f93efb6f614af6744@adelphia.net> Message-ID: <42E5B7A9.2020806@fourthworld.com> Thomas McGrath III wrote: > They are also trying the online > conference thing with attached sample stacks (which is great). But this > amount of work will definitely interfere with bug fixes and enhancement > requests at the present time. Actually, you can thank Jacque for most of the legwork on getting those conferences together. She created the template stack, edits them when presenters submit them to her, posts them on the site, and re-posts them later with the conference transcript. And of course she moderates the conferences, in addition to having thought the whole thing up, found knowledgeable Rev folks to do the presentations, and coordinates everything. If that was billable time it'd total several thousand dollars. But thanks to her volunteer efforts the folks at RunRev are still free to continue working on bug fixes, etc. That's one of the many reasons we all enjoyed a "Praise be to Jacque" thread last week. :) I wonder why the Online Conference stacks aren't linked to from within the Help files? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Tue Jul 26 00:16:59 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 21:16:59 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <43ba6661c09ab0b7562e913961d956de@adelphia.net> References: <7C694F8E-9693-48F4-8B69-3E1CFB7EA8BB@writeme.com> <42E585D0.5080201@chipp.com> <355322CE-11A3-4E21-8052-83B7D58D2E50@writeme.com> <42E5B14D.8020904@hyperactivesw.com> <43ba6661c09ab0b7562e913961d956de@adelphia.net> Message-ID: <42E5B93B.6080407@fourthworld.com> Thomas McGrath III wrote: > Jac, > > That is exactly the way the Director list serve is. Those who really > know don't pass on what they learned and it is rather 'stuffy'. That is > one reason why I abandoned Director in the end. That's one of the things I like about being in my 40s: I got started when computing was mostly a bunch of techno-hippies who were all about sharing. :) I remember a fella on an old WildCat BBS (that was before the Web was invented) who taught me how to parse Mac 'VERS' resources. I vowed to return the favor once I knew something worth sharing, and he encouraged me to pay it forward, which I've been trying to do ever since. His name was Gordon Apple, and he was a fellow member of the LA Mac User Group. If I've ever posted anything useful to you and you happen across him at a conference, be sure to tell him "Thanks". He's a swell guy, and his sharing spirit, like so many of the time, was a real inspiration to me. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From b.xavier at internet.lu Tue Jul 26 00:22:31 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 06:22:31 +0200 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E56213.6010603@chipp.com> Message-ID: <20050726041158.93E11824D68@mail.runrev.com> Hi Chipp i agree that it's hard to write both software and documentation but by far, the hardest is the documentation ;) i find the rev documentation more than enough but my experience is hardly a beginners'. still i learned without books and always by disecting the stacks i found - and i never stopped looking for new stacks. If there is one difference between rev and HC, it's the lack of a home stack that guides you in all simplicity to the examples. I know, there's the revonline, but it's hardly a nice and simple example users can't go unlocking themselves... As far as TAOO, well, i should finish it first - gather those users that dont like reading documentation and see what's not clear... Once that step is done, surely the docs authoring will be simpler ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Chipp Walters > Sent: Tuesday, July 26, 2005 00:05 > To: How to use Revolution > Subject: Re: Praise: Rev Documentation to the rescue > > Dan Shafer wrote: > > > Designing and writing good docs is nearly as hard as designing and > > writing good software. > > I beg to differ! How many software products/code libraries do > you know of which don't even have documentation. Poor Xavier > and his TAOO project is a great example, while he has told us > some great ideas-- w/out *good* documentation, it's really > hard to follow... (no disrespect intended, X, I still love you;-). > > In fact, without good documentation, much software is > rendered unusable. > A case might even be made that without the books authored by > the '3 Dans,' Hypercard may have never been adopted so widely. > > best, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dweeble at wi.rr.com Tue Jul 26 00:38:32 2005 From: dweeble at wi.rr.com (Michael) Date: Mon, 25 Jul 2005 23:38:32 -0500 Subject: Shell "start" with value Message-ID: <1122352712.5532.16.camel@localhost.localdomain> Hello, Have run into something I just seem to not solve and asking if someone may have an answer to this one. I'm running the shell command for and environment add and need to add the value with it, but of couse just get IPLOC=tIPadd. tIPadd is the value of and ipaddress. Anyone know how I can get this in there, its WinXP so I'm using the setx.exe file to get the environment add global. get shell ("start" && location & "setx.exe IPLoc tIPadd") Thanks for any help Michael From b.xavier at internet.lu Tue Jul 26 00:47:37 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 06:47:37 +0200 Subject: Shell "start" with value In-Reply-To: <1122352712.5532.16.camel@localhost.localdomain> Message-ID: <20050726043703.ECD43824F4A@mail.runrev.com> for one, if there is a space in location, this will fail. You will need to eclose it in quotes. Second the iploc and tipadd are strings not values in the quotes. get shell ("start" && quote & location & "setx.exe" & quote && IPLoc && tIPadd) should work better cheers Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > Sent: Tuesday, July 26, 2005 06:39 > To: use-revolution at lists.runrev.com > Subject: Shell "start" with value > > Hello, > > Have run into something I just seem to not solve and asking > if someone may have an answer to this one. > I'm running the shell command for and environment add and > need to add the value with it, but of couse just get IPLOC=tIPadd. > tIPadd is the value of and ipaddress. > Anyone know how I can get this in there, its WinXP so I'm > using the setx.exe file to get the environment add global. > > get shell ("start" && location & "setx.exe IPLoc tIPadd") > > Thanks for any help > Michael > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Tue Jul 26 01:04:27 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 22:04:27 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E56213.6010603@chipp.com> References: <216F385F-8DC1-4ADA-A4E6-DB3AED5BF5D9@danshafer.com> <42E56213.6010603@chipp.com> Message-ID: <7EE7EEAE-5AE7-470A-992F-67F380F0AE70@danshafer.com> I almost said "harder," Chipp, but I figured that being in a tiny minority here (writer first, coder second) I'd risk the wrath of the list. I get enough of that as it is. :-) Dan On Jul 25, 2005, at 3:05 PM, Chipp Walters wrote: > Dan Shafer wrote: > > >> Designing and writing good docs is nearly as hard as designing >> and writing good software. >> > > I beg to differ! How many software products/code libraries do you > know of which don't even have documentation. Poor Xavier and his > TAOO project is a great example, while he has told us some great > ideas-- w/out *good* documentation, it's really hard to follow... > (no disrespect intended, X, I still love you;-). > > In fact, without good documentation, much software is rendered > unusable. A case might even be made that without the books authored > by the '3 Dans,' Hypercard may have never been adopted so widely. > > best, > > Chipp > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jperryl at ecs.fullerton.edu Tue Jul 26 01:04:17 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 22:04:17 -0700 (PDT) Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: <20050726043703.ECD43824F4A@mail.runrev.com> Message-ID: Well, if you're gonna bitch about something, you should be willing to do something about what you're bitching about. So, as my penance, I am going to try to make a webpage that tries really, awfully, hard to be a comprehensive listing of the various Rev tutorial thingies available. I tried googling it and found this: http://www.metacollection.com/dir/Computers/Programming/Languages/Transcript/ Anybody willing to claim it? Anyway, you can help me by sending me your favorite Rev-related tutorial sites. The following additional info would be helpful: (1) URL (2) Topic(s) covered (3) Format of material (PDF? Word Doc? Stack? etc.) (4) User Level (Non-programmer; Rev Newbie; Average Rev Programmer; Advanced Rev Programmer; Advanced Programmer but New/ish to Rev) (5) Anything else you want to add (bios?). Also helpful would probably be a listing of commercial Rev apps. I think I probably even have a fair amount of space for free material (e.g., stacks) in my department's user account that are of 'educational' value (that is, stuff for which you don't want money in return). I can also probably do links to not-free stuff if it is of reasonably educational value. Out. Judy From revdan at danshafer.com Tue Jul 26 01:13:00 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 22:13:00 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <8A2DB0C5-03DB-4127-ACFC-8F9AC4A84E41@danshafer.com> I wonder how many of the people complaining about the lack of tutorial/intro stuff have viewed any or all of the video tutorials that are included free with Rev/DC. I did. I went through all of them. For a beginner, they seemed to me to be quite good, easy to understand, focused, well-paced and helpful. Since they are in your face by default when you install a new release of the product, it seems to me that they go a long way toward helping new users get comfortable with the tool. Or am I missing something? Or maybe (gasp!) I'm just wrong. Happens all the time. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From ambassador at fourthworld.com Tue Jul 26 01:15:01 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 22:15:01 -0700 Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: References: Message-ID: <42E5C6D5.5040307@fourthworld.com> Judy Perry wrote: > I tried googling it and found this: > > http://www.metacollection.com/dir/Computers/Programming/Languages/Transcript/ > > Anybody willing to claim it? Welcome to DMOZ. That's one of the many DMOZ mirrors. The quickest way to build that list is to use the "Suggest URL" link at the top of the page at the main DMOZ site: It's great that you want to help post the listings, but be sure to list the site owner's email address as the submitter so we don't get flagged for spamming. Thanks for helping to build the Open Directory. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From revdan at danshafer.com Tue Jul 26 01:21:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 22:21:59 -0700 Subject: Another Doc Thought Message-ID: It may not be all that obvious but one of the reasons there's not better documentation on SOME of the things in the Rev IDE is because someone knows they're going to change in an upcoming revision and doesn't want to spend gobs of time documenting something that will soon be obsolete. I KNOW that's the case about at least one aspect of things because the RR folks were kind enough to steer me away from a project I thought of a while back by warning me that it would be changing in an upcoming release. Already my first book is, while not obsolete, at least a little aged because of IDE UI changes that took place between its release and the 2.6 product. That's one reason I hate to write printed books these days. An eBook can be published and then updated as needed one time at no production cost. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From ambassador at fourthworld.com Tue Jul 26 01:27:58 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 22:27:58 -0700 Subject: Another Doc Thought In-Reply-To: References: Message-ID: <42E5C9DE.2060603@fourthworld.com> Dan Shafer wrote: > It may not be all that obvious but one of the reasons there's not > better documentation on SOME of the things in the Rev IDE is because > someone knows they're going to change in an upcoming revision and > doesn't want to spend gobs of time documenting something that will soon > be obsolete. > > I KNOW that's the case about at least one aspect of things because the > RR folks were kind enough to steer me away from a project I thought of > a while back by warning me that it would be changing in an upcoming > release. > > Already my first book is, while not obsolete, at least a little aged > because of IDE UI changes that took place between its release and the > 2.6 product. > > That's one reason I hate to write printed books these days. An eBook > can be published and then updated as needed one time at no production > cost. Amen to that, brother. I did the technical edit for "GoLive 5 Bible", and it took months to write, test, edit, and revise. Once released, like most books on software products it had a shelf life only slightly longer than the time it took to write it. GL6 came out less than a year later, GL7 less than a year after that. Most software undergoes a significant UI overhaul on the average of about once a year. I will never write a book on a specific software product. I'd write about the language happily, but the UI? Fuggedaboudit. :) But the question here is: Is Rev's UI really that opaque? Or is it the underlying concepts which drive the UI? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From jperryl at ecs.fullerton.edu Tue Jul 26 01:29:45 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 25 Jul 2005 22:29:45 -0700 (PDT) Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: <42E5C6D5.5040307@fourthworld.com> Message-ID: Okay.. ummm, so you mean in addition to citing each URL you suggest the site owner's email addy? Just want to be certain... (somehow, I should have know you'd know who/what it was...) Judy On Mon, 25 Jul 2005, Richard Gaskin wrote: > Judy Perry wrote: > > I tried googling it and found this: > > > > http://www.metacollection.com/dir/Computers/Programming/Languages/Transcript/ > > > > Anybody willing to claim it? > > Welcome to DMOZ. That's one of the many DMOZ mirrors. > > The quickest way to build that list is to use the "Suggest URL" link at > the top of the page at the main DMOZ site: > > > It's great that you want to help post the listings, but be sure to list > the site owner's email address as the submitter so we don't get flagged > for spamming. > > Thanks for helping to build the Open Directory. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From ambassador at fourthworld.com Tue Jul 26 01:36:05 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 22:36:05 -0700 Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: References: Message-ID: <42E5CBC5.1030702@fourthworld.com> Judy Perry wrote: > Okay.. ummm, so you mean in addition to citing each URL you suggest the > site owner's email addy? > > Just want to be certain... > > (somehow, I should have know you'd know who/what it was...) I'm just a big DMOZ fan. Love those folks! Yes, check out the submission form at the "Suggest URL" link at the top of: It's a short form, and includes a box for comments where I usually say something like "Thank you for you hard working making DMOZ so damn cool" :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdan at danshafer.com Tue Jul 26 01:44:50 2005 From: revdan at danshafer.com (Dan Shafer) Date: Mon, 25 Jul 2005 22:44:50 -0700 Subject: Another Doc Thought In-Reply-To: <42E5C9DE.2060603@fourthworld.com> References: <42E5C9DE.2060603@fourthworld.com> Message-ID: Yes, indeed, brother Richard, that IS the question, is it not? I think what we're hearing here -- and I'm certainly interpolating -- is a cry for the book described at RevCon West as an "architecture" book. A book that shows in painstaking detail, step by step through the IDE and the language, how to build various kinds of applications. That is a huge task. Huge. (BTW, there's another issue for me that probably doesn't concern anyone else. When people on the list contribute free documentation- like things -- tutorial stacks, how-tos, etc. -- I want at one and the same time to applaud loudly and groan quietly. Because, you see, if someone ELSE is writing something on the same topic and perhaps putting in a lot of effort and time and energy with the hope of selling the product and someone else comes along and offers something -- even if not quite as good or complete -- for free, it crushes the spirit if not the market. A clearing-house for volunteer effort would help avoid such things but that begs the question of who would set up and manage such a thing. Sigh. On Jul 25, 2005, at 10:27 PM, Richard Gaskin wrote: > But the question here is: Is Rev's UI really that opaque? Or is > it the underlying concepts which drive the UI? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From yoursignup at yahoo.com Tue Jul 26 02:02:30 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Mon, 25 Jul 2005 20:02:30 -1000 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <42E5B14D.8020904@hyperactivesw.com> Message-ID: Hi All, This is more in response to the thread, than any one person's input. Being new to the whole stack/card paradigm, as well as, to x-talk/Transcript, but not being new to programming, design, database, networking, messaging, web and application development (for over 25 years), I am probably as familiar as anyone, with the frustrations being expressed here. That said, I think the whole hue and cry here is for a panacea or holy grail. A one "place" where all our questions will be answered. A wiki, a CD, another book, a better index, etc. Don't get me wrong, these are all great ideas, and I'd love to see some or all of them come to fruition. But, in the end, if each were to be implemented, they would actually increase the number of places answers can be found, rather than consolidate all answers into the mythical "one place." And, this diversity is a good thing! The frustration we all experience is not knowing where to look! We know from personal experience that we can do something, but are not sure exactly the best way, or specifically how to implement it Rev. Combine this with the urgency of having to come up with a deliverable, by the end of the day, and not sure where to find the answer, causes us to scream, "This is so basic, why is it taking me so long to find this!?" "Why isn't this spelled out in the documentation!?" "This should be on the front page of the book!" The fact is, the answers are in the diversity of this community. Some of you have websites, some books, some articles, some sample stacks, and of course, the wonderful participation of so many in this truly great forum. This is why I appreciated so much Eric's recent release of his Resources Picker. It's because it's impossible for any one person or group to consolidate every type of information. But, if I can search the archives of this list to get a clue, of what I should be looking for, go to someone's site and find an excellent article they wrote, find a elegantly written sample stack on someone else's site or Rev Online, go to the documentation and look up the syntax I have seen in the samples and referenced in the articles and emails, and then, if I'm still unsure, post a hopefully intelligent question to this list and get an answer in hours (sometimes minutes), then the programming world of Rev, becomes my oyster. So, I guess what I'm saying is, just keep doing what you are doing! Keep writing those articles, sample stacks, emails to this list, challenges, plugins, externals, suggestions and all the rest. Just let Eric's free Resources Picker know where you put it, and then we'll all have the best of both worlds, indexed diversity! :-)) Jim From ambassador at fourthworld.com Tue Jul 26 02:47:19 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 23:47:19 -0700 Subject: Another Doc Thought In-Reply-To: References: <42E5C9DE.2060603@fourthworld.com> Message-ID: <42E5DC77.3050909@fourthworld.com> Dan Shafer wrote: > Yes, indeed, brother Richard, that IS the question, is it not? > > I think what we're hearing here -- and I'm certainly interpolating -- > is a cry for the book described at RevCon West as an "architecture" > book. A book that shows in painstaking detail, step by step through the > IDE and the language, how to build various kinds of applications. That > is a huge task. Huge. Very. But if we could teach the art of dissection, the people could learn from existing code without need as much explanation. Am I dreaming? I learned so much dissecting HyperCard and SuperCard examples, almost as much as the dictionaries. Never really read much of anything else from either of those products but the dictionary and sample code. Maybe that's helpful, or maybe I'm just a freak. > (BTW, there's another issue for me that probably doesn't concern anyone > else. When people on the list contribute free documentation- like things > -- tutorial stacks, how-tos, etc. -- I want at one and the same time to > applaud loudly and groan quietly. Because, you see, if someone ELSE is > writing something on the same topic and perhaps putting in a lot of > effort and time and energy with the hope of selling the product and > someone else comes along and offers something -- even if not quite as > good or complete -- for free, it crushes the spirit if not the market. > A clearing-house for volunteer effort would help avoid such things but > that begs the question of who would set up and manage such a thing. I can't imagine there are that many potentially in conflict. Maybe the RevDocs group could be used for that? -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From ambassador at fourthworld.com Tue Jul 26 02:50:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 25 Jul 2005 23:50:22 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <42E5DD2E.4020204@fourthworld.com> Jim Bufalini wrote: > So, I guess what I'm saying is, just keep doing what you are doing! Well said. People complain on this list about many things, but never about this list. Instead, the write about how valuable the list is for learning. And the best thing is that all those who complain on this list are on this list. So just keep the questions coming, and thousands of dollars' worth of personal tutoring will continue to happen here each and every day. -- Richard Gaskin Fourth World Media Corporation __________________________________________________ Rev tools and more: http://www.fourthworld.com/rev From gcanyon at inspiredlogic.com Tue Jul 26 03:17:06 2005 From: gcanyon at inspiredlogic.com (Geoff Canyon) Date: Tue, 26 Jul 2005 00:17:06 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <86F9CBDA-11CE-4E76-AD10-0209C05A368E@danshafer.com> References: <323460B9-13F8-4049-B4EB-3FCD433A9277@writeme.com> <86F9CBDA-11CE-4E76-AD10-0209C05A368E@danshafer.com> Message-ID: The wiki is not dead, just resting. The original domain has lapsed. You can reach it at: http://poetickat.com:8080/revdocs I put a password on it because some people vandalized it. The user is rev, the password is magic -- how many people remember that password? The problem at this point is that the wiki is horribly out of date. I think it's based on 1.1.1. I think I did an export of 2.x to html, but never went to the trouble of wiki-fying it. The new documentation format allows for "web notes." I believe that was supposed to be a wiki-like feature, but I don't know if it ever got wired up. Might be worth checking into. If it isn't wired up, it wouldn't be hard to tie in a wiki page to the existing docs. Heck, with Chipp's web plugin it should be trivial. Just create a stack that displays the wiki, then let it grab the current page of the docs to know what wiki page to display. Easy peasey. Okay, maybe just easy carrotsey. gc On Jul 25, 2005, at 12:26 PM, Dan Shafer wrote: > Back in early 2002, Geoff Canyon (who hasn't been seen around these > parts in a while) started a Rev Docs Wiki. He exported all the docs > to an XML format as I recall and populated the Wiki with them as > starting points. It was met with a resounding thud. > > I'm sending Geoff a note to see if he's still got the original > stuff around (the site is dead) and whether he'd be willing to > share that as a starting point. I would be happy to step up to the > plate and get something like this kick-started and at least help > lead the effort. I can supply a hosting place for it. But I'm not > sure this is an idea whose time has yet come. Would it get lots of > use and update? WOuld RR support it in some meaningful ways? > > > On Jul 25, 2005, at 11:59 AM, Dennis Brown wrote: > > >> Tim, >> >> I have also posted in the past about the Docs merits and >> shortfalls and also suggested a wiki like you did. A wiki would >> be great for fleshing out the docs in depth. >> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Tue Jul 26 03:27:05 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 09:27:05 +0200 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <78E9E579-7317-4CF7-919B-B534AE422BBC@sosmartsoftware.com> Hi Jim, Thanks for the kind words. Finding accurate information in a very large documentation, relevant example stacks to get started, tools or tutorials on web-sites, etc. is rather difficult when beginning... and later too! Information is scattered in many places but this diversity is a sign of good health. It's the reason why I imagined Resources Picker not as a plugin, but a relational tool. The plugin, from keywords you enter, searches 40 relevant websites (customisable list), 200 Rev Online stacks, 100 RevNet resources, 2000 docs files, 300 000 mailing lists contributions and 8 000 000 000 web pages if needed :-) At the moment, more than 100 developers have dowloaded this plugin since 10 days. Thanks to all of them. Le 26 juil. 05 ? 08:02, Jim Bufalini a ?crit : > This is why I appreciated so much Eric's recent release of his > Resources > Picker. It's because it's impossible for any one person or group to > consolidate every type of information. > > But, if I can search the archives of this list to get a clue, of > what I > should be looking for, go to someone's site and find an excellent > article > they wrote, find a elegantly written sample stack on someone else's > site or > Rev Online, go to the documentation and look up the syntax I have > seen in > the samples and referenced in the articles and emails, and then, if > I'm > still unsure, post a hopefully intelligent question to this list > and get an > answer in hours (sometimes minutes), then the programming world of > Rev, > becomes my oyster. > > So, I guess what I'm saying is, just keep doing what you are doing! > Keep > writing those articles, sample stacks, emails to this list, > challenges, > plugins, externals, suggestions and all the rest. Just let Eric's free > Resources Picker know where you put it, and then we'll all have the > best of > both worlds, indexed diversity! :-)) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From briany at qldlearning.com Tue Jul 26 03:32:18 2005 From: briany at qldlearning.com (Brian Yennie) Date: Tue, 26 Jul 2005 00:32:18 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <78E9E579-7317-4CF7-919B-B534AE422BBC@sosmartsoftware.com> References: <78E9E579-7317-4CF7-919B-B534AE422BBC@sosmartsoftware.com> Message-ID: Eric, I agree, this plugin is a great tool! What I love about it is it encourages me personally to make contributions knowing that they can be found. Here's my question- is there a method to be shared for making our own stacks for Rev Online "friendly" to your plugin and easily searched? Kind of like making a website "search engine optimized" (without all of the nasty tricks of course)...? > Thanks for the kind words. > Finding accurate information in a very large documentation, relevant > example stacks to get started, tools or tutorials on web-sites, etc. > is rather difficult when beginning... and later too! > Information is scattered in many places but this diversity is a sign > of good health. > It's the reason why I imagined Resources Picker not as a plugin, but a > relational tool. > The plugin, from keywords you enter, searches 40 relevant websites > (customisable list), 200 Rev Online stacks, 100 RevNet resources, 2000 > docs files, 300 000 mailing lists contributions and 8 000 000 000 web > pages if needed :-) > At the moment, more than 100 developers have dowloaded this plugin > since 10 days. > Thanks to all of them. From joel.guillod at net2000.ch Tue Jul 26 03:46:00 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Tue, 26 Jul 2005 09:46:00 +0200 Subject: empty ask result + ok = result:cancel In-Reply-To: <20050725024651.A2B43824935@mail.runrev.com> References: <20050725024651.A2B43824935@mail.runrev.com> Message-ID: <3705D625-FC45-43CD-BBEC-34DDB19A0393@net2000.ch> Dear Mister X, I mentioned such a bug (#3019) in build 91 and it has been wonderfully fixed for the current downloable build. In the msg box, "put version(), buildnumber()" should reply "2.6.5,108". Otherwise download and reinstall Rev 2.6 again. Also I agree with Eric, you should place the result() function just after the ask statement: ask "Replace what:" with lselection if result() is "cancel" then exit mouseup put it into x Hope this help. Joel G Le 25 juil. 05 ? 04:46, use-revolution-request at lists.runrev.com a ?crit : > Date: Sun, 24 Jul 2005 20:04:06 +0200 > From: "MisterX" > ... > ask "Replace what:" with lselection > put it into x > get the result > if it is "cancel" then exit mouseup > From xbury.cs at clearstream.com Tue Jul 26 03:49:05 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 26 Jul 2005 09:49:05 +0200 Subject: empty ask result + ok = result:cancel In-Reply-To: <3705D625-FC45-43CD-BBEC-34DDB19A0393@net2000.ch> Message-ID: Joel, Thanks, Eric told me offlist about this version problem. I uploaded this morning the fix and it works as expected. I also closed the bug... Thanks for the help Cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 26/07/2005 09:46:00: > Dear Mister X, > > I mentioned such a bug (#3019) in build 91 and it has been > wonderfully fixed for the current downloable build. > > In the msg box, "put version(), buildnumber()" should reply > "2.6.5,108". Otherwise download and reinstall Rev 2.6 again. > > Also I agree with Eric, you should place the result() function just > after the ask statement: > > ask "Replace what:" with lselection > if result() is "cancel" then exit mouseup > put it into x > > Hope this help. > > Joel G > > > Le 25 juil. 05 ? 04:46, use-revolution-request at lists.runrev.com a > ?crit : > > > Date: Sun, 24 Jul 2005 20:04:06 +0200 > > From: "MisterX" > > ... > > ask "Replace what:" with lselection > > put it into x > > get the result > > if it is "cancel" then exit mouseup > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Tue Jul 26 04:03:23 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 10:03:23 +0200 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: <78E9E579-7317-4CF7-919B-B534AE422BBC@sosmartsoftware.com> Message-ID: Hi Brian, Thanks. Yes, your question highlights an important thing: As now Rev Online descriptions can be searched by Resources Picker and as you told me off list, it would be a very good idea for all to pay attention to the description for any stack uploaded to Rev Online by specifying relevant keywords which will help RP to display the more accurate information. As a reminder, any stack description can be edited at any moment :-) From your off list mail: > For example, pretend I wrote a simple media player example. I might > write: > > Description: > This stack shows how to make a mp3 player in Revolution. > > BUT if I know it might be searched I would be smart and do > something like: > > Description: > This stacks show how to make a mp3 player in Revolution. > keywords: audio, player object, pause, rewind, fast forward, mp3 > > This way people looking for "audio player" might better find it! I > guess I'm just basically thinking, if people were made aware that > their RevOnline stacks can be searched for, they might write better > descriptions =) Le 26 juil. 05 ? 09:32, Brian Yennie a ?crit : > I agree, this plugin is a great tool! What I love about it is it > encourages me personally to make contributions knowing that they > can be found. Here's my question- is there a method to be shared > for making our own stacks for Rev Online "friendly" to your plugin > and easily searched? Kind of like making a website "search engine > optimized" (without all of the nasty tricks of course)...? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From FlexibleLearning at aol.com Tue Jul 26 04:38:43 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 26 Jul 2005 04:38:43 EDT Subject: All in One Place (was: Praise: Rev Documentation to the rescue) Message-ID: As Jim wrote, there is no "one place" for all knowledge and Resources Picker is a great tool. Add the Scripter's Scrapbook as a place to store wisom, code, links to both web and local documents, stacks and resources you have a great way to manage what you find as a present solution and future personal reference archive. All information may not be in one place, but you can coordinate what's important to you in one place! /H The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From eric.chatonet at sosmartsoftware.com Tue Jul 26 04:45:37 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 10:45:37 +0200 Subject: Rant Re Rev Documentation In-Reply-To: References: <42E3215F.8010500@comcast.net> <42E49505.3020102@chipp.com> Message-ID: <7B10B57F-AEBD-48F4-B698-E929478F857C@sosmartsoftware.com> Hi Jeanne, I found the cookbook so useful... from Rev 2.0 to 2.2.1 :-( that I included a cookbook search in my Resources Picker plugin lately released. So it's a kind of rebirth: if you have any cookbook, you can search it with keywords within Rev 2.6 with RP and display example stacks :-) Le 26 juil. 05 ? 00:12, Jeanne A. E. DeVoto a ?crit : > I should also mention that in older versions of the docs, there was > a "Cookbook" section (many of the items written by our own Jacque) > with extended annotated examples of useful handlers, and linked to > the dictionary via the See Also section. There weren't enough of > these - fewer than a hundred, I think - but the plan was to grow > them gradually until each dictionary word had a cookbook example or > two where you could see how it was used. (It looks like the > Cookbook was one of the things removed in the newer versions of the > docs, though - don't want to have anyone wasting time digging for > it. But you may be able to find it if you have an older version.) I > agree that there need to be a lot more worked examples. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From heather at runrev.com Tue Jul 26 04:49:42 2005 From: heather at runrev.com (Heather Nagey) Date: Tue, 26 Jul 2005 09:49:42 +0100 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <20050726045545.1D06F824F66@mail.runrev.com> References: <20050726045545.1D06F824F66@mail.runrev.com> Message-ID: <240d4a1113938dfa7924feabf8b84998@runrev.com> Dear List Folks, I've been reading through this thread, and there are a couple of things I'd like to address. First, we are all aware of the need to continually improve the documentation, and we are working on it. We are not sitting on our hands going "ok, great, we did that now we can forget all about it". However I would like to point out the immense amount of effort that has already gone into making the existing docs as comprehensive as they are. It was one of the first things we did when we started the whole Revolution project. We hired a dedicated docs writer (the excellent Jeanne Devoto in case anyone has forgotten) and the creation of the dictionary and user guide took years, not months. More recently, after listening to feedback on this list and from users generally, we undertook the creation of the video tutorials. We are continuing to work on the integration and expansion of this material. Regarding needing a fast connection to use them, you can already get these on CD, if you purchase either the Revolution or Dreamcard trial CD, the video tutorials will be on it. Regarding the suggestion that we provide a centralised list of useful links for our users, we do: check out http://support.runrev.com/resources/useful_sites.php If you know of any additional links that should be there, please send them to support at runrev.com. It's a tough balancing act, how much time should we put into improving and adding to the docs, versus how much time we should put into improving and adding to the program itself. We try to do both. Sometimes one gets a little ahead of the other. On the whole though, both aspects of Revolution are moving forward. Finally, this list is a great resource, and as listmom I personally have *never* seen any indication that anyone on the list holds back information with the intent to keep Revolution exclusive. Quite the reverse. We at Runrev are incredibly grateful to the good folks on this list, for being the wonderful evangelists that they are. Warm regards, Heather Nagey, Customer Support Manager Runtime Revolution Ltd www.runrev.com From yoursignup at yahoo.com Tue Jul 26 06:00:38 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Tue, 26 Jul 2005 00:00:38 -1000 Subject: All in One Place (was: Praise: Rev Documentation to the rescue) In-Reply-To: Message-ID: Sorry, forgot to mention I use Scripter's Handbook, also. It's right on my desktop, and one of the first things I found, when I was starting, to help me learn Rev. That is, after going through all the Rev. tutorials (to whomever it was on here that wondered, if anyone actually does go through the tutorials). Now, if we could just combine this thread, with the one that preceded it on standards and interoperability of plugins, then everyone could remain programmers, instead of thinking about becoming librarian wannabees. :-) Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of > FlexibleLearning at aol.com > Sent: Monday, July 25, 2005 10:39 PM > To: use-revolution at lists.runrev.com > Subject: All in One Place (was: Praise: Rev Documentation to the rescue) > > > As Jim wrote, there is no "one place" for all knowledge and > Resources Picker > is a great tool. Add the Scripter's Scrapbook as a place to store wisom, > code, links to both web and local documents, stacks and > resources you have a > great way to manage what you find as a present solution and > future personal > reference archive. All information may not be in one place, but you can > coordinate what's important to you in one place! > > /H > > The Scripter's Scrapbook > www.FlexibleLearning.com/ssbk.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From bvg at mac.com Tue Jul 26 06:34:48 2005 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 26 Jul 2005 12:34:48 +0200 Subject: ChatRev DOWN! In-Reply-To: <42E56CCF.7040102@ehug.info> References: <2c58c7d33f7901ac9c4f26e2cb63ba84@mac.com> <42E56CCF.7040102@ehug.info> Message-ID: <6a790409fb11f6e589ee964b9fa2a849@mac.com> Hi all I know that most of you don't care, but ChatRev is up again, chat away! Bjoernke -- 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 From xbury.cs at clearstream.com Tue Jul 26 06:56:15 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 26 Jul 2005 12:56:15 +0200 Subject: ChatRev DOWN! In-Reply-To: <6a790409fb11f6e589ee964b9fa2a849@mac.com> Message-ID: who said they didn't care? ChatRev is by far the best communications channel for RunRev ;) I care! ;) use-revolution-bounces at lists.runrev.com wrote on 26/07/2005 12:34:48: > Hi all > > I know that most of you don't care, but ChatRev is up again, chat away! > > Bjoernke > > -- > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From europe at ehug.info Tue Jul 26 07:08:55 2005 From: europe at ehug.info (Mark Schonewille) Date: Tue, 26 Jul 2005 13:08:55 +0200 Subject: ChatRev DOWN! In-Reply-To: <42E56CCF.7040102@ehug.info> References: <2c58c7d33f7901ac9c4f26e2cb63ba84@mac.com> <42E56CCF.7040102@ehug.info> Message-ID: <42E619C7.3080807@ehug.info> Hi! I am taking my ChatRev server off-line again and hope to see you on the usual server, soon. Best, Mark Mark Schonewille wrote: > Dear ChatRev fans, > > During the next two days, I will be running the ChatRev server on my > MacOS 9 iMac. This gives you the opportunity to chat between the > crashes. The IP URL for this server is > > www.economy-x-talk.com/ip.txt > > and the ip address is > > 212.129.171.4 > > Depending on the client you use, you have to enter either one of them. > The server is running on port 8008. You may have to register again. If > there is a problem, you can send an e-mail to support at economy-x-talk.com. > > I will run this server for a short time only and hope that Bj?rnke will > have his own server up and running very soon. > > Best regards, > > Mark -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From paolo.mazza at neol.it Tue Jul 26 09:02:43 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Tue, 26 Jul 2005 15:02:43 +0200 Subject: CGI MAC OSX In-Reply-To: <42E1389D.6080204@hyperactivesw.com> References: <64878EF567131D4596246171F75FD4A97445F6@m-epo-1.epo.cdc.gov> <, > <,> <42E1389D.6080204@hyperactivesw.com> Message-ID: jacque at hyperactivesw.com on Venerd?, 22 luglio 2005 at 19:19 +0100 wrote: > >The last Darwin engine available is 2.1.2. This version still works >fine. You can get it here: > > Why only the engines for windows and Linux are available? I would like to connect to a My-sql database from the CGI and I think I am going to face some problems using 2.1.2 version of Rev. Best regards > > From charles.hartman at conncoll.edu Tue Jul 26 09:12:07 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 09:12:07 -0400 Subject: Another Doc Thought In-Reply-To: <42E5C9DE.2060603@fourthworld.com> References: <42E5C9DE.2060603@fourthworld.com> Message-ID: <282E7BED-10D7-4D70-8460-393F0B2F6D5E@conncoll.edu> (since I'm one who said something vaguely curmudgeonly about the UI) No, it's not opaque, and the underlying concepts are _unusually_ clear. I think it behaves oddly. Focus, especially, seems to trip up (dumb old) me all the time. I press a left arrow thinking I'm about to nudge a widget, and suddenly cards are going by, because the focus isn't on the widget even though its "selected" box is showing. That's an example of the kind of absolutely microscopic problem which, for someone just getting used to any environment, gets translated, or magnified, into an impression of conceptual difficulty. Another example: I put up an Inspector for my main stack, and lock it so I can refer to the list of my custom properties while I inspect other stuff. I select and Inspect and edit various other objects. At some point (??) I discover that in the locked Inspector the name of my main stack has been changed. (The title of the Inspector window and also the Name property it shows.) Alarm! Is my main stack about to get screwed up, saved under the wrong name, or what? I panic and change the name and close the Inspector. Don't know what happened, but I'm nervous about trying that again, and since I'm paying attention to all the other stuff I'm trying to learn about the language, the interface, my design, etc., this avoidance registers as generalized UI dread. Again, this isn't (I think) a big deal -- it only _looks_ like a big deal and translates into an impression of a confusing interface, even though it's a detail and not a genuine conceptual mystery. Charles Hartman On Jul 26, 2005, at 1:27 AM, Richard Gaskin wrote: > But the question here is: Is Rev's UI really that opaque? Or is > it the underlying concepts which drive the UI? > From paolo.mazza at neol.it Tue Jul 26 09:26:07 2005 From: paolo.mazza at neol.it (paolo mazza) Date: Tue, 26 Jul 2005 15:26:07 +0200 Subject: CGI MAC OSX In-Reply-To: <8D007A3C-DB74-4006-84D1-5ACEF42735E9@sosmartsoftware.com> References: <8D007A3C-DB74-4006-84D1-5ACEF42735E9@sosmartsoftware.com> Message-ID: Hi Eric thank you for your advice. However, I do not think the actual program would work as a CGI. I am looking for the a recent engine of Revolution to place in the cgi-bin of a MAC OSX server. ciao Paolo How to use Revolution on Venerd?, 22 luglio 2005 at 14:36 +0100 wrote: >Benvenuto Paolo, > >http://downloads.runrev.com/revolution/ > >Le 22 juil. 05 ? 15:36, paolo mazza a ?crit : > >> Hi revs, >> I am looking for a MAC OSX engine of Revolution. I need to install >> it in >> a MAC OSX server as CGI. >> In the ftp.runrev.com I found the REV 2.5 engines for WINDOWS and >> LINUX. >> Where can I find the engine for the MAC OS X ? >> Best regards > > >Riguardi migliori da Parigi, > >Eric Chatonet. > From bill at bluewatermaritime.com Tue Jul 26 09:39:34 2005 From: bill at bluewatermaritime.com (Bill) Date: Tue, 26 Jul 2005 09:39:34 -0400 Subject: Another Doc Thought In-Reply-To: <282E7BED-10D7-4D70-8460-393F0B2F6D5E@conncoll.edu> Message-ID: That happens to me all the time. I just change the name of the main stack back. I think it happens when you think a particular object is selected and it is actually the main stack that is selected. But how would you fix this? On 7/26/05 9:12 AM, "Charles Hartman" wrote: > some point (??) I discover that in the locked Inspector the name of > my main stack has been changed. (The title of the Inspector window | | | )_) )_) )_) )___))___))___)\ )____)____)_____)\\ _____|____|____|____\\\__ -------\ /--------- 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 From xbury.cs at clearstream.com Tue Jul 26 09:55:29 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Tue, 26 Jul 2005 15:55:29 +0200 Subject: Another Doc Thought In-Reply-To: Message-ID: Hi guys, i've had it happened too. Now, im more careful... you can always make sure you have selected your control by double clicking it... cheers Xavier use-revolution-bounces at lists.runrev.com wrote on 26/07/2005 15:39:34: > That happens to me all the time. I just change the name of the main stack > back. I think it happens when you think a particular object is selected and > it is actually the main stack that is selected. > > But how would you fix this? > > > On 7/26/05 9:12 AM, "Charles Hartman" wrote: > > > some point (??) I discover that in the locked Inspector the name of > > my main stack has been changed. (The title of the Inspector window > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ > -------\ /--------- 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From Hamburger1 at aol.com Tue Jul 26 10:07:30 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Tue, 26 Jul 2005 10:07:30 EDT Subject: HC Conversion Question Message-ID: Hi everyone, I just converted my first HC stack into Revolution. Whoopee! I was surprised that it wasn't more traumatic than it was. Everything was going along just fine until I tried to add a menubar to my converted stack. As soon as I did that, all my fields dropped out of sight. The only thing I can figure is that the menubar came to the front and covered everything. If I'm right, how do I get it to go to the back? Joe Orlando, Florida From jbondy at sover.net Tue Jul 26 10:32:29 2005 From: jbondy at sover.net (Jon) Date: Tue, 26 Jul 2005 10:32:29 -0400 Subject: Another Doc Thought In-Reply-To: References: Message-ID: <42E6497D.3000605@sover.net> "But how would you fix this?" By making the IDE UI less confusing?!? This is a good example of why RR is so difficult for the uninitiated, and still somewhat confusing to the moderately experienced. You can't be productive when you're not confident that the IDE's UI is under YOUR control. :) Jon Bill wrote: >That happens to me all the time. I just change the name of the main stack >back. I think it happens when you think a particular object is selected and >it is actually the main stack that is selected. > >But how would you fix this? > > >On 7/26/05 9:12 AM, "Charles Hartman" wrote: > > > >>some point (??) I discover that in the locked Inspector the name of >>my main stack has been changed. (The title of the Inspector window >> >> > > | | | > )_) )_) )_) > )___))___))___)\ > )____)____)_____)\\ > _____|____|____|____\\\__ >-------\ /--------- 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From jbondy at sover.net Tue Jul 26 10:36:10 2005 From: jbondy at sover.net (Jon) Date: Tue, 26 Jul 2005 10:36:10 -0400 Subject: Another Doc Thought In-Reply-To: References: Message-ID: <42E64A5A.3050103@sover.net> I'm not sure that "having to be more careful" is what will attract new users to RR... :) Jon xbury.cs at clearstream.com wrote: >Hi guys, > >i've had it happened too. Now, im more careful... >you can always make sure you have selected your control by double clicking >it... > >cheers >Xavier > > >use-revolution-bounces at lists.runrev.com wrote on 26/07/2005 15:39:34: > > > >>That happens to me all the time. I just change the name of the main >> >> >stack > > >>back. I think it happens when you think a particular object is selected >> >> >and > > >>it is actually the main stack that is selected. >> >>But how would you fix this? >> >> >>On 7/26/05 9:12 AM, "Charles Hartman" >> >> >wrote: > > >>>some point (??) I discover that in the locked Inspector the name of >>>my main stack has been changed. (The title of the Inspector window >>> >>> >> | | | >> )_) )_) )_) >> )___))___))___)\ >> )____)____)_____)\\ >> _____|____|____|____\\\__ >>-------\ /--------- 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 at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > >----------------------------------------- >Visit us at http://www.clearstream.com > >IMPORTANT MESSAGE > >Internet communications are not secure and therefore Clearstream >International does not accept legal responsibility for the contents of >this message. > >The information contained in this e-mail is confidential and may be >legally privileged. It is intended solely for the addressee. If you are >not the intended recipient, any disclosure, copying, distribution or >any action taken or omitted to be taken in reliance on it, is >prohibited and may be unlawful. Any views expressed in this e-mail are >those of the individual sender, except where the sender specifically >states them to be the views of Clearstream International or of any of >its affiliates or subsidiaries. > >END OF DISCLAIMER >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From capellan2000 at yahoo.com Tue Jul 26 10:47:15 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Tue, 26 Jul 2005 07:47:15 -0700 (PDT) Subject: Another Doc Thought In-Reply-To: <20050726075428.66F9D824ED7@mail.runrev.com> Message-ID: <20050726144716.94173.qmail@web40512.mail.yahoo.com> i send this message, from another mail direction, so it will take a while before it appears in this mail list. Sorry if this appears twice. :-) on Mon, 25 Jul 2005 22:21:59 -0700 Dan Shafer wrote: > That's one reason I hate to write printed books these > days. An eBook can be published and then updated as > needed one time at no production cost. Richard Gaskin wrote: > Most software undergoes a significant UI overhaul on > the average of about once a year. > I will never write a book on a specific software > product. I'd write about the language happily, but > the UI? Fuggedaboudit. :) Dan and Richard Actually, i suspect that people is shy to ask about things that, because are not explained, seems obvious. But in the end, they are not so obvious and they go mostly unnoticed. Why nobody in these docs, tutorials, books messages had mentioned two university courses for learning RR and MC? Richard Gaskin has a link to these and other helpful resources in his website. Are these resources largely unnoticed? About the docs for RR... many years ago, i download a pdf and print all the pages. More than 1,500 pages. Was me the only one who print that pdf? :-( Before printing this extensive document, i've have copied, pasted and printed the Metacard help and dictionary. Should i ask again... Was me the only one to do that? :-( Notice, i'm not a professional developer (my work prove this),but even me had noticed that learning programming in this platform requires effort and the area which i had choose to work with (pdf,ai,beziers,etc) is mostly unexplored... but i do not complain. i simply keep going and with time and effort, everything start to make sense... and somehow working as i though it should. Maybe after all, programming is as much an intelligent effort as a discovery and a sudden realization. How much time took to each of you to discover this? Peace. Have a nice day :-) al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From miller at doctortimothymiller.com Mon Jul 25 19:43:51 2005 From: miller at doctortimothymiller.com (Timothy Miller) Date: Mon, 25 Jul 2005 16:43:51 -0700 Subject: revDocWiki Message-ID: Someone asked earlier today, in re the hypothetical wiki that might be used to improve and expand the rev documentation: "What is Rev willing to kick in?" or something along those lines. An obvious first step would be for Rev to convert its current onboard docs into a format suitable for a wiki, and allow the wikiMaster use of those docs, without charge. Rev could retain the copyright, if it wanted to -- if they are copyrighted. Rev might want to abstain from any more obligations to the wiki, until the Rev people see how it's working out. Heck, the wikiMaster or wikiGroup might be able to charge Rev for the improved version of its own docs. However, it seems more civilized for Rev and the wikiMasters to reach some kind of agreement beforehand. That's more civilized than hostageware. Of course, this is all hypothetical, at best, really more like highly speculative. What would *I* be willing to do? Well, at least I can write. If a property, chunk, object, command, etc., might benefit from a verbose alternative to the usual terse dictionary entry, I would be willing to write verbose explanations of some items I understand well, and submit them to the wiki. Cheers, Tim From capellan2000 at mail.tricom.net Tue Jul 26 10:08:00 2005 From: capellan2000 at mail.tricom.net (Alejandro Tejada) Date: Tue, 26 Jul 2005 10:08:00 -0400 Subject: Another Doc Thought In-Reply-To: <20050726075428.552DF824ED4@mail.runrev.com> References: <20050726075428.552DF824ED4@mail.runrev.com> Message-ID: <6.0.0.22.0.20050726094548.0313b590@mail.tricom.net> >on Mon, 25 Jul 2005 22:21:59 -0700 >Dan Shafer wrote: > >That's one reason I hate to write printed books these days. An eBook >can be published and then updated as needed one time at no production >cost. Richard Gaskin wrote: >Most software undergoes a significant UI overhaul on the average of >about once a year. > >I will never write a book on a specific software product. I'd write >about the language happily, but the UI? Fuggedaboudit. :) Actually, i suspect that people is shy to ask about things that, because are not explained, seems obvious. But in the end, they are not so obvious and they goes mostly unnoticed. Why nobody in these docs, tutorials, books messages had mentioned two university courses for learning RR and MC? Richard Gaskin has a link to these and other helpful resources in his website. Are these resources largely unnoticed? About the docs for RR... many years ago, i download a pdf and print all the pages. More than 1,500 pages. Am i the only one that print that pdf? Before than printing this extensive document, i've have copied pasted and printed the Metacard help and dictionary. Should i ask again... Was i the only one to do that? :-( Notice, i'm not a professional developer (my work prove this), but even me had noticed that learning programming requires effort and the area which i had choose to work with (pdf,ai,beziers,etc) is mostly unexplored... but i do not complain. i simply keep going and with time and effort, everything start to make sense... and somehow working as i though it should. Maybe after all, programming is as much a discovery as a sudden realization. (eureka! factor). How much time took to each of you to discover this? Peace. Have a nice day :-) al -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 7/25/05 From revdan at danshafer.com Tue Jul 26 10:54:36 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 26 Jul 2005 07:54:36 -0700 Subject: Another Doc Thought In-Reply-To: <42E5DC77.3050909@fourthworld.com> References: <42E5C9DE.2060603@fourthworld.com> <42E5DC77.3050909@fourthworld.com> Message-ID: On Jul 25, 2005, at 11:47 PM, Richard Gaskin wrote: > But if we could teach the art of dissection, the people could learn > from existing code without need as much explanation. > > Am I dreaming? > > I learned so much dissecting HyperCard and SuperCard examples, > almost as much as the dictionaries. Never really read much of > anything else from either of those products but the dictionary and > sample code. Maybe that's helpful, or maybe I'm just a freak. > I don't think you're a freak. But I think: (a) probably not many people learn this way, at least in the early going; and (b) this is a difficult skill to teach, perhaps more difficult than programming. > > >> (BTW, there's another issue for me that probably doesn't concern >> anyone else. When people on the list contribute free >> documentation- like things -- tutorial stacks, how-tos, etc. -- I >> want at one and the same time to applaud loudly and groan >> quietly. Because, you see, if someone ELSE is writing something >> on the same topic and perhaps putting in a lot of effort and time >> and energy with the hope of selling the product and someone else >> comes along and offers something -- even if not quite as good or >> complete -- for free, it crushes the spirit if not the market. A >> clearing-house for volunteer effort would help avoid such things >> but that begs the question of who would set up and manage such a >> thing. >> > > I can't imagine there are that many potentially in conflict. Maybe > the RevDocs group could be used for that? > It doesn't take very many. One or two "false starts" like that can discourage someone with less masochistic tendencies than I have. :-D ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Tue Jul 26 11:07:46 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 26 Jul 2005 08:07:46 -0700 Subject: All in One Place (was: Praise: Rev Documentation to the rescue) In-Reply-To: References: Message-ID: <2B4751D9-CBDE-449B-B48F-0B97F2DCE0B2@danshafer.com> Let me say that I use Scripter's Scrapbook A LOT in my Rev work and find it to be a most reusable tool. If it combined the broader search features of Eric's wonderful little Resource Picker, I think we'd be pretty close to REFERENCE documentation bliss. On Jul 26, 2005, at 1:38 AM, FlexibleLearning at aol.com wrote: > As Jim wrote, there is no "one place" for all knowledge and > Resources Picker > is a great tool. Add the Scripter's Scrapbook as a place to store > wisom, > code, links to both web and local documents, stacks and resources > you have a > great way to manage what you find as a present solution and future > personal > reference archive. All information may not be in one place, but > you can > coordinate what's important to you in one place! > > /H > > The Scripter's Scrapbook > www.FlexibleLearning.com/ssbk.htm > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From revdan at danshafer.com Tue Jul 26 11:15:59 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 26 Jul 2005 08:15:59 -0700 Subject: revDocWiki In-Reply-To: References: Message-ID: As would I. And I have a lot of stuff already written that I'd contribute to a structured documentation site/page/Wiki/product. The docs are already in XML. Jerry Daniels has written a parser for them that gets used in his Transcript Gadget. On Jul 25, 2005, at 4:43 PM, Timothy Miller wrote: > What would *I* be willing to do? Well, at least I can write. If a > property, chunk, object, command, etc., might benefit from a > verbose alternative to the usual terse dictionary entry, I would be > willing to write verbose explanations of some items I understand > well, and submit them to the wiki. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From b.xavier at internet.lu Tue Jul 26 11:25:14 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 17:25:14 +0200 Subject: Another Doc Thought In-Reply-To: <42E64A5A.3050103@sover.net> Message-ID: <20050726151437.00E3D82497D@mail.runrev.com> ever used a C pointer? Made a careless mistake and your mac or pc went "piiiing, cht cht cht, rrrrrr, where's my system disk?" try it sometimes, yet it brings hoards of programmers if you tell them it's C sharp or C turbo or C ++ or C nirvana! ;) X > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon > Sent: Tuesday, July 26, 2005 16:36 > To: How to use Revolution > Subject: Re: Another Doc Thought > > I'm not sure that "having to be more careful" is what will > attract new users to RR... > > :) > > Jon > > > xbury.cs at clearstream.com wrote: > > >Hi guys, > > > >i've had it happened too. Now, im more careful... > >you can always make sure you have selected your control by double > >clicking it... > > > >cheers > >Xavier > > > > > >use-revolution-bounces at lists.runrev.com wrote on 26/07/2005 15:39:34: > > > > > > > >>That happens to me all the time. I just change the name of the main > >> > >> > >stack > > > > > >>back. I think it happens when you think a particular object is > >>selected > >> > >> > >and > > > > > >>it is actually the main stack that is selected. > >> > >>But how would you fix this? > >> > >> > >>On 7/26/05 9:12 AM, "Charles Hartman" > >> > >> > >wrote: > > > > > >>>some point (??) I discover that in the locked Inspector > the name of > >>>my main stack has been changed. (The title of the Inspector window > >>> > >>> > >> | | | > >> )_) )_) )_) > >> )___))___))___)\ > >> )____)____)_____)\\ > >> _____|____|____|____\\\__ > >>-------\ /--------- > 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 at lists.runrev.com > >>Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >>http://lists.runrev.com/mailman/listinfo/use-revolution > >> > >> > > > > > > > >----------------------------------------- > >Visit us at http://www.clearstream.com > > > >IMPORTANT MESSAGE > > > >Internet communications are not secure and therefore Clearstream > >International does not accept legal responsibility for the > contents of > >this message. > > > >The information contained in this e-mail is confidential and may be > >legally privileged. It is intended solely for the addressee. > If you are > >not the intended recipient, any disclosure, copying, distribution or > >any action taken or omitted to be taken in reliance on it, is > >prohibited and may be unlawful. Any views expressed in this > e-mail are > >those of the individual sender, except where the sender specifically > >states them to be the views of Clearstream International or > of any of > >its affiliates or subsidiaries. > > > >END OF DISCLAIMER > >_______________________________________________ > >use-revolution mailing list > >use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Tue Jul 26 11:25:14 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 17:25:14 +0200 Subject: Another Doc Thought In-Reply-To: <42E6497D.3000605@sover.net> Message-ID: <20050726151439.4898F82497D@mail.runrev.com> Hi Jon, Im the first one to jump on the detonate button when it comes to idiosyncratic software i can't control. And rev really hit me where it hurts the most last time with teh GM. I bought Rev so i could have their GM and it became my biggest nightmare... 6 months later, i wrote my own and im 4X better off... And unless Rev comes out with the significant bug fixes i've been waiting for, im not upgrading... at work (enterprise), or at home (studio). Now, that's the casual bug i run into. I got a few 100's bugzillas and i keep creating them. And i think that when these will be fixed, like many others, i'll have to shell a license upgrade. Uh, that a big rant. Dont hate, me, im just a factoid... The point is that i learned something from that limitation, created a much more flexible and run-steady GM for rev and MC, and now, scripting is just faster every day... But note we dont all work at the same scale of things... For some a small stack can be daunting, while for others an algoritm in a framework is much harder than the framework itself! Thing is that most people think this is confusing while they dont compare it to another programming environment (most of which are 10X more confusing and tedious) but which many new comers here dont put into the equation. Tried learning C lately? Ever seen a single IDE language "how to get started" in those IDE boxes? Did you have to buy an OS reference on top? Spend a week in a technit website to find one stupid problem? All these are not considered. Many of us started programming in C and didn't ask the Symantec ThinkC or the Metrowerks team how to write C. And this is a major problem when it's compounded with an interface - script api that is just so oblivious to complex myobject = &(new*) thisarray.object++; kinds of constructs. I see a nice boat below, know a sailing boat that comes with sailing instructions? Know a car manufacturer that delivers the rules of the road book along with the insurance tips and all the shortcuts to go to work? You got my point... Second point... (you didn't think it was that easy did you?) practice, practice, practice, practice, practice, practice, practice, practice, compile, compile, compile, compile, compile, compile, compile, compile, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, test, fix a few things and hop, deliver... correct the announcement mail 3 times, fix the url 1 or 2 times, etc... other than that, it's marketing, and that's another manual that wasn't furnished in the damn ide either! One trick: if you build solid software from the start, you wont have to rewrite it again and write bugzillas for the rest... that's the sorcery of software - nobody is perfect in the chain of software - luck for those who practice a lot, there's more than one way to do everything. That's where the skill of programming kicks in... Rev is just a pneumatic-nailer compared to a hammer and box of nails... Whatever you build still needs to be based on solid computing design principles in both the GUI, the program code, the external IO, and the best practical economic benefit for the user. How to use this great-maillist: Did i mention testing? Never deliver a half-made stack for testing! People here hate that. I got one praise for my last winNO2 plugin, only one testing request, and nothing else... Lots of jealous people out there it seems who dont encourage that people test their apps, but if you just ask if they can solve a problem then you'll get a miriad solutions, bug rants, etc... cheers Xavier http://monsieurx.com Keep out - Taoist empty object shooting zone > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jon > Sent: Tuesday, July 26, 2005 16:32 > To: How to use Revolution > Subject: Re: Another Doc Thought > > "But how would you fix this?" > > By making the IDE UI less confusing?!? This is a good > example of why RR is so difficult for the uninitiated, and > still somewhat confusing to the moderately experienced. You > can't be productive when you're not confident that the IDE's > UI is under YOUR control. > > :) > > Jon > > > Bill wrote: > > >That happens to me all the time. I just change the name of > the main stack > >back. I think it happens when you think a particular object > is selected and > >it is actually the main stack that is selected. > > > >But how would you fix this? > > > > > >On 7/26/05 9:12 AM, "Charles Hartman" > wrote: > > > > > > > >>some point (??) I discover that in the locked Inspector the name of > >>my main stack has been changed. (The title of the Inspector window > >> > >> > > > > | | | > > )_) )_) )_) > > )___))___))___)\ > > )____)____)_____)\\ > > _____|____|____|____\\\__ > >-------\ /--------- > 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From brad at activadesign.com Tue Jul 26 11:27:47 2005 From: brad at activadesign.com (Brad Borch) Date: Tue, 26 Jul 2005 11:27:47 -0400 Subject: Unicode confusion In-Reply-To: References: Message-ID: > If you get text and set text always with unicodeText, maybe it will > work better for you. Thanks, I've already done some work setting the unicodeText. Problem is, that still doesn't force Rev to use the font I want to use. Bitstream Vera has dozens of precomposed diacritical marks that don't occur with the default unicode text that Windows uses (Arial I think). All I really need to do is find a way to force Revolution to use that font in fields. Unfortunately, in Windows it won't cooperate. From b.xavier at internet.lu Tue Jul 26 11:35:40 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 17:35:40 +0200 Subject: Another Doc Thought In-Reply-To: <6.0.0.22.0.20050726094548.0313b590@mail.tricom.net> Message-ID: <20050726152500.6DCA382493F@mail.runrev.com> > >on Mon, 25 Jul 2005 22:21:59 -0700 > >Dan Shafer wrote: > > > >That's one reason I hate to write printed books these days. An eBook > >can be published and then updated as needed one time at no > production cost. most economic, trendy, cost-effective, editable medium today is the web... just my .00000000000000000000000000000002 cents... I just hate writing the theory, it's more fun to script it right out! The typical cycle in a rev programmer's life is woah! hummmmm maillist - it just doesn't work! maillist - it's crap maillist - aaah woah, it works! cool my first program* maillist - it stopped working, im lost maillist - aaah! cool my first cool program maillist - where's the 3d stuff everyone has (or color cursors, or normal html rendering, etc...) maillist - rant where is it? maillist - darn... hurry up rev... cool, i managed to interpret it in xtalk maillist - my new cooler than cool program maillist - thanks thanks maillist - oops, a mistake slipped in! (GOTO "cool, my second program")* -- and third, and so on... just have to abide to the cycle Xavier, IT economist http://monsieurx.com - fun with x-economics From jbv.silences at Club-Internet.fr Tue Jul 26 11:43:26 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 26 Jul 2005 17:43:26 +0200 Subject: "Dumb question" time Message-ID: <42E65A14.61B015C7@Club-Internet.fr> OK guys, it's "dumb question" time... I have a few buttons; when clicking on one of them, users trigger complex sorts in globals. a sporadic bug occurs (quite rare and impossible to reproduce, so far) : the sort doesn't execute well and the content of 1 of the globals isn't consistent anymore... so my (dumb) question is : is it possible that the user clicks so fast on a few successive btns that each script doesn't have the time to run till the end ? This can happen on browsers, when you click very fast on successive links... I doubt that it's the case in Rev, but I thought it was worth asking... Thanks, JB From eric.chatonet at sosmartsoftware.com Tue Jul 26 11:39:54 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 17:39:54 +0200 Subject: All in One Place (was: Praise: Rev Documentation to the rescue) In-Reply-To: References: Message-ID: Hi Hugh, Thanks. I consider too your Scripter's Scrapbook as a great tool :-) It brings many valuable tips and tricks for beginners and, for more advanced users, it's an incomparable and (flexible :-) scrapbook to store snippets of code, references, urls, etc. and have them always to hand. I think that our tools are perfectly complementary... and necessary to all ;-) Le 26 juil. 05 ? 10:38, FlexibleLearning at aol.com a ?crit : > As Jim wrote, there is no "one place" for all knowledge and > Resources Picker > is a great tool. Add the Scripter's Scrapbook as a place to store > wisom, > code, links to both web and local documents, stacks and resources > you have a > great way to manage what you find as a present solution and future > personal > reference archive. All information may not be in one place, but > you can > coordinate what's important to you in one place! 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jacque at hyperactivesw.com Tue Jul 26 11:42:25 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Jul 2005 10:42:25 -0500 Subject: HC Conversion Question In-Reply-To: References: Message-ID: <42E659E1.5030500@hyperactivesw.com> Hamburger1 at aol.com wrote: > Hi everyone, > > I just converted my first HC stack into Revolution. Whoopee! I was surprised > that it wasn't more traumatic than it was. Everything was going along just > fine until I tried to add a menubar to my converted stack. As soon as I did that, > all my fields dropped out of sight. The only thing I can figure is that the > menubar came to the front and covered everything. If I'm right, how do I get it > to go to the back? Part of this tutorial goes into detail about how to add a menu to a HyperCard converted stack: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eric.chatonet at sosmartsoftware.com Tue Jul 26 11:45:58 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 17:45:58 +0200 Subject: "Dumb question" time In-Reply-To: <42E65A14.61B015C7@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> Message-ID: <88C9DA2D-A089-48BC-87E1-2883C4B1CADF@sosmartsoftware.com> Hi JB, Don't think so unless your global is 20 MB :-) Could you tell us more to understand what are your globals contents, how do you handle them, sort them, etc. and, may be, give you some clues? Le 26 juil. 05 ? 17:43, jbv a ?crit : > OK guys, it's "dumb question" time... > > I have a few buttons; when clicking on one of them, > users trigger complex sorts in globals. > a sporadic bug occurs (quite rare and impossible to > reproduce, so far) : the sort doesn't execute well > and the content of 1 of the globals isn't consistent > anymore... > so my (dumb) question is : is it possible that the user > clicks so fast on a few successive btns that each script > doesn't have the time to run till the end ? > This can happen on browsers, when you click very fast > on successive links... > I doubt that it's the case in Rev, but I thought it was worth > asking... 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jbv.silences at Club-Internet.fr Tue Jul 26 12:01:31 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 26 Jul 2005 18:01:31 +0200 Subject: "Dumb question" time References: <42E65A14.61B015C7@Club-Internet.fr> <88C9DA2D-A089-48BC-87E1-2883C4B1CADF@sosmartsoftware.com> Message-ID: <42E65E50.10822985@Club-Internet.fr> Eric, Thanks for the reply, but right after sending my previous post, an idea crossed my mind : I think it has to do with the structure of the data to be sorted... it can be 10 to 500 lines with 40 items in each line, and each item can be the sorting key, but for certain lines, the item can be empty and I have the feeling that it's the cause of the inconstency in the sort result... I'll check that... But anyway, my original question remains valid : what happens in Rev when a new script is triggered, and a previous script is still running ? Thanks, JB > Hi JB, > > Don't think so unless your global is 20 MB :-) > Could you tell us more to understand what are your globals contents, > how do you handle them, sort them, etc. and, may be, give you some > clues? > > Le 26 juil. 05 ? 17:43, jbv a ?crit : > > > OK guys, it's "dumb question" time... > > > > I have a few buttons; when clicking on one of them, > > users trigger complex sorts in globals. > > a sporadic bug occurs (quite rare and impossible to > > reproduce, so far) : the sort doesn't execute well > > and the content of 1 of the globals isn't consistent > > anymore... > > so my (dumb) question is : is it possible that the user > > clicks so fast on a few successive btns that each script > > doesn't have the time to run till the end ? > > This can happen on browsers, when you click very fast > > on successive links... > > I doubt that it's the case in Rev, but I thought it was worth > > asking... > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mdswindell at charter.net Tue Jul 26 11:52:37 2005 From: mdswindell at charter.net (Mark Swindell) Date: Tue, 26 Jul 2005 08:52:37 -0700 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: <78E9E579-7317-4CF7-919B-B534AE422BBC@sosmartsoftware.com> Message-ID: <2925AB68-B134-4773-BF76-5D4D366948B4@charter.net> Danny Goodman's book has been mentioned more than once as an iconic sort of reference. I learned to script Hypercard with it and loved it. Just what was it that made that book so great? If we could answer to that question, why couldn't that book's "recipe" be approximated for a comprehensive Rev doc? Is it just that Rev has grown so much beyond HyperCard and that it is X-platform that the scope becomes overwhelming? Mark From heather at runrev.com Tue Jul 26 11:58:02 2005 From: heather at runrev.com (Heather Nagey) Date: Tue, 26 Jul 2005 16:58:02 +0100 Subject: The "missing" cookbook Message-ID: Just a postscript to my earlier mail, I forgot to mention. The cookbook is alive and well and to be found under the name of "Sample Scripts" in the Learning Center, in Revolution Online. Yes, yes, I know, like the highway plans on display in the bottom drawer of the hidden filing cabinet in the locked basement of the disused library... But they are in fact there. :) cheers Heather Heather Nagey, Customer Support Manager Runtime Revolution Ltd www.runrev.com From eric.chatonet at sosmartsoftware.com Tue Jul 26 12:04:54 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 26 Jul 2005 18:04:54 +0200 Subject: "Dumb question" time In-Reply-To: <42E65E50.10822985@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> <88C9DA2D-A089-48BC-87E1-2883C4B1CADF@sosmartsoftware.com> <42E65E50.10822985@Club-Internet.fr> Message-ID: Hi JB, Try this: 2 buttons. In the first one: on mouseUp repeat 10000 put random(100) end repeat put "Done" end mouseUp In the second one: on mouseUp beep end mouseUp You can't beep but only wait until the loop has run entirely (you see that in the message box :-) Now add a line into the first script: on mouseUp repeat 10000 put random(100) wait 0 with messages -- this one end repeat put "Done" end mouseUp You can beep while running the loop. So, unless you put a wait x (even 0) milliseconds with messages in a handler, you will not be able to do anything but wait it has run until its end. Hope this helps. Best Regards from Paris, Eric Chatonet. Le 26 juil. 05 ? 18:01, jbv a ?crit : > Eric, > > Thanks for the reply, but right after sending my previous > post, an idea crossed my mind : I think it has to do with > the structure of the data to be sorted... > it can be 10 to 500 lines with 40 items in each line, and > each item can be the sorting key, but for certain lines, the > item can be empty and I have the feeling that it's the cause > of the inconstency in the sort result... > I'll check that... > > But anyway, my original question remains valid : what happens > in Rev when a new script is triggered, and a previous script is > still running ? > > Thanks, > JB > > >> Hi JB, >> >> Don't think so unless your global is 20 MB :-) >> Could you tell us more to understand what are your globals contents, >> how do you handle them, sort them, etc. and, may be, give you some >> clues? >> >> Le 26 juil. 05 ? 17:43, jbv a ?crit : >> >> >>> OK guys, it's "dumb question" time... >>> >>> I have a few buttons; when clicking on one of them, >>> users trigger complex sorts in globals. >>> a sporadic bug occurs (quite rare and impossible to >>> reproduce, so far) : the sort doesn't execute well >>> and the content of 1 of the globals isn't consistent >>> anymore... >>> so my (dumb) question is : is it possible that the user >>> clicks so fast on a few successive btns that each script >>> doesn't have the time to run till the end ? >>> This can happen on browsers, when you click very fast >>> on successive links... >>> I doubt that it's the case in Rev, but I thought it was worth >>> asking... ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Tue Jul 26 12:11:28 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 26 Jul 2005 17:11:28 +0100 Subject: "Dumb question" time In-Reply-To: <42E65E50.10822985@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> <88C9DA2D-A089-48BC-87E1-2883C4B1CADF@sosmartsoftware.com> <42E65E50.10822985@Club-Internet.fr> Message-ID: <42E660B0.9040407@tweedly.net> jbv wrote: >Eric, > >Thanks for the reply, but right after sending my previous >post, an idea crossed my mind : I think it has to do with >the structure of the data to be sorted... >it can be 10 to 500 lines with 40 items in each line, and >each item can be the sorting key, but for certain lines, the >item can be empty and I have the feeling that it's the cause >of the inconstency in the sort result... >I'll check that... > >But anyway, my original question remains valid : what happens >in Rev when a new script is triggered, and a previous script is >still running ? > > If the previous script includes "wait with messages" or similar, then the new script can be triggered, and it will run to completion before the continuation of the old script. But unless you have "wait with messages", the new script will not be triggered until the old one is complete. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From mwieder at ahsoftware.net Tue Jul 26 12:13:39 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 26 Jul 2005 09:13:39 -0700 Subject: Another Doc Thought In-Reply-To: <42E6497D.3000605@sover.net> References: <42E6497D.3000605@sover.net> Message-ID: <1231619228.20050726091339@ahsoftware.net> Jon- Tuesday, July 26, 2005, 7:32:29 AM, you wrote: J> By making the IDE UI less confusing?!? This is a good example of why RR I'm not sure "less confusing" is the proper paradigm here, but I would most definitely change things so that the property inspector is less erratic. It's a pain having the size change all the time, it's a pain having the focus shift from an object you thought you were editing to the stack, it's a pain having the topic shift from text properties to general properties when you miss clicking on an object and then stay that way when you click on it correctly, etc. ...although if the IDE were more like MSVC's or xcode's it *would* be less confusing, IMO. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Tue Jul 26 12:11:38 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Jul 2005 09:11:38 -0700 Subject: "Dumb question" time In-Reply-To: <42E65A14.61B015C7@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> Message-ID: <42E660BA.7090103@fourthworld.com> jbv wrote: > OK guys, it's "dumb question" time... > > I have a few buttons; when clicking on one of them, > users trigger complex sorts in globals. > a sporadic bug occurs (quite rare and impossible to > reproduce, so far) : the sort doesn't execute well > and the content of 1 of the globals isn't consistent > anymore... The only issue I've ever seen with the sort command turned out to be documented: the string library used for it requires that none of the lines exceeds 64k (65,535 characters). When sorting lines in which one or more is longer than 64k the results will be unpredictable and likely confusing. I know, I've seen 'em -- sure confused the heck out of me until I learned this limit. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From gbrackett at luceatlux.com Tue Jul 26 12:21:24 2005 From: gbrackett at luceatlux.com (George Brackett) Date: Tue, 26 Jul 2005 12:21:24 -0400 Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: References: Message-ID: <46FAD414-F2E1-44D8-B65A-4DC6748F191A@luceatlux.com> Your google list looks a lot like the dmoz list, Judy -- maybe no surprise! I'm having trouble locating the latest version of the Transcript Programmer stack that's copyright Runtime Revolution. I'd like to use it with students in the fall. Anyone know where it's kept? It certainly belongs on the listing in a section for teachers. George On Jul 26, 2005, at 1:04 AM, Judy Perry wrote: So, as my penance, I am going to try to make a webpage that tries really, awfully, hard to be a comprehensive listing of the various Rev tutorial thingies available. I tried googling it and found this: http://www.metacollection.com/dir/Computers/Programming/Languages/ Transcript/ From jperryl at ecs.fullerton.edu Tue Jul 26 12:38:08 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 26 Jul 2005 09:38:08 -0700 (PDT) Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: <46FAD414-F2E1-44D8-B65A-4DC6748F191A@luceatlux.com> Message-ID: Hi George, Are you hacking my machine? ;-) Of course so far my google list looks like the DMOZ list. I've only just started! Is what you are looking for the old MetaCard product? If so, I think Marielle has a copy at her wiki and is working on it. Thanks for remininding me where to put it! Judy On Tue, 26 Jul 2005, George Brackett wrote: > Your google list looks a lot like the dmoz list, Judy -- maybe no > surprise! > > I'm having trouble locating the latest version of the Transcript > Programmer stack that's copyright Runtime Revolution. I'd like to > use it with students in the fall. Anyone know where it's kept? It > certainly belongs on the listing in a section for teachers. From jbv.silences at Club-Internet.fr Tue Jul 26 12:46:26 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Tue, 26 Jul 2005 18:46:26 +0200 Subject: "Dumb question" time References: <42E65A14.61B015C7@Club-Internet.fr> <42E660BA.7090103@fourthworld.com> Message-ID: <42E668E2.4618BA39@Club-Internet.fr> Richard, > > The only issue I've ever seen with the sort command turned out to be > documented: the string library used for it requires that none of the > lines exceeds 64k (65,535 characters). When sorting lines in which one > or more is longer than 64k the results will be unpredictable and likely > confusing. I know, I've seen 'em -- sure confused the heck out of me > until I learned this limit. :) > Thanks for the info... is it documented in Rev ? I don't remember reading it anywhere... JB From b.xavier at internet.lu Tue Jul 26 12:43:05 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 18:43:05 +0200 Subject: Praise: Rev Documentation to the rescue In-Reply-To: <2925AB68-B134-4773-BF76-5D4D366948B4@charter.net> Message-ID: <20050726163224.71D6C8249B2@mail.runrev.com> welcome to the new hypercard! my whole realm of taoo was overturned when i tried metacard. It was ugly and clunky but it worked everytime and much faster and with more panache (easier ways of doing things than in HC). So what's confusing? Building a stack... Building a stack for one or the other application How can anyone guess what you want when you have a totally free environment to build stuff into? When i started, i had the 10 line limit and i managed to build a demo of the network shares and data i could manage with it. Other wise it was batch after batch! yuk Today, i can do the same with 10X less controls and functions... Do it calling a one liner each time with maximum effect! The difference between Hypercard and Rev is nominal. You can still build you stacks like HC (with a few background differences) but the rest is the same! So what is confusing about HyperCard? Learning how to program... And that's so different in HC or Rev that you have to think bottom down instead of bottom up like in C. But when it comes to complex routines and code, then it's the other way... And that's new to many old or new coders alike... New coders can see the gui and make it in 2 days Old coders can make the code in 1 day But neither can manage the other's way... Is that the confusion? Take it easy in both... Test, experiment, practice - there's no secret no matter what IDE or language you use... Mac Users: Try C or AppleScripts (without ScriptDebugger or facespan) some time! Try it with SD or FS... PC users: try java, try flash... Then try RR... You'll be in heaven creating an application in minutes... But it always takes weeks to get it just "right". There's no secret... cheers Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Swindell > Sent: Tuesday, July 26, 2005 17:53 > To: How to use Revolution > Subject: Re: Praise: Rev Documentation to the rescue > > Danny Goodman's book has been mentioned more than once as an > iconic sort of reference. I learned to script Hypercard with > it and loved it. > > Just what was it that made that book so great? If we could > answer to that question, why couldn't that book's "recipe" be > approximated for a comprehensive Rev doc? Is it just that > Rev has grown so much beyond HyperCard and that it is > X-platform that the scope becomes overwhelming? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From gbrackett at luceatlux.com Tue Jul 26 12:45:06 2005 From: gbrackett at luceatlux.com (George Brackett) Date: Tue, 26 Jul 2005 12:45:06 -0400 Subject: Creating Tutorial/Docs Critical Mass In-Reply-To: References: Message-ID: <99FAF8C0-E306-49DE-B158-430164ACFD38@luceatlux.com> Sorry, Judy - I meant the list you referred to in your message, the one that turned out to be a dmoz mirror. I hack, all right, but not other people's machines! I don't know about the 'old Metacard product'. The one I'm talking about has a dog-bone shaped window in green. The Educator's wiki has a set of lesson plans for it, but I was not able to find the stack itself there. I do have a copy, but it doesn't quite match the wiki plans so I thought there might be a later one. George On Jul 26, 2005, at 12:38 PM, Judy Perry wrote: Hi George, Are you hacking my machine? ;-) Of course so far my google list looks like the DMOZ list. I've only just started! Is what you are looking for the old MetaCard product? If so, I think Marielle has a copy at her wiki and is working on it. Thanks for remininding me where to put it! Judy From FlexibleLearning at aol.com Tue Jul 26 12:54:20 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Tue, 26 Jul 2005 12:54:20 EDT Subject: The "missing" cookbook Message-ID: <203.662f0da.3017c4bc@aol.com> Hi Heather, er... Any chance that a link could be placed in more obvious places on the Rev website? Or even a gotoURL link in the GUI? Just a thought. /H --- Just a postscript to my earlier mail, I forgot to mention. The cookbook is alive and well and to be found under the name of "Sample Scripts" in the Learning Center, in Revolution Online. Yes, yes, I know, like the highway plans on display in the bottom drawer of the hidden filing cabinet in the locked basement of the disused library... But they are in fact there. :) cheers Heather --- From userev at canelasoftware.com Tue Jul 26 13:00:07 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 26 Jul 2005 10:00:07 -0700 Subject: Rev Documentation to the rescue In-Reply-To: References: <42E59891.50101@chipp.com> Message-ID: <9D514932-9DCA-4ECE-9E1C-1B730676D6C1@canelasoftware.com> On Jul 25, 2005, at 7:15 PM, Dennis Brown wrote: > Chipp, > > I hope you are right about that, I want to think the best of the > community, and the actions speak louder than the words, but some of > the posts took me aback, and made me start to wonder where some > were coming from. I also am sensitive to the fact that changes to > the status quo can have a real effect on peoples livelihoods if > they don't also change to keep pace --"my altruism usually stops > when your fist is occupying the same volume as my nose". I like to > see win-win propositions in all my dealings. > > Dennis > > On Jul 25, 2005, at 9:57 PM, Chipp Walters wrote: > > >> Dennis Brown wrote: >> >> >> >>> I get the distinct impression that many actually do not want to >>> see the exclusive club of knowledgeable Transcript programmers >>> expand to quickly by having good docs. It almost appears to be >>> a conflict of interests between professionals who want to keep >>> the highly productive club small because it is their competitive >>> advantage and the non-professionals who want to see the user >>> base grow for the benefit of all. Also tutorials and other >>> tools provided by professionals seem to be a sort of advertising >>> that might be lost if the docs were first class. > Dennis, I know that I have publicly joked about this with Richard. My online scripting conference stack (scripting 101) also takes a stab at that. I truly want Rev to succeed and become as popular as it can be. I think that humor does not translate well in this form and can be misunderstood quite easily. I apologize if anything I have ever said has given you a negative impression regarding this topic. A financially successful business model requires more than knowing a wonderful tool like Rev. Knowing Rev sure does give one the upper- hand though. Here is to the success of Rev and all of those involved. My glass is in the air. Mark Talluto -- CANELA Software http://www.canelasoftware.com From Roger.E.Eller at sealedair.com Tue Jul 26 13:06:55 2005 From: Roger.E.Eller at sealedair.com (Roger.E.Eller at sealedair.com) Date: Tue, 26 Jul 2005 13:06:55 -0400 Subject: The "missing" cookbook Message-ID: Heather, And let's not forget that it (RevOnline) is also outside my corporate firewall and has never been accessable from work, which is where it is needed. I think I would rather have the cookbook out of the basement as a web-based download if it is not included with the Rev IDE. Roger Eller > Just a postscript to my earlier mail, I forgot to mention. The cookbook > is alive and well and to be found under the name of "Sample Scripts" in > the Learning Center, in Revolution Online. > > Yes, yes, I know, like the highway plans on display in the bottom > drawer of the hidden filing cabinet in the locked basement of the > disused library... > > But they are in fact there. > > :) > > cheers > > Heather > > Heather Nagey, Customer Support Manager > Runtime Revolution Ltd > www.runrev.com From jperryl at ecs.fullerton.edu Tue Jul 26 13:17:12 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 26 Jul 2005 10:17:12 -0700 (PDT) Subject: Another Doc Thought In-Reply-To: Message-ID: A fair amount of current literature on learning programming indicates that novice programmers do indeed benefit tremendously from having access to fully-operational code snippets. They are the coding equivalents of physical manipulatives that fill ed lit on learning in general. So, if we're freaks, there are an awful lot of us. Judy On Tue, 26 Jul 2005, Dan Shafer wrote: > On Jul 25, 2005, at 11:47 PM, Richard Gaskin wrote: > > > But if we could teach the art of dissection, the people could learn > > from existing code without need as much explanation. > > > > Am I dreaming? > > > > I learned so much dissecting HyperCard and SuperCard examples, > > > I don't think you're a freak. But I think: (a) probably not many > people learn this way, at least in the early going; and (b) this is a > difficult skill to teach, perhaps more difficult than programming. From jacque at hyperactivesw.com Tue Jul 26 13:24:46 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Jul 2005 12:24:46 -0500 Subject: OT: Where to put stuff [was: Creating Tutorial/Docs Critical Mass] In-Reply-To: References: Message-ID: <42E671DE.7060908@hyperactivesw.com> Judy Perry wrote: > > Is what you are looking for the old MetaCard product? If so, I think > Marielle has a copy at her wiki and is working on it. > > Thanks for remininding me where to put it! This reminds me of a completely off-topic family story. When I was young, my mother and father were arguing about whether to plant a tree in the back yard. She wanted one, he didn't -- it would be messy, he'd have to rake leaves, it would kill the grass. They went at it for weeks. Eventually she won out and the tree went in. Years later, she told me the rest of the story: Irritated, she called a nursery without his knowledge and ordered an elm, and arranged delivery and a guy to plant it. Then she called my dad at the office, told him a tree was going to be delivered, told him it was non-refundable, and she wanted him to tell her where in the yard it should go. "So," she said, oblivious and straight-faced, "he told me where to put it." -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Tue Jul 26 13:42:07 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 26 Jul 2005 10:42:07 -0700 (PDT) Subject: OT: Where to put stuff [was: Creating Tutorial/Docs Critical Mass] In-Reply-To: <42E671DE.7060908@hyperactivesw.com> Message-ID: Ba-da ding, boom, bah! On Tue, 26 Jul 2005, J. Landman Gay wrote: > "So," she said, oblivious and straight-faced, "he told me where to put it." From charles.hartman at conncoll.edu Tue Jul 26 14:02:46 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 14:02:46 -0400 Subject: Mac -> Win problems Message-ID: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> I've got an app (about 500kb) mostly finished in OSX, in DreamCard. I just got access to the Win XP machine I use to test x-platform apps. I have three problems, and I'd be grateful for suggestions. The first two are (I'm guessing) known and not too hard, though I don't see anything in the docs to cover them. The third one I suspect may be hard enough to make me wish I hadn't started on this project. PROBLEM 1: On WinXP, the cursor disappears whenever I mouse onto a stack. PROBLEM 2: in "answer" commands, the choices I specify are there, but they're in reversed order. PROBLEM 3: One interactive tutorial works like this: In Courier (for the sake of monospaced alignment between lines) there's a line of text, with a line of marks over it. The marks, in various combinations at various times, are covered up by opaque, borderless fields, which are hidden (revealing the mark below) in response to mouse-clicks. But on WinXP, though the font is the same (Courier New), the size is different! So the mark-hiding fields don't cover their marks. Charles Hartman From markgreenberg at cox.net Tue Jul 26 13:58:52 2005 From: markgreenberg at cox.net (Mark Greenberg) Date: Tue, 26 Jul 2005 10:58:52 -0700 Subject: [ANN] Language Arts Stack Message-ID: Here are links to my latest educational stack, Combinations. The first is a readme file with an explanation and some directions. The second is a zip file containing both the Mac and the Win distribution files. Toss out whichever one you don't need. (8 kb) (2.4 megs) I have chosen to lock it so you can't see the code because I hope to sell it once it has enough data. If you are interested in how I scripted it, drop me an email off list. Most on this list are much better scripters than I anyway. This version of Combinations is not fully stocked with data yet, but it has enough to run. You'll find that if you play the same level over and over, you'll see the same sentences again. Keep in mind that it is intended to be played when a teacher is in the room... there to help, demo, explain, cajole, etc. It is sparse in instructions for that reason. Thanks again to Alejandro Tejada for helping me with the logistics of posting these. Mark Greenberg High School Teacher markgreenberg at cox.net From b.xavier at internet.lu Tue Jul 26 14:10:29 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 20:10:29 +0200 Subject: Mac -> Win problems In-Reply-To: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> Message-ID: <20050726175948.87A348249FF@mail.runrev.com> > PROBLEM 1: On WinXP, the cursor disappears whenever I mouse > onto a stack. dont use colors icons! wait a coming release (i think there's been enough beaching aboutit... > PROBLEM 2: in "answer" commands, the choices I specify are > there, but they're in reversed order. reverse the order of "your" buttons, works great! > PROBLEM 3: One interactive tutorial works like this: In > Courier (for the sake of monospaced alignment between lines) > there's a line of text, with a line of marks over it. The > marks, in various combinations at various times, are covered > up by opaque, borderless fields, which are hidden (revealing > the mark below) in response to mouse-clicks. But on WinXP, > though the font is the same (Courier New), the size is > different! So the mark-hiding fields don't cover their marks. try the lineheight text/line/field property and the fixedlineheight of the field... this usually solves some problems (dont set it them too low...) cheers X From rjearp at hotmail.com Tue Jul 26 14:20:06 2005 From: rjearp at hotmail.com (Bob Earp) Date: Tue, 26 Jul 2005 11:20:06 -0700 Subject: "Dumb question" time Message-ID: I'm still learning the nuances of Rev (that's polite-speak for being dumb myself !!) but could this be a problem with messages queing up ? Maybe adding a get flushEvents("all") to the end of your handler/s would stop this ? best, Bob... White Rock, BC _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee? Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From bann at sunncomm.com Tue Jul 26 14:21:05 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Tue, 26 Jul 2005 11:21:05 -0700 Subject: rotating images Message-ID: Hello everyone, I have question about rotating images. I want to rotate (changing) images every 10 seconds on the same card I create main stack which has card (cd1). In card cd1 I have 5 images. I want to rotate these images every 10 seconds; each image will take to an URL when it is clicked I tried to do this on different card by using "go next cd" but I don't know how to do this on the same cd Thanks for your help From charles.hartman at conncoll.edu Tue Jul 26 14:25:50 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 14:25:50 -0400 Subject: Mac -> Win problems In-Reply-To: <20050726175948.87A348249FF@mail.runrev.com> References: <20050726175948.87A348249FF@mail.runrev.com> Message-ID: <80FB4185-872E-4013-95CC-889C37E89266@conncoll.edu> Thanks. Let me just make sure I understand this part. Do you mean that I need to have platform-dependency code in my stacks, so every time I use "answer" I'd need something like this? if tPlatform is "OSX" then answer "Here's a sample" with "one" or "two" or "three" else answer "Here's a sample" with "three" or "two" or "one" end if (??) I'm still working on the other parts of your very quick & helpful answer. Charles On Jul 26, 2005, at 2:10 PM, MisterX wrote: > > >> PROBLEM 2: in "answer" commands, the choices I specify are >> there, but they're in reversed order. >> > > reverse the order of "your" buttons, works great! > From charles.hartman at conncoll.edu Tue Jul 26 14:28:10 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 14:28:10 -0400 Subject: Mac -> Win problems In-Reply-To: <20050726175948.87A348249FF@mail.runrev.com> References: <20050726175948.87A348249FF@mail.runrev.com> Message-ID: <161EA869-A9EF-4A53-8D08-632E36933804@conncoll.edu> ? I'm not using (specifying) anything in the way of icons at all. I do set the background (fill) color of the card differently in different parts of the main stack to keep the user oriented, but that doesn't look like the problem -- the cursor disappears over the _whole_ face of the stack, background, text fields, and all. Charles On Jul 26, 2005, at 2:10 PM, MisterX wrote: > > >> PROBLEM 1: On WinXP, the cursor disappears whenever I mouse >> onto a stack. >> > > dont use colors icons! > wait a coming release (i think there's been enough beaching > aboutit... > From dburgun at dsl.pipex.com Tue Jul 26 14:33:41 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 26 Jul 2005 19:33:41 +0100 Subject: rotating images In-Reply-To: References: Message-ID: Hi, One way is to add a handler to the Card Script as so: on RotateImages -- -- Rotate each image -- send "RotateImages" to me in 10 seconds end RotateImages Then to get it started: on openCard send "RotateImages" to this card in 10 seconds ---Or less if you want the 1st rotate to start straight away. end openCard Hope this helps Dave >Hello everyone, > >I have question about rotating images. >I want to rotate (changing) images every 10 seconds on the same card > >I create main stack which has card (cd1). In card cd1 I have 5 images. >I want to rotate these images every 10 seconds; each image will take to >an URL when it is clicked > >I tried to do this on different card by using "go next cd" but I don't >know how to do this on the same cd > >Thanks for your help > > > > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From jperryl at ecs.fullerton.edu Tue Jul 26 14:36:44 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 26 Jul 2005 11:36:44 -0700 (PDT) Subject: Mac -> Win problems In-Reply-To: <80FB4185-872E-4013-95CC-889C37E89266@conncoll.edu> Message-ID: Yes. I believe so. It is due to a difference in HIG for the two platforms. Judy On Tue, 26 Jul 2005, Charles Hartman wrote: > Thanks. Let me just make sure I understand this part. Do you mean > that I need to have platform-dependency code in my stacks, so every > time I use "answer" I'd need something like this? > > if tPlatform is "OSX" then > answer "Here's a sample" with "one" or "two" or "three" > else > answer "Here's a sample" with "three" or "two" or "one" > end if From transcom at comcast.net Tue Jul 26 14:41:33 2005 From: transcom at comcast.net (Michael Mandaville) Date: Tue, 26 Jul 2005 11:41:33 -0700 Subject: Application on Task -Dan Shafer Book Message-ID: I'm a Newbie, working through the Tutorials and Dan Shafer's book. So far, I've built the application up to page 266 in the book "Revolution" However, while I've gone over the scripts more than a few times, I don't believe that I have any errors and that they're in the right places, i.e., object, stack, etc., I still cannot populate the list or txt file with a task. If anybody is familiar with the Dan Shafter app, I would appreciate some guidance to get me past this roadblock. Happy to share the final app - with my hopefully correct comments - with anybody who wants it. I can email the stack at will. Thank you, Michael Mandaville From dburgun at dsl.pipex.com Tue Jul 26 14:47:58 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Tue, 26 Jul 2005 19:47:58 +0100 Subject: Mac -> Win problems In-Reply-To: References: Message-ID: It's the age old "Ok" on right (Mac) or "Ok" on Left (Windoze). IMO, it is better to have a standard function that calls the answer (or whatever) command having swapped the buttons in necessary, e.g.\ function DoXPlatformDialog if tPlatform is "OSX" then answer "Here's a sample" with "one" or "two" or "three" else answer "Here's a sample" with "three" or "two" or "one" end if end DoXPlatformDialog In one of my Apps, I actually create the button dymanically depending on the OS, that way you can position the "OK" and "Cancel" button appropriately depending on the OS. Take Care Dave >Yes. I believe so. It is due to a difference in HIG for the two >platforms. > >Judy >On Tue, 26 Jul 2005, Charles Hartman wrote: > >> Thanks. Let me just make sure I understand this part. Do you mean >> that I need to have platform-dependency code in my stacks, so every >> time I use "answer" I'd need something like this? >> > > if tPlatform is "OSX" then >> answer "Here's a sample" with "one" or "two" or "three" >> else >> answer "Here's a sample" with "three" or "two" or "one" >> end if > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From charles.hartman at conncoll.edu Tue Jul 26 14:55:16 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 14:55:16 -0400 Subject: Mac -> Win problems In-Reply-To: References: Message-ID: <2EF2B6D4-784D-481A-B1F5-FA72586B9F7E@conncoll.edu> (this is off-list because I'm tired of being A Complainer on list) Am I missing something? The HI guidelines for the two platforms are different. Rev is a cross-platform app builder. Yet it builds apps that -- in this low-level design area -- don't conform to the different HIGs? There's a Rev engine for Win, there's a Rev engine for Mac, they both talk to the underlying platform to put up an "answer" dialog, and they don't take account of this difference between the platforms? Isn't there something wrong with this?? Charles On Jul 26, 2005, at 2:36 PM, Judy Perry wrote: > Yes. I believe so. It is due to a difference in HIG for the two > platforms. > > Judy > On Tue, 26 Jul 2005, Charles Hartman wrote: > > >> Thanks. Let me just make sure I understand this part. Do you mean >> that I need to have platform-dependency code in my stacks, so every >> time I use "answer" I'd need something like this? >> >> if tPlatform is "OSX" then >> answer "Here's a sample" with "one" or "two" or "three" >> else >> answer "Here's a sample" with "three" or "two" or "one" >> end if >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs.htm From b.xavier at internet.lu Tue Jul 26 15:37:52 2005 From: b.xavier at internet.lu (MisterX) Date: Tue, 26 Jul 2005 21:37:52 +0200 Subject: Mac -> Win problems In-Reply-To: <2EF2B6D4-784D-481A-B1F5-FA72586B9F7E@conncoll.edu> Message-ID: <20050726192709.37E33824D0D@mail.runrev.com> Charles, Same wrong thing with file handling... but it does allow you to have the low-level edge... once you're made your standard ask and answer dialogs conform, you'll be sailing smoother... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Charles Hartman > Sent: Tuesday, July 26, 2005 20:55 > To: How to use Revolution > Subject: Re: Mac -> Win problems > > (this is off-list because I'm tired of being A Complainer on list) > > Am I missing something? The HI guidelines for the two > platforms are different. Rev is a cross-platform app builder. > Yet it builds apps that -- in this low-level design area -- > don't conform to the different HIGs? There's a Rev engine for > Win, there's a Rev engine for Mac, they both talk to the > underlying platform to put up an "answer" dialog, and they > don't take account of this difference between the platforms? > Isn't there something wrong with this?? > > Charles > > > > On Jul 26, 2005, at 2:36 PM, Judy Perry wrote: > > > Yes. I believe so. It is due to a difference in HIG for the two > > platforms. > > > > Judy > > On Tue, 26 Jul 2005, Charles Hartman wrote: > > > > > >> Thanks. Let me just make sure I understand this part. Do you mean > >> that I need to have platform-dependency code in my stacks, > so every > >> time I use "answer" I'd need something like this? > >> > >> if tPlatform is "OSX" then > >> answer "Here's a sample" with "one" or "two" or "three" > >> else > >> answer "Here's a sample" with "three" or "two" or "one" > >> end if > >> > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > Charles Hartman > Professor of English, Poet in Residence > Connecticut College > charles.hartman at conncoll.edu > *the Scandroid* is at cherry.conncoll.edu/cohar/Programs.htm > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Tue Jul 26 15:41:58 2005 From: see3d at writeme.com (Dennis Brown) Date: Tue, 26 Jul 2005 15:41:58 -0400 Subject: revDocWiki In-Reply-To: References: Message-ID: Dan, I would obviously try to add a couple cents worth of data, but I am still in a learning mode, so my input might be limited to feedback. Even though Heather had defended RunRevs efforts in the docs area, I can not see any reason not to proceed with a Wiki idea. I can understand RunRevs reluctance to pre-announce new language features, but I can not fathom any reason why an outline of the plans for better docs could not be shared with the community (at least the senior members like you). With an understanding of the direction RunRev is taking for future docs, the user community can dovetail its efforts into the most helpful supporting role. Otherwise, RunRev runs the risk of losing control of where the customers turn to find out how to run the tool. A Wiki could become the doc of choice. It would be better if RunRev took an active role in supporting it, but it should proceed in any case. The user community potentially has ten times the energy to put into this than RunRev does. I could see questions on this list referring one to a Wiki entry that already answers it, and when it does not, the final answer can become an addition or a new entry. The power of this list turned into a Wiki --what a concept! Dennis On Jul 26, 2005, at 11:15 AM, Dan Shafer wrote: > As would I. And I have a lot of stuff already written that I'd > contribute to a structured documentation site/page/Wiki/product. > > The docs are already in XML. Jerry Daniels has written a parser for > them that gets used in his Transcript Gadget. > > > On Jul 25, 2005, at 4:43 PM, Timothy Miller wrote: > > >> What would *I* be willing to do? Well, at least I can write. If a >> property, chunk, object, command, etc., might benefit from a >> verbose alternative to the usual terse dictionary entry, I would >> be willing to write verbose explanations of some items I >> understand well, and submit them to the wiki. >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From davis.phil at comcast.net Tue Jul 26 16:11:39 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 26 Jul 2005 13:11:39 -0700 Subject: Mac -> Win problems In-Reply-To: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> Message-ID: <42E698FB.9030705@comcast.net> Charles Hartman wrote: > I've got an app (about 500kb) mostly finished in OSX, in DreamCard. I > just got access to the Win XP machine I use to test x-platform apps. I > have three problems, and I'd be grateful for suggestions. The first two > are (I'm guessing) known and not too hard, though I don't see anything > in the docs to cover them. The third one I suspect may be hard enough > to make me wish I hadn't started on this project. > > PROBLEM 1: ... > > PROBLEM 2: ... > > PROBLEM 3: One interactive tutorial works like this: In Courier (for > the sake of monospaced alignment between lines) there's a line of text, > with a line of marks over it. The marks, in various combinations at > various times, are covered up by opaque, borderless fields, which are > hidden (revealing the mark below) in response to mouse-clicks. But on > WinXP, though the font is the same (Courier New), the size is > different! So the mark-hiding fields don't cover their marks. Hi Charles, Even if you use Courier New and you find the Win and Mac equivalent textSizes, you'll still encounter the issue of different text origin points in the field on the respective platforms. (By 'origin point' I mean the x:y coordinate within the field where you would find the bottomLeft pixel of the first character in the field.) You can manage the text origin issue a couple of ways: - you can apply one set of field margins for Mac and another for Windows. - you can position the field at different locs on the different platforms. - you can display a screenshot of the field and not the field itself. This is my current favorite, because it's air-tight as long as (1) you're only dealing with screen displays, not printing, and (2) the displayed text will never need to be selected or edited by the end user. This option also lets you use whatever font you like, without regard to cross-platform anything. HTH - Phil Davis From revdan at danshafer.com Tue Jul 26 16:45:28 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 26 Jul 2005 13:45:28 -0700 Subject: Application on Task -Dan Shafer Book In-Reply-To: References: Message-ID: Michael..... As far as I know this code is fine and works correctly. I just ran it again on 2.6.1 on OS X and it seems to behave correctly. Why don't you email me the stack off-list (revdan at danshafer.com) and I'll take a look and see if I can spot the problem. What version of Rev are you using on what platform? On Jul 26, 2005, at 11:41 AM, Michael Mandaville wrote: > I'm a Newbie, working through the Tutorials and Dan Shafer's book. > > So far, I've built the application up to page 266 in the book > "Revolution" > However, while I've gone over the scripts more than a few times, I > don't > believe that I have any errors and that they're in the right > places, i.e., > object, stack, etc., > > I still cannot populate the list or txt file with a task. > > If anybody is familiar with the Dan Shafter app, I would appreciate > some > guidance to get me past this roadblock. Happy to share the final > app - with > my hopefully correct comments - with anybody who wants it. > > I can email the stack at will. > Thank you, > > Michael Mandaville > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From brad at activadesign.com Tue Jul 26 16:49:18 2005 From: brad at activadesign.com (Brad Borch) Date: Tue, 26 Jul 2005 16:49:18 -0400 Subject: Fonts & Unicode In-Reply-To: References: Message-ID: I've been working through trying to figure out what takes precedence in the font applied to unicode text in a field. Here's what I found. Maybe this will help someone else avoid frustration. 1. For non-unicode text, the textFont of the object or its parent: the textFont of the stack > the textFont of the group > the textFont of the card > the textFont of the object This setting applies to non-unicode text to which no specific inline style has been applied. 2. The htmlText of the text includes inline styles that allow fonts to be applied: "de." 3. If Rev encounters unstyled unicode text, either by being pasted in or typing in with an alternate keyboard encoding, it converts it to a unicode font. The html of the text includes a font tag and the unicode entities: αβδγε 4. If the text pasted in is styled text from a Unicode font, the htmlText reflects this: αβδφε Note the "lang='el'" parameter. The "el" stands for "Ellinas," which is the Greek word for... Greek. Presumably Rev looks at the range the character is in, determines what language it is, and sets this parameter accordingly. So it is possible to get extended characters by by setting the htmlText to include entities, or by setting the unicodeText. However, this does NOT change the actual font used; Revolution still uses whichever font it has determined is the unicode font. On the Mac, it appears to be using Lucida Grande. On the PC, it appears to be Arial. I cannot tell because the htmlText does not reflect the actual font used to show the unicode characters. Also, if you try to change the font of unicode text using the menu, the text gets converted back to single-byte characters. So, assuming I can install a unicode font on the user's machine, I'm still stuck because I have no way to force Rev to use that particular font. From brad at activadesign.com Tue Jul 26 17:07:16 2005 From: brad at activadesign.com (Brad Borch) Date: Tue, 26 Jul 2005 17:07:16 -0400 Subject: fonts & unicode Message-ID: I've been working through trying to figure out what takes precedence in the font applied to unicode text in a field. Here's what I found. Maybe this will help someone else avoid frustration. 1. For non-unicode text, the textFont of the object or its parent: the textFont of the stack > the textFont of the group > the textFont of the card > the textFont of the object This setting applies to non-unicode text to which no specific inline style has been applied. 2. The htmlText of the text includes inline styles that allow fonts to be applied: "de." 3. If Rev encounters unstyled unicode text, either by being pasted in or typing in with an alternate keyboard encoding, it converts it to a unicode font. The html of the text includes a font tag and the unicode entities: αβδγε 4. If the text pasted in is styled text from a Unicode font, the htmlText reflects this: αβδφε Note the "lang='el'" parameter. The "el" stands for "Ellinas," which is the Greek word for... Greek. Presumably Rev looks at the range the character is in, determines what language it is, and sets this parameter accordingly. So it is possible to get extended characters by by setting the htmlText to include entities, or by setting the unicodeText. However, this does NOT change the actual font used; Revolution still uses whichever font it has determined is the unicode font. On the Mac, it appears to be using Lucida Grande. On the PC, it appears to be Arial. I cannot tell because the htmlText does not reflect the actual font used to show the unicode characters. Also, if you try to change the font of unicode text using the menu, the text gets converted back to single-byte characters. So, assuming I can install a unicode font on the user's machine, I'm still stuck because I have no way to force Rev to use that particular font. From chipp at chipp.com Tue Jul 26 17:18:57 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 26 Jul 2005 16:18:57 -0500 Subject: revDocWiki In-Reply-To: References: Message-ID: <42E6A8C1.3070800@chipp.com> I should mention the parser Jerry modified (and I did too, and even perhaps Mr. Sanke as well) originated from Richard Gaskin's generous contribution for his help stack for MC. Thanks Richard! Dan Shafer wrote: > The docs are already in XML. Jerry Daniels has written a parser for > them that gets used in his Transcript Gadget. From chipp at chipp.com Tue Jul 26 17:21:05 2005 From: chipp at chipp.com (Chipp Walters) Date: Tue, 26 Jul 2005 16:21:05 -0500 Subject: Another Doc Thought In-Reply-To: <20050726152500.6DCA382493F@mail.runrev.com> References: <20050726152500.6DCA382493F@mail.runrev.com> Message-ID: <42E6A941.9070206@chipp.com> LOL, Truer words were never spoke MisterX wrote: > The typical cycle in a rev programmer's life is > > woah! > hummmmm > maillist - it just doesn't work! > maillist - it's crap > maillist - aaah > woah, it works! > cool my first program* > maillist - it stopped working, im lost > maillist - aaah! > cool my first cool program > maillist - where's the 3d stuff everyone has (or color cursors, or normal > html rendering, etc...) > maillist - rant where is it? > maillist - darn... hurry up rev... > cool, i managed to interpret it in xtalk > maillist - my new cooler than cool program > maillist - thanks thanks > maillist - oops, a mistake slipped in! > (GOTO "cool, my second program")* -- and third, and so on... > just have to abide to the cycle From tjframe at gmail.com Tue Jul 26 17:28:33 2005 From: tjframe at gmail.com (TJ Frame) Date: Tue, 26 Jul 2005 14:28:33 -0700 Subject: Burning Transparancy level into an Image Message-ID: <7348a9e80507261428629166f6@mail.gmail.com> Hi all, Anyone know how to "collapse" or "burn in" the alpha channel of an image such that the image no longer has any transparency but looks like it did when it still had the transparency? I'm making an app that manipulates graphics on top of an imported background image and activating the blend of the background image reduces speed greatly vs. having a non blended image underneath. Right now I'm kludging it by bringing the source image into an image control, setting its blend level (either directly through the Alphadata or the Blendlevel), then saving it as a jpeg and reimporting the image back into Rev... I would be grateful if anyone has a more elegant solution by correctly dipping into the Imagedata/Alphadata the first time Thanks, - TJ From charles.hartman at conncoll.edu Tue Jul 26 17:43:42 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 17:43:42 -0400 Subject: Mac -> Win problems In-Reply-To: <42E698FB.9030705@comcast.net> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E698FB.9030705@comcast.net> Message-ID: <6F175811-FDAA-47A3-85C4-4B4B1AE6EA85@conncoll.edu> On Jul 26, 2005, at 4:11 PM, Phil Davis wrote: > Even if you use Courier New and you find the Win and Mac equivalent > textSizes, you'll still encounter the issue of different text > origin points in the field on the respective platforms. (By 'origin > point' I mean the x:y coordinate within the field where you would > find the bottomLeft pixel of the first character in the field.) OK, thanks. But how _do_ I find the real text size? The textSize property just gives it in points, and those are pretty clearly not equivalent cross-platform. Is there a text-size-in-pixels function I'm missing somewhere? (Especially text _length_ -- that's where I'm getting into trouble.) If I had that, I could -- per platform -- figure the size of a bit of (Courier) text and adjust all the "hiding" fields accordingly, though it would sure be a chore. > You can manage the text origin issue a couple of ways: > > - you can apply one set of field margins for Mac and another for > Windows. > > - you can position the field at different locs on the different > platforms. > > - you can display a screenshot of the field and not the field > itself. This is my current favorite, because it's air-tight as long > as (1) you're only dealing with screen displays, not printing, and > (2) the displayed text will never need to be selected or edited by > the end user. This option also lets you use whatever font you like, > without regard to cross-platform anything. If I understand what you're suggesting there at the end, it has the same problem as the other solution I thought of: having alternative versions of the text field in question, and replacing the initial version (hey, presto) with a new one each time a button is pressed. But it runs into a problem combinatorial explosion. If one card has (say) four "hiding" fields to be hidden (revealing the underlying marks), I have no way to predict the order in which the user will click the buttons to do each of them. So I would need, just for that card, sixteen versions of the field. Same with screenshots, as far as I can see. Since there are several dozen cards in this section of the stack, that's beginning to look like drudgery on a scale I can't afford. I hope my description of the situation makes sense. The solution I was trying to instantiate is one that worked quite simply in HyperCard (a thousand years ago). Of course that wasn't cross-platform. Charles From kray at sonsothunder.com Tue Jul 26 17:47:41 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 26 Jul 2005 16:47:41 -0500 Subject: Mac -> Win problems In-Reply-To: <20050726192709.37E33824D0D@mail.runrev.com> Message-ID: On 7/26/05 2:37 PM, "MisterX" wrote: > Charles, > > Same wrong thing with file handling... but it does allow you > to have the low-level edge... What do you mean, Xavier? What is backwards with file handling? > once you're made your standard ask and answer dialogs conform, > you'll be sailing smoother... Actually, Rev is designed to handle the differences when all you're providing is OK and Cancel (in *that* case, reversing the buttons is correct for the HIGs on both platforms); it's just that if you use any other buttons it doesn't work right (i.e. it reverses them when it shouldn't). HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Jul 26 17:54:33 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 26 Jul 2005 16:54:33 -0500 Subject: Burning Transparancy level into an Image In-Reply-To: <7348a9e80507261428629166f6@mail.gmail.com> Message-ID: On 7/26/05 4:28 PM, "TJ Frame" wrote: > Hi all, > Anyone know how to "collapse" or "burn in" the alpha channel of an image > such that the image no longer has any transparency but looks like it did > when it still had the transparency? > I'm making an app that manipulates graphics on top of an imported > background image and activating the blend of the background image reduces > speed greatly vs. having a non blended image underneath. > Right now I'm kludging it by bringing the source image into an image > control, setting its blend level (either directly through the Alphadata or > the Blendlevel), then saving it as a jpeg and reimporting the image back > into Rev... > I would be grateful if anyone has a more elegant solution by correctly > dipping into the Imagedata/Alphadata the first time TJ, take a look at the Image tips on my site, specifically: http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag005 HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From davis.phil at comcast.net Tue Jul 26 18:08:48 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 26 Jul 2005 15:08:48 -0700 Subject: Mac -> Win problems In-Reply-To: <6F175811-FDAA-47A3-85C4-4B4B1AE6EA85@conncoll.edu> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E698FB.9030705@comcast.net> <6F175811-FDAA-47A3-85C4-4B4B1AE6EA85@conncoll.edu> Message-ID: <42E6B470.9080901@comcast.net> Charles Hartman wrote: > On Jul 26, 2005, at 4:11 PM, Phil Davis wrote: -- snip -- >> - you can display a screenshot of the field and not the field itself. >> This is my current favorite, because it's air-tight as long as (1) >> you're only dealing with screen displays, not printing, and (2) the >> displayed text will never need to be selected or edited by the end >> user. This option also lets you use whatever font you like, without >> regard to cross-platform anything. > > > If I understand what you're suggesting there at the end, it has the > same problem as the other solution I thought of: having alternative > versions of the text field in question, and replacing the initial > version (hey, presto) with a new one each time a button is pressed. But > it runs into a problem combinatorial explosion. If one card has (say) > four "hiding" fields to be hidden (revealing the underlying marks), I > have no way to predict the order in which the user will click the > buttons to do each of them. So I would need, just for that card, > sixteen versions of the field. Same with screenshots, as far as I can > see. Since there are several dozen cards in this section of the stack, > that's beginning to look like drudgery on a scale I can't afford. Sorry if I lost something in the translation here, but... If your text (and the field) always had the exact same metrics throughout on both platforms, wouldn't that make your cover fields always work? If so, it seems to me that's what you'd get by using a screenshot of your field instead of the field itself. Feel free to correct me... Phil From alex at tweedly.net Tue Jul 26 18:13:03 2005 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 26 Jul 2005 23:13:03 +0100 Subject: Mac -> Win problems In-Reply-To: <161EA869-A9EF-4A53-8D08-632E36933804@conncoll.edu> References: <20050726175948.87A348249FF@mail.runrev.com> <161EA869-A9EF-4A53-8D08-632E36933804@conncoll.edu> Message-ID: <42E6B56F.5090302@tweedly.net> Charles Hartman wrote: > ? I'm not using (specifying) anything in the way of icons at all. I > do set the background (fill) color of the card differently in > different parts of the main stack to keep the user oriented, but that > doesn't look like the problem -- the cursor disappears over the > _whole_ face of the stack, background, text fields, and all. > >> >>> PROBLEM 1: On WinXP, the cursor disappears whenever I mouse >>> onto a stack. >>> >> dont use colors icons! >> wait a coming release (i think there's been enough beaching >> aboutit... >> > There's another bug or two (BZ 2138 and another one I can't see right now) that might be what you're seeing. These happen when you run a stack on WinXP by double-clicking on the stack icon. I created BZ 2138 for this problem with the Dreamcard Player - and since I wasn't sure if it was intended to allow this or not, I had to mark that as an enhancement. I'm sure I've seen another BZ entry for the same, or very similar, problem with the full product - but can't immediately find it. I now never run stacks by double clicking them because of this problem - I either run them in the IDE, or build standalones. But it wasn't clear whether you are double-clicking to run it or not, so this may not be the answer you need. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From ambassador at fourthworld.com Tue Jul 26 18:23:42 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Jul 2005 15:23:42 -0700 Subject: revDocWiki In-Reply-To: <42E6A8C1.3070800@chipp.com> References: <42E6A8C1.3070800@chipp.com> Message-ID: <42E6B7EE.7090509@fourthworld.com> Chipp Walters wrote: > Dan Shafer wrote: >> The docs are already in XML. Jerry Daniels has written a parser for >> them that gets used in his Transcript Gadget. > > I should mention the parser Jerry modified (and I did too, and even > perhaps Mr. Sanke as well) originated from Richard Gaskin's generous > contribution for his help stack for MC. Thanks Richard! My pleasure. And thanks for the thoughtful mention. I'm a big fan of both XML and the Rev object model, and I'm rather addicted to the Dictionary. My revised Dictionary shell attempts to deliver the best of both worlds: XML is a great format for authoring, as it allows the individual topics to be moved from team member to team member for authoring and review. But as we've seen, indexing and parsing them on the fly is, well, suboptimal. :) It's hard to beat Rev's native object model for efficiently traversing a body of work like this. Even with nearly 1500 entries the mcDictionary loads about as quickly as the XML-based one that ships with Rev, but is significantly faster for moving document-to-document, since you're only going card-to-card rather than loading files from disk and parsing XML CDATA on the fly. Jerry's done a wonderful job extending the mcDictionary stack, adding a lot of geat new functionality and a nifty Rossi-esque look. Since it only takes less than a minute to import the data into the stack, I hope one day we can see that incorporated into Rev's automated build process and have it shipped with the product. Jerry's is certainly worthy. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Tue Jul 26 18:28:30 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 26 Jul 2005 15:28:30 -0700 Subject: Mac -> Win problems In-Reply-To: <42E6B470.9080901@comcast.net> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E698FB.9030705@comcast.net> <6F175811-FDAA-47A3-85C4-4B4B1AE6EA85@conncoll.edu> <42E6B470.9080901@comcast.net> Message-ID: <42E6B90E.4050301@fourthworld.com> Phil Davis wrote: > If your text (and the field) always had the exact same metrics > throughout on both platforms, wouldn't that make your cover > fields always work? There's a font with identical metrics on multiple platforms? I would have bet on finding the Holy Grail before finding a font foundry that lives up to their claims. ;) It may not be fair of me to put the blame on the foundry. Each OS has such different mechanisms for rendering text that the woeful differences I've had to work around may well be just a by-product of the OSes rather than the fonts. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From jacque at hyperactivesw.com Tue Jul 26 18:43:16 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 26 Jul 2005 17:43:16 -0500 Subject: Mac -> Win problems In-Reply-To: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> Message-ID: <42E6BC84.3030405@hyperactivesw.com> Charles Hartman wrote: > PROBLEM 1: On WinXP, the cursor disappears whenever I mouse onto a stack. There's a Bugzilla report about this. It started a couple of versions ago but the team couldn't reproduce it. No one else complained, so the bug was closed. Recently another customer complained about it via tech support, so I re-opened the bug. I can't reproduce the behavior on my Windows machine either, so we don't know what causes it. If you could add your comments to the bug report, the team might be able to track it down. I don't think it depends on the stack itself, since those people who report the problem say they have it no matter what stack is opened. But maybe you can work with the RR guys to determine if there is a system setting or something that is responsible. The bugzilla report is here: > > PROBLEM 2: in "answer" commands, the choices I specify are there, but > they're in reversed order. As others have mentioned, the HIG for each OS is different. So I don't think it is really a bug, since it is correct that the last button you list (the default button) should be on the left on a Windows box. If you do decide to write platform-specific code, be ready for one side or the other to notice. Windows users think the Mac order is backwards. > > PROBLEM 3: One interactive tutorial works like this: In Courier (for > the sake of monospaced alignment between lines) there's a line of text, > with a line of marks over it. The marks, in various combinations at > various times, are covered up by opaque, borderless fields, which are > hidden (revealing the mark below) in response to mouse-clicks. But on > WinXP, though the font is the same (Courier New), the size is > different! So the mark-hiding fields don't cover their marks. Right, you are up against one of the most common cross platform issues. Fonts of the same name and size are not identical on different operating systems. One way to manage this is to find (usually by trial and error) a size on one machine that matches a different size on another. (Dar has done some experiments with this.) Mac fonts are often wider, so for example, if your Mac is using Courier 12, you might find a match on Windows by using Courier 10 or 11. You might have to juggle textheights the same way. Once you get the right sizes, you can run a quick preopencard handler that sets each field's textsize and/or textheight to whatever it needs. One other thing you could do, if there is enough room, is just make your cover fields large enough for the worst-case font size. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From michaell at unimelb.edu.au Tue Jul 26 19:08:47 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Wed, 27 Jul 2005 09:08:47 +1000 Subject: Praise: Rev Documentation to the rescue Message-ID: I dare say this one will get me into trouble... At 9:36 PM -0500 25/7/05, use-revolution-request at lists.runrev.com wrote: > >For me, the biggest problem I have with the docs, aside from not being >able to find things, is that when I get to a topic, there are not enough >examples to indicate exactly how a facility might be used. Whether this >belongs in the "docs" or in something else is beside the point. If I'm >struggling with how to use a REPEAT, I need examples. Here is some help with repeat that includes no less than 8 code examples. You can find many, many more examples of how and when to use repeat in almost any Rev project that you care to open and examine. I hope that helps (HTH). I'm sorry if this post is excessively long. It is Jeanne's fault for writing a long dictionary entry ;-) From the docs: repeat control structure Platform support: Introduced in version 1.0 (Changed in version 2.0) Executes a set of statements repeatedly. repeat loopForm statementList end repeat See also: each keyword, end repeat keyword, exit repeat control structure, for keyword, forever keyword, next repeat control structure, until keyword, while keyword, Why does a repeat loop behave strangely? Description Use the repeat control structure to perform the same set of actions for each member of a set: for example, for each card in a stack, or each line in a variable. Form: The repeat control structure always begins with the word "repeat". The last line of a repeat control structure is the end repeat keyword. Parameters: The loopForm is one of the following forms: * forever * until condition * while condition * [for] number times * with counter = startValue [to | down to] endValue [step increment] * for each chunkType labelVariable in container * for each element labelVariable in array The condition is any expression that evaluates to true or false. The number, startValue, endValue, and increment are numbers or expressions that evaluate to numbers. The counter or labelVariable is a legal variable name. The chunkType is one of character (or char), word, line, item, or token. The container is any existing container. The array is any existing container that contains an array of values. The statementList consists of one or more Transcript statements, and can also include if, switch, try, or repeat control structures. Comments: How many times the statementList is executed depends on the loopForm you use. The forever form: The forever form continues repeating the statements in the statementList until an exit, exit repeat, pass, or return statement is executed. Usually, one of these control structures is included in an if control structure within the statementList. Use the forever form if you want to test a condition at the bottom of the loop, after the statementList is executed. In the following example, the go command is executed at least once, since the mouseClick is not checked until after the go command: repeat forever go next card if the mouseClick then exit repeat -- user clicked end repeat If no loopForm is specified, the forever form is used. The until and while forms: The until condition and while condition forms repeat the statementList as long as the condition is false or as long as it is true, respectively. Revolution re-evaluates the condition before each iteration. Use the until condition or while condition form if you want to test a condition at the top of the loop, before the statements are executed. This example scrolls through the cards until the user clicks the mouse: repeat until the mouseClick go next wait for 100 milliseconds end repeat The for form: The for number times form repeats the statementList for the specified number of times. The number is evaluated when the loop is first entered, and is not re-evaluated as a result of any actions performed in the statementList. For example, if the number is the number of cards, and the statementList contains a create card command, the loop is executed as many times as there were cards when the loop began, even though the current number of cards is changing with each iteration through the loop. If the number is not an integer, it is rounded to the nearest integer, using the same rules as the round function. Use the for number times form if you want to execute the statementList a fixed number of times. The following simple example beeps three times: repeat for 3 times beep end repeat The with form: The with counter = startValue to endValue form and the with counter = startValue down to endValue form set the counter to the startValue at the beginning of the loop, and increase (or decrease, if you're using the down to form) the countVariable by 1 each time through the loop. When the counter is greater than or equal to the endValue, (less than or equal to, if you're using the down to form), the loop performs its final iteration and then ends. If you specify an increment, the increment is added to the counter each time through the loop, rather than the counter being increased by 1. (The increment is not treated as an absolute value: if you're using the down to form, the increment must be negative.) As with the for number times form described above, the startValue and endValue are evaluated when the loop is first entered, and are not re-evaluated as a result of any actions performed in the statementList. Use one of these forms if you want to perform an action on each member of a set, and you need to refer to the member by number within the statementList. The following example loops through all the controls on the current card. The counter x is 1 during the first iteration, 2 during the second, and so on: repeat with x = 1 to the number of controls show control x end repeat The following example loops backwards through a set of lines. The counter myLine is 20 during the first iteration, 18 during the second, and so on: repeat with myLine = 20 down to 1 step -2 put myLine end repeat Note: It is possible to change the counter variable in a statement in the loop. However, doing this is not recommended, because it makes the loop logic difficult to follow: repeat with x = 1 to 20 -- this loop actually repeats ten times answer x add 1 to x -- not recommended end repeat The for each form: The for each chunkType labelVariable in container form sets the labelVariable to the first chunk of the specified chunkType in the container at the beginning of the loop, then sets it to the next chunk for each iteration. For example, if the chunkType is word, the labelVariable is set to the next word in the container for each iteration of the loop. Use the for each form if you want to perform an action on each chunk in a container. This form is much faster than the with countVariable = startValue to endValue form when looping through the chunks of a container. The following example changes a return-delimited list to a comma-delimited list: repeat for each line thisLine in myList put thisLine & comma after newList end repeat if last char of newList is comma then delete last char of newList The for each element labelVariable in array form sets the labelVariable to the first element in the array at the beginning of the loop, then sets it to the next element for each iteration. Important! You cannot change the labelVariable in a statement inside the loop. Doing so will cause a script error. You can change the content of the container, but doing so will probably produce unexpected results. Use the for each form if you want to perform an action on each element in an array. The following example gets only the multi-word entries in an array of phrases: repeat for each element thisIndexTerm in listOfTerms if the number of words in thisIndexTerm > 1 then put thisIndexTerm & return after multiWordTerms end repeat Note: The repeat control structure is implemented internally as a command and appears in the commandNames. Changes to Transcript: The ability to specify an increment for the repeat with counter = startValue to endValue form was added in version 2.0. In previous versions, this form of the repeat control structure always incremented or decremented the counter by 1 each time through the loop. -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From charles.hartman at conncoll.edu Tue Jul 26 19:11:57 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 19:11:57 -0400 Subject: Mac -> Win problems In-Reply-To: <42E6B56F.5090302@tweedly.net> References: <20050726175948.87A348249FF@mail.runrev.com> <161EA869-A9EF-4A53-8D08-632E36933804@conncoll.edu> <42E6B56F.5090302@tweedly.net> Message-ID: <7F8E5DAB-DA66-42DD-8D9D-BE75A2A8B2A1@conncoll.edu> > There's another bug or two (BZ 2138 and another one I can't see > right now) that might be what you're seeing. These happen when you > run a stack on WinXP by double-clicking on the stack icon. I > created BZ 2138 for this problem with the Dreamcard Player - and > since I wasn't sure if it was intended to allow this or not, I had > to mark that as an enhancement. I'm sure I've seen another BZ entry > for the same, or very similar, problem with the full product - but > can't immediately find it. > > I now never run stacks by double clicking them because of this > problem - I either run them in the IDE, or build standalones. > > But it wasn't clear whether you are double-clicking to run it or > not, so this may not be the answer you need. > > -- > Alex Tweedly http://www.tweedly.net I'm running by double-clicking -- because all I've got is DreamCard, so I can't build standalones. And I suspect my users (they'll download the Win or Mac player, I hope from my site where they get the stack) will do it the same way. There's no evident other way to tell the Player to load the stack; I may have missed it -- but if so, users may well too. (I'll have to give them instructions anyway, of course.) So -- it's a bug, already known. Is there also a known workaround? The app is hardly useable as it is. Charles From Hamburger1 at aol.com Tue Jul 26 19:15:06 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Tue, 26 Jul 2005 19:15:06 EDT Subject: Disappearing Objects Message-ID: <1a8.3bc39a38.30181dfa@aol.com> Hi Rev Fans, OK, so I converted my first HC stack today. Everything was going along surprisingly well. That was until I tried to add a menubar to the converted stack. At that point all my fields and buttons vanished! I know they are still there though because they are still listed in the inspector. What do I need to do to see those fields and buttons again? Joe Orlando, FL From jbondy at sover.net Tue Jul 26 19:17:12 2005 From: jbondy at sover.net (Jon) Date: Tue, 26 Jul 2005 19:17:12 -0400 Subject: Praise: Rev Documentation to the rescue In-Reply-To: References: Message-ID: <42E6C478.107@sover.net> Not from me! I guess I chose a horribly wrong example! Point taken! :) Jon Michael J. Lew wrote: > I dare say this one will get me into trouble... > > At 9:36 PM -0500 25/7/05, use-revolution-request at lists.runrev.com wrote: > >> >> For me, the biggest problem I have with the docs, aside from not being >> able to find things, is that when I get to a topic, there are not enough >> examples to indicate exactly how a facility might be used. Whether this >> belongs in the "docs" or in something else is beside the point. If I'm >> struggling with how to use a REPEAT, I need examples. > > > Here is some help with repeat that includes no less than 8 code > examples. You can find many, many more examples of how and when to use > repeat in almost any Rev project that you care to open and examine. I > hope that helps (HTH). > > I'm sorry if this post is excessively long. It is Jeanne's fault for > writing a long dictionary entry ;-) > > From the docs: > repeat control structure > Platform support: Introduced in version 1.0 (Changed in version 2.0) > > Executes a set of statements repeatedly. > > repeat loopForm > statementList > end repeat > > See also: each keyword, end repeat keyword, exit repeat control > structure, for keyword, forever keyword, next repeat control > structure, until keyword, while keyword, Why does a repeat loop behave > strangely? > > Description > Use the repeat control structure to perform the same set of actions > for each member of a set: for example, for each card in a stack, or > each line in a variable. > > Form: > The repeat control structure always begins with the word "repeat". > > The last line of a repeat control structure is the end repeat keyword. > > Parameters: > The loopForm is one of the following forms: > > * forever > * until condition > * while condition > * [for] number times > * with counter = startValue [to | down to] endValue [step increment] > * for each chunkType labelVariable in container > * for each element labelVariable in array > > The condition is any expression that evaluates to true or false. > > The number, startValue, endValue, and increment are numbers or > expressions that evaluate to numbers. > > The counter or labelVariable is a legal variable name. > > The chunkType is one of character (or char), word, line, item, or token. > > The container is any existing container. The array is any existing > container that contains an array of values. > > The statementList consists of one or more Transcript statements, and > can also include if, switch, try, or repeat control structures. > > Comments: > How many times the statementList is executed depends on the loopForm > you use. > > The forever form: > The forever form continues repeating the statements in the > statementList until an exit, exit repeat, pass, or return statement is > executed. Usually, one of these control structures is included in an > if control structure within the statementList. > > Use the forever form if you want to test a condition at the bottom of > the loop, after the statementList is executed. In the following > example, the go command is executed at least once, since the > mouseClick is not checked until after the go command: > > repeat forever > go next card > if the mouseClick then exit repeat -- user clicked > end repeat > > If no loopForm is specified, the forever form is used. > > The until and while forms: > The until condition and while condition forms repeat the statementList > as long as the condition is false or as long as it is true, > respectively. Revolution re-evaluates the condition before each > iteration. > > Use the until condition or while condition form if you want to test a > condition at the top of the loop, before the statements are executed. > This example scrolls through the cards until the user clicks the mouse: > > repeat until the mouseClick > go next > wait for 100 milliseconds > end repeat > > The for form: > The for number times form repeats the statementList for the specified > number of times. > > The number is evaluated when the loop is first entered, and is not > re-evaluated as a result of any actions performed in the > statementList. For example, if the number is the number of cards, and > the statementList contains a create card command, the loop is executed > as many times as there were cards when the loop began, even though the > current number of cards is changing with each iteration through the loop. > > If the number is not an integer, it is rounded to the nearest integer, > using the same rules as the round function. > > Use the for number times form if you want to execute the statementList > a fixed number of times. The following simple example beeps three times: > > repeat for 3 times > beep > end repeat > > The with form: > The with counter = startValue to endValue form and the with counter = > startValue down to endValue form set the counter to the startValue at > the beginning of the loop, and increase (or decrease, if you're using > the down to form) the countVariable by 1 each time through the loop. > When the counter is greater than or equal to the endValue, (less than > or equal to, if you're using the down to form), the loop performs its > final iteration and then ends. > > If you specify an increment, the increment is added to the counter > each time through the loop, rather than the counter being increased by > 1. (The increment is not treated as an absolute value: if you're using > the down to form, the increment must be negative.) > > As with the for number times form described above, the startValue and > endValue are evaluated when the loop is first entered, and are not > re-evaluated as a result of any actions performed in the statementList. > > Use one of these forms if you want to perform an action on each member > of a set, and you need to refer to the member by number within the > statementList. The following example loops through all the controls on > the current card. The counter x is 1 during the first iteration, 2 > during the second, and so on: > > repeat with x = 1 to the number of controls > show control x > end repeat > > The following example loops backwards through a set of lines. The > counter myLine is 20 during the first iteration, 18 during the second, > and so on: > > repeat with myLine = 20 down to 1 step -2 > put myLine > end repeat > > Note: It is possible to change the counter variable in a statement > in the loop. However, doing this is not recommended, because it makes > the loop logic difficult to follow: > > repeat with x = 1 to 20 -- this loop actually repeats ten times > answer x > add 1 to x -- not recommended > end repeat > > The for each form: > The for each chunkType labelVariable in container form sets the > labelVariable to the first chunk of the specified chunkType in the > container at the beginning of the loop, then sets it to the next chunk > for each iteration. For example, if the chunkType is word, the > labelVariable is set to the next word in the container for each > iteration of the loop. > > Use the for each form if you want to perform an action on each chunk > in a container. This form is much faster than the with countVariable = > startValue to endValue form when looping through the chunks of a > container. The following example changes a return-delimited list to a > comma-delimited list: > > repeat for each line thisLine in myList > put thisLine & comma after newList > end repeat > if last char of newList is comma then delete last char of newList > > The for each element labelVariable in array form sets the > labelVariable to the first element in the array at the beginning of > the loop, then sets it to the next element for each iteration. > > Important! You cannot change the labelVariable in a statement > inside the loop. Doing so will cause a script error. You can change > the content of the container, but doing so will probably produce > unexpected results. > > Use the for each form if you want to perform an action on each element > in an array. The following example gets only the multi-word entries in > an array of phrases: > > repeat for each element thisIndexTerm in listOfTerms > if the number of words in thisIndexTerm > 1 > then put thisIndexTerm & return after multiWordTerms > end repeat > > Note: The repeat control structure is implemented internally as a > command and appears in the commandNames. > > Changes to Transcript: > The ability to specify an increment for the repeat with counter = > startValue to endValue form was added in version 2.0. In previous > versions, this form of the repeat control structure always incremented > or decremented the counter by 1 each time through the loop. From davis.phil at comcast.net Tue Jul 26 19:20:25 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 26 Jul 2005 16:20:25 -0700 Subject: Mac -> Win problems In-Reply-To: <42E6B90E.4050301@fourthworld.com> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E698FB.9030705@comcast.net> <6F175811-FDAA-47A3-85C4-4B4B1AE6EA85@conncoll.edu> <42E6B470.9080901@comcast.net> <42E6B90E.4050301@fourthworld.com> Message-ID: <42E6C539.5040800@comcast.net> Richard Gaskin wrote: > Phil Davis wrote: > >> If your text (and the field) always had the exact same metrics >> throughout on both platforms, wouldn't that make your cover >> fields always work? > > > There's a font with identical metrics on multiple platforms? Yep - it's called a snapshot of the screen (or at least of the field). :o) That's what I was referring to as having the same metrics on all platforms. I guess I didn't finish connecting the dots in the explanation of my proposed solution. Phil From charles.hartman at conncoll.edu Tue Jul 26 19:34:08 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 19:34:08 -0400 Subject: Mac -> Win problems In-Reply-To: <42E6BC84.3030405@hyperactivesw.com> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E6BC84.3030405@hyperactivesw.com> Message-ID: On Jul 26, 2005, at 6:43 PM, J. Landman Gay wrote: >> PROBLEM 1: On WinXP, the cursor disappears whenever I mouse onto >> a stack. >> .... > If you could add your comments to the bug report, the team might be > able to track it down. I don't think it depends on the stack > itself, since those people who report the problem say they have it > no matter what stack is opened. But maybe you can work with the RR > guys to determine if there is a system setting or something that is > responsible. OK, I added a confirming comment, with a tiny bit more detail. >> PROBLEM 2: in "answer" commands, the choices I specify are there, >> but they're in reversed order. > As others have mentioned, the HIG for each OS is different. So I > don't think it is really a bug, since it is correct that the last > button you list (the default button) should be on the left on a > Windows box. If you do decide to write platform-specific code, be > ready for one side or the other to notice. Windows users think the > Mac order is backwards. I see the point. OK, the platform-checking code isn't especially onerous -- if I had a lot of "answer" dialogs I suppose I could write a wrapper command. (Someday would it be nice to have pre-built cross- platform wrappers for the basic Transcript commands?) >> PROBLEM 3: One interactive tutorial works like this: In Courier >> (for the sake of monospaced alignment between lines) there's a >> line of text, with a line of marks over it. The marks, in >> various combinations at various times, are covered up by opaque, >> borderless fields, which are hidden (revealing the mark below) in >> response to mouse-clicks. But on WinXP, though the font is the >> same (Courier New), the size is different! So the mark-hiding >> fields don't cover their marks. > > Right, you are up against one of the most common cross platform > issues. Fonts of the same name and size are not identical on > different operating systems. One way to manage this is to find > (usually by trial and error) a size on one machine that matches a > different size on another. (Dar has done some experiments with this.) Do you know if those results are available anywhere? A table of comparative text-widths would be very handy, at least for me. > Mac fonts are often wider, so for example, if your Mac is using > Courier 12, you might find a match on Windows by using Courier 10 > or 11. You might have to juggle textheights the same way. Once you > get the right sizes, you can run a quick preopencard handler that > sets each field's textsize and/or textheight to whatever it needs. I'm already doing a preOpenStack in the main stack to set the two fonts (one proportional, one monospace) according to what's available on the runtime system. If I knew the right sizes it sounds as though I could make the text fit the fields, backwards as that sounds. Time for a lot of rolling the chair from one machine to the other, I guess. > One other thing you could do, if there is enough room, is just make > your cover fields large enough for the worst-case font size. In many cases that would presumably work. Here, though, I have a lot of finicky little fields. An example (I hope this comes out in Courier after transmission): / x |x / | x (/)| x / | x / Why should I blame her that she filled my days x /|x(/)| / x | x / | x / With misery, or that she would of late . . . The marks get revealed -- the fields hiding them get hidden -- in stages (one stage per card): first the / and x marks over polysyllabic words, then the / marks over stressed monosyllables, then the rest of the x and / marks, and finally the | marks. Within each of these stage, order is determined by user. So I think I have to work with shrinking the text instead. Many thanks for your careful & thoughtful advice. Charles From dsc at swcp.com Tue Jul 26 19:35:37 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 26 Jul 2005 17:35:37 -0600 Subject: Fonts & Unicode In-Reply-To: References: Message-ID: <99d00850c8ff956f0fada0f19d5e7d15@swcp.com> On Jul 26, 2005, at 2:49 PM, Brad Borch wrote: > So, assuming I can install a unicode font on the user's machine, I'm > still stuck because I have no way to force Rev to use that particular > font. This behavior in OS X 10.3 is not what I saw in 10.2: I tried several fonts with control pictures, which are not in Lucida Grande. In this case, using Unicode did not chose Lucida Grande, but one of them. Which one depended on which font was enabled. Also, if some fonts had only some, the font might still be chosen. The behavior was such that I thought I'd use imageSource if I ever got back to that project. What you see might be related to bugzilla 2493. In OX X 10.2 I think my tests were only with Lucida Grande. The control pictures were very ugly. I suspect that some OS test font was used for some reason. Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming and software ********************************************** From charles.hartman at conncoll.edu Tue Jul 26 19:38:14 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 19:38:14 -0400 Subject: Mac -> Win problems In-Reply-To: <42E6B470.9080901@comcast.net> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E698FB.9030705@comcast.net> <6F175811-FDAA-47A3-85C4-4B4B1AE6EA85@conncoll.edu> <42E6B470.9080901@comcast.net> Message-ID: No no, you're right, I wasn't thinking clearly. (How novel!) _One_ version of the text-and-marks field, screen-shot and therefore reliable in size, with covering fields tailored to that immutable size. Yes, that ought to work. I'll try it, especially if I can't get the text-size-changing approach to work (which would be an easier path from where I am now). Charles On Jul 26, 2005, at 6:08 PM, Phil Davis wrote: >>> - you can display a screenshot of the field and not the field >>> itself. This is my current favorite, because it's air-tight as >>> long as (1) you're only dealing with screen displays, not >>> printing, and (2) the displayed text will never need to be >>> selected or edited by the end user. This option also lets you >>> use whatever font you like, without regard to cross-platform >>> anything. >>> >> If I understand what you're suggesting there at the end, it has >> the same problem as the other solution I thought of: having >> alternative versions of the text field in question, and replacing >> the initial version (hey, presto) with a new one each time a >> button is pressed. But it runs into a problem combinatorial >> explosion. If one card has (say) four "hiding" fields to be >> hidden (revealing the underlying marks), I have no way to predict >> the order in which the user will click the buttons to do each of >> them. So I would need, just for that card, sixteen versions of >> the field. Same with screenshots, as far as I can see. Since >> there are several dozen cards in this section of the stack, >> that's beginning to look like drudgery on a scale I can't afford. >> > > Sorry if I lost something in the translation here, but... If your > text (and the field) always had the exact same metrics throughout > on both platforms, wouldn't that make your cover fields always > work? If so, it seems to me that's what you'd get by using a > screenshot of your field instead of the field itself. > > Feel free to correct me... From alex at tweedly.net Tue Jul 26 19:46:45 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 27 Jul 2005 00:46:45 +0100 Subject: Mac -> Win problems In-Reply-To: <7F8E5DAB-DA66-42DD-8D9D-BE75A2A8B2A1@conncoll.edu> References: <20050726175948.87A348249FF@mail.runrev.com> <161EA869-A9EF-4A53-8D08-632E36933804@conncoll.edu> <42E6B56F.5090302@tweedly.net> <7F8E5DAB-DA66-42DD-8D9D-BE75A2A8B2A1@conncoll.edu> Message-ID: <42E6CB65.6020908@tweedly.net> Charles Hartman wrote: > >> There's another bug or two (BZ 2138 and another one I can't see >> right now) that might be what you're seeing. These happen when you >> run a stack on WinXP by double-clicking on the stack icon. I created >> BZ 2138 for this problem with the Dreamcard Player - and since I >> wasn't sure if it was intended to allow this or not, I had to mark >> that as an enhancement. I'm sure I've seen another BZ entry for the >> same, or very similar, problem with the full product - but can't >> immediately find it. >> >> I now never run stacks by double clicking them because of this >> problem - I either run them in the IDE, or build standalones. >> >> But it wasn't clear whether you are double-clicking to run it or >> not, so this may not be the answer you need. >> >> -- >> Alex Tweedly http://www.tweedly.net > > > I'm running by double-clicking -- because all I've got is DreamCard, > so I can't build standalones. And I suspect my users (they'll > download the Win or Mac player, I hope from my site where they get > the stack) will do it the same way. There's no evident other way to > tell the Player to load the stack; I may have missed it -- but if so, > users may well too. (I'll have to give them instructions anyway, of > course.) > > So -- it's a bug, already known. Is there also a known workaround? > The app is hardly useable as it is. You can run the player, then click on the small "folder" icon at the top right, and select a stack to run. I know, I know - the most obscure, non-standard bit of UI you've seen in the last couple of years. Why it couldn't have had a good, old-fashioned menu with File/Open and Edit/Preferences instead of these two icons which I'm sure 50% of users don't realize *are* icons is totally beyond me. btw - from Jacque's email and BZ 2299, it looks as though this isn't a ubiquituous problem. Some people see it - others can try hard to reproduce it without success. I see it on every stack on all 6 of my Windows machines (W2000 and WinXP) - but apparently not everyone does - so it may not be as bad for your users as you expect. I upgraded from Dreamcard to Studio just because of this problem (it was kind of nice to have an excuse :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From mpetrides at earthlink.net Tue Jul 26 19:47:05 2005 From: mpetrides at earthlink.net (Marian Petrides) Date: Tue, 26 Jul 2005 18:47:05 -0500 Subject: The "missing" cookbook In-Reply-To: References: Message-ID: <04C4DD43-7A0F-4D1C-B216-F783192DC4CA@earthlink.net> HEEELLLP! I don't find it there. I am running Rev, going to Learning Center, then Sample Work but do not see anything resembling a sample cookbook script (or did you mean cookbook in a metaphorical sense?). I so see a bunch of other interesting scripts that I never knew were there BTW. M On Jul 26, 2005, at 10:58 AM, Heather Nagey wrote: > Just a postscript to my earlier mail, I forgot to mention. The > cookbook is alive and well and to be found under the name of > "Sample Scripts" in the Learning Center, in Revolution Online. > > Yes, yes, I know, like the highway plans on display in the bottom > drawer of the hidden filing cabinet in the locked basement of the > disused library... > > But they are in fact there. > > :) > > cheers > > Heather > > Heather Nagey, Customer Support Manager > Runtime Revolution Ltd > www.runrev.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Tue Jul 26 20:04:01 2005 From: revdan at danshafer.com (Dan Shafer) Date: Tue, 26 Jul 2005 17:04:01 -0700 Subject: The "missing" cookbook In-Reply-To: <04C4DD43-7A0F-4D1C-B216-F783192DC4CA@earthlink.net> References: <04C4DD43-7A0F-4D1C-B216-F783192DC4CA@earthlink.net> Message-ID: <93FBC8F2-9324-470F-8608-78BED31EE7AE@danshafer.com> Marian... When you click on "Sample Work," you should see two icons, one Sample Scripts and one Sample Projects. Both have a number of goodies in them. I'm not sure if one or both of these house old cookbook stuff. On Jul 26, 2005, at 4:47 PM, Marian Petrides wrote: > HEEELLLP! I don't find it there. I am running Rev, going to > Learning Center, then Sample Work but do not see anything > resembling a sample cookbook script (or did you mean cookbook in a > metaphorical sense?). I so see a bunch of other interesting > scripts that I never knew were there BTW. > > M > > > On Jul 26, 2005, at 10:58 AM, Heather Nagey wrote: > > >> Just a postscript to my earlier mail, I forgot to mention. The >> cookbook is alive and well and to be found under the name of >> "Sample Scripts" in the Learning Center, in Revolution Online. >> >> Yes, yes, I know, like the highway plans on display in the bottom >> drawer of the hidden filing cabinet in the locked basement of the >> disused library... >> >> But they are in fact there. >> >> :) >> >> cheers >> >> Heather >> >> Heather Nagey, Customer Support Manager >> Runtime Revolution Ltd >> www.runrev.com >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From charles.hartman at conncoll.edu Tue Jul 26 20:09:39 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Tue, 26 Jul 2005 20:09:39 -0400 Subject: bugzilla bug? Message-ID: <6A0A9ECF-15B4-4E8F-989C-2C443D604A8E@conncoll.edu> Does anybody else have a problem searching the bugzilla using Safari? Whenever I try I get an error message saying that "The page you opened redirected you to a page that isn't supported by Safari." It adds, "Safari can't open the page because it cannot redirect to locations starting with 'http:'." I'm afraid I might be adding redundant bug reports if I can't search. Charles From davis.phil at comcast.net Tue Jul 26 20:16:24 2005 From: davis.phil at comcast.net (Phil Davis) Date: Tue, 26 Jul 2005 17:16:24 -0700 Subject: Disappearing Objects In-Reply-To: <1a8.3bc39a38.30181dfa@aol.com> References: <1a8.3bc39a38.30181dfa@aol.com> Message-ID: <42E6D258.2010306@comcast.net> Hi Joe - Wild guess - could it be that your menubar is covering them? Try setting the layer of the menubar to 1 (or "bottom") and see if they reappear. (However I haven't converted a HC stack in some time, so there may be conversion-specific issues I don't recall.) Phil Davis Hamburger1 at aol.com wrote: > Hi Rev Fans, > > OK, so I converted my first HC stack today. Everything was going along > surprisingly well. That was until I tried to add a menubar to the converted stack. > At that point all my fields and buttons vanished! I know they are still there > though because they are still listed in the inspector. What do I need to do to > see those fields and buttons again? > > Joe > Orlando, FL From tjframe at gmail.com Tue Jul 26 20:48:10 2005 From: tjframe at gmail.com (TJ Frame) Date: Tue, 26 Jul 2005 17:48:10 -0700 Subject: Burning Transparancy level into an Image Message-ID: <7348a9e805072617485430d79a@mail.gmail.com> Thanks Ken, actually I have already tried that code example and it seems to be functionally equivalent to setting the blendlevel - either way Rev still treats the image as having transparencey, and is therefore slow. The next best thing I have been able to do is to bring the source image into an inv window, set its blend, then use your handy exportscreen technique to grab the pixmapID of the inv window and set the image imagepixmapID of the desired img to it. Seems to work.. but still seems a bit kludgy - TJ PS: The tips on your site have been VERY helpful.. >Message: 7 >Date: Tue, 26 Jul 2005 16:54:33 -0500 >From: Ken Ray >Subject: Re: Burning Transparancy level into an Image >To: Use Revolution List >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >On 7/26/05 4:28 PM, "TJ Frame" wrote: > >> Hi all, >> Anyone know how to "collapse" or "burn in" the alpha channel of an image >> such that the image no longer has any transparency but looks like it did >> when it still had the transparency? >> I'm making an app that manipulates graphics on top of an imported >> background image and activating the blend of the background image reduces >> speed greatly vs. having a non blended image underneath. >> Right now I'm kludging it by bringing the source image into an image >> control, setting its blend level (either directly through the Alphadata or >> the Blendlevel), then saving it as a jpeg and reimporting the image back >> into Rev... >> I would be grateful if anyone has a more elegant solution by correctly >> dipping into the Imagedata/Alphadata the first time > >TJ, take a look at the Image tips on my site, specifically: > >http://www.sonsothunder.com/devres/revolution/revolution.htm?_imag005 > >HTH, > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com From gandalf at doctorTimothyMiller.com Tue Jul 26 20:49:37 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 26 Jul 2005 17:49:37 -0700 Subject: bugzilla bug? In-Reply-To: <6A0A9ECF-15B4-4E8F-989C-2C443D604A8E@conncoll.edu> References: <6A0A9ECF-15B4-4E8F-989C-2C443D604A8E@conncoll.edu> Message-ID: >Does anybody else have a problem searching the bugzilla using >Safari? Whenever I try I get an error message saying that "The page >you opened redirected you to a page that isn't supported by Safari." >It adds, "Safari can't open the page because it cannot >redirect to locations starting with 'http:'." > >I'm afraid I might be adding redundant bug reports if I can't search. > >Charles > It didn't work for me with Safari, either. I told rev about it a few days ago. They said they'd look into it. Cheers, Ti From Hamburger1 at aol.com Tue Jul 26 21:05:06 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Tue, 26 Jul 2005 21:05:06 EDT Subject: Newbie Question Message-ID: <1d9.411fb86f.301837c2@aol.com> Hi Everyone, I'm progressing in millimeters. OK so I finally got the menu into my newly converted HC stack. Previously when I did that all the objects disappeared. Now I have the new menubar and visible objects. My problem has become that I can't edit this new menu. I can select it in the menu builder but everything in the menubuilder is grayed out! WHAT NOW??? Joe Orlando Florida From dsc at swcp.com Tue Jul 26 21:10:07 2005 From: dsc at swcp.com (Dar Scott) Date: Tue, 26 Jul 2005 19:10:07 -0600 Subject: Fonts & Unicode In-Reply-To: References: Message-ID: <8df4cbc5bbb8c6baa4144a272debc0a1@swcp.com> On Jul 26, 2005, at 2:49 PM, Brad Borch wrote: > Also, if you try to change the font of unicode text using the menu, > the text gets converted back to single-byte characters. It would be nice if language was a separate property and not part of the font property. Then each can be changed independently. Or the IDE acted that way. (Actually, I'd personally rather do away with language and go strictly Unicode for everything. I probably don't understand all the consequences of asking for that. Unicode tries to handle round-trip conversion from and to other standards, so I think we would be happy with pasting strange encodings and with selecting any fonts--it would be usually transparent. For I/O we would want to convert, though.) Dar -- ********************************************** DSC (Dar Scott Consulting & Dar's Lab) http://www.swcp.com/dsc/ Programming and software ********************************************** From SimPLsol at aol.com Tue Jul 26 21:16:24 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Tue, 26 Jul 2005 21:16:24 EDT Subject: Disappearing Objects Message-ID: <110.4e61d1c9.30183a68@aol.com> Hi Joe, Had similar problems at this end of the country when I started converting HC stacks two years ago. In Rev the menus are obviously designed to be added to new, single card stacks. If your stacks already have multiple cards, there will be problems: 1. If you add a menu to a single card, it will not appear on other existing cards. It will only appear on new cards. 2. If you do the logical thing and put the new menu into the existing background (imported from HC), the menu will appear on all cards (of that background). BUT the stack will resize on opening, sometimes shorter, sometimes taller. 3. If you do the next logical thing and try to set the size of the stack in a preOpen handler, it will not work. BUT you can reset the size in an openStack handler. Based on my experience the best thing to do is: 1. create a single card Rev stack (delete all but the first card from a copy of your stack) 2. build your menus 3. import the data, creating new cards as needed Sounds like the long way to do things, but will actually save you much time. By the way, check out the RevNavigator in the plugins folder in the Development menu. This wonderful tool from Geoff Canyon will let you see and adjust layers of objects on a card, background, or stack. Coming from HC you are accustomed to a single fixed background, Rev can have multiple groups with or without "background behavior" - the navigator is about the only way to know where you are. I would have been lost without it. Paul Looney San Dimas, CA From gandalf at doctorTimothyMiller.com Tue Jul 26 21:32:32 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 26 Jul 2005 18:32:32 -0700 Subject: revDocWiki In-Reply-To: <42E6B7EE.7090509@fourthworld.com> References: <42E6A8C1.3070800@chipp.com> <42E6B7EE.7090509@fourthworld.com> Message-ID: Well, there seems to be a reasonable amount of enthusiasm for this hypothetical project. I understand that someone from Rev peruses the list. I don't know if anyone on the list frequently talks with Rev management. Rev might be wondering if this idea will remain vaporware forever. I'm not sure if it can be done without Rev's support. For example, are the onboard docs copyrighted? In any case, Rev's support and assistance, even if no money changes hands, could make the difference between success and failure. Maybe someone should submit the concept to bugzilla as an enhancement request, and post the BZ item number on the list. The number of votes it gets could be persuasive. Tim >Chipp Walters wrote: > >> Dan Shafer wrote: >>> The docs are already in XML. Jerry Daniels has written a parser for >>> them that gets used in his Transcript Gadget. >> >> I should mention the parser Jerry modified (and I did too, and even >> perhaps Mr. Sanke as well) originated from Richard Gaskin's generous >> contribution for his help stack for MC. Thanks Richard! > >My pleasure. And thanks for the thoughtful mention. > >I'm a big fan of both XML and the Rev object model, and I'm rather >addicted to the Dictionary. My revised Dictionary shell attempts to >deliver the best of both worlds: > >XML is a great format for authoring, as it allows the individual >topics to be moved from team member to team member for authoring and >review. But as we've seen, indexing and parsing them on the fly is, >well, suboptimal. :) > >It's hard to beat Rev's native object model for efficiently >traversing a body of work like this. Even with nearly 1500 entries >the mcDictionary loads about as quickly as the XML-based one that >ships with Rev, but is significantly faster for moving >document-to-document, since you're only going card-to-card rather >than loading files from disk and parsing XML CDATA on the fly. > >Jerry's done a wonderful job extending the mcDictionary stack, >adding a lot of geat new functionality and a nifty Rossi-esque look. > >Since it only takes less than a minute to import the data into the >stack, I hope one day we can see that incorporated into Rev's >automated build process and have it shipped with the product. >Jerry's is certainly worthy. > >-- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From 3mcgrath at adelphia.net Tue Jul 26 22:14:04 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Tue, 26 Jul 2005 22:14:04 -0400 Subject: "Dumb question" time In-Reply-To: <42E65A14.61B015C7@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> Message-ID: JB, I had this happening with a button but could not track it down. However I don't think it is a bug. It seemed to only happen in scripts where I had a timing issue to begin with. Do you? I am still learning the appropriate use of "wait" and "wait with messages". Do any of your scripts use these or 'should' any of them be using this? Tom On Jul 26, 2005, at 11:43 AM, jbv wrote: > is it possible that the user > clicks so fast on a few successive btns that each script > doesn't have the time to run till the end ? > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From b.xavier at internet.lu Tue Jul 26 22:35:53 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Jul 2005 04:35:53 +0200 Subject: Mac -> Win problems In-Reply-To: Message-ID: <20050727022506.B055E824DB0@mail.runrev.com> Ken > On 7/26/05 2:37 PM, "MisterX" wrote: > > > Charles, > > > > Same wrong thing with file handling... but it does allow > you to have > > the low-level edge... > > What do you mean, Xavier? What is backwards with file handling? with file type handling it's quite a pain... > > once you're made your standard ask and answer dialogs > conform, you'll > > be sailing smoother... > > Actually, Rev is designed to handle the differences when all > you're providing is OK and Cancel (in *that* case, reversing > the buttons is correct for the HIGs on both platforms); it's > just that if you use any other buttons it doesn't work right > (i.e. it reverses them when it shouldn't). now that's what i was missing... ;) cheers Xavier From kray at sonsothunder.com Tue Jul 26 23:45:12 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 26 Jul 2005 22:45:12 -0500 Subject: bugzilla bug? In-Reply-To: <6A0A9ECF-15B4-4E8F-989C-2C443D604A8E@conncoll.edu> Message-ID: On 7/26/05 7:09 PM, "Charles Hartman" wrote: > Does anybody else have a problem searching the bugzilla using Safari? > Whenever I try I get an error message saying that "The page you > opened redirected you to a page that isn't supported by Safari." It > adds, "Safari can't open the page because it cannot > redirect to locations starting with 'http:'." Personally I don't use a browser to search Bugzilla - I use RevZilla instead (it's so much easier): http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm :-) Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Tue Jul 26 23:47:25 2005 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 26 Jul 2005 22:47:25 -0500 Subject: Mac -> Win problems In-Reply-To: <20050727022506.B055E824DB0@mail.runrev.com> Message-ID: On 7/26/05 9:35 PM, "MisterX" wrote: > Ken > >> On 7/26/05 2:37 PM, "MisterX" wrote: >> >>> Charles, >>> >>> Same wrong thing with file handling... but it does allow >> you to have >>> the low-level edge... >> >> What do you mean, Xavier? What is backwards with file handling? > > with file type handling it's quite a pain... I think that was fixed with the unified "answer file" command in 2.6... (but I may be wrong). Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Wed Jul 27 01:05:23 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Jul 2005 07:05:23 +0200 Subject: ANN: Updates on MonsieurX Message-ID: <20050727045435.A16BD824D7F@mail.runrev.com> Yet a few more updates on MonsieurX.com - BreakPointNavigator - XOSMediaLib.rev is now 89% fully operational - WINNO2 plugin - completely revised, relooked, etc... - GIM.rev - Fixes and new features - GUI Themes - new theme, some new things... - FileBrowser - lots of new stuff (still beta) - not fully finished, not mac tested... - TAOODebug Note: Most of the plugins were renamed from N2O to NO2 The proper molecule in nitro-methane... not nitrous oxide... RunRev downloads: &d_op=viewdownload&cid=11> XOS downloads: &d_op=viewdownload&cid=19> Comments welcome as usual! Since no testers showed up on the last request, please dont rant that there is any bugs... Just point them out nicely... Since there's also virtually no paypal donations, there wont be any support at all except for those who have helped in the past. Some stacks may not be perfect, i already know, they are preview-teasers... Any OSX or linux screenshots where things go wrong are welcome... Please dont mention any misplaced buttons. If a button or menu doesn't work at all - it must be normal... ;) For those in the TAOO team, XOS Masters and Managers were revised a lot... You know the url... Regards Xavier http://monsieurx.com From jacque at hyperactivesw.com Wed Jul 27 01:40:41 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 00:40:41 -0500 Subject: Newbie Question In-Reply-To: <1d9.411fb86f.301837c2@aol.com> References: <1d9.411fb86f.301837c2@aol.com> Message-ID: <42E71E59.1040102@hyperactivesw.com> Hamburger1 at aol.com wrote: > Hi Everyone, > > I'm progressing in millimeters. OK so I finally got the menu into my newly > converted HC stack. Previously when I did that all the objects disappeared. Now > I have the new menubar and visible objects. My problem has become that I can't > edit this new menu. I can select it in the menu builder but everything in the > menubuilder is grayed out! WHAT NOW??? Did you figure out what was wrong with them originally? Were they just not placed on the card? Or was the menu group so tall that it covered other things? Anyway, to edit an existing menu, click on "Edit" button in the Menu Builder and then choose the menu you want to edit. Does it enable then? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From michaell at unimelb.edu.au Wed Jul 27 01:42:42 2005 From: michaell at unimelb.edu.au (Michael J. Lew) Date: Wed, 27 Jul 2005 15:42:42 +1000 Subject: partial workaround for cross-platform fonts Message-ID: I think that Phil might be onto a good workaround for cross-platform fonts. He suggested an image of a fld instead of the fld, and that should be perfectly OK for any locked fld. It makes the stack bigger, but mostly that doesn't matter. I've made a button that puts a snapshot over each locked, visible fld and keeps a record in order to be able to remove the images as needed. It seems to work well on one platform (Mac) but I can't conveniently check that the result works on any other. I think it should. The script is below. Just put a button onto the first card of a stack and put the script into it. A click should overlay the appropriate flds with images, and an option-click should remove the images. Two questions: 1. Does it work for others? 2. Can we optimise the script to make it into a generally useful workaround? At 10:38 PM -0500 26/7/05, Phil Davis wrote: > > There's a font with identical metrics on multiple platforms? > >Yep - it's called a snapshot of the screen (or at least of the field). >:o) That's what I was referring to as having the same metrics on all >platforms. I guess I didn't finish connecting the dots in the >explanation of my proposed solution. > > >Phil on mouseUp if the optionkey is not down then --make images repeat with i=1 to the number of cards go to card i put empty repeat with f=1 to the number of flds set the cursor to busy if the locktext of fld f and the visible of fld f then put "Making image of fld " & the short name of fld f & return after msg put the rect of fld f into trect --adjust the rect to make it relative to the stack.\ (I don't know why this is needed, but it is). add the left of this stack to item 1 of trect add the left of this stack to item 3 of trect add the top of this stack to item 2 of trect add the top of this stack to item 4 of trect --make the image and place it over the fld import snapshot from rectangle trect set the loc of last image to the loc of fld f set the layer of last image to (the layer of fld f)+1 --keep a record set the cFldImagesList of me to \ the cFldImagesList of me & the id of last image & return end if end repeat end repeat else --delete the images to get back to the flds put the cFldImagesList of me into myList repeat for each line tid in myList set the cursor to busy if there is an image id tid then --it might have been manually deleted put "Deleting image id " & tid delete image id tid end if end repeat put "Done" set the cFldImagesList of me to empty end if end mouseUp Regards, Michael -- Michael J. Lew Senior Lecturer Department of Pharmacology The University of Melbourne Parkville 3010 Victoria Australia Phone +613 8344 8304 ** New email address: michaell at unimelb.edu.au ** From jacque at hyperactivesw.com Wed Jul 27 01:50:27 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 00:50:27 -0500 Subject: Mac -> Win problems In-Reply-To: References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E6BC84.3030405@hyperactivesw.com> Message-ID: <42E720A3.5000805@hyperactivesw.com> Charles Hartman wrote: > I'm already doing a preOpenStack in the main stack to set the two fonts > (one proportional, one monospace) according to what's available on the > runtime system. If I knew the right sizes it sounds as though I could > make the text fit the fields, backwards as that sounds. If you do a search on the mailing list for "cross platform fonts" you'll get tons of hits. Here's Dar's info: http://www.mail-archive.com/use-revolution at lists.runrev.com/msg26708.html -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dweeble at wi.rr.com Wed Jul 27 05:50:27 2005 From: dweeble at wi.rr.com (Michael) Date: Wed, 27 Jul 2005 04:50:27 -0500 Subject: Shell "start" with value In-Reply-To: <20050726043703.ECD43824F4A@mail.runrev.com> References: <20050726043703.ECD43824F4A@mail.runrev.com> Message-ID: <1122457827.5409.18.camel@localhost.localdomain> Thanks for the reply, Hey gave this a try, and tried some variations of it and still what I get is, windows cannot find IPLoc , thinks its and executable. I removed the location string and put the executable (setx.exe) in a path folder. Should have just said the commmand I'm trying to run from the command line is: "setx IPLoc tIPadd -m" IPLoc is just a descriptive word to represent the IP location and tIPadd is the string with the captured ip address in it. The environment result from runnng set at the cmd window would look: IPLoc=192.168.1.1 Thanks Michael On Tue, 2005-07-26 at 06:47 +0200, MisterX wrote: > for one, if there is a space in location, this will fail. > You will need to eclose it in quotes. > > Second the iploc and tipadd are strings not values in the > quotes. > > get shell ("start" && quote & location & "setx.exe" & quote && IPLoc && > tIPadd) > > should work better > > cheers > Xavier > http://monsieurx.com > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > Sent: Tuesday, July 26, 2005 06:39 > > To: use-revolution at lists.runrev.com > > Subject: Shell "start" with value > > > > Hello, > > > > Have run into something I just seem to not solve and asking > > if someone may have an answer to this one. > > I'm running the shell command for and environment add and > > need to add the value with it, but of couse just get IPLOC=tIPadd. > > tIPadd is the value of and ipaddress. > > Anyone know how I can get this in there, its WinXP so I'm > > using the setx.exe file to get the environment add global. > > > > get shell ("start" && location & "setx.exe IPLoc tIPadd") > > > > Thanks for any help > > Michael > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From dweeble at wi.rr.com Wed Jul 27 06:22:14 2005 From: dweeble at wi.rr.com (Michael) Date: Wed, 27 Jul 2005 05:22:14 -0500 Subject: Shell "start" with value In-Reply-To: <20050726043703.ECD43824F4A@mail.runrev.com> References: <20050726043703.ECD43824F4A@mail.runrev.com> Message-ID: <1122459734.5547.5.camel@localhost.localdomain> Ok should have given it 10 more minutes, Now I'm seeing it ! got the line to work thanks for the direction, got it this way, put "setx" && "iploc" && quote & tiPadd & quote && "-m" into sSetenv get shell (sSetenv) set the hideConsoleWindows to true Thanks !! MisterX On Tue, 2005-07-26 at 06:47 +0200, MisterX wrote: > for one, if there is a space in location, this will fail. > You will need to eclose it in quotes. > > Second the iploc and tipadd are strings not values in the > quotes. > > get shell ("start" && quote & location & "setx.exe" & quote && IPLoc && > tIPadd) > > should work better > > cheers > Xavier > http://monsieurx.com > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > Sent: Tuesday, July 26, 2005 06:39 > > To: use-revolution at lists.runrev.com > > Subject: Shell "start" with value > > > > Hello, > > > > Have run into something I just seem to not solve and asking > > if someone may have an answer to this one. > > I'm running the shell command for and environment add and > > need to add the value with it, but of couse just get IPLOC=tIPadd. > > tIPadd is the value of and ipaddress. > > Anyone know how I can get this in there, its WinXP so I'm > > using the setx.exe file to get the environment add global. > > > > get shell ("start" && location & "setx.exe IPLoc tIPadd") > > > > Thanks for any help > > Michael > > > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Wed Jul 27 07:12:32 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Wed, 27 Jul 2005 13:12:32 +0200 Subject: Shell "start" with value In-Reply-To: <1122459734.5547.5.camel@localhost.localdomain> Message-ID: For most shell batches, if found it extremely useful to 1 test it in a real batch... this proves the shell command HAS to work 2 put the whole shell command into a variable - this makes it easier to debug... 3 Always enclose the paths (or verify that it needs) with quotes. The verification is real easy: if there is a space in mypath or "&" is in mypath then quoteit(mypath) Last but not least, and this is a real tough one to find: make sure that the directory is a valid path before launching your shell. hope that gets you going! cheers ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 27/07/2005 12:22:14: > Ok should have given it 10 more minutes, > Now I'm seeing it ! > got the line to work thanks for the direction, > got it this way, > > put "setx" && "iploc" && quote & tiPadd & quote && "-m" into sSetenv > get shell (sSetenv) > set the hideConsoleWindows to true > > Thanks !! > MisterX > > On Tue, 2005-07-26 at 06:47 +0200, MisterX wrote: > > for one, if there is a space in location, this will fail. > > You will need to eclose it in quotes. > > > > Second the iploc and tipadd are strings not values in the > > quotes. > > > > get shell ("start" && quote & location & "setx.exe" & quote && IPLoc && > > tIPadd) > > > > should work better > > > > cheers > > Xavier > > http://monsieurx.com > > > > > -----Original Message----- > > > From: use-revolution-bounces at lists.runrev.com > > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > > Sent: Tuesday, July 26, 2005 06:39 > > > To: use-revolution at lists.runrev.com > > > Subject: Shell "start" with value > > > > > > Hello, > > > > > > Have run into something I just seem to not solve and asking > > > if someone may have an answer to this one. > > > I'm running the shell command for and environment add and > > > need to add the value with it, but of couse just get IPLOC=tIPadd. > > > tIPadd is the value of and ipaddress. > > > Anyone know how I can get this in there, its WinXP so I'm > > > using the setx.exe file to get the environment add global. > > > > > > get shell ("start" && location & "setx.exe IPLoc tIPadd") > > > > > > Thanks for any help > > > Michael > > > > > > > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From charles.hartman at conncoll.edu Wed Jul 27 07:50:17 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 27 Jul 2005 07:50:17 -0400 Subject: Mac -> Win problems In-Reply-To: <42E720A3.5000805@hyperactivesw.com> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E6BC84.3030405@hyperactivesw.com> <42E720A3.5000805@hyperactivesw.com> Message-ID: <2A7B6BE3-A99C-4A70-85C1-19B46EBE3D51@conncoll.edu> On Jul 27, 2005, at 1:50 AM, J. Landman Gay wrote: > If you do a search on the mailing list for "cross platform fonts" > you'll get tons of hits. Here's Dar's info: > > http://www.mail-archive.com/use-revolution at lists.runrev.com/ > msg26708.html Thanks very much. Since Dar's table shows that even Courier and Courier New (the two choices for a monospaced font that have to be available cover all relevant systems) have different metrics (!), it becomes clear that for my situation Phil Davis's screenshot approach is the best solution. I'm working on it now. Excellent. Charles From Hamburger1 at aol.com Wed Jul 27 07:53:53 2005 From: Hamburger1 at aol.com (Hamburger1 at aol.com) Date: Wed, 27 Jul 2005 07:53:53 EDT Subject: Newbie ? Answered Message-ID: <66.5bafada5.3018cfd1@aol.com> Hi Everyone If you've been following my problems I'll give you an update. I converted my first HC stack yesterday. The first thing that went wrong was that when I tried to add a menubar all my objects disappeared. It turned out that I forgot to check off the "Set as menubar for Mac OS" box in the menu builder. When I did that I could start a new menubar and edit it to my heart's content. That was fine until I tried to edit the new menubar. In the menubuilder everything was grayed out. This problem was solved too when I went to the inspector and brought up the menubar. When I unchecked "Behave like a background" I solved that problem. For the moment at least I'm doing fine for now. Chances are you'll hear from me later today as my conversion education continues. Even with these problems I know I have to and enthusiastically want to finally wean myself from HyperCard. I expect that will happen by the end of the year. Thanks for everyone's help. Joe Orlando, FL From dgoldman at mailblocks.com Tue Jul 26 15:07:37 2005 From: dgoldman at mailblocks.com (David Goldman) Date: Tue, 26 Jul 2005 12:07:37 -0700 Subject: Saving a Standalone References: <7EC8AB37-3D34-46DF-BD6C-C09D6E656105@mailblocks.com> Message-ID: I'm attempting to add a bit of "smarts" to the Save As Standalone function. When I save a standalone to the same location on my hard drive, If Revs finds a previous folder with the same base name, it dutifully increments the number. I.e. if I have a few previous versions I get a set of folders like this (assuming the base name is "revstack 1.0a"): /Users/myname/Desktop/revstack 1.0a/ /Users/myname/Desktop/revstack 1.0a1/ /Users/myname/Desktop/revstack 1.0a2/ /Users/myname/Desktop/revstack 1.0a3/ etc. Now inside each of these folders is the actual application saved under the base name - something like this: /Users/myname/Desktop/revstack 1.0a/revstack 1.0a.exe /Users/myname/Desktop/revstack 1.0a1/revstack 1.0a.exe /Users/myname/Desktop/revstack 1.0a2/revstack 1.0a.exe /Users/myname/Desktop/revstack 1.0a3/revstack 1.0a.exe What I want to do is include a version number (which is stored in a field in the stack) as part of the application name. so I could get something like this: /Users/myname/Desktop/revstack 1.0a/revstack 1.0a12.exe /Users/myname/Desktop/revstack 1.0a1/revstack 1.0a13.exe /Users/myname/Desktop/revstack 1.0a2/revstack 1.0a14.exe /Users/myname/Desktop/revstack 1.0a3/revstack 1.0b1.exe (I'm not too worried about the enclosing folder at this point - but that might be nice too...) My basic approach was to use a shell command to rename the file with my version info. I was going to use the Standalonesaved msg to automate the whole thing, but ran into a problem in that the standalonesaved msg doesn't return the increment number that revolution adds to the enclosing folder (Desktop in this case) - i.e. I don't know how many previous versions might already exist in the directory I'm saving to. This makes deriving a path much more complex. I suppose I could use a shell script to delete any folders that might already exist with the base name and then things might work... Any comments/suggestions/help would be appreciated. (Oh yes, I'm on a Mac OS X and saving Windows Standalones...) Thanks, David From devin_asay at byu.edu Wed Jul 27 11:01:41 2005 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 27 Jul 2005 09:01:41 -0600 Subject: bugzilla bug? In-Reply-To: <6A0A9ECF-15B4-4E8F-989C-2C443D604A8E@conncoll.edu> References: <6A0A9ECF-15B4-4E8F-989C-2C443D604A8E@conncoll.edu> Message-ID: <0D6EF9A7-2EE1-4EF3-8241-36FF44899263@byu.edu> You can't search Bugzilla in Safari. Use Firefox instead. Devin On Jul 26, 2005, at 6:09 PM, Charles Hartman wrote: > Does anybody else have a problem searching the bugzilla using > Safari? Whenever I try I get an error message saying that "The page > you opened redirected you to a page that isn't supported by > Safari." It adds, "Safari can't open the page because > it cannot redirect to locations starting with 'http:'." > > I'm afraid I might be adding redundant bug reports if I can't search. > > Charles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Devin Asay Humanities Technology and Research Support Center Brigham Young University From eric.chatonet at sosmartsoftware.com Wed Jul 27 11:02:39 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 27 Jul 2005 17:02:39 +0200 Subject: Saving a Standalone In-Reply-To: References: <7EC8AB37-3D34-46DF-BD6C-C09D6E656105@mailblocks.com> Message-ID: Hi David, If I understand correctly :-) You can use the files function in order to parse the file names, sort the list and and get easily the current higher increment. May be an All files function (that returns all file names in all sub folders) can help you. If so, tell me off list. Best Regards from Paris, Eric Chatonet. Le 26 juil. 05 ? 21:07, David Goldman a ?crit : > I'm attempting to add a bit of "smarts" to the Save As Standalone > function. When I save a standalone to the same location on my hard > drive, If Revs finds a previous folder with the same base name, it > dutifully increments the number. I.e. if I have a few previous > versions I get a set of folders like this (assuming the base name > is "revstack 1.0a"): > > /Users/myname/Desktop/revstack 1.0a/ > /Users/myname/Desktop/revstack 1.0a1/ > /Users/myname/Desktop/revstack 1.0a2/ > /Users/myname/Desktop/revstack 1.0a3/ > > etc. > > Now inside each of these folders is the actual application saved > under the base name - something like this: > > /Users/myname/Desktop/revstack 1.0a/revstack 1.0a.exe > /Users/myname/Desktop/revstack 1.0a1/revstack 1.0a.exe > /Users/myname/Desktop/revstack 1.0a2/revstack 1.0a.exe > /Users/myname/Desktop/revstack 1.0a3/revstack 1.0a.exe > > What I want to do is include a version number (which is stored in a > field in the stack) as part of the application name. so I could get > something like this: > > /Users/myname/Desktop/revstack 1.0a/revstack 1.0a12.exe > /Users/myname/Desktop/revstack 1.0a1/revstack 1.0a13.exe > /Users/myname/Desktop/revstack 1.0a2/revstack 1.0a14.exe > /Users/myname/Desktop/revstack 1.0a3/revstack 1.0b1.exe > > (I'm not too worried about the enclosing folder at this point - but > that might be nice too...) > > My basic approach was to use a shell command to rename the file > with my version info. I was going to use the Standalonesaved msg to > automate the whole thing, but ran into a problem in that the > standalonesaved msg doesn't return the increment number that > revolution adds to the enclosing folder (Desktop in this case) - > i.e. I don't know how many previous versions might already exist in > the directory I'm saving to. This makes deriving a path much more > complex. > > I suppose I could use a shell script to delete any folders that > might already exist with the base name and then things might work... > > Any comments/suggestions/help would be appreciated. (Oh yes, I'm on > a Mac OS X and saving Windows Standalones...) > > Thanks, David ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From devin_asay at byu.edu Wed Jul 27 11:25:42 2005 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 27 Jul 2005 09:25:42 -0600 Subject: Mac -> Win problems In-Reply-To: <2A7B6BE3-A99C-4A70-85C1-19B46EBE3D51@conncoll.edu> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E6BC84.3030405@hyperactivesw.com> <42E720A3.5000805@hyperactivesw.com> <2A7B6BE3-A99C-4A70-85C1-19B46EBE3D51@conncoll.edu> Message-ID: <7CBDD816-91B7-4BF3-9AF2-77D6F4B4FE79@byu.edu> Charles, I'm jumping in late in the game, and basing my memory of what you're trying to do on my quick read through of your original message yesterday. If I understand it correctly, you are trying to accurately position some kind of diacritical markings above specific letters in a text field? Let me suggest an alternative that might avoid the cross-platform font metric issues. I did a project similar to this a couple of years ago, in which I needed to position Pinyin tone marks above vowels in romanized Chinese syllables. The tone marks were images. I used the formattedWidth property of the chunk of text up to and including the letter to be marked, then calculated the horizontal distance from the edge of the card to the letter in question and positioned the image there. For example: | _________________ |<- left of card |chunk in fld | | |<- left of fld | | | | | | | | _________________| If I wanted to position the mark over the "u" in "chunk" I would use the left of fld "myfld" + the formattedWidth of char 1 to 3 of fld "myfld" as the baseline x value, then by trial and error find the proper x and y adjustments to get my image to display at the desired spot. This method should work regardless of font and size because the formattedWidth takes the current font settings of the chunk into account. HTH Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From charles.hartman at conncoll.edu Wed Jul 27 11:38:06 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 27 Jul 2005 11:38:06 -0400 Subject: Mac -> Win problems In-Reply-To: <7CBDD816-91B7-4BF3-9AF2-77D6F4B4FE79@byu.edu> References: <0DFFD537-CDDC-42A9-8341-9034125780C7@conncoll.edu> <42E6BC84.3030405@hyperactivesw.com> <42E720A3.5000805@hyperactivesw.com> <2A7B6BE3-A99C-4A70-85C1-19B46EBE3D51@conncoll.edu> <7CBDD816-91B7-4BF3-9AF2-77D6F4B4FE79@byu.edu> Message-ID: <63B7F3BD-23A6-44BC-9FB5-E9647C6AF67D@conncoll.edu> Thanks very much. That isn't what I'm trying to do -- not any more. Originally I did want to do that, so as to line up metrical scansion marks -- rather like diacritics, you're right -- over text. But I didn't know about the formattedWidth property (which turns out to be nifty now that I know to look it up), & so couldn't see how to get the metric of the text itself. I resorted to doing all my scansions in Courier, where I could control the relation between lines. Of course it's uglier than a proportional font would be. If I were a Good Person I'd go back and use the method you suggest -- but it would involve, at a guess, several hundred example lines, and I don't have the heart. My recent problem has been simply to line up blank, opaque fields covering the scansion marks, and reveal them at (the user's) will. I'm now solving that with Phil Davis's screenshot approach, which works fine for my purposes. Thanks again -- learn something every day. Charles On Jul 27, 2005, at 11:25 AM, Devin Asay wrote: > Charles, > > I'm jumping in late in the game, and basing my memory of what > you're trying to do on my quick read through of your original > message yesterday. If I understand it correctly, you are trying to > accurately position some kind of diacritical markings above > specific letters in a text field? Let me suggest an alternative > that might avoid the cross-platform font metric issues. I did a > project similar to this a couple of years ago, in which I needed to > position Pinyin tone marks above vowels in romanized Chinese > syllables. The tone marks were images. I used the formattedWidth > property of the chunk of text up to and including the letter to be > marked, then calculated the horizontal distance from the edge of > the card to the letter in question and positioned the image there. > For example: > > | _________________ > |<- left of card |chunk in fld | > | |<- left of fld | > | | | > | | | > | _________________| > > If I wanted to position the mark over the "u" in "chunk" I would use > the left of fld "myfld" + the formattedWidth of char 1 to 3 of > fld "myfld" > as the baseline x value, then by trial and error find the proper x > and y adjustments to get my image to display at the desired spot. > > This method should work regardless of font and size because the > formattedWidth takes the current font settings of the chunk into > account. > > HTH > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From dsc at swcp.com Wed Jul 27 12:04:01 2005 From: dsc at swcp.com (Dar Scott) Date: Wed, 27 Jul 2005 10:04:01 -0600 Subject: Fonts & Unicode In-Reply-To: References: Message-ID: <5da4fbe9fd9998b9ad93f0574a696a15@swcp.com> On Jul 26, 2005, at 2:49 PM, Brad Borch wrote: > 4. If the text pasted in is styled text from a Unicode font, the > htmlText reflects this: > > lang="el">αβδφε > > Note the "lang='el'" parameter. The "el" stands for "Ellinas," which > is the Greek word for... Greek. Presumably Rev looks at the range the > character is in, determines what language it is, and sets this > parameter accordingly. I get confused about what Rev thinks "language" means. In the unicode conversion names it seems to mean encoding scheme. Since this is pseudo-html, this may mean something else, but might mean encoding scheme. The codes are too high for any 8-bit encoding. One of the things I kept forgetting to do was set the "language" in the font property. Dar From mwieder at ahsoftware.net Wed Jul 27 13:31:36 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 27 Jul 2005 10:31:36 -0700 Subject: ANN: Updates on MonsieurX In-Reply-To: <20050727045435.A16BD824D7F@mail.runrev.com> References: <20050727045435.A16BD824D7F@mail.runrev.com> Message-ID: <1821450205.20050727103136@ahsoftware.net> MisterX- Tuesday, July 26, 2005, 10:05:23 PM, you wrote: M> Note: Most of the plugins were renamed from N2O to NO2 M> The proper molecule in nitro-methane... not nitrous oxide... ROTFL. That *does* put things in a whole different light... -- -Mark Wieder mwieder at ahsoftware.net From b.xavier at internet.lu Wed Jul 27 13:37:00 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Jul 2005 19:37:00 +0200 Subject: ANN: Updates on MonsieurX In-Reply-To: <1821450205.20050727103136@ahsoftware.net> Message-ID: <20050727172619.3805A824D4D@mail.runrev.com> i know! ;) Everyone tought i had dentist anesthaetic laughin gas when i really had an explosive mix of productivity boosting tools ;) cheeriup! Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Mark Wieder > Sent: Wednesday, July 27, 2005 19:32 > To: 'How to use Revolution' > Subject: Re: ANN: Updates on MonsieurX > > MisterX- > > Tuesday, July 26, 2005, 10:05:23 PM, you wrote: > > M> Note: Most of the plugins were renamed from N2O to NO2 The proper > M> molecule in nitro-methane... not nitrous oxide... > > ROTFL. That *does* put things in a whole different light... > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From charles.hartman at conncoll.edu Wed Jul 27 14:13:34 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 27 Jul 2005 14:13:34 -0400 Subject: Mac->Win revisited Message-ID: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> 1. The problem I reported about the disappearing cursor does have a temporary solution, which I got from one of the comments in the Bugzilla report: include in some stack script the lines delete stack "revCursors" reset cursors Presto. And that should suggest a fix for the bug, shouldn't it? 2. Is there some way to quit the Dreamcard Player in Windows without Ctrl-Alt-Delete? Do I have to build an entire menu system just for that, which I have no use for in the Mac version? Charles From ambassador at fourthworld.com Wed Jul 27 14:17:22 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Jul 2005 11:17:22 -0700 Subject: "Dumb question" time In-Reply-To: <42E668E2.4618BA39@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> <42E660BA.7090103@fourthworld.com> <42E668E2.4618BA39@Club-Internet.fr> Message-ID: <42E7CFB2.5070301@fourthworld.com> jbv wrote: >>The only issue I've ever seen with the sort command turned out to be >>documented: the string library used for it requires that none of the >>lines exceeds 64k (65,535 characters). When sorting lines in which one >>or more is longer than 64k the results will be unpredictable and likely >>confusing. I know, I've seen 'em -- sure confused the heck out of me >>until I learned this limit. :) > > Thanks for the info... is it documented in Rev ? > I don't remember reading it anywhere... Not per se, or at least nothing connected with the "sort container" command that I could find. Given how big 64k is it rarely comes up in common use; I found out about it from a support email from Scott Raney after one of my customers was having an inexplicable issue with WebMerge. It's worth noting that for all customers I have and all the strange things they do with WebMerge (I have one customer go generates 300,000 pages at a time with it) the 64k-per-line limit only came up once in the three years I've been selling the product. In that customer's case we were able to recommend a better workflow for them: they had one field that contained short stories, but it made their work more flexible to simply leave the short story in a separate file and reference the file from their database, allowing them to edit the story file without going into the database. In recent years I've been using lists as RAM-based database tables with good results, and haven't had any record get even close to 64k as long as I provide support for referencing external files for things better suited for those. Not all lists will lend themselves to that, but when they do you get to keep enjoying the simplicity and efficiency of chunk expressions for everything else, and a pretty good sort command. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From capellan2000 at yahoo.com Wed Jul 27 14:29:19 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 27 Jul 2005 11:29:19 -0700 (PDT) Subject: Justify text in a field In-Reply-To: <20050727170005.1B528824D8E@mail.runrev.com> Message-ID: <20050727182920.50592.qmail@web40509.mail.yahoo.com> Hi Developers, After reading these messages about Mac and Win fonts issues, i remember about a code that Colin Holgate contributed in the HyperCard list, that used text properties named extended and condensed to simulate justification in a text field. This code does not work in RR. so, i ask this question to every developer: Do you have working code to create justified text, or something that resemble this, within a RR field? Thanks in advance. al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From charles.hartman at conncoll.edu Wed Jul 27 14:30:15 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 27 Jul 2005 14:30:15 -0400 Subject: bugzilla bug? In-Reply-To: References: Message-ID: Wow, yes, RevZilla is very cool indeed. Thanks! Charles On Jul 26, 2005, at 11:45 PM, Ken Ray wrote: > On 7/26/05 7:09 PM, "Charles Hartman" > wrote: > > >> Does anybody else have a problem searching the bugzilla using Safari? >> Whenever I try I get an error message saying that "The page you >> opened redirected you to a page that isn't supported by Safari." It >> adds, "Safari can't open the page because it cannot >> redirect to locations starting with 'http:'." >> > > Personally I don't use a browser to search Bugzilla - I use > RevZilla instead > (it's so much easier): > > http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm > > :-) > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Wed Jul 27 14:44:25 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Jul 2005 20:44:25 +0200 Subject: Mac->Win revisited In-Reply-To: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> Message-ID: <20050727183337.51C69824D68@mail.runrev.com> probably... but a close window => closerequest => quit should do it nothing major... > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Charles Hartman > Sent: Wednesday, July 27, 2005 20:14 > To: How to use Revolution > Subject: Mac->Win revisited > > > 1. The problem I reported about the disappearing cursor does > have a temporary solution, which I got from one of the > comments in the Bugzilla report: include in some stack script > the lines > delete stack "revCursors" > reset cursors > Presto. And that should suggest a fix for the bug, shouldn't it? > > 2. Is there some way to quit the Dreamcard Player in Windows > without Ctrl-Alt-Delete? Do I have to build an entire menu > system just for that, which I have no use for in the Mac version? > > Charles > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From FlexibleLearning at aol.com Wed Jul 27 14:55:15 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Wed, 27 Jul 2005 14:55:15 EDT Subject: [ANN] ssBkChat for All Message-ID: Following several requests, ssBkChat (a part of the Scripter's Scrapbook) is now available as a rev plugIn. It's a great place to ask and answer questions whilst programming, and the Rev Online access stack will always point you to the most up-to-date version. What's Included: - Chat & private messaging - Direct file transfers - Forum discussion - Scrapbook-to-Scrapbook Entry transfer - Custom setUp preferences Where do you get it? First get the access stack... Click the Rev Online button in your menubar, select 'User Spaces' from the index, click 'Browse Users' and select 'FLCo', then hilite 'ssBkChat PlugIn' and click 'Go to'. There is a DOWNLOAD button that finishes the job... Simply place the stack in the plugIns folder and you have real-time access to the service. NOTE: ssBkChat is not supported by the DreamCard player. Enjoy! /H The Scripter's Scrapbook www.flexibleLearning.com/ssbk.htm From b.xavier at internet.lu Wed Jul 27 15:23:44 2005 From: b.xavier at internet.lu (MisterX) Date: Wed, 27 Jul 2005 21:23:44 +0200 Subject: Justify text in a field In-Reply-To: <20050727182920.50592.qmail@web40509.mail.yahoo.com> Message-ID: <20050727191256.44D81824D4F@mail.runrev.com> Hi All only with monospace fonts... but it works horizontal or vertically ;) sorry Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alejandro Tejada > Sent: Wednesday, July 27, 2005 20:29 > To: use-revolution at lists.runrev.com > Subject: Justify text in a field > > Hi Developers, > > After reading these messages about > Mac and Win fonts issues, i remember > about a code that Colin Holgate > contributed in the HyperCard list, > that used text properties named > extended and condensed to simulate > justification in a text field. > > This code does not work in RR. > so, i ask this question to every > developer: > > Do you have working code to create justified text, or > something that resemble this, within a RR field? > > Thanks in advance. > > al > > > Visit my site: > http://www.geocities.com/capellan2000/ > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From JimAultWins at yahoo.com Wed Jul 27 15:23:17 2005 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 27 Jul 2005 12:23:17 -0700 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: <20050727182920.50592.qmail@web40509.mail.yahoo.com> Message-ID: Greeting group. I am stuck trying to meet a deadline and can't remember some trivia about textcolor property applied to text within a field. For some reason this worked last night, but now as I am getting ready to distribute.. no go. Task > setting the textcolor of items in a field in a group this way using tabStops + set itemDel to tab --these work set the backgroundcolor of fld AA of bg "betDisplayA" to pink set the textcolor of fld AA of bg "betDisplayA" to darkblue --does not work on this field, but does on others set the textcolor of word 2 of line 2 of fld AA of bg "betDisplayA" to green works from the message box set the textcolor of word 1 of line 2 of fld comingAttractions to green set the textcolor of item 2 of line 3 of fld comingAttractions to green ANSWER --> I am screwed. I did testing on a single group (background) using the following (note carefully the field specification I used to test the syntax and effect) (field AA is contained in a group, and there is only one group) set the textcolor of word 2 of line 2 of fld AA to green --> works, so now I can do other programming! I then built a whole interface on the concept of colored text using field chunks The next level of complexity was to duplicate the constructed [field.button.group] 8 times and write the code. After hours of debugging other intricate tasks, I now find that setting the color of a text chunk will not work if the field is in a group!!!! This may have been covered already (most likely has) but I am now at my deadline and have malarky to show the client. Add to this that the dictionary ?textcolor? is linked to ?foregroundcolor?, so there might be a note not to use bg whatever, but I could not get to it using the documentation. Very painful and costly lesson learned here. Is there a workaround I could do in an hour or two? (I am pretty fast with Transcript) Thanks in advance for your help Jim Ault Las Vegas From transcom at comcast.net Wed Jul 27 15:26:45 2005 From: transcom at comcast.net (Michael Mandaville) Date: Wed, 27 Jul 2005 12:26:45 -0700 Subject: Application on Task -Dan Shafer Book In-Reply-To: Message-ID: I sent the stack to the email address that was in your response. Hopefully you got it. Thank you, Michael ------ Forwarded Message From: Michael Mandaville Date: Tue, 26 Jul 2005 11:41:33 -0700 To: Subject: Application on Task -Dan Shafer Book I'm a Newbie, working through the Tutorials and Dan Shafer's book. So far, I've built the application up to page 266 in the book "Revolution" However, while I've gone over the scripts more than a few times, I don't believe that I have any errors and that they're in the right places, i.e., object, stack, etc., I still cannot populate the list or txt file with a task. If anybody is familiar with the Dan Shafter app, I would appreciate some guidance to get me past this roadblock. Happy to share the final app - with my hopefully correct comments - with anybody who wants it. I can email the stack at will. Thank you, Michael Mandaville ------ End of Forwarded Message From alex at tweedly.net Wed Jul 27 15:29:44 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 27 Jul 2005 20:29:44 +0100 Subject: Mac->Win revisited In-Reply-To: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> Message-ID: <42E7E0A8.5000103@tweedly.net> Charles Hartman wrote: > 2. Is there some way to quit the Dreamcard Player in Windows without > Ctrl-Alt-Delete? Do I have to build an entire menu system just for > that, which I have no use for in the Mac version? > Quit the Player itself, or the stack you are currently "playing" ? In either case, AFAICT, the usual Windows methods work OK - Alt-F4 - the little X icon in the title bar - right-click on title bar and select Close -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From charles.hartman at conncoll.edu Wed Jul 27 15:41:02 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 27 Jul 2005 15:41:02 -0400 Subject: Mac->Win revisited In-Reply-To: <42E7E0A8.5000103@tweedly.net> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> Message-ID: On Jul 27, 2005, at 3:29 PM, Alex Tweedly wrote: >> 2. Is there some way to quit the Dreamcard Player in Windows >> without Ctrl-Alt-Delete? Do I have to build an entire menu system >> just for that, which I have no use for in the Mac version? >> >> > Quit the Player itself, or the stack you are currently "playing" ? > > In either case, AFAICT, the usual Windows methods work OK > - Alt-F4 > - the little X icon in the title bar > - right-click on title bar and select Close I want (the user no matter how addled to be able) to quit the Player. But the little X icon in the title bar does _not_ do it. That closes (each) stack, but leaves the Player sitting there in memory. Not being used to Windows, it took me a while to find that out. I certainly don't trust my users to know it. So I'm putting a nice, big QUIT button on the menu/map substack. Thanks. Charles From bnz2 at cdc.gov Wed Jul 27 16:24:01 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Wed, 27 Jul 2005 16:24:01 -0400 Subject: Justify text in a field Message-ID: <64878EF567131D4596246171F75FD4A9744606@m-epo-1.epo.cdc.gov> You could have a script do this: - get the formattedrect of a block of text - calculate how far from the left of the field that block of text needs to be - insert a few spaces to the left of the block of text - check the formattedrect of the block of text again - keep inserting (or deleting if you go too far to the right) spaces until item 1 of the formattedrect of the block of text is close enough to be where it needs to be. - if you really want to be neurotic, you can use spaces with a really small font size, so that the width of a space is only 1 or 2 pixels! -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX Sent: Wednesday, July 27, 2005 3:24 PM To: 'How to use Revolution' Subject: RE: Justify text in a field Hi All only with monospace fonts... but it works horizontal or vertically ;) sorry Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alejandro Tejada > Sent: Wednesday, July 27, 2005 20:29 > To: use-revolution at lists.runrev.com > Subject: Justify text in a field > > Hi Developers, > > After reading these messages about > Mac and Win fonts issues, i remember > about a code that Colin Holgate > contributed in the HyperCard list, > that used text properties named > extended and condensed to simulate > justification in a text field. > > This code does not work in RR. > so, i ask this question to every > developer: > > Do you have working code to create justified text, or > something that resemble this, within a RR field? > > Thanks in advance. > > al > > > Visit my site: > http://www.geocities.com/capellan2000/ > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From douggilliland at gmail.com Wed Jul 27 16:28:48 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Wed, 27 Jul 2005 16:28:48 -0400 Subject: Flashing numbers added to Number Picker stack. Message-ID: <890e3d2605072713281feef3bb@mail.gmail.com> I just finished a small stack to select my 9th grade chemistry students (sitting at numbered lab tables) at random. I have 25 students and used the following script to select one at random, then speak that number: on mouseUp put random (25) into field "field1" revsetspeechvoice "ralph" revspeak field "field1" wait 4 sec put empty into field "field1" end mouseUp To add a little flair, I would like numbers to quickly flash on the screen for one or two seconds before it stops at the random number. Looked through the documentation but found nothing. Any suggestions? I don't need it if it is too difficult but thought I would ask. I'm too new to Revolution to know how much it involves. Doug Gilliland Sarasota, FL From janschenkel at yahoo.com Wed Jul 27 16:36:08 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 27 Jul 2005 13:36:08 -0700 (PDT) Subject: Flashing numbers added to Number Picker stack. In-Reply-To: <890e3d2605072713281feef3bb@mail.gmail.com> Message-ID: <20050727203608.85114.qmail@web60523.mail.yahoo.com> --- Douglas Gilliland wrote: > I just finished a small stack to select my 9th grade > chemistry > students (sitting at numbered lab tables) at random. > I have 25 > students and used the following script to select one > at random, then > speak that number: > > on mouseUp > put random (25) into field "field1" > revsetspeechvoice "ralph" > revspeak field "field1" > wait 4 sec > put empty into field "field1" > end mouseUp > > To add a little flair, I would like numbers to > quickly flash on the > screen for one or two seconds before it stops at the > random number. > Looked through the documentation but found nothing. > Any suggestions? I don't need it if it is too > difficult but thought I > would ask. I'm too new to Revolution to know how > much it involves. > Doug Gilliland > Hi Doug, Here's a quick idea: -- on mouseUp ## show some numbers during 2 seconds repeat 10 times put random (25) into field "field1" wait 200 milliseconds end repeat ## now the code you already had put random (25) into field "field1" revsetspeechvoice "ralph" revspeak field "field1" wait 4 sec put empty into field "field1" end mouseUp -- Hope this helped, Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From alex at tweedly.net Wed Jul 27 16:50:07 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 27 Jul 2005 21:50:07 +0100 Subject: Mac->Win revisited In-Reply-To: References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> Message-ID: <42E7F37F.8020204@tweedly.net> Charles Hartman wrote: > > On Jul 27, 2005, at 3:29 PM, Alex Tweedly wrote: > >>> 2. Is there some way to quit the Dreamcard Player in Windows >>> without Ctrl-Alt-Delete? Do I have to build an entire menu system >>> just for that, which I have no use for in the Mac version? >>> >>> >> Quit the Player itself, or the stack you are currently "playing" ? >> >> In either case, AFAICT, the usual Windows methods work OK >> - Alt-F4 >> - the little X icon in the title bar >> - right-click on title bar and select Close > > > I want (the user no matter how addled to be able) to quit the Player. > > But the little X icon in the title bar does _not_ do it. Yes it does work, exactly as I and other Windows users would expect it to work. It closes the app (or window) in whose title bar you are at the time (or which has focus when you do Alt-F4). That's what Windows *always* does. > That closes (each) stack, but leaves the Player sitting there in > memory. Not being used to Windows, it took me a while to find that > out. I certainly don't trust my users to know it. So I'm putting a > nice, big QUIT button on the menu/map substack. > I'd be inclined to expect your users to know it - standard Windows behaviour. Why should closing one window/instance close any others ? Using a button linked to a script containing a "quit" should do what you want - though I personally think that's a bug. See BZ 2596 and 2597. A "quit" in a stack within the player causes the entire player to quit *including* any other stack currently running within that player. You can run any number of stacks within a Player (and cannot run multiple instances of the Player) - so if you need to have two stacks running simultaneously, and one "quit"s, the other exits also, taking with it potentially any unsaved work. btw - I think I had one stack that tried to use "quit" and it didn't work - but after I discovered the problems in 2597, I stopped trying to do it, so didn't pursue that issue all the way to the end ... so make sure you test it thoroughly (as if I had to say that, sorry). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From davis.phil at comcast.net Wed Jul 27 17:20:37 2005 From: davis.phil at comcast.net (Phil Davis) Date: Wed, 27 Jul 2005 14:20:37 -0700 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: References: Message-ID: <42E7FAA5.9060302@comcast.net> Hi Jim, Grasping at straws here, but maybe it'll awaken something in your brain: Does the text of field "AA" contain CRs (which define lines), or does it just look like multiple lines, 'soft' wrapping and and flowing without having any CRs in it? If the latter, that would explain why you can't select a chunk in line 2. That's all I can see for the moment... Phil Davis Jim Ault wrote: > Greeting group. > > I am stuck trying to meet a deadline and can't remember some trivia about > textcolor property applied to text within a field. For some reason this > worked last night, but now as I am getting ready to distribute.. no go. > > Task > setting the textcolor of items in a field in a group this way > > using tabStops + > set itemDel to tab > --these work > set the backgroundcolor of fld AA of bg "betDisplayA" to pink > set the textcolor of fld AA of bg "betDisplayA" to darkblue > > --does not work on this field, but does on others > set the textcolor of word 2 of line 2 of fld AA of bg "betDisplayA" to green > > works from the message box > set the textcolor of word 1 of line 2 of fld comingAttractions to green > set the textcolor of item 2 of line 3 of fld comingAttractions to green > > > ANSWER --> I am screwed. I did testing on a single group (background) using > the following > (note carefully the field specification I used to test the syntax and > effect) > (field AA is contained in a group, and there is only one group) > > set the textcolor of word 2 of line 2 of fld AA to green --> works, so now I > can do other programming! > > I then built a whole interface on the concept of colored text using field > chunks > The next level of complexity was to duplicate the constructed > [field.button.group] 8 times and write the code. > > After hours of debugging other intricate tasks, I now find that setting the > color of a text chunk will not work if the field is in a group!!!! > > This may have been covered already (most likely has) but I am now at my > deadline and have malarky to show the client. > Add to this that the dictionary ?textcolor? is linked to ?foregroundcolor?, > so there might be a note not to use bg whatever, but I could not get to it > using the documentation. > > Very painful and costly lesson learned here. > Is there a workaround I could do in an hour or two? (I am pretty fast with > Transcript) > > Thanks in advance for your help > > Jim Ault > Las Vegas > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From douggilliland at gmail.com Wed Jul 27 17:28:03 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Wed, 27 Jul 2005 17:28:03 -0400 Subject: Flashing numbers added to Number Picker stack. In-Reply-To: <20050727203608.85114.qmail@web60523.mail.yahoo.com> References: <890e3d2605072713281feef3bb@mail.gmail.com> <20050727203608.85114.qmail@web60523.mail.yahoo.com> Message-ID: <890e3d2605072714286adbf467@mail.gmail.com> Jan, It works even better than I thought it would. Thanks for the quick script - it is greatly appreciated. Doug Gilliland Sarasota, FL On 7/27/05, Jan Schenkel wrote: > --- Douglas Gilliland wrote: > > I just finished a small stack to select my 9th grade > > chemistry > > students (sitting at numbered lab tables) at random. > > I have 25 > > students and used the following script to select one > > at random, then > > speak that number: > > > > on mouseUp > > put random (25) into field "field1" > > revsetspeechvoice "ralph" > > revspeak field "field1" > > wait 4 sec > > put empty into field "field1" > > end mouseUp > > > > To add a little flair, I would like numbers to > > quickly flash on the > > screen for one or two seconds before it stops at the > > random number. > > Looked through the documentation but found nothing. > > Any suggestions? I don't need it if it is too > > difficult but thought I > > would ask. I'm too new to Revolution to know how > > much it involves. > > Doug Gilliland > > > > Hi Doug, > > Here's a quick idea: > -- > on mouseUp > ## show some numbers during 2 seconds > repeat 10 times > put random (25) into field "field1" > wait 200 milliseconds > end repeat > ## now the code you already had > put random (25) into field "field1" > revsetspeechvoice "ralph" > revspeak field "field1" > wait 4 sec > put empty into field "field1" > end mouseUp > -- > > Hope this helped, > > Jan Schenkel. > > Quartam - Tools for Revolution > > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > From mwieder at ahsoftware.net Wed Jul 27 17:56:48 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 27 Jul 2005 14:56:48 -0700 Subject: ANN: Updates on MonsieurX In-Reply-To: <20050727172619.3805A824D4D@mail.runrev.com> References: <20050727172619.3805A824D4D@mail.runrev.com> Message-ID: <12917362495.20050727145648@ahsoftware.net> MisterX- I was imagining you with secret ties to an international ring of dentist spies... "The tooth? You can't *handle* the tooth" ...bwaaahaha... -- -Mark Wieder mwieder at ahsoftware.net From mdswindell at charter.net Wed Jul 27 18:01:03 2005 From: mdswindell at charter.net (Mark Swindell) Date: Wed, 27 Jul 2005 15:01:03 -0700 Subject: Crossword Generator Message-ID: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> Has anyone made a crossword generator in Rev? URL? Thanks Mark From sarahr at genesearch.com.au Wed Jul 27 18:12:07 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Jul 2005 08:12:07 +1000 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: References: Message-ID: > I am stuck trying to meet a deadline and can't remember some trivia > about > textcolor property applied to text within a field. For some reason > this > worked last night, but now as I am getting ready to distribute.. no > go. > > Task > setting the textcolor of items in a field in a group this way > > using tabStops + > set itemDel to tab > --these work > set the backgroundcolor of fld AA of bg "betDisplayA" to pink > set the textcolor of fld AA of bg "betDisplayA" to darkblue > > --does not work on this field, but does on others > set the textcolor of word 2 of line 2 of fld AA of bg "betDisplayA" > to green > > works from the message box > set the textcolor of word 1 of line 2 of fld comingAttractions to > green > set the textcolor of item 2 of line 3 of fld comingAttractions to > green > Jim, I don't know if this makes any difference, but I always use forecolor to set the color of text. I can successfully set the color of text in a field that is a member of a group, but I don't have the group specified in the script. Do you have to use the group's name? Other workarounds you could try would be to specify a range of words or a range of characters and see if this worked. Or try using the RGB values for the color. Or try setting the color of your chunk to empty first and then setting the new color. None of these should be necessary, but as you are approaching your deadline, I thought I would offer them as things to try. And finally, to cheer you up, a quote from Douglas Adams: "I love deadlines - I love the whooshing noise they make as they go by." :-) Good luck, Sarah From charles.hartman at conncoll.edu Wed Jul 27 18:23:12 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Wed, 27 Jul 2005 18:23:12 -0400 Subject: Mac->Win revisited In-Reply-To: <42E7F37F.8020204@tweedly.net> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> Message-ID: <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> On Jul 27, 2005, at 4:50 PM, Alex Tweedly wrote: > Yes it does work, exactly as I and other Windows users would expect > it to work. It closes the app (or window) in whose title bar you > are at the time (or which has focus when you do Alt-F4). That's > what Windows *always* does. Yes, I understand that. The problem is that after you close all (up to) three stacks in my app, you think you've quit the Player; but you haven't. I've tried out the Quit (with just an OK or Cancel), and it seems to work. If this thing gets more elaborate, and there's data to save, I'll move carefully. Thanks again. Charles From capellan2000 at yahoo.com Wed Jul 27 18:23:18 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 27 Jul 2005 15:23:18 -0700 (PDT) Subject: Justify text in a field In-Reply-To: <20050727211842.E9E78824DC2@mail.runrev.com> Message-ID: <20050727222318.56260.qmail@web40513.mail.yahoo.com> on Wed, 27 Jul 2005 xavier wrote: > only with monospace fonts... > but it works horizontal or vertically ;) Monospaced only! I hoped for a more proportional solution. ;-) Jonathan Lynch wrote: > You could have a script do this: > - get the formattedrect of a block of text Do you mean the formattedrect of a single line? > - calculate how far from the left of the field that > block of text needs to be > - insert a few spaces to the left of the block of > text if i remember well, Colin inserted spaces between words, and set the styles of words to extended and condensed, but i could not find his code now. :-( > - check the formattedrect of the block of text again > - keep inserting (or deleting if you go too far to > the right) spaces until item 1 of the formattedrect > of the block of text is close enough to be where it > needs to be. In scrolling fields this could take a while. Did you had some timings available for this technique? In this way i could know beforehand if it is user's friendly. > - if you really want to be neurotic, you can use > spaces with a really small font size, so that the > width of a space is only 1 or 2 pixels! This idea is fine and very precise, but what will happen if you had to copy and paste this text elsewhere. You'll be carrying a lot of empty space with the copied text, unless you perform some cleaning up in copied text. :-( Thanks a lot to Jonathan and Xavier for sharing their insights! al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From alex at tweedly.net Wed Jul 27 18:40:21 2005 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 27 Jul 2005 23:40:21 +0100 Subject: Crossword Generator In-Reply-To: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> Message-ID: <42E80D55.6010703@tweedly.net> Mark Swindell wrote: > Has anyone made a crossword generator in Rev? URL? > No, but I made a Sudoku assistant. Is that close enough ? :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From revolution at derbrill.de Wed Jul 27 18:48:20 2005 From: revolution at derbrill.de (Malte Brill) Date: Thu, 28 Jul 2005 00:48:20 +0200 Subject: *ping* Jim Hurley In-Reply-To: <20050727211843.29A44824DC4@mail.runrev.com> Message-ID: <87AC2A30-FEF0-11D9-A73D-0030659A795C@derbrill.de> Sorry to bring this on list... Jim, did you receive my last 2 off-list mails? I fear spam filtering again. Cheers, Malte From jacque at hyperactivesw.com Wed Jul 27 19:11:59 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 18:11:59 -0500 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: References: Message-ID: <42E814BF.1030505@hyperactivesw.com> Jim Ault wrote: > --does not work on this field, but does on others > set the textcolor of word 2 of line 2 of fld AA of bg "betDisplayA" to green I just tried this. I get a failure with the above syntax, but success if I substitute "grp" for "bg". That is, this works: set the textcolor of word 2 of line 2 of fld AA of grp "betDisplayA" to "green" This may not work if you aren't on the right card currently, as "grp" isn't a valid reference if it isn't placed on the current card. Note the quotes around the color name. Even though they are constants, the MC docs say color names should always be in quotes, so that is my habit. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jerry at daniels-mara.com Wed Jul 27 19:15:08 2005 From: jerry at daniels-mara.com (Jerry Daniels) Date: Wed, 27 Jul 2005 18:15:08 -0500 Subject: revDocWiki In-Reply-To: <42E6B7EE.7090509@fourthworld.com> References: <42E6A8C1.3070800@chipp.com> <42E6B7EE.7090509@fourthworld.com> Message-ID: Richard, Thanks for the love! Yes, Transcript Gadget (which houses an imported xscript dictionary) is "hooked up" to Rev script editor or Constellation script editor. RIght click (control-click) on a xscript word in a scrpt and Transcript Gadget looks it up - OR - right click (control click) on a call to one of your handlers and Transcript Gadget finds the handler WHEREVER it might dwell and open it up in a script editor. This is the one gadget that keeps me from going insane trying to find a handler and figuring out what it does. If it will help the revDocWiki project, i can get the docs parsing code to whomever needs it. If we need it hooked up to a script editor (as mentioned above) perhaps we have an extension to Transcript Gadget? Just in town for supplies... Jerry http://daniels-mara.com/products/objectgadget.htm On Jul 26, 2005, at 5:23 PM, Richard Gaskin wrote: > Chipp Walters wrote: > > > Dan Shafer wrote: > >> The docs are already in XML. Jerry Daniels has written a parser for > >> them that gets used in his Transcript Gadget. > > > > I should mention the parser Jerry modified (and I did too, and even > > perhaps Mr. Sanke as well) originated from Richard Gaskin's generous > > contribution for his help stack for MC. Thanks Richard! > > My pleasure. And thanks for the thoughtful mention. > > I'm a big fan of both XML and the Rev object model, and I'm rather > addicted to the Dictionary. My revised Dictionary shell attempts to > deliver the best of both worlds: > > XML is a great format for authoring, as it allows the individual > topics to be moved from team member to team member for authoring and > review. But as we've seen, indexing and parsing them on the fly is, > well, suboptimal. :) > > It's hard to beat Rev's native object model for efficiently traversing > a body of work like this. Even with nearly 1500 entries the > mcDictionary loads about as quickly as the XML-based one that ships > with Rev, but is significantly faster for moving document-to-document, > since you're only going card-to-card rather than loading files from > disk and parsing XML CDATA on the fly. > > Jerry's done a wonderful job extending the mcDictionary stack, adding > a lot of geat new functionality and a nifty Rossi-esque look. > > Since it only takes less than a minute to import the data into the > stack, I hope one day we can see that incorporated into Rev's > automated build process and have it shipped with the product. Jerry's > is certainly worthy. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From Cubist at aol.com Wed Jul 27 19:15:39 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Wed, 27 Jul 2005 19:15:39 EDT Subject: Workaround request - textcolor property in a field in a group Message-ID: <1c2.2d70ba65.30196f9b@aol.com> sez davis.phil at comcast.net: >Grasping at straws here, but maybe it'll awaken something in your brain: >Does the text of field "AA" contain CRs (which define lines), or does it >just look like multiple lines, 'soft' wrapping and and flowing without >having any CRs in it? If the latter, that would explain why you can't >select a chunk in line 2. A possibly useful hint: Try setting the firstIndent of the field to 75. However-many *real* lines of text you have in the field, each of those lines will magically acquire an inch-or-so of whitespace at its beginning. Hope this helps... From soapdog at mac.com Wed Jul 27 19:20:25 2005 From: soapdog at mac.com (Andre Garzia) Date: Wed, 27 Jul 2005 20:20:25 -0300 Subject: ECMI In-Reply-To: <42E54F93.8040001@fourthworld.com> References: <42E52523.80908@fourthworld.com> <1699756248.20050725121242@ahsoftware.net> <42E53CD6.3080702@fourthworld.com> <7012306025.20050725125512@ahsoftware.net> <42E54F93.8040001@fourthworld.com> Message-ID: I've been somekind of invisible latelly, mostly due to university and the mayhem of trying to setup my pages... Well, here is a nice offer. I can host ECMI Pages, Files and lists at WeCode.Org. I have majordomo lists there, file space, anything we could want. No need to fuss with Yahoo!Groups stuff. Also we can run Rev CGIs in there. Cheers andre On Jul 25, 2005, at 5:46 PM, Richard Gaskin wrote: > Mark Wieder wrote: >> Richard- >> Monday, July 25, 2005, 12:26:14 PM, you wrote: >> RG> I agree wholeheartedly. While we have no control over the >> requirements >> RG> Yahoo Groups has for file access, as I've written before we will >> have a >> That's interesting. In the past Yahoo allowed this control to the list >> owner. Has that changed? > > I don't know. I don't recall having seen anything different, but I've > only been managing groups at Yahoo for a few years, since the > acquisition from eGroups. I don't recall what the eGroups options > were. > > These are the options Yahoo provides me: > - Members (upload/modify/download files) <- current setting > - Limited (members can download files; > moderators can upload/modify/download files) > - Moderators only (upload/modify/download files) > - Off (no one can access the Files feature) > > These appear to be the same for all of the Yahoo Groups I have admin > access for. > > Which Yahoo Groups have you managed which allow another option? > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Andre Alves Garzia ? 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org From jeff at siphonophore.com Wed Jul 27 19:39:13 2005 From: jeff at siphonophore.com (Jeffrey Reynolds) Date: Wed, 27 Jul 2005 19:39:13 -0400 Subject: Whiteboard Conferencing In-Reply-To: <20050726002853.145D7824F26@mail.runrev.com> References: <20050726002853.145D7824F26@mail.runrev.com> Message-ID: <903875ad8fc93a2b81e17eb40492695c@siphonophore.com> Hi all, I have been searching for a simple electronic white board solution to go with video conferencing like ichat av. I just want to be able to do some quick text typed and perhaps shapes that everyone could doodle with virtually. I have not found a good solution with the mac (bitwise seems to be the simplest) so far and it dawned on me that this would be something that rev could easily do. so the first question is does anyone know of a good solution already out there or has anyone attempted this sort of thing with rev already? I realize it would probably need to be a web based solution, but it seems like something up rev's alley... thanks jeff reynolds From alex at tweedly.net Wed Jul 27 19:44:27 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 28 Jul 2005 00:44:27 +0100 Subject: revDocWiki In-Reply-To: References: <42E6A8C1.3070800@chipp.com> <42E6B7EE.7090509@fourthworld.com> Message-ID: <42E81C5B.5080304@tweedly.net> Jerry Daniels wrote: > > RIght click (control-click) on a xscript word in a scrpt and > Transcript Gadget looks it up - OR - right click (control click) on a > call to one of your handlers and Transcript Gadget finds the handler > WHEREVER it might dwell and open it up in a script editor. Well, why didn't you *say* so. Finds your own handlers when you can't remember where you put them .... This is the one of the features of other IDEs that I've missed most in Rev (kind of indirectly - other IDEs may not exactly have this, but they have the approx equivalent). As far as I can tell, nothing on your web site actually mentions this important (to me) feature. Knowing this is included, I didn't even need to think about whether this fits in my recreational software budget for this year (it doesn't), I knew I wanted it anyway. I've just been and bought a copy - thank you for mentioning this feature on here ! -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From gandalf at doctorTimothyMiller.com Wed Jul 27 20:01:22 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 27 Jul 2005 17:01:22 -0700 Subject: request for script or stack Message-ID: Greetings, I'm sorry to whine, but I really miss my hyperCard command-F. The cursor was positioned in the message box to type my search term, between quotation marks, and away I went. Hit the return key for the next hit if I don't like the item I just found. Hit the return key as many times as I want. It worked about the same as typing find "confabulation" in Rev's message box. I think Rev is somewhat slower, but I can live with that. What I don't like is having to type the whole darned find command, including the quotation marks. Rev's command-F find window remains much slower than the Find command in the message box, even if both searches are restricted to the same stack and to field text only. I can't imagine why. I just tested it. I searched for "Gloria" in a fairly bulky stack that contains a lot of names. Typing find "gloria" in the message box found four instances almost instantly. Then I tried find "gloria" with Rev's command-F "Find and Replace" window. I clicked "field text" only, I chose "this stack" only, and I checked "obey dontsearch properties." It was at least 1000 times slower, maybe 5000 times slower, or more. And, in 2.6.1, it's still not possible to abort a search in this window once you start one. If you accidentally start the wrong search, you could grow a beard before it was done searching. Both HC and Rev had their limits with the simple "find" command. HC didn't "find whole" very consistently, if you typed it into the message box. It would find whole just once. After that, if you kept hitting the return key, it would "find word." In HC and Rev, if you get multiple hits on the same page, they keep cycling through the same hits on that page until you move to the next one. Then you can resume hitting the return key. Sooooo... I'd like to have a script that would start with maybe just a click on a button or a keystroke. It might give me my choice of find whole, find word, find string, or something like that. It would position the cursor in the suitable field, I wouldn't have to type quotation marks. It would search as fast as the find command typed into Rev's message box, or in a script. I could hit the return key (or maybe a button) repeatedly until I found the item I was looking for. AND, the find function wouldn't get "stuck" on one page if there were multiple hits on the same page. If it were a floating window, ideally, the window would move out of the way so I could see the hits underneath, and if the hits were in a scrolling field, the field would scroll so I could see the hits. Ideally, it would ignore invisible fields, unless maybe I turned that option on. (And in a perfect world, this would be a native feature in the next Rev upgrade.) I'm capable of writing a script that would do most of this stuff, or maybe it would be a small utility stack, but it takes me a long time, and it really isn't my hobby. I admit I sometimes get obsessed with that sort of thing. It actually feels like a sickness sometimes, if I get too obsessed. Weird... True confessions... It seems likely that someone has written a script or made a little stack that does about what I'm describing. If so, what's it called, where can I find it, and can I use it, please? I'd be grateful. I checked the Rev online stack archives, but didn't find anything. If I've overlooked some obvious way of doing all this very easily, it wouldn't surprise me a bit. In that case, please clue me. Cheers, Tim From lan.kc.macmail at gmail.com Wed Jul 27 20:47:29 2005 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 28 Jul 2005 08:47:29 +0800 Subject: Newbie ? Answered In-Reply-To: <66.5bafada5.3018cfd1@aol.com> References: <66.5bafada5.3018cfd1@aol.com> Message-ID: On 7/27/05, Hamburger1 at aol.com wrote: > I know I have to and enthusiastically want to finally wean myself from > HyperCard. I expect that will happen by the end of the year. Wow, and I thought I was still clinging to the past. 1 x Quadra 650 on 7.6, 1 x Performa 6400 on 8.6, 2 x Beige G3s on 9.2 and everything else on OSX, yet I came to the conclusion that I had to move from HC years ago. Looked at RealBasic for a short while but Rev was the on Real choice;-) If you have persevered with HC this long, then I imagine you'll have what it takes to make the transition to Rev. If you are anything like me, then depending on the size of your stack you'll have a couple of weeks of frustration/head scratching. Then when your head (not stack) is finally converted to the Rev way, things will really start falling into place and progress will be much quicker. Also you'll come to appreciation of all the extra potential that Rev offers over HC. And then will come the desire to completely rewrite your stack - cleaner, faster, and with more features. One warning though, Rev is NOT as stable as HC, and understandably so. Rev has so many more features and has to cope with cross platform compatibility. Even so, its frequent crashes (2.6 is so much better than 2.2) can become annoying unless you are prepared. I do two things: 1) Each new day I start working on a stack, I open it, ie MyStack v87, and immediately "Save As..." with a new sequential number, ie MyStack v88. If I completely stuff up the stack with my 'new feature' I can always go back to yesterdays working copy. 2) EVERY time I change a script I use the "Apply and Save" menu. This adds a little time to the process, but you'll eventually be VERY glad you did. Good luck From chipp at chipp.com Wed Jul 27 21:32:17 2005 From: chipp at chipp.com (Chipp Walters) Date: Wed, 27 Jul 2005 20:32:17 -0500 Subject: revDocWiki In-Reply-To: <42E81C5B.5080304@tweedly.net> References: <42E6A8C1.3070800@chipp.com> <42E6B7EE.7090509@fourthworld.com> <42E81C5B.5080304@tweedly.net> Message-ID: <42E835A1.6030109@chipp.com> Yeah, I have to say, once you start using this you're forever hooked. I find it especially great for those really long library scripts, which I call from a card script. So, I'm editting the card script and I see this 'altSomethingOrOther' function I wrote eons ago and I'm wondering "what does THAT do?", so I right-click and immediately my library script is opened in a new window (or a new tab if I'm using Jerry's tab-based Constellation script editor), and instantly the script text is scrolled to the function. Sweet. -Chipp Alex Tweedly wrote: > Jerry Daniels wrote: > >> >> RIght click (control-click) on a xscript word in a scrpt and >> Transcript Gadget looks it up - OR - right click (control click) on a >> call to one of your handlers and Transcript Gadget finds the handler >> WHEREVER it might dwell and open it up in a script editor. > > > > Well, why didn't you *say* so. Finds your own handlers when you can't > remember where you put them .... > > This is the one of the features of other IDEs that I've missed most in > Rev (kind of indirectly - other IDEs may not exactly have this, but they > have the approx equivalent). As far as I can tell, nothing on your web > site actually mentions this important (to me) feature. Knowing this is > included, I didn't even need to think about whether this fits in my > recreational software budget for this year (it doesn't), I knew I wanted > it anyway. > > I've just been and bought a copy - thank you for mentioning this feature > on here ! From lan.kc.macmail at gmail.com Wed Jul 27 22:10:24 2005 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 28 Jul 2005 10:10:24 +0800 Subject: "Dumb question" time In-Reply-To: <42E65E50.10822985@Club-Internet.fr> References: <42E65A14.61B015C7@Club-Internet.fr> <88C9DA2D-A089-48BC-87E1-2883C4B1CADF@sosmartsoftware.com> <42E65E50.10822985@Club-Internet.fr> Message-ID: On 7/27/05, jbv wrote: > I think it has to do with > the structure of the data to be sorted... > it can be 10 to 500 lines with 40 items in each line, and > each item can be the sorting key, but for certain lines, the > item can be empty and I have the feeling that it's the cause > of the inconstency in the sort result... > I'll check that... Yes, your on the right path. When ever I have had problems with sorts it has usually come down to 'return' , 'comma', 'tab' and 'quote'. The problem is usually you think you put in 200 lines of text, but some of that text contains a return character so you end up with 200+ lines of text. Similarly you think there are 40 items in each line, but some of those items include a comma so you end up with 40+ items in some lines. My solution is to use one or more of these as appropriate: replace return with "nnnn" in myStore replace comma with "cccc" in myStore --setting the itemDelimiter to tab is an option replace tab with "tttt" in myStore replace quote with "qqqq" in myStore Then when you have done your sort, correct the format back with the reverse: replace "nnnn" with return in myStore replace "cccc" with comma in myStore replace "tttt" with tab in myStore replace "qqqq" with quote in myStore Obviously timing is everything. Assuming you have a 40 cell wide, 200 row deep table/spreadsheet and some of those cells contain a comma and/or a return character you'll need to access each cell FIRST to ensure no offending characters exist. Setting the itemDelimiter to tab can be a quick way around this if there are commas in fields. With returns you need some sort of 'counter' so you can be sure that the return you are replaceing is in a cell not the end of a row. It can be very hard to determine the existence of a return in the last cell of a row so it is better to set your data up so that will NEVER be the case. Once each cell has been checked, then you can do your sort. Cheers From tkuypers at pandora.be Wed Jul 27 22:14:08 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 28 Jul 2005 04:14:08 +0200 Subject: OS9 engine or player? Message-ID: I have a problem dowloading the Mac OS9 engine... Can anyone supply me this (as soon as possible, I have an installation within 5 hours...) or tell me where to download the OS9 player... Also, where do I put the engine... I've found one (MacOSfat.dir) and put it into the components/engines folder, but no luck... Many, many thanks in advance!!! Ton Kuypers From sarahr at genesearch.com.au Wed Jul 27 22:30:53 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Jul 2005 12:30:53 +1000 Subject: request for script or stack In-Reply-To: References: Message-ID: Hi Tim, > I'm sorry to whine, but I really miss my hyperCard command-F. The > cursor was positioned in the message box to type my search term, > between quotation marks, and away I went. Hit the return key for > the next hit if I don't like the item I just found. Hit the return > key as many times as I want. > > It worked about the same as typing > > find "confabulation" > > in Rev's message box. I think Rev is somewhat slower, but I can > live with that. What I don't like is having to type the whole > darned find command, including the quotation marks. Here is a script to do it: go to cd "Single Line" of stack "Message Box" put "find " & quote & quote into fld "Message Field" \ of cd "Single Line" of stack "Message Box" put " select char 7 to 6 of fld " & quote & "Message Field" \ & quote & " of cd " & quote & "Single Line" & quote & " of stack " \ & quote & "Message Box" & quote into tCmd send tCmd to me in 2 ticks It doesn't set the hilite in the correct button at the top of the message box & it doesn't set the title, but it gets you to the single line entry, puts in the find and selects between the quotes. The delay in selecting is required because the message box remembers your last selectedChunk and puts that back, so I have to wait until that has happened before over-riding it. On my web page , you will find a plugin called "FunKey" that allows you to allocate script snippets to certain function keys. You may find that if you attach this script to a function key, you have exactly what you want :-) > > Rev's command-F find window remains much slower than the Find > command in the message box, even if both searches are restricted to > the same stack and to field text only. I can't imagine why. I just > tested it. I searched for "Gloria" in a fairly bulky stack that > contains a lot of names. Typing find "gloria" in the message box > found four instances almost instantly. > > Then I tried find "gloria" with Rev's command-F "Find and Replace" > window. I clicked "field text" only, I chose "this stack" only, and > I checked "obey dontsearch properties." It was at least 1000 times > slower, maybe 5000 times slower, or more. And, in 2.6.1, it's still > not possible to abort a search in this window once you start one. > If you accidentally start the wrong search, you could grow a beard > before it was done searching. It is just a script, so it can be stopped by Command-period, or whatever you usually use to stop a script. Cheers, Sarah *************************** Sarah Reichelt sarah at troz.net http://www.troz.net/Rev/ *************************** From 3mcgrath at adelphia.net Wed Jul 27 22:38:09 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Jul 2005 22:38:09 -0400 Subject: Crossword Generator In-Reply-To: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> Message-ID: Mark, I made an iconic crossword generator that uses icons in sequences instead letters in sequences (as words). The icon sequences 'represent' words and phrases. Is that close enough??? I did a few error checking things to see if the last icon of line 1 is the first icon of line 2 or if the second icon of down 5 is the last icon in 6 across etc. I did cheat though because if there were not enough words to create it then I just had the thing try a whole new generation instead of rearranging the ones I had. Also, I then had to error check to make sure the same sequence was not used twice etc. HTH Tom McGrath On Jul 27, 2005, at 6:01 PM, Mark Swindell wrote: > Has anyone made a crossword generator in Rev? URL? > > Thanks > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Wed Jul 27 22:45:08 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Wed, 27 Jul 2005 22:45:08 -0400 Subject: Mac->Win revisited In-Reply-To: <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> Message-ID: Pardon me chiming in here. When using things like players and speech etc. it is our responsibility to close them ourselves in our code when and if for any reason our program is to quit. So I would put a piece of script in a on closeStack that takes care of the player when closing. This is because players and speech use libraries and/or QT etc. to work and like a serial port that is opened it must be closed or problems may occur. This is good coding practice. Maybe you can have in each stack an on closeStack that checks if all three (+-) stacks are closed and 'then' closes the player only if all are closed. HTH Thanks Tom On Jul 27, 2005, at 6:23 PM, Charles Hartman wrote: > > On Jul 27, 2005, at 4:50 PM, Alex Tweedly wrote: > >> Yes it does work, exactly as I and other Windows users would expect >> it to work. It closes the app (or window) in whose title bar you are >> at the time (or which has focus when you do Alt-F4). That's what >> Windows *always* does. > > Yes, I understand that. The problem is that after you close all (up > to) three stacks in my app, you think you've quit the Player; but you > haven't. > > I've tried out the Quit (with just an OK or Cancel), and it seems to > work. If this thing gets more elaborate, and there's data to save, > I'll move carefully. > > Thanks again. > > Charles > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From capellan2000 at yahoo.com Wed Jul 27 23:05:03 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Wed, 27 Jul 2005 20:05:03 -0700 (PDT) Subject: [ANN] Beta Release for penToolv032d In-Reply-To: <20050728022142.D24D8824E07@mail.runrev.com> Message-ID: <20050728030503.72054.qmail@web40501.mail.yahoo.com> Hi Developers, Thanks a lot for sending your comments about this beta version of "penToolv32d"! > When you change from a tool (like the "Edit Selection > tool", the "Add-point tool", the "Delete-point tool" > and the "Convert-point tool") to any other tool, this > "selected state" do not change. The graphic still > shows all the vertex, control points and handles. > These points should dissapear. You are right, these vertex, control points and handles should "disappear" or "retract". i'm going to use a custom property in the palette or the graphic to recognize and change his state when the user change tools. > How did i change the shape of a graphic? 1- Choose the "Edit Selection tool" in the palette "penTool" and click on the graphic. A blue line with vertex, control points and handles appears around the graphic. 2- Move the vertex and control points to reshape the graphic. 3- When you finish editing the graphic, double click on the border of the blue graphic, and the graphic redraws itself with the new shape that you had edited. In other tools, the graphics redraws itself as soon as the user left the mouse button. They are triggering the redraw action using a mouseup message. i choose to use a mousedoubleup message to add some fancy options like create a duplicate of the object. At last moment, this option produced some problems, but later i'll add this functionality. > When you use the "Edit Selection tool", a blue > graphic appears in the border of selected graphic. > How could i change this colour to another? To change this color, you had to edit the script of the "Edit Selection tool". It's hardwired there, but there are plans to add a preference to change this color at will or the script choose a color with contrast to the border color. Wait for this in a next release > You are using two different ways to show the vertex, > controls and handlers in the graphic. Could you > settle for one of them? Yes, eventually, i will use only one method to show and manipulate the vertex, control points and handles. When testing for the tools: "add-point", "delete-point" and "convert-point" is finished then i'll select the method of the "Edit selection tool". > Could you add textures to the color palette? Eventually, yes. ;-) > What are your plans for this tool? After finished this beta, i'll add text and image support for the export and import stack. > Did you accept colaborations to finish this stack? Sure! Malte Brill offered help and i told him to check the code for importing Adobe ilustrator files. After checking his work with the arcade engine, i think that he could help with the "Star tool", adding a lot of different shapes. i hope to convert this "PenTool" project in a collaborative effort. We just have to wait until experienced developers find the time to help. i really want to see that this collaboration happen anytime. It's an invaluable opportunity to learn from my mistakes and from their wise code. :-) Thanks a lot for your time to test this tool! Keep sending your comments to my e-mail, Have a nice day! al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From jhurley at infostations.com Wed Jul 27 23:05:45 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 27 Jul 2005 20:05:45 -0700 Subject: use-revolution Digest, Vol 22, Issue 125 In-Reply-To: <20050728022142.D24D8824E07@mail.runrev.com> References: <20050728022142.D24D8824E07@mail.runrev.com> Message-ID: > >Message: 2 >Date: Wed, 27 Jul 2005 15:01:03 -0700 >From: Mark Swindell >Subject: Crossword Generator >To: How to use Revolution >Message-ID: <2397B171-9EC6-40CF-906F-3DC0EEF83688 at charter.net> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Has anyone made a crossword generator in Rev? URL? > >Thanks >Mark Mark, I believe Mark Wieder is working on one. I would love to see this. Sounds difficult--and possibly fun. Not only do you need a big dictionary, but a clue to go with each word. Or, I guess the clues could be constructed ex post facto. Jim From jhurley at infostations.com Wed Jul 27 23:05:46 2005 From: jhurley at infostations.com (Jim Hurley) Date: Wed, 27 Jul 2005 20:05:46 -0700 Subject: *ping* Jim Hurley Message-ID: > >Message: 7 >Date: Thu, 28 Jul 2005 00:48:20 +0200 >From: Malte Brill >Subject: *ping* Jim Hurley >To: use-revolution at lists.runrev.com >Message-ID: <87AC2A30-FEF0-11D9-A73D-0030659A795C at derbrill.de> >Content-Type: text/plain; charset=US-ASCII; format=flowed > >Sorry to bring this on list... > >Jim, did you receive my last 2 off-list mails? I fear spam filtering >again. > >Cheers, > >Malte Malte, Tough question to answer; what were the last two messages? I also have trouble responding to the speaker when he begins his speech by asking if *everyone* can hear him. Some egotist always responds: "Yes." Seriously, I did get a message a while back--7/21/05. It had a script which contained a "setProp" handler. I was too embarrassed to reply that I had no idea how to handle a setProp handler. And here I am confessing to the list. Jim From gandalf at doctorTimothyMiller.com Wed Jul 27 23:15:27 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 27 Jul 2005 20:15:27 -0700 Subject: request for script or stack In-Reply-To: References: Message-ID: Thanks a bunch, Sarah, I haven't had time to study your script yet. I'm just leaving the office, I'll look more carefully tomorrow. But it looks like a big improvement on what I've been doing. At first glance, it looks like it won't recognize when it's repeatedly cycling through the same page if there are multiple hits on the same page. If it doesn't, I'd like to add that feature, but it's a pain in the neck for me to script it. It might be a piece of cake for someone else. If I put find whole in the message box, as in find whole "Bush, Laura" I wonder if Rev will consistently search whole as long as I keep hitting the return key. HyperCard wouldn't. Okay, it's a stupid question, I can find out by trial and error. I hope it does. I'll try it tomorrow. Regarding the "find and replace" window, I have tried several times to stop a search with a command-period. It just plain won't stop. (Clicking on the glowing red close button at the upper left won't stop it either, even though the little X appears when the mouse is over it.) I've noticed other situations in other stacks where command-period should stop a script, but it doesn't. For instance, a command-period won't interrupt a script if an answer dialog box is on the screen. It seems like it should. I was getting ready to report this to Rev as a bug or an enhancement request. Maybe it normally does work that way. I thought it was a Rev feature, or maybe a Rev deficiency. Maybe it's another anomaly. I don't think there's anything in my stacks that would intercept a command-period. I'll check again, but I haven't set the cantabort property to true in any of my stacks, or the allowInterrupts property to false. I just checked several of my stacks and Rev's "find and replace" window. (Is it a stack? Is that why it's so slow?) allowinterrupts is true. It's true in all my other stacks, also. Most or all of my stacks act as if it is set to false. Meanwhile Rev won't recognize the cantAbort property if I try to get it in the msg box. Not sure why. Life just seems to get complicateder and complicateder. All part of the fun, I guess. Thanks again. I'll be interested to read any comments you might have. Other script ideas for easier finding are welcome, also. Cheers, Tim >Hi Tim, > >>I'm sorry to whine, but I really miss my hyperCard command-F. The >>cursor was positioned in the message box to type my search term, >>between quotation marks, and away I went. Hit the return key for >>the next hit if I don't like the item I just found. Hit the return >>key as many times as I want. >> >>It worked about the same as typing >> >>find "confabulation" >> >>in Rev's message box. I think Rev is somewhat slower, but I can >>live with that. What I don't like is having to type the whole >>darned find command, including the quotation marks. > >Here is a script to do it: > > go to cd "Single Line" of stack "Message Box" > put "find " & quote & quote into fld "Message Field" \ > of cd "Single Line" of stack "Message Box" > put " select char 7 to 6 of fld " & quote & "Message Field" \ > & quote & " of cd " & quote & "Single Line" & quote & " of stack " \ > & quote & "Message Box" & quote into tCmd > send tCmd to me in 2 ticks > >It doesn't set the hilite in the correct button at the top of the >message box & it doesn't set the title, but it gets you to the >single line entry, puts in the find and selects between the quotes. > >The delay in selecting is required because the message box remembers >your last selectedChunk and puts that back, so I have to wait until >that has happened before over-riding it. > >On my web page , you will find a plugin >called "FunKey" that allows you to allocate script snippets to >certain function keys. You may find that if you attach this script >to a function key, you have exactly what you want :-) > >> >>Rev's command-F find window remains much slower than the Find >>command in the message box, even if both searches are restricted to >>the same stack and to field text only. I can't imagine why. I just >>tested it. I searched for "Gloria" in a fairly bulky stack that >>contains a lot of names. Typing find "gloria" in the message box >>found four instances almost instantly. >> >>Then I tried find "gloria" with Rev's command-F "Find and Replace" >>window. I clicked "field text" only, I chose "this stack" only, and >>I checked "obey dontsearch properties." It was at least 1000 times >>slower, maybe 5000 times slower, or more. And, in 2.6.1, it's still >>not possible to abort a search in this window once you start one. >>If you accidentally start the wrong search, you could grow a beard >>before it was done searching. >It is just a script, so it can be stopped by Command-period, or >whatever you usually use to stop a script. > >Cheers, >Sarah > >*************************** >Sarah Reichelt >sarah at troz.net >http://www.troz.net/Rev/ >*************************** > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From jhj at jhj.com Wed Jul 27 23:15:31 2005 From: jhj at jhj.com (Jerry J) Date: Wed, 27 Jul 2005 20:15:31 -0700 Subject: ANN: Updates on MonsieurX In-Reply-To: <20050727211842.E9E78824DC2@mail.runrev.com> References: <20050727211842.E9E78824DC2@mail.runrev.com> Message-ID: <3bd40283830586efa33906730af581c6@jhj.com> Hello, MisterX, Here we go again. NO2 is Nitrogen Dioxide, a major contributor to photochemical smog (like in LA). See: http://www.temis.nl/products/no2.html for example. Nitromethane, as in dragster fuel, is CH3NO2, all one molecule. NO2 as a molecule, without the methane radical, is just smog food. How did I get to be the local chemist? Maybe I lived in LA too long. Cheer to all, Jerry Jensen > From: "MisterX" > Subject: RE: ANN: Updates on MonsieurX > > i know! ;) > > Everyone tought i had dentist anesthaetic laughin gas > when i really had an explosive mix of productivity > boosting tools ;) > > cheeriup! > Xav > >> -----Original Message----- >> Mark Wieder >> Sent: Wednesday, July 27, 2005 19:32 >> >> MisterX- >> >> Tuesday, July 26, 2005, 10:05:23 PM, you wrote: >> >> M> Note: Most of the plugins were renamed from N2O to NO2 The proper >> M> molecule in nitro-methane... not nitrous oxide... >> >> ROTFL. That *does* put things in a whole different light... From jacque at hyperactivesw.com Wed Jul 27 23:34:36 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 22:34:36 -0500 Subject: OS9 engine or player? In-Reply-To: References: Message-ID: <42E8524C.6090907@hyperactivesw.com> Ton Kuypers wrote: > I have a problem dowloading the Mac OS9 engine... > Can anyone supply me this (as soon as possible, I have an installation > within 5 hours...) or tell me where to download the OS9 player... > > Also, where do I put the engine... I've found one (MacOSfat.dir) and > put it into the components/engines folder, but no luck... My boilerplate reply (this comes up a lot): If necessary, you can manually download the various engine files from the Runtime site. The standalone builder cannot use the Mac OS engines without some additional decompression first. The Mac FAT engine is called "MacOSfat.dir.gz". The OS X engine is called "Revolution.app.dir.gz" The engines can be downloaded from: ftp://ftp.runrev.com/pub/revolution/downloads/engines/ As of this writing, the last available OS 9 engine is version 2.5. The ".dir.gz" extension is a special compression technique used to preserve the resource fork. Place the downloaded file on your computer in the same folder as the Revolution application. Then launch Revolution and type into the message box: revDecompress "Revolution.app.dir.gz",defaultfolder This will decompress the Mac OS engine into the default folder and give you a useable engine file. You can then move this file to the "components/engines" directory where you should be able to build the standalone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarahr at genesearch.com.au Wed Jul 27 23:41:10 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Thu, 28 Jul 2005 13:41:10 +1000 Subject: request for script or stack In-Reply-To: References: Message-ID: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> > Regarding the "find and replace" window, I have tried several times > to stop a search with a command-period. It just plain won't stop. > (Clicking on the glowing red close button at the upper left won't > stop it either, even though the little X appears when the mouse is > over it.) > I tested it here (Mac OS X 10.4.2 if that matters) with Rev 2.6 and it worked fine. I had to set it searching a vast number of stacks before I could get to the keys fast enough, but I made it in the end and was able to interrupt it. It then gave me the list of items it had found so far. The "Find" button in the Find & replace window specifically sets the allowInterrupts to false which is weird, especially as the comment above one of the lines setting it to false says " --allow user interruption". You may like to edit this so that you can interrupt it, although as I said, it works for me. Cheers, Sarah From b.xavier at internet.lu Wed Jul 27 23:51:31 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 28 Jul 2005 05:51:31 +0200 Subject: ANN: Updates on MonsieurX In-Reply-To: <3bd40283830586efa33906730af581c6@jhj.com> Message-ID: <20050728034038.F1794824DE3@mail.runrev.com> Jerry well, N2O was not right and CH3NO2 is too long so im doing it like the NOs bottles... But i had to correct it... N2O was just to hard to type each time ;) The goal is to go nitrous, hence faster, not higher or smoggier! ;) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jerry J > Sent: Thursday, July 28, 2005 05:16 > To: use-revolution at lists.runrev.com > Subject: RE: ANN: Updates on MonsieurX > > Hello, MisterX, > > Here we go again. NO2 is Nitrogen Dioxide, a major > contributor to photochemical smog (like in LA). See: > http://www.temis.nl/products/no2.html > for example. > > Nitromethane, as in dragster fuel, is CH3NO2, all one > molecule. NO2 as a molecule, without the methane radical, is > just smog food. > > How did I get to be the local chemist? Maybe I lived in LA too long. > Cheer to all, > Jerry Jensen > > > From: "MisterX" > > Subject: RE: ANN: Updates on MonsieurX > > > > i know! ;) > > > > Everyone tought i had dentist anesthaetic laughin gas when i really > > had an explosive mix of productivity boosting tools ;) > > > > cheeriup! > > Xav > > > >> -----Original Message----- > >> Mark Wieder > >> Sent: Wednesday, July 27, 2005 19:32 > >> > >> MisterX- > >> > >> Tuesday, July 26, 2005, 10:05:23 PM, you wrote: > >> > >> M> Note: Most of the plugins were renamed from N2O to NO2 > The proper > >> M> molecule in nitro-methane... not nitrous oxide... > >> > >> ROTFL. That *does* put things in a whole different light... > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Wed Jul 27 23:51:05 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 22:51:05 -0500 Subject: request for script or stack In-Reply-To: References: Message-ID: <42E85629.7010309@hyperactivesw.com> Timothy Miller wrote: > Sooooo... I'd like to have a script that would start with maybe just a > click on a button or a keystroke. It might give me my choice of find > whole, find word, find string, or something like that. It would position > the cursor in the suitable field, I wouldn't have to type quotation > marks. It would search as fast as the find command typed into Rev's > message box, or in a script. I could hit the return key (or maybe a > button) repeatedly until I found the item I was looking for. AND, the > find function wouldn't get "stuck" on one page if there were multiple > hits on the same page. Not a script, and not exactly what you are looking for, but there's a semi-built-in way to most of it. Type the "find" expression once into the message box. You can use "find whole" or plain "find" or whatever. Then just keep hitting the return key. This won't restrict the find to one per card, but then neither did HyperCard's. This works until a "find" changes cards. When that happens the focus will change to the stack. You'll have to click in the message box again or type Cmd-M to regain focus so you can trigger the next instance. I usually keep my left hand on the Cmd-M keys and hit return with my right. It isn't as handy as HyperCard's, but you don't have to do all that repeat typing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Jul 27 23:59:43 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 22:59:43 -0500 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: <1c2.2d70ba65.30196f9b@aol.com> References: <1c2.2d70ba65.30196f9b@aol.com> Message-ID: <42E8582F.6040106@hyperactivesw.com> Cubist at aol.com wrote: > sez davis.phil at comcast.net: > >>Grasping at straws here, but maybe it'll awaken something in your brain: >>Does the text of field "AA" contain CRs (which define lines), or does it >>just look like multiple lines, 'soft' wrapping and and flowing without >>having any CRs in it? If the latter, that would explain why you can't >>select a chunk in line 2. > > A possibly useful hint: Try setting the firstIndent of the field to 75. > However-many *real* lines of text you have in the field, each of those lines > will magically acquire an inch-or-so of whitespace at its beginning. This is one of those things I wish I'd thought of. Very nice. It never occured to me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Thu Jul 28 00:08:36 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Jul 2005 21:08:36 -0700 Subject: OS9 engine or player? In-Reply-To: <42E8524C.6090907@hyperactivesw.com> References: <42E8524C.6090907@hyperactivesw.com> Message-ID: <42E85A44.5070701@fourthworld.com> If this is common enough to warrant a boilerplate could it be added to the FAQ on RunRev's Support page? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com J. Landman Gay wrote: > My boilerplate reply (this comes up a lot): > > If necessary, you can manually download the various engine files from > the Runtime site. The standalone builder cannot use the Mac OS engines > without some additional decompression first. > > The Mac FAT engine is called "MacOSfat.dir.gz". > The OS X engine is called "Revolution.app.dir.gz" > > The engines can be downloaded from: > > ftp://ftp.runrev.com/pub/revolution/downloads/engines/ > > As of this writing, the last available OS 9 engine is version 2.5. > > The ".dir.gz" extension is a special compression technique used to > preserve the resource fork. Place the downloaded file on your computer > in the same folder as the Revolution application. Then launch Revolution > and type into the message box: > > revDecompress "Revolution.app.dir.gz",defaultfolder > > This will decompress the Mac OS engine into the default folder and give > you a useable engine file. You can then move this file to the > "components/engines" directory where you should be able to build the > standalone. > From 3mcgrath at adelphia.net Thu Jul 28 00:15:56 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 00:15:56 -0400 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: <42E8582F.6040106@hyperactivesw.com> References: <1c2.2d70ba65.30196f9b@aol.com> <42E8582F.6040106@hyperactivesw.com> Message-ID: You could just set the dontWrap of field "AA" to true or select field "AA" and highlight dontWrap in the property inspector. That will show you how many 'real' lines you have. Tom McGrath On Jul 27, 2005, at 11:59 PM, J. Landman Gay wrote: > Cubist at aol.com wrote: >> sez davis.phil at comcast.net: >>> Grasping at straws here, but maybe it'll awaken something in your >>> brain: >>> Does the text of field "AA" contain CRs (which define lines), or >>> does it >>> just look like multiple lines, 'soft' wrapping and and flowing >>> without >>> having any CRs in it? If the latter, that would explain why you >>> can't select a chunk in line 2. >> A possibly useful hint: Try setting the firstIndent of the field >> to 75. However-many *real* lines of text you have in the field, each >> of those lines will magically acquire an inch-or-so of whitespace at >> its beginning. > > This is one of those things I wish I'd thought of. Very nice. It never > occured to me. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Jul 28 00:29:45 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Jul 2005 23:29:45 -0500 Subject: OS9 engine or player? In-Reply-To: <42E85A44.5070701@fourthworld.com> References: <42E8524C.6090907@hyperactivesw.com> <42E85A44.5070701@fourthworld.com> Message-ID: <42E85F39.9040609@hyperactivesw.com> Richard Gaskin wrote: > If this is common enough to warrant a boilerplate could it be added to > the FAQ on RunRev's Support page? > Probably not. It has only started coming up in the support queue since the OS 9 engine became unavailable as of Rev 2.6. As soon as that gets built, I suspect the question will go away again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Jul 28 00:55:38 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 27 Jul 2005 21:55:38 -0700 Subject: Crossword Generator In-Reply-To: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> Message-ID: <3942492420.20050727215538@ahsoftware.net> Mark- Wednesday, July 27, 2005, 3:01:03 PM, you wrote: MS> Has anyone made a crossword generator in Rev? URL? What have you got in mind? My work in progress is up in revonline now in games, but it's most definitely not ready for release (no printing, no docs, etc). It does allow you to generate crosswords, though. If you're looking to something more automatic in the way of look-ahead word generation, I haven't thought out the logic involved, so if anyone wants to fiddle with it, do feel free and let me know what you come up with. -- -Mark Wieder mwieder at ahsoftware.net From alex at tweedly.net Thu Jul 28 04:53:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 28 Jul 2005 09:53:12 +0100 Subject: Mac->Win revisited In-Reply-To: References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> Message-ID: <42E89CF8.2020803@tweedly.net> Thomas McGrath III wrote: > Pardon me chiming in here. > > When using things like players and speech etc. it is our > responsibility to close them ourselves in our code when and if for any > reason our program is to quit. So I would put a piece of script in a > on closeStack that takes care of the player when closing. > Quite right - except that the context here is that the "Player" that Charles was referring to is the Dreamcard Player, which he's using to run the stacks. > This is because players and speech use libraries and/or QT etc. to > work and like a serial port that is opened it must be closed or > problems may occur. This is good coding practice. > > Maybe you can have in each stack an on closeStack that checks if all > three (+-) stacks are closed and 'then' closes the player only if all > are closed. > We do indeed need to do that with audio, video etc. players - but I don't think it's possible for a stack to close the DC Player in a controlled way, and arguably it shouldn't need to. If you double-click a stack icon to run it, when the stack closes 'it' should disappear completely (i.e. taking the player away with it). Otherwise, there's no way to provide a transparent experience for the user - she shouldn't need to know whether the software I've distributed to her is an application in its own right, or uses some player mechanism to run. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 22/07/2005 From bill at igame3d.com Thu Jul 28 05:55:30 2005 From: bill at igame3d.com (William Griffin) Date: Thu, 28 Jul 2005 05:55:30 -0400 Subject: iGame3D 3D Games in Rev, etc In-Reply-To: <20050728022142.D24D8824E07@mail.runrev.com> References: <20050728022142.D24D8824E07@mail.runrev.com> Message-ID: <8c9209be44cda6e39f41f8062e6c3e6e@igame3d.com> I've come out of my cave to ponder the meaning of life. You can see my sermon with pictures of what life is for me at iDevgames.com http://www.idevgames.com/forum/showthread.php?p=93440#post93440 There you will also find for your Mac OS X 10.3-ish computer running above 400 Mhz with a G4 or more, a download of iGame3D as it stands to date, minus some limbs, or tentacles. With important install procedure. The engine has been tested in Windows, on Monday, but i don't have a build of that, and testing was only to the extent as possible with all the current UI bugs. iGame3D won first place prizes in uDevGames 2004 followed by the 21 Days Later:Accelerator contest in February, so even our limping stitched together Frankenstein has taken home more than one trophy in the minor leagues of game making. Root for the home team! Time for this project is severally mutilated yes thats the right word, to graphically illustrate imagine a clock attached to a squirrel trying to cross a busy highway trucking lane. Maybe i should demonstrate in iGame3D...or maybe not. We could use some help with this project, else it could be another year of user interface and engine revolutions before there is even another beta. I think what we could use right now is someone to help finish the documentation and publish the external, as is, before it mutates further. Will the software publisher please stand up. In the event some university power wielders happen to be in the audience, I'd like to mention that Tobi and I could use scholarships from any schools that need an in house 3D rev solution with unlimited licenses for life. At the least we can use some feedback, we've been underground long enough. Well thats the state of 3D and Revolution from my side of the cannon walls. William Griffin Team iGame3D From FlexibleLearning at aol.com Thu Jul 28 07:32:26 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 28 Jul 2005 07:32:26 EDT Subject: [ANN] Scripter's Scrapbook 5.02 upgrade Message-ID: <194.43ae4625.301a1c4a@aol.com> The Scripter's Scrapbook v5.02 upgrade The Scripter's Scrapbook has been upgraded to version 5.02. There are a few 'under the hood' improvements, but the main reason for the release is to incorporate changes made to ssBkChat. - Existing Users should update from the Help menu. The update will be located in a 'new version' folder for you. (Version 5 Users will find that all their existing Entries, settings, preferences and personal plugins will be automatically transfered for them.) - New Users can obtain their start-up kit Scripter's Scrapbook from the address below and, on launch, check for upgrades. As already announced, the new ssBkChat v1.02 will now work independently of the Scrapbook as a Revolution plugIn. If you are already using ssBk with Revolution, you get choices! Put an extra copy of the new ssBkChat in the revolution plugIns folder and you get access to the free service from within both programs. ssBkChat is a great place for developers to solve problems in real time (just bring the beer!). TIP: You can click to shrink the window down to a postage stamp (like the 'suspend development tools' option in Rev) and move it out of the way with a running count of missed messages. /H The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm From jbondy at sover.net Thu Jul 28 08:18:04 2005 From: jbondy at sover.net (Jon) Date: Thu, 28 Jul 2005 08:18:04 -0400 Subject: Mac->Win revisited In-Reply-To: References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> Message-ID: <42E8CCFC.1020201@sover.net> Perhaps we should have a feature request that always does this automatically for everyone? All of this kind of stuff is taken care of automatically in the other IDEs I use... :) Jon Thomas McGrath III wrote: > Pardon me chiming in here. > > When using things like players and speech etc. it is our > responsibility to close them ourselves in our code when and if for any > reason our program is to quit. So I would put a piece of script in a > on closeStack that takes care of the player when closing. > > This is because players and speech use libraries and/or QT etc. to > work and like a serial port that is opened it must be closed or > problems may occur. This is good coding practice. > > Maybe you can have in each stack an on closeStack that checks if all > three (+-) stacks are closed and 'then' closes the player only if all > are closed. > > HTH > > Thanks > > Tom > > On Jul 27, 2005, at 6:23 PM, Charles Hartman wrote: > >> >> On Jul 27, 2005, at 4:50 PM, Alex Tweedly wrote: >> >>> Yes it does work, exactly as I and other Windows users would expect >>> it to work. It closes the app (or window) in whose title bar you >>> are at the time (or which has focus when you do Alt-F4). That's what >>> Windows *always* does. >> >> >> Yes, I understand that. The problem is that after you close all (up >> to) three stacks in my app, you think you've quit the Player; but you >> haven't. >> >> I've tried out the Quit (with just an OK or Cancel), and it seems to >> work. If this thing gets more elaborate, and there's data to save, >> I'll move carefully. >> >> Thanks again. >> >> Charles >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev > 2.6 > > > Advanced Media Group > Eagle Works Art & Sculpture > Semantic Compaction Systems > Prentke Romich Company > Prentke Romich International > SCIconics, LLC > Artist > Thomas J McGrath III > 3mcgrath at adelphia.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From charles.hartman at conncoll.edu Thu Jul 28 08:39:17 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Thu, 28 Jul 2005 08:39:17 -0400 Subject: Mac->Win revisited In-Reply-To: <42E89CF8.2020803@tweedly.net> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> <42E89CF8.2020803@tweedly.net> Message-ID: <6E5B6ED7-B30E-49FC-8DCF-A73EE9B3F9EB@conncoll.edu> On Jul 28, 2005, at 4:53 AM, Alex Tweedly wrote: > Thomas McGrath III wrote: > > >> Pardon me chiming in here. >> >> When using things like players and speech etc. it is our >> responsibility to close them ourselves in our code when and if for >> any reason our program is to quit. So I would put a piece of >> script in a on closeStack that takes care of the player when closing. >> >> > Quite right - except that the context here is that the "Player" > that Charles was referring to is the Dreamcard Player, which he's > using to run the stacks. > > >> This is because players and speech use libraries and/or QT etc. to >> work and like a serial port that is opened it must be closed or >> problems may occur. This is good coding practice. >> >> Maybe you can have in each stack an on closeStack that checks if >> all three (+-) stacks are closed and 'then' closes the player only >> if all are closed. >> >> > We do indeed need to do that with audio, video etc. players - but I > don't think it's possible for a stack to close the DC Player in a > controlled way, and arguably it shouldn't need to. > > If you double-click a stack icon to run it, when the stack closes > 'it' should disappear completely (i.e. taking the player away with > it). Otherwise, there's no way to provide a transparent experience > for the user - she shouldn't need to know whether the software I've > distributed to her is an application in its own right, or uses some > player mechanism to run. Thanks to both. It's true that I forgot the possibility that my user will close stack-windows _without_ pressing my nice new Quit button. I should trap onClose messages in some logical order which will depend on the design of my app. Charles From jspencer78 at mac.com Thu Jul 28 08:37:51 2005 From: jspencer78 at mac.com (James Spencer) Date: Thu, 28 Jul 2005 07:37:51 -0500 Subject: [ANN] Scripter's Scrapbook 5.02 upgrade In-Reply-To: <194.43ae4625.301a1c4a@aol.com> References: <194.43ae4625.301a1c4a@aol.com> Message-ID: <901C3D08-9845-4C91-A53F-9703A24B130E@mac.com> On Jul 28, 2005, at 6:32 AM, FlexibleLearning at aol.com wrote: > - Existing Users should update from the Help menu. The update will be > located in a 'new version' folder for you. (Version 5 Users will > find that all > their existing Entries, settings, preferences and personal plugins > will be > automatically transfered for them.) Except it reports no new version from 5.01 so doesn't do the download. James P. Spencer Rochester, MN jspencer78 at charter.net "Badges?? We don't need no stinkin badges!" From tkuypers at pandora.be Thu Jul 28 08:58:41 2005 From: tkuypers at pandora.be (Ton Kuypers) Date: Thu, 28 Jul 2005 14:58:41 +0200 Subject: Urgent (desperate) cry for help... Message-ID: I know I'm doing something wrong, there has to be a better way, but I just can't figure out what I'm doing wrong... Situation: - mySQL 4.1 running on a windows server - RR 2.6 OSX & Windows XP - Clients need to be Mac OS9, Mac OS-X and Windows XP I started development on the OS-X. Data in a field on a card needs to be stored in the database. No problem there for regular text, but when entering text with special chars in, it's a no-go... The word "Co?rdinator" appears in the database as "Co". In a clever moment (at least that's what I thought), very early in the project, I implemented the URLencode and URLdecode functions to get rid of this pesky little problem. Then D-Day arrived: We had to install at the client the first beat- version of the program, to start testing. First the OS-X Macs: Works like a charm. Then the Windows machines... No way of getting the data in the correct way out of the database! URLencode("Co?rdinator") on OSX stores "Co%9Ardinator" in the database URLencode("Co?rdinator") on Windows stores "Co%F6rdinator" in the database URLdecode of the Mac-encoded data on the PC obviously returns the wrong data :-(( The tables in mySQL are set to accept UTF-8, when I enter the text manually there is no problem with special chars, so it is RR needing something special. Anyone, HELP, PLEASE!!!! - Waht is the best way to communicate with mySQL? - Why is the URLencode different on both platforms WITHOUT ANY NOTIFICATION IN THE MANUAL? - And of course: What is the proper way to enter and retrieve data in and out a mySQL? The URLencode/decode stuff shocked me, the main problem must be something stupid... Many thanks in advance, Ton Kuypers Digital Media Partners bvba Tel. +32 (0)477 / 739 530 Fax +32 (0)14 / 71 03 04 http://www.dmp-int.com From xbury.cs at clearstream.com Thu Jul 28 09:07:05 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Thu, 28 Jul 2005 15:07:05 +0200 Subject: Urgent (desperate) cry for help... In-Reply-To: Message-ID: according to my version here in Win2003 (like XP), i also get URLencode("Co?rdinator")=Co%F6rdinator so i would assume the problem to be with the urlencode function or the way windows and mac differ on that kind of translation... Oh yes... macs and pcs dont encode ? as the same ASCII so it must be perfectly normal.... sorry for the bad news... ---------------------=--------------------- Xavier Bury use-revolution-bounces at lists.runrev.com wrote on 28/07/2005 14:58:41: > I know I'm doing something wrong, there has to be a better way, but I > just can't figure out what I'm doing wrong... > > Situation: > - mySQL 4.1 running on a windows server > - RR 2.6 OSX & Windows XP > - Clients need to be Mac OS9, Mac OS-X and Windows XP > > I started development on the OS-X. Data in a field on a card needs to > be stored in the database. > No problem there for regular text, but when entering text with > special chars in, it's a no-go... The word "Co?rdinator" appears in > the database as "Co". > > In a clever moment (at least that's what I thought), very early in > the project, I implemented the URLencode and URLdecode functions to > get rid of this pesky little problem. > > Then D-Day arrived: We had to install at the client the first beat- > version of the program, to start testing. > > First the OS-X Macs: Works like a charm. > Then the Windows machines... No way of getting the data in the > correct way out of the database! > > URLencode("Co?rdinator") on OSX stores "Co%9Ardinator" in the database > URLencode("Co?rdinator") on Windows stores "Co%F6rdinator" in the > database > URLdecode of the Mac-encoded data on the PC obviously returns the > wrong data :-(( > > The tables in mySQL are set to accept UTF-8, when I enter the text > manually there is no problem with special chars, so it is RR needing > something special. > > Anyone, HELP, PLEASE!!!! > > - Waht is the best way to communicate with mySQL? > - Why is the URLencode different on both platforms WITHOUT ANY > NOTIFICATION IN THE MANUAL? > - And of course: What is the proper way to enter and retrieve data in > and out a mySQL? > > The URLencode/decode stuff shocked me, the main problem must be > something stupid... > > Many thanks in advance, > > > Ton Kuypers > Digital Media Partners bvba > Tel. +32 (0)477 / 739 530 > Fax +32 (0)14 / 71 03 04 > http://www.dmp-int.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Thu Jul 28 09:14:19 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 15:14:19 +0200 Subject: Urgent (desperate) cry for help... In-Reply-To: References: Message-ID: <56D75592-E004-486C-AD20-4E2D2A886C54@sosmartsoftware.com> Hi Ton, Your problem seems to come from the fact you entered the data on a Mac and then it works correctly on a Mac :-) When you go to Windows you have to translate ASCII values: if the platform = "Win32" then put MacToIso(tData) into tData Hope this helps. Best Regards from Paris, Eric Chatonet. Le 28 juil. 05 ? 14:58, Ton Kuypers a ?crit : > I know I'm doing something wrong, there has to be a better way, but > I just can't figure out what I'm doing wrong... > > Situation: > - mySQL 4.1 running on a windows server > - RR 2.6 OSX & Windows XP > - Clients need to be Mac OS9, Mac OS-X and Windows XP > > I started development on the OS-X. Data in a field on a card needs > to be stored in the database. > No problem there for regular text, but when entering text with > special chars in, it's a no-go... The word "Co?rdinator" appears in > the database as "Co". > > In a clever moment (at least that's what I thought), very early in > the project, I implemented the URLencode and URLdecode functions to > get rid of this pesky little problem. > > Then D-Day arrived: We had to install at the client the first beat- > version of the program, to start testing. > > First the OS-X Macs: Works like a charm. > Then the Windows machines... No way of getting the data in the > correct way out of the database! > > URLencode("Co?rdinator") on OSX stores "Co%9Ardinator" in the database > URLencode("Co?rdinator") on Windows stores "Co%F6rdinator" in the > database > URLdecode of the Mac-encoded data on the PC obviously returns the > wrong data :-(( > > The tables in mySQL are set to accept UTF-8, when I enter the text > manually there is no problem with special chars, so it is RR > needing something special. > > Anyone, HELP, PLEASE!!!! > > - Waht is the best way to communicate with mySQL? > - Why is the URLencode different on both platforms WITHOUT ANY > NOTIFICATION IN THE MANUAL? > - And of course: What is the proper way to enter and retrieve data > in and out a mySQL? > > The URLencode/decode stuff shocked me, the main problem must be > something stupid... > > Many thanks in advance, > > > Ton Kuypers > Digital Media Partners bvba > Tel. +32 (0)477 / 739 530 > Fax +32 (0)14 / 71 03 04 > http://www.dmp-int.com > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Thu Jul 28 09:30:44 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 09:30:44 -0400 Subject: Mac->Win revisited In-Reply-To: <42E89CF8.2020803@tweedly.net> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> <42E89CF8.2020803@tweedly.net> Message-ID: <9bb9123c0d94509c172fc084e7e076f0@adelphia.net> Alex, Now that's confusing. ;-) I always think of "Player" when I see "Player" and not "Player" as in Dreamcard "Player". I will now have to pay a bit more attention to "Player" on the list. Thanks, Tom On Jul 28, 2005, at 4:53 AM, Alex Tweedly wrote: > Quite right - except that the context here is that the "Player" that > Charles was referring to is the Dreamcard Player, which he's using to > run the stacks. From bnz2 at cdc.gov Thu Jul 28 09:43:00 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Jul 2005 09:43:00 -0400 Subject: Justify text in a field Message-ID: <64878EF567131D4596246171F75FD4A9744608@m-epo-1.epo.cdc.gov> >Do you mean the formattedrect of a single line? Certainly - You can do formattedrect for any chunk of a field, be it lines, characters, words, etc... >if i remember well, Colin inserted spaces between >words, and set the styles of words to extended and >condensed, but i could not find his code now. :-( This sounds like it would be designed not for centering, but for having the line spread out evenly from right to left (I forget what that is called). Is that what you need? The calculations would be a bit more complex, but still quite doable. >In scrolling fields this could take a while. >Did you had some timings available for this >technique? In this way i could know beforehand if >it is user's friendly. Ah - you are not just talking about centering a single line, you are talking about having all lines spread out evenly. The would get a bit tricky. Once you did this, you would not really be able to properly type in that field, without it doing weird stuff. >This idea is fine and very precise, >but what will happen if you had to >copy and paste this text elsewhere. If you pasted it into another field in Rev, with the same settings and dimensions, it should work fine. However, pasted somewhere else that was not in Rev, or in a Rev field with different settings, it would be a mess. >You'll be carrying a lot of empty space >with the copied text, unless you perform >some cleaning up in copied text. :-( I think perhaps I was confused by what you mean by the word 'Justify' - I think of that as a word to go with left, right, and center justification. I just looked it up, and the evenly spread out type is called 'double justification'. In html, you would do something like:
blah blah blah
to give it double justification. I think, for what it sounds like you are doing, you really need something like that. Unfortunately, Rev doesn't give that option - yet. As long as a field is wide enough, and a given screen line contains enough words, manipulating expanded and condensed characters should make this possible - sounds kind of difficult to me. ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From subzero569 at gmail.com Thu Jul 28 09:58:36 2005 From: subzero569 at gmail.com (subzero569) Date: Thu, 28 Jul 2005 09:58:36 -0400 Subject: Updating Title Bar Message-ID: <8f8651c105072806586974edeb@mail.gmail.com> I have a program in rev that uses an external txt file for importing some data to the program. Is there a way to dynamically update the title bar version number of my program without going into the title property of the inspector? Basically, I would like to include a revision number in the text file and have this read into the title bar without having to recompile the build everytime I have to just update the txt file. Also, what happened to the google search for the archives? It is very frustrating not being able to search the archives. TIA, Josh -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From b.xavier at internet.lu Thu Jul 28 10:02:31 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 28 Jul 2005 16:02:31 +0200 Subject: Justify text in a field - THE SOLUTION!!! In-Reply-To: <64878EF567131D4596246171F75FD4A9744608@m-epo-1.epo.cdc.gov> Message-ID: <20050728135132.1CCF4824E8A@mail.runrev.com> Actually IT IS POSSIBLE!!! Jonathan flipped my mind switch back in gear ;) Give a field's width w and the formattedwidth of the text in line l... you might have to add each word's formattedwith (and get pissed off at the definition of a word in rev) - then divide the difference by the number of words in the line and then insert "tiny" spaces in between the words... This should do the trick... By tiny spaces, i mean that they have to be small enough to fit the line without over flowing it. so reducing their size should help... you can't simulate kerning or letter width scaling but you can simulate variable word spacing... hope that helps... Xavier http://monsieurx.com > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Lynch, Jonathan > Sent: Thursday, July 28, 2005 15:43 > To: How to use Revolution > Subject: RE: Justify text in a field > > > >Do you mean the formattedrect of a single line? > > > Certainly - You can do formattedrect for any chunk of a > field, be it lines, characters, words, etc... > > >if i remember well, Colin inserted spaces between words, and set the > >styles of words to extended and condensed, but i could not find his > >code now. :-( > > This sounds like it would be designed not for centering, but > for having the line spread out evenly from right to left (I > forget what that is called). Is that what you need? The > calculations would be a bit more complex, but still quite doable. > > >In scrolling fields this could take a while. > >Did you had some timings available for this technique? In this way i > >could know beforehand if it is user's friendly. > > Ah - you are not just talking about centering a single line, > you are talking about having all lines spread out evenly. The > would get a bit tricky. Once you did this, you would not > really be able to properly type in that field, without it > doing weird stuff. > > >This idea is fine and very precise, > >but what will happen if you had to > >copy and paste this text elsewhere. > > If you pasted it into another field in Rev, with the same > settings and dimensions, it should work fine. However, pasted > somewhere else that was not in Rev, or in a Rev field with > different settings, it would be a mess. > > >You'll be carrying a lot of empty space with the copied text, unless > >you perform some cleaning up in copied text. :-( > > I think perhaps I was confused by what you mean by the word > 'Justify' - I think of that as a word to go with left, right, > and center justification. I just looked it up, and the evenly > spread out type is called 'double justification'. In html, > you would do something like: >
blah blah blah
to give it double > justification. > > I think, for what it sounds like you are doing, you really > need something like that. Unfortunately, Rev doesn't give > that option - yet. > > As long as a field is wide enough, and a given screen line > contains enough words, manipulating expanded and condensed > characters should make this possible - sounds kind of difficult to me. > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Thu Jul 28 10:05:50 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 16:05:50 +0200 Subject: Updating Title Bar In-Reply-To: <8f8651c105072806586974edeb@mail.gmail.com> References: <8f8651c105072806586974edeb@mail.gmail.com> Message-ID: <563E04BC-0A5F-46BE-9578-4AB5ED9580FE@sosmartsoftware.com> Hello Josh, Just set the label of stack to As for Google search, it works fine here. You might be interested by Resources Picker, a free plugin that searches the mail archives with 3 engines and does a lot of other work too. (Available on my website - address below) Best Regards from Paris, Eric Chatonet. Le 28 juil. 05 ? 15:58, subzero569 a ?crit : > I have a program in rev that uses an external txt file for importing > some data to the program. Is there a way to dynamically update the > title bar version number of my program without going into the title > property of the inspector? > > Basically, I would like to include a revision number in the text file > and have this read into the title bar without having to recompile the > build everytime I have to just update the txt file. > > Also, what happened to the google search for the archives? It is very > frustrating not being able to search the archives. > > TIA, > > Josh ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From b.xavier at internet.lu Thu Jul 28 10:07:44 2005 From: b.xavier at internet.lu (MisterX) Date: Thu, 28 Jul 2005 16:07:44 +0200 Subject: Updating Title Bar In-Reply-To: <8f8651c105072806586974edeb@mail.gmail.com> Message-ID: <20050728135646.287D2824ED2@mail.runrev.com> Josh try this: set the title of this stack to "my new name" cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > subzero569 > Sent: Thursday, July 28, 2005 15:59 > To: use-revolution at lists.runrev.com > Subject: Updating Title Bar > > I have a program in rev that uses an external txt file for > importing some data to the program. Is there a way to > dynamically update the title bar version number of my program > without going into the title property of the inspector? > > Basically, I would like to include a revision number in the > text file and have this read into the title bar without > having to recompile the build everytime I have to just update > the txt file. > > Also, what happened to the google search for the archives? > It is very frustrating not being able to search the archives. > > TIA, > > Josh > -- > Inch by inch, life is a cinch. > Yard by yard, life is very hard. > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sunshine at public.kherson.ua Thu Jul 28 10:07:09 2005 From: sunshine at public.kherson.ua (Ruslan Zasukhin) Date: Thu, 28 Jul 2005 17:07:09 +0300 Subject: Urgent (desperate) cry for help... In-Reply-To: Message-ID: On 7/28/05 4:07 PM, "xbury.cs at clearstream.com" wrote: Hi guys, > according to my version here in Win2003 (like XP), i also get > URLencode("Co?rdinator")=Co%F6rdinator > > so i would assume the problem to be with the urlencode function or the way > windows and mac differ on that kind of translation... > > Oh yes... macs and pcs dont encode ? as the same ASCII so it must be > perfectly normal.... > > sorry for the bad news... Well, this will not be helpful to Ton, but for info of others: Valentina Database do correct auto-conversion of Unicode text between platforms in this case. You can self setup Valentina for Revolution what you want to do: you set/get UT8 string Or you get/set e.g. Macintosh encoding on MAC you get/set e.g. Latin1 encoding on Windows Also you can specify any from 200+ encodings of the world. Valentina self convert that into UTF16 and store on disk in db files. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From devin_asay at byu.edu Thu Jul 28 10:13:12 2005 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 28 Jul 2005 08:13:12 -0600 Subject: Updating Title Bar In-Reply-To: <8f8651c105072806586974edeb@mail.gmail.com> References: <8f8651c105072806586974edeb@mail.gmail.com> Message-ID: <655BDCE5-2778-427A-A73E-AFCC4E81BAE8@byu.edu> On Jul 28, 2005, at 7:58 AM, subzero569 wrote: > I have a program in rev that uses an external txt file for importing > some data to the program. Is there a way to dynamically update the > title bar version number of my program without going into the title > property of the inspector? > > Basically, I would like to include a revision number in the text file > and have this read into the title bar without having to recompile the > build everytime I have to just update the txt file. Josh, Try setting the label of the stack: set the label of stack "myStack" to the label of stack "myStack" && "Version 2.0" > > Also, what happened to the google search for the archives? It is very > frustrating not being able to search the archives. Works for me here. Are you using Richard Gaskin's 4W_Rev_List_Search.rev stack? Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Thu Jul 28 10:19:27 2005 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 28 Jul 2005 08:19:27 -0600 Subject: Newbie ? Answered In-Reply-To: References: <66.5bafada5.3018cfd1@aol.com> Message-ID: <7A02B84D-115C-4EDF-9DE5-3190E82D4947@byu.edu> On Jul 27, 2005, at 6:47 PM, Kay C Lan wrote: > On 7/27/05, Hamburger1 at aol.com wrote: > >> I know I have to and enthusiastically want to finally wean myself >> from >> HyperCard. I expect that will happen by the end of the year. >> > One warning though, Rev is NOT as stable as HC, and understandably so. The instability is in the Development environment. The runtime engine has been rock solid for me. That is, once the project is saved as a stanalone, it is very stable. > Rev has so many more features and has to cope with cross platform > compatibility. Even so, its frequent crashes (2.6 is so much better > than 2.2) can become annoying unless you are prepared. In fairness, crashes have almost disappeared since 2.5 came out. I can't remember my last one. I do still occasionally encounter an unrecoverable hangup in the IDE, so Kay's advice about frequent backups is sound. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From FlexibleLearning at aol.com Thu Jul 28 10:28:58 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 28 Jul 2005 10:28:58 EDT Subject: [ANN] Scripter's Scrapbook 5.02 upgrade Message-ID: <12c.62aa5de6.301a45aa@aol.com> The v5.02 update should now work as expected. /H From 3mcgrath at adelphia.net Thu Jul 28 10:42:30 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 10:42:30 -0400 Subject: Newbie ? Answered In-Reply-To: <7A02B84D-115C-4EDF-9DE5-3190E82D4947@byu.edu> References: <66.5bafada5.3018cfd1@aol.com> <7A02B84D-115C-4EDF-9DE5-3190E82D4947@byu.edu> Message-ID: <09b55d69f3f2cab0e14c07f92541a0aa@adelphia.net> I would agree, backing up on a regular basis while working on a project is just good practice. When I am doing a Powerpoint or Photoshop project I back up every few minutes. I do the same in Revolution. To not do this just invites the loss. I have not experienced any crashes in REV in a looooong time. (knock on wood) Tom On Jul 28, 2005, at 10:19 AM, Devin Asay wrote: > In fairness, crashes have almost disappeared since 2.5 came out. I > can't remember my last one. I do still occasionally encounter an > unrecoverable hangup in the IDE, so Kay's advice about frequent > backups is sound. > > Regards, > Devin > > > From ridge11103 at btinternet.com Thu Jul 28 10:45:34 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Thu, 28 Jul 2005 15:45:34 +0100 Subject: revDocWiki In-Reply-To: References: <42E6A8C1.3070800@chipp.com> <42E6B7EE.7090509@fourthworld.com> Message-ID: <57F39361-61EC-4E42-8AB1-6FD857E6B746@btinternet.com> Wow! That sounds very exciting. Is this really feasible? On 28 Jul 2005, at 00:15, Jerry Daniels wrote: > If it will help the revDocWiki project, i can get the docs parsing > code to whomever needs it. If we need it hooked up to a script > editor (as mentioned above) perhaps we have an extension to > Transcript Gadget? > Best wishes John ridge11103 at btinternet.com From gandalf at doctorTimothyMiller.com Thu Jul 28 11:08:10 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 28 Jul 2005 08:08:10 -0700 Subject: request for script or stack In-Reply-To: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> References: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> Message-ID: >>Regarding the "find and replace" window, I have tried several times >>to stop a search with a command-period. It just plain won't stop. >>(Clicking on the glowing red close button at the upper left won't >>stop it either, even though the little X appears when the mouse is >>over it.) >> > >I tested it here (Mac OS X 10.4.2 if that matters) with Rev 2.6 and >it worked fine. I had to set it searching a vast number of stacks >before I could get to the keys fast enough, but I made it in the end >and was able to interrupt it. It then gave me the list of items it >had found so far. > >The "Find" button in the Find & replace window specifically sets the >allowInterrupts to false which is weird, especially as the comment >above one of the lines setting it to false says " --allow user >interruption". > >You may like to edit this so that you can interrupt it, although as >I said, it works for me. > >Cheers, >Sarah Hi Sarah, Your find script works really well! It doesn't cycle through the same page when there's more than one hit on the same page. That's great! Scrolling fields will scroll to show the hit. Scrolling fields containing multiple hits will scroll to show multiple hits, if necessary. This is almost perfect! It seems like this ought to be native to Rev. It's silly that it has to be scripted. Is that an enhancement request that's already been submitted? I don't quite understand how your script works yet -- I'm kind of slow at that -- but I'll study it and figure it out. If I could wish for one enhancement, the script would scroll a scrolling background so I could see the hit if it were otherwise scrolled out of sight. I'm not asking you to script that for me. Is it scriptable? If so, could you drop me a hint? Regarding the find and replace window, it sounds like yours works a zillion times faster than mine. Any ideas about why that could be? My computer isn't a screamer. It's a 466 mhz G4. But I doubt that's the main issue. On a much faster Macintosh, it would still be quite slow, seems to me. We've been over this once before, regarding the Find and Replace window, on the list. Can anyone see through the fog of perplexity on this issue? I tried command-period on the find-and-replace window again. I tried setting the allowinterrupts to true in the msg box first. I discovered that Find-and-Replace stops searching ten to fifteen seconds after I enter command-period. I don't know whether I just didn't notice this before, or if setting the allowinterrupts to true in the msg box made the difference. Time will tell. Ten to fifteen seconds is slow, but acceptable. It still seems like the Find-and-Replace feature works a lot faster for other users than it does for me. Maybe the speed of my machine *is* the bottleneck. Hard to say. I have 768 MB of physical RAM. Seems like that ought to be enough. Maybe not. Maybe I misunderstood. Is Find-and-Replace is a stack? If so, I couldn't figure out how to get under the hood. I'd like to try setting the allowinterrupts to true. I couldn't access the stack script, the "Find" button script or anything. I couldn't get it to come up in the inspector. What's the trick? Finally, has the cantabort property been abandoned in favor of the allowinterrupts property? Seems like they do about the same thing. The cantabort still resides in the 2.6.1 docs, but Rev doesn't seem to recognize that property. Cheers, Tim From jbv.silences at Club-Internet.fr Thu Jul 28 11:17:19 2005 From: jbv.silences at Club-Internet.fr (jbv) Date: Thu, 28 Jul 2005 17:17:19 +0200 Subject: OT : problem using CSS under Safari Message-ID: <42E8F6FE.57BB64B4@Club-Internet.fr> Hi all, This an OT question, so please reply off-list... I am facing a problem using CSS under Safari, and especially with line-height : whatever value I set for line-height doesn't change anything and the distance between 2 lines of text remains twice higher than in any other browser, especially on MacOSX. I tried to download the css text file used by Apple on their website (their webpages look identical on any browser), but their settings of css is rather cryptic... OTOH a google search didn't bring much information... If anyone has any clue / experience on this topic, please let me know... Thanks in advance, JB From mdswindell at charter.net Thu Jul 28 11:15:19 2005 From: mdswindell at charter.net (Mark Swindell) Date: Thu, 28 Jul 2005 08:15:19 -0700 Subject: Crossword Generator In-Reply-To: <3942492420.20050727215538@ahsoftware.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> Message-ID: <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> I was just wondering if anyone here had created such a beast. It seems like a product Rev might be good for. I'm looking to purchase one, actually, to use in the classroom, as well as to integrate into a curriculum package that will be an adjunct to a Rev product I'm working on. For educational needs it needn't be a NY Times type thing. Just a well-thought, professional generator where the user types in the clues and words and the puzzlemaker creates a puzzle. It should have font and size capabilities, as well as background images/patterns/colors. After generation, each element should be resizable and movable so the user can set up a nice-looking custom page for printout. (Basically five elements: down clues, across clues, answers, bg image/rect, and puzzle itself). Printing is a must, export to PDF, jpg, other options. Mark On Jul 27, 2005, at 9:55 PM, Mark Wieder wrote: > Mark- > > Wednesday, July 27, 2005, 3:01:03 PM, you wrote: > > MS> Has anyone made a crossword generator in Rev? URL? > > What have you got in mind? My work in progress is up in revonline now > in games, but it's most definitely not ready for release (no printing, > no docs, etc). It does allow you to generate crosswords, though. > > If you're looking to something more automatic in the way of look-ahead > word generation, I haven't thought out the logic involved, so if > anyone wants to fiddle with it, do feel free and let me know what you > come up with. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From webmaster at dreamscapesoftware.com Thu Jul 28 11:16:56 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 28 Jul 2005 10:16:56 -0500 Subject: Updating Title Bar In-Reply-To: <8f8651c105072806586974edeb@mail.gmail.com> References: <8f8651c105072806586974edeb@mail.gmail.com> Message-ID: <42E8F6E8.9060307@dreamscapesoftware.com> subzero569 wrote: > I have a program in rev that uses an external txt file for importing > some data to the program. Is there a way to dynamically update the > title bar version number of my program without going into the title > property of the inspector? I'm thinking instead of revOnline launching at startup that the Documentation should launch instead. > Also, what happened to the google search for the archives? It is very > frustrating not being able to search the archives. Go to google's web site, type in the search term, then type a space and the following... site:http://lists.runrev.com/pipermail/use-revolution/ Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From bnz2 at cdc.gov Thu Jul 28 11:17:30 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Jul 2005 11:17:30 -0400 Subject: Newbie ? Answered Message-ID: <64878EF567131D4596246171F75FD4A9968115@m-epo-1.epo.cdc.gov> I find that resizestack handlers with bugs in them are very prone to crashing the IDE - rev 2.5 -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Thursday, July 28, 2005 10:43 AM To: How to use Revolution Subject: Re: Newbie ? Answered I would agree, backing up on a regular basis while working on a project is just good practice. When I am doing a Powerpoint or Photoshop project I back up every few minutes. I do the same in Revolution. To not do this just invites the loss. I have not experienced any crashes in REV in a looooong time. (knock on wood) Tom On Jul 28, 2005, at 10:19 AM, Devin Asay wrote: > In fairness, crashes have almost disappeared since 2.5 came out. I > can't remember my last one. I do still occasionally encounter an > unrecoverable hangup in the IDE, so Kay's advice about frequent > backups is sound. > > Regards, > Devin > > > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From lists at mangomultimedia.com Thu Jul 28 11:29:10 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 28 Jul 2005 08:29:10 -0700 Subject: Urgent (desperate) cry for help... In-Reply-To: References: Message-ID: <85BEF2BB-0534-4AD4-AF22-1EE0E6C09248@mangomultimedia.com> On Jul 28, 2005, at 5:58 AM, Ton Kuypers wrote: > I know I'm doing something wrong, there has to be a better way, but > I just can't figure out what I'm doing wrong... > > Situation: > - mySQL 4.1 running on a windows server > - RR 2.6 OSX & Windows XP > - Clients need to be Mac OS9, Mac OS-X and Windows XP When working with most databases and using ASCII you need to decide beforehand if you are going to store using the Mac or Windows character encoding. I usually store as ISO (windows) and whenever the code is running on the Mac I run all strings through ISOToMac() when reading data and macToISO when inserting data. This way your characters that have ASCII values greater than 127 will look right on both platforms. If you need unicode support then you can just encode/decode the unicodeText of a fld to/from UTF16. When inserting into the database you would use uniDecode(unicodeText of fld "MyFld", "UTF8") --> CONVERTS FROM UTF16 TO UTF8 and when getting data from the database you would use set the unicodeText of fld "MyFld" to uniEncode(myDatabaseValue, "UTF8") --> CONVERTS FROM UTF8 TO UTF16 -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From 3mcgrath at adelphia.net Thu Jul 28 11:33:26 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 11:33:26 -0400 Subject: Newbie ? Answered In-Reply-To: <64878EF567131D4596246171F75FD4A9968115@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9968115@m-epo-1.epo.cdc.gov> Message-ID: <516117253bcb55454cd883691790ef7a@adelphia.net> Jon, I am sorry, I don't experience bugs in the resizeStack handlers. Maybe you should upgrade to 2.6. Tom On Jul 28, 2005, at 11:17 AM, Lynch, Jonathan wrote: > I find that resizestack handlers with bugs in them are very prone to > crashing the IDE - rev 2.5 > > On Behalf Of Thomas > McGrath III > Sent: Thursday, July 28, 2005 10:43 AM > To: How to use Revolution > Subject: Re: Newbie ? Answered > > I would agree, backing up on a regular basis while working on a project > is just good practice. When I am doing a Powerpoint or Photoshop > project I back up every few minutes. I do the same in Revolution. To > not do this just invites the loss. > > I have not experienced any crashes in REV in a looooong time. (knock on > wood) > > Tom > > > On Jul 28, 2005, at 10:19 AM, Devin Asay wrote: > >> In fairness, crashes have almost disappeared since 2.5 came out. I >> can't remember my last one. I do still occasionally encounter an >> unrecoverable hangup in the IDE, so Kay's advice about frequent >> backups is sound. >> >> Regards, >> Devin >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From bnz2 at cdc.gov Thu Jul 28 11:36:56 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Jul 2005 11:36:56 -0400 Subject: Newbie ? Answered Message-ID: <64878EF567131D4596246171F75FD4A9968116@m-epo-1.epo.cdc.gov> Well, what I mean is that, if I have a bug of my own creation in a resizestack handler, it tends to crash the IDE... Like, if I have a resizestack handler that alters the size of a group to stay in proportion to the window... But then, in a substack, I forget to trap the resizestack message, and I resize that substack, it will give an error saying it could not find the group - but then I cannot just close the error message. I wind up having to ctrl-alt-delete Rev itself. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Thursday, July 28, 2005 11:33 AM To: How to use Revolution Subject: Re: Newbie ? Answered Jon, I am sorry, I don't experience bugs in the resizeStack handlers. Maybe you should upgrade to 2.6. Tom On Jul 28, 2005, at 11:17 AM, Lynch, Jonathan wrote: > I find that resizestack handlers with bugs in them are very prone to > crashing the IDE - rev 2.5 > > On Behalf Of Thomas > McGrath III > Sent: Thursday, July 28, 2005 10:43 AM > To: How to use Revolution > Subject: Re: Newbie ? Answered > > I would agree, backing up on a regular basis while working on a project > is just good practice. When I am doing a Powerpoint or Photoshop > project I back up every few minutes. I do the same in Revolution. To > not do this just invites the loss. > > I have not experienced any crashes in REV in a looooong time. (knock on > wood) > > Tom > > > On Jul 28, 2005, at 10:19 AM, Devin Asay wrote: > >> In fairness, crashes have almost disappeared since 2.5 came out. I >> can't remember my last one. I do still occasionally encounter an >> unrecoverable hangup in the IDE, so Kay's advice about frequent >> backups is sound. >> >> Regards, >> Devin >> >> >> > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Thu Jul 28 11:42:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 17:42:13 +0200 Subject: Newbie ? Answered In-Reply-To: <64878EF567131D4596246171F75FD4A9968116@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9968116@m-epo-1.epo.cdc.gov> Message-ID: <9EBDE3CE-3F8D-41FD-A32A-90FDE107AD5F@sosmartsoftware.com> Hi Lynch, When you put some handlers which trigger system messages in a main stack script, you could add a line of code as the following: if the long ID of this stack <> the long ID of me then exit This prevent sub stacks to trigger messages that are made only for the main stack. Hope this helps. Le 28 juil. 05 ? 17:36, Lynch, Jonathan a ?crit : > Well, what I mean is that, if I have a bug of my own creation in a > resizestack handler, it tends to crash the IDE... > > Like, if I have a resizestack handler that alters the size of a > group to > stay in proportion to the window... > > But then, in a substack, I forget to trap the resizestack message, > and I > resize that substack, it will give an error saying it could not > find the > group - but then I cannot just close the error message. I wind up > having > to ctrl-alt-delete Rev itself. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jacque at hyperactivesw.com Thu Jul 28 11:42:54 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2005 10:42:54 -0500 Subject: Mac->Win revisited In-Reply-To: <42E8CCFC.1020201@sover.net> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> <42E8CCFC.1020201@sover.net> Message-ID: <42E8FCFE.9060708@hyperactivesw.com> Thomas McGrath III wrote: > > When using things like players and speech etc. it is our > responsibility to close them ourselves in our code when and if for > any reason our program is to quit. So I would put a piece of script > in a on closeStack that takes care of the player when closing. > > This is because players and speech use libraries and/or QT etc. to > work and like a serial port that is opened it must be closed or > problems may occur. This is good coding practice. Players? You mean, like QT player objects? How would one "close" a QT player? I've never had any problem quitting while ignoring them. Maybe I don't understand what you mean. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bnz2 at cdc.gov Thu Jul 28 11:43:39 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Jul 2005 11:43:39 -0400 Subject: Newbie ? Answered Message-ID: <64878EF567131D4596246171F75FD4A9968117@m-epo-1.epo.cdc.gov> That is a good idea! I have gotten in the habit of making sure my substacks trap such messages - but your way will prevent it even if I forget to do that. Thanks Eric. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Eric Chatonet Sent: Thursday, July 28, 2005 11:42 AM To: How to use Revolution Subject: Re: Newbie ? Answered Hi Lynch, When you put some handlers which trigger system messages in a main stack script, you could add a line of code as the following: if the long ID of this stack <> the long ID of me then exit This prevent sub stacks to trigger messages that are made only for the main stack. Hope this helps. Le 28 juil. 05 ? 17:36, Lynch, Jonathan a ?crit : > Well, what I mean is that, if I have a bug of my own creation in a > resizestack handler, it tends to crash the IDE... > > Like, if I have a resizestack handler that alters the size of a > group to > stay in proportion to the window... > > But then, in a substack, I forget to trap the resizestack message, > and I > resize that substack, it will give an error saying it could not > find the > group - but then I cannot just close the error message. I wind up > having > to ctrl-alt-delete Rev itself. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From userev at canelasoftware.com Thu Jul 28 12:00:55 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 28 Jul 2005 09:00:55 -0700 Subject: Crossword Generator In-Reply-To: <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> Message-ID: On Jul 28, 2005, at 8:15 AM, Mark Swindell wrote: > I was just wondering if anyone here had created such a beast. It > seems like a product Rev might be good for. I'm looking to > purchase one, actually, to use in the classroom, as well as to > integrate into a curriculum package that will be an adjunct to a > Rev product I'm working on. For educational needs it needn't be a > NY Times type thing. Just a well-thought, professional generator > where the user types in the clues and words and the puzzlemaker > creates a puzzle. It should have font and size capabilities, as > well as background images/patterns/colors. After generation, each > element should be resizable and movable so the user can set up a > nice-looking custom page for printout. (Basically five elements: > down clues, across clues, answers, bg image/rect, and puzzle > itself). Printing is a must, export to PDF, jpg, other options. Mark, There are plenty of commercial apps out there for about $20.00 that would suit your needs just fine. You can find one such program at most local teacher stores. You can also order most of the available commercial versions from any educational catalog like: Mark Talluto -- CANELA Software http://www.canelasoftware.com From bann at sunncomm.com Thu Jul 28 12:02:15 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 28 Jul 2005 09:02:15 -0700 Subject: rotating images Message-ID: Hello everyone, I have question about rotating images. I want to rotate (changing) images every 10 seconds on the same card I create main stack which has card (cd1). In card cd1 I have 5 images. I want to rotate these images every 10 seconds; each image will take to an URL when it is clicked I tried to do this on different card by using "go next cd" but I don't know how to do this on the same cd Thanks for your help From 3mcgrath at adelphia.net Thu Jul 28 12:45:21 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 12:45:21 -0400 Subject: Mac->Win revisited In-Reply-To: <42E8FCFE.9060708@hyperactivesw.com> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> <42E8CCFC.1020201@sover.net> <42E8FCFE.9060708@hyperactivesw.com> Message-ID: Jac, I was actually referring to grabbing video in QT (referring to it being a player type object) as in: In stack: (this is to clean it up on quit/close of stack) on closeStack revCloseVideoGrabber end closeStack In Initialize button: on mouseUp revInitializeVideoGrabber short name of this stack, "QT", the rect of this stack end mouseUp In record button: on mouseUp revRecordVideo "mymovie.avi" end mouseUp In stop button: on mouseUp revStopRecordingVideo end mouseUp It is my understanding that not calling revCloseVideoGrabber on quit/close could cause memory problems. From the docs: If your application uses video capture, you should execute the revCloseVideoGrabber command either when your application is finished using video capture, when the stack that uses video capture is closed (in a closeStack handler), or when your application quits (in a shutdown handler). The Video library loads the operating system's video capture software into memory when you use the revInitializeVideoGrabber command. The revCloseVideoGrabber command unloads this software, freeing up the memory it uses, when you're done. Of course the same is true for speech: revUnloadSpeech from the docs: Important! If your application uses text to speech, you should execute the revUnloadSpeech command either when your application is finished using text to speech, when the stack that uses speech is closed (in a closeStack handler), or when your application quits (in a shutdown handler). This saves memory. But it turns out the original thread was about the Dreamcard Player anyway so this is a mute point. Tom On Jul 28, 2005, at 11:42 AM, J. Landman Gay wrote: > Players? You mean, like QT player objects? How would one "close" a QT > player? I've never had any problem quitting while ignoring them. Maybe > I don't understand what you mean. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From mdswindell at charter.net Thu Jul 28 12:48:41 2005 From: mdswindell at charter.net (Mark Swindell) Date: Thu, 28 Jul 2005 09:48:41 -0700 Subject: Crossword Generator In-Reply-To: References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> Message-ID: <426C2C5E-FBA9-4F67-86BE-897BBB064A17@charter.net> On Jul 28, 2005, at 9:00 AM, Mark Talluto wrote: > > On Jul 28, 2005, at 8:15 AM, Mark Swindell wrote: > > >> I was just wondering if anyone here had created such a beast. It >> seems like a product Rev might be good for. I'm looking to >> purchase one, actually, to use in the classroom, as well as to >> integrate into a curriculum package that will be an adjunct to a >> Rev product I'm working on. For educational needs it needn't be >> a NY Times type thing. Just a well-thought, professional >> generator where the user types in the clues and words and the >> puzzlemaker creates a puzzle. It should have font and size >> capabilities, as well as background images/patterns/colors. >> After generation, each element should be resizable and movable so >> the user can set up a nice-looking custom page for printout. >> (Basically five elements: down clues, across clues, answers, bg >> image/rect, and puzzle itself). Printing is a must, export to >> PDF, jpg, other options. >> > > > Mark, > > There are plenty of commercial apps out there for about $20.00 that > would suit your needs just fine. You can find one such program at > most local teacher stores. You can also order most of the > available commercial versions from any educational catalog like: > > > Right. The one I like best at this point is called CrossWord Forge (was CrossWordz -- http://www.solrobots.com) though it's a bit pricy at 50.00. But the interface is very nice, unlike some. But moving/ rearranging elements is still lacking in the current iteration. I was just wondering if someone in the Rev community had created such a product. A person with some skill could probably do a bang-up job of it. People are always asking about visible commercial Rev products (non in-house) on the list. Mark From userev at canelasoftware.com Thu Jul 28 12:53:12 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 28 Jul 2005 09:53:12 -0700 Subject: Crossword Generator In-Reply-To: <426C2C5E-FBA9-4F67-86BE-897BBB064A17@charter.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> <426C2C5E-FBA9-4F67-86BE-897BBB064A17@charter.net> Message-ID: On Jul 28, 2005, at 9:48 AM, Mark Swindell wrote: > On Jul 28, 2005, at 9:00 AM, Mark Talluto wrote: > > >> >> On Jul 28, 2005, at 8:15 AM, Mark Swindell wrote: >> >> >> >>> I was just wondering if anyone here had created such a beast. It >>> seems like a product Rev might be good for. I'm looking to >>> purchase one, actually, to use in the classroom, as well as to >>> integrate into a curriculum package that will be an adjunct to a >>> Rev product I'm working on. For educational needs it needn't be >>> a NY Times type thing. Just a well-thought, professional >>> generator where the user types in the clues and words and the >>> puzzlemaker creates a puzzle. It should have font and size >>> capabilities, as well as background images/patterns/colors. >>> After generation, each element should be resizable and movable >>> so the user can set up a nice-looking custom page for printout. >>> (Basically five elements: down clues, across clues, answers, bg >>> image/rect, and puzzle itself). Printing is a must, export to >>> PDF, jpg, other options. >>> >>> >> >> >> Mark, >> >> There are plenty of commercial apps out there for about $20.00 >> that would suit your needs just fine. You can find one such >> program at most local teacher stores. You can also order most of >> the available commercial versions from any educational catalog >> like: >> >> >> > > Right. The one I like best at this point is called CrossWord Forge > (was CrossWordz -- http://www.solrobots.com) though it's a bit > pricy at 50.00. But the interface is very nice, unlike some. But > moving/rearranging elements is still lacking in the current > iteration. > > I was just wondering if someone in the Rev community had created > such a product. A person with some skill could probably do a bang- > up job of it. People are always asking about visible commercial > Rev products (non in-house) on the list. > > Mark > I got very close to creating one along with a Word Search program. Due to the state of education market at this time, it would not be worth the development and marketing costs. Mark Talluto -- CANELA Software http://www.canelasoftware.com From mdswindell at charter.net Thu Jul 28 12:59:09 2005 From: mdswindell at charter.net (Mark Swindell) Date: Thu, 28 Jul 2005 09:59:09 -0700 Subject: Crossword Generator In-Reply-To: References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> <426C2C5E-FBA9-4F67-86BE-897BBB064A17@charter.net> Message-ID: <46F6CF24-1ABC-41DA-A09F-3C93033244CA@charter.net> On Jul 28, 2005, at 9:53 AM, Mark Talluto wrote: > > On Jul 28, 2005, at 9:48 AM, Mark Swindell wrote: > > >> On Jul 28, 2005, at 9:00 AM, Mark Talluto wrote: >> >> >> >>> >>> On Jul 28, 2005, at 8:15 AM, Mark Swindell wrote: >>> >>> >>> >>> >>>> I was just wondering if anyone here had created such a beast. >>>> It seems like a product Rev might be good for. I'm looking to >>>> purchase one, actually, to use in the classroom, as well as to >>>> integrate into a curriculum package that will be an adjunct to a >>>> Rev product I'm working on. For educational needs it needn't >>>> be a NY Times type thing. Just a well-thought, professional >>>> generator where the user types in the clues and words and the >>>> puzzlemaker creates a puzzle. It should have font and size >>>> capabilities, as well as background images/patterns/colors. >>>> After generation, each element should be resizable and movable >>>> so the user can set up a nice-looking custom page for printout. >>>> (Basically five elements: down clues, across clues, answers, bg >>>> image/rect, and puzzle itself). Printing is a must, export to >>>> PDF, jpg, other options. >>>> >>>> >>>> >>> >>> >>> Mark, >>> >>> There are plenty of commercial apps out there for about $20.00 >>> that would suit your needs just fine. You can find one such >>> program at most local teacher stores. You can also order most of >>> the available commercial versions from any educational catalog >>> like: >>> >>> >>> >>> >> >> Right. The one I like best at this point is called CrossWord >> Forge (was CrossWordz -- http://www.solrobots.com) though it's a >> bit pricy at 50.00. But the interface is very nice, unlike some. >> But moving/rearranging elements is still lacking in the current >> iteration. >> >> I was just wondering if someone in the Rev community had created >> such a product. A person with some skill could probably do a >> bang-up job of it. People are always asking about visible >> commercial Rev products (non in-house) on the list. >> >> Mark >> >> > > I got very close to creating one along with a Word Search program. > Due to the state of education market at this time, it would not be > worth the development and marketing costs. Understood. Still, it could be a nice Revolution ambassador, I think, if it were done up properly. Sad state of affairs in the Ed market, unfortunately. Mark From katherine.w.c at gmail.com Thu Jul 28 13:51:52 2005 From: katherine.w.c at gmail.com (Kat) Date: Thu, 28 Jul 2005 13:51:52 -0400 Subject: SE/USA RUG Meeting Report Message-ID: <42E91B38.5080004@gmail.com> Hi Revolutionaries, Four of us had a very productive meeting in Atlanta last week to begin organizing a regional Rev Users Group for the southeastern US. Actually, five people attended, but one was with us virtually, as his avatar in the SecondLife simulation (see http://secondlife.com). One of the ideas we agreed was worth exploring is the idea that to avoid travel but still keep in touch we could all get SecondLife accounts and meet there between quarterly Real Life meetings in Atlanta. An advantage of meeting in the virtual world is that anyone anywhere could join us. There's a 7-day free trial, and a basic membership is a one-time cost of US$9.95. If you're curious about everything we said and did, and would like to see a picture from the meeting, please visit our wiki at http://rugusa.linguistix.net/ and follow the links to the "Live Minutes" in the "Atlanta Planning Meeting" page. By the way, my avatar's name in SL is "Kat Lemieux". If you're in the neighborhood, please say hi! Since SL is a user-scriptable simulation, it's really ideal for Revolutionaries, but there's a real danger that getting involved in that game could seriously cut into the time you spend writing Rev stacks. It's addictive! Cheers, Kat From kray at sonsothunder.com Thu Jul 28 14:02:11 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 28 Jul 2005 13:02:11 -0500 Subject: Newbie ? Answered In-Reply-To: <64878EF567131D4596246171F75FD4A9968117@m-epo-1.epo.cdc.gov> Message-ID: On 7/28/05 10:43 AM, "Lynch, Jonathan" wrote: > if the long ID of this stack <> the long ID of me then exit Name> You can do this even easier by putting this in the stack script: on resizeStack if the owner of the target is me then -- do the stuff you want to do else pass resizeStack end if end resizeStack Always pass these system messages - you never know who else (plugins, etc. may need to get them in order to operate properly. Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From jacque at hyperactivesw.com Thu Jul 28 14:23:52 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2005 13:23:52 -0500 Subject: Mac->Win revisited In-Reply-To: References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> <42E8CCFC.1020201@sover.net> <42E8FCFE.9060708@hyperactivesw.com> Message-ID: <42E922B8.2020606@hyperactivesw.com> Thomas McGrath III wrote: > It is my understanding that not calling revCloseVideoGrabber on > quit/close could cause memory problems. Oh, I see. Yes, that's right. I was thinking of plain old players that run QT movies. > > > But it turns out the original thread was about the Dreamcard Player > anyway so this is a mute point. Yeah, I knew that, but you got me curious. Thanks for the clarification. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revolution at jaedworks.com Thu Jul 28 01:01:50 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Wed, 27 Jul 2005 22:01:50 -0700 Subject: Workaround request - textcolor property in a field in a group In-Reply-To: <42E814BF.1030505@hyperactivesw.com> References: <42E814BF.1030505@hyperactivesw.com> Message-ID: At 6:11 PM -0500 7/27/2005, J. Landman Gay wrote: >Jim Ault wrote: > >>--does not work on this field, but does on others >>set the textcolor of word 2 of line 2 of fld AA of bg "betDisplayA" to green > >I just tried this. I get a failure with the above syntax, but >success if I substitute "grp" for "bg". That is, this works: > >set the textcolor of word 2 of line 2 of fld AA of grp "betDisplayA" >to "green" > >This may not work if you aren't on the right card currently, as >"grp" isn't a valid reference if it isn't placed on the current card. ...although it should be noted that you can refer to a group on another card if you specify the card, e.g. 'field "AA" of group "Foo" of card "bar"'. >Note the quotes around the color name. Even though they are >constants, the MC docs say color names should always be in quotes, >so that is my habit. Actually, the color names aren't true constants (that is, they aren't in the constantNames). They're literals; as with other one-word literals, you can get away with not quoting them, but as you note it's not good practice. -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From revolution at jaedworks.com Thu Jul 28 14:27:40 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Thu, 28 Jul 2005 11:27:40 -0700 Subject: request for script or stack In-Reply-To: References: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> Message-ID: At 8:08 AM -0700 7/28/2005, Timothy Miller wrote: >Maybe I misunderstood. Is Find-and-Replace is a stack? If so, I >couldn't figure out how to get under the hood. I'd like to try >setting the allowinterrupts to true. I couldn't access the stack >script, the "Find" button script or anything. I couldn't get it to >come up in the inspector. What's the trick? Like all windows in the IDE, yes, it is a stack. From the docs: How to investigate code in the development environment's windows: The Revolution development environment is a Revolution application, and the code that controls windows, buttons, and other controls is written in Transcript. You are welcome to examine and alter it for your own use. To enable the ability to examine Revolution windows, choose Edit menu>Preferences. In the "Shortcuts" pane, check the box labeled "Contextual menus work in Revolution windows". To examine a Revolution window, hold the mouse over the window you want to examine and use the contextual menu shortcut (Command-Control-Shift-click or Control-Shift-Right-click), then choose "Edit Script" to examine the script of the object you clicked. Important! Runtime Revolution permits you to make changes to your own copy of the development environment, but does not provide support for them. You're on your own here. >Finally, has the cantabort property been abandoned in favor of the >allowinterrupts property? Seems like they do about the same thing. >The cantabort still resides in the 2.6.1 docs, but Rev doesn't seem >to recognize that property. cantAbort is a stack property; allowInterrupts is global. (Were you trying to execute 'set the cantAbort to true'?) -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From eric.chatonet at sosmartsoftware.com Thu Jul 28 14:31:06 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 20:31:06 +0200 Subject: Newbie ? Answered In-Reply-To: References: Message-ID: <9802148E-E0C1-45B5-93ED-793121276D75@sosmartsoftware.com> Hi Lynch, Ken is right: I wrote "exit" but "pass" is much more preferable: it takes care of others :-) Le 28 juil. 05 ? 20:02, Ken Ray a ?crit : > On 7/28/05 10:43 AM, "Lynch, Jonathan" wrote: > > >> if the long ID of this stack <> the long ID of me then exit > Name> >> > > You can do this even easier by putting this in the stack script: > > on resizeStack > if the owner of the target is me then > -- do the stuff you want to do > else > pass resizeStack > end if > end resizeStack > > Always pass these system messages - you never know who else > (plugins, etc. > may need to get them in order to operate properly. > > Ken Ray 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jacque at hyperactivesw.com Thu Jul 28 14:34:13 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2005 13:34:13 -0500 Subject: rotating images In-Reply-To: References: Message-ID: <42E92525.80404@hyperactivesw.com> Ban Nguyen wrote: > Hello everyone, > > I have question about rotating images. > I want to rotate (changing) images every 10 seconds on the same card > > I create main stack which has card (cd1). In card cd1 I have 5 images. > I want to rotate these images every 10 seconds; each image will take to > an URL when it is clicked > > I tried to do this on different card by using "go next cd" but I don't > know how to do this on the same cd Are your images imported into the stack, or are they files on disk? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From howard.bornstein at gmail.com Thu Jul 28 14:53:41 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Thu, 28 Jul 2005 14:53:41 -0400 Subject: [Slightly OT] Ransomware as a Model for Rev Toolmaking? In-Reply-To: <200507190405.j6J458Id023301@ms-smtp-02.rdc-nyc.rr.com> References: <200507190405.j6J458Id023301@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc260507281153576972cd@mail.gmail.com> On 7/19/05, Dan Shafer wrote: > A friend of mine pointed me to an intriguing business concept called > "RansomWare" I had never heard of the term RansomWare before this thread. Interestingly, in this month's Wired Magazine (Aug. 2005), under Jargon Watch, there is another definition of RansomWare: "Internet extortion software that, when downloaded, encrypts the contents of your hard drive. The parties responsible demand payment to decrypt your data." Ouch! -- Regards, Howard Bornstein ----------------------- www.designeq.com From bann at sunncomm.com Thu Jul 28 15:06:52 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 28 Jul 2005 12:06:52 -0700 Subject: rotating images Message-ID: > Hello everyone, > > I have question about rotating images. > I want to rotate (changing) images every 10 seconds on the same card > > I create main stack which has card (cd1). In card cd1 I have 5 images. > I want to rotate these images every 10 seconds; each image will take to > an URL when it is clicked > > I tried to do this on different card by using "go next cd" but I don't > know how to do this on the same cd Are your images imported into the stack, or are they files on disk? ------------------- I imported them into the stack --------------------- From 3mcgrath at adelphia.net Thu Jul 28 15:27:09 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 15:27:09 -0400 Subject: Mac->Win revisited In-Reply-To: <42E922B8.2020606@hyperactivesw.com> References: <2049439D-1964-472A-B169-6AA16D7F7BF3@conncoll.edu> <42E7E0A8.5000103@tweedly.net> <42E7F37F.8020204@tweedly.net> <3FCD2794-D25F-437E-A7CC-5AA70E526AC9@conncoll.edu> <42E8CCFC.1020201@sover.net> <42E8FCFE.9060708@hyperactivesw.com> <42E922B8.2020606@hyperactivesw.com> Message-ID: <4114b9e7ce22469eda94cf4cdcb612a2@adelphia.net> Jac, Yeah I posted 'all' of that mainly for the sake of others that were reading this thread. I knew you would pick it up right away if I just said revCloseVideoGrabber but I figured completeness was a good idea. "Player" becomes a very general term now, and I don't know how to feel about that. ;-( Tom On Jul 28, 2005, at 2:23 PM, J. Landman Gay wrote: > Thomas McGrath III wrote: > > > It is my understanding that not calling revCloseVideoGrabber on > > quit/close could cause memory problems. > > Oh, I see. Yes, that's right. I was thinking of plain old players that > run QT movies. > > > > > > > But it turns out the original thread was about the Dreamcard Player > > anyway so this is a mute point. > > Yeah, I knew that, but you got me curious. Thanks for the > clarification. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From eric.chatonet at sosmartsoftware.com Thu Jul 28 15:34:35 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 21:34:35 +0200 Subject: rotating images In-Reply-To: References: Message-ID: <74C3D987-11C3-45C0-862E-1545C3CF1392@sosmartsoftware.com> Hi Ban, Have a look at http://lists.runrev.com/pipermail/use-revolution/2005- May/057331.html Nice scripts (as usual :-) by Kim Hurley to get started. Le 28 juil. 05 ? 18:02, Ban Nguyen a ?crit : > > Hello everyone, > > I have question about rotating images. > I want to rotate (changing) images every 10 seconds on the same card > > I create main stack which has card (cd1). In card cd1 I have 5 > images. > I want to rotate these images every 10 seconds; each image will > take to > an URL when it is clicked > > I tried to do this on different card by using "go next cd" but I don't > know how to do this on the same cd > > Thanks for your help 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From 3mcgrath at adelphia.net Thu Jul 28 15:45:48 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 15:45:48 -0400 Subject: rotating images In-Reply-To: <74C3D987-11C3-45C0-862E-1545C3CF1392@sosmartsoftware.com> References: <74C3D987-11C3-45C0-862E-1545C3CF1392@sosmartsoftware.com> Message-ID: <7f45589ffb3cefccbc99f37a430520bd@adelphia.net> Ban, Do the images sit on top of each other? or are they side by side? On top: Do you want one image to appear and then rotate in ten seconds and Then disappear and be replaced by image 2 which then rotates in ten seconds to disappear and be replaced by image 3 etc. OR Side by side: Do you want image 1 in the upper left to rotate in ten seconds and Then in another ten seconds the image next to that one image 2 to then rotate etc. OR Some other effect? If they are separate images all available/visible at the same time then stick a card script that is in a repeat loop that goes through the images one at a time and rotates them. Then "in" each image put the on mouseUp that will take them to a URL. If they are to replace each other than you can still do a card level repeat loop but assign an image name to a blank image that then rotates in ten seconds. In the single image you can put an if the file name of me is then go URL switch case statement. Let us know what it is exactly that you are trying to achieve and I know we can help. Tom On Jul 28, 2005, at 3:34 PM, Eric Chatonet wrote: > Hi Ban, > > Have a look at > http://lists.runrev.com/pipermail/use-revolution/2005-May/057331.html > Nice scripts (as usual :-) by Kim Hurley to get started. > > Le 28 juil. 05 ? 18:02, Ban Nguyen a ?crit : > >> >> Hello everyone, >> >> I have question about rotating images. >> I want to rotate (changing) images every 10 seconds on the same card >> >> I create main stack which has card (cd1). In card cd1 I have 5 >> images. >> I want to rotate these images every 10 seconds; each image will take >> to >> an URL when it is clicked >> >> I tried to do this on different card by using "go next cd" but I don't >> know how to do this on the same cd >> >> Thanks for your help > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From eric.chatonet at sosmartsoftware.com Thu Jul 28 15:47:16 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 21:47:16 +0200 Subject: rotating images In-Reply-To: <74C3D987-11C3-45C0-862E-1545C3CF1392@sosmartsoftware.com> References: <74C3D987-11C3-45C0-862E-1545C3CF1392@sosmartsoftware.com> Message-ID: Apologies, Jim Hurley of course :-) Le 28 juil. 05 ? 21:34, Eric Chatonet a ?crit : > Have a look at http://lists.runrev.com/pipermail/use-revolution/ > 2005-May/057331.html > Nice scripts (as usual :-) by Kim Hurley to get started. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From gandalf at doctorTimothyMiller.com Thu Jul 28 15:52:34 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 28 Jul 2005 12:52:34 -0700 Subject: request for script or stack In-Reply-To: References: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> Message-ID: Great reply, Jeanne > >Like all windows in the IDE, yes, it is a stack. From the docs: Okay. Would a find and replace window work a lot faster if it were written in machine-native code? > > >How to investigate code in the development environment's windows: > >The Revolution development environment is a Revolution application, >and the code that controls windows, buttons, and other controls is >written in Transcript. You are welcome to examine and alter it for >your own use. --snip-- > Important! Runtime Revolution permits you to make changes to your >own copy of the development environment, but does not provide >support for them. You're on your own here. Thanks. Sarah mentioned that allowinterrupts is set to false in the Find and Replace stack. Or maybe I misunderstood her. I thought I might try to set it to true. But a command-period does work after all -- eventually. > > >>Finally, has the cantabort property been abandoned in favor of the >>allowinterrupts property? Seems like they do about the same thing. >>The cantabort still resides in the 2.6.1 docs, but Rev doesn't seem >>to recognize that property. > >cantAbort is a stack property; allowInterrupts is global. Oh! Derr... >(Were you trying to execute 'set the cantAbort to true'?) No I wanted to set it to false, to see if command-period would work more often. I still don't know whether a command-period should halt a script when the script is temporarily interrupted when an "answer" dialog box is on the screen, waiting for a reply. It doesn't work that way on my machine. It seems to me it would be handy if Rev did work that way. Maybe there's a good reason it is the way it is. Cheers, Tim From subzero569 at gmail.com Thu Jul 28 15:56:02 2005 From: subzero569 at gmail.com (subzero569) Date: Thu, 28 Jul 2005 15:56:02 -0400 Subject: Updating Title Bar In-Reply-To: <563E04BC-0A5F-46BE-9578-4AB5ED9580FE@sosmartsoftware.com> References: <8f8651c105072806586974edeb@mail.gmail.com> <563E04BC-0A5F-46BE-9578-4AB5ED9580FE@sosmartsoftware.com> Message-ID: <8f8651c105072812561b893746@mail.gmail.com> Thanks for the help. I have one last question on this subject. I am trying the following and I know I am missing something simple (newbie mistake): put myVariable into word 5 of field "Field" in stack "SubStack" What am I missing? This statement works well for a field in the same stack as the variable but I get the "can't find object" error when trying to test to the subStack. TIA, Josh On 7/28/05, Eric Chatonet wrote: > Hello Josh, > > Just set the label of stack to > As for Google search, it works fine here. > You might be interested by Resources Picker, a free plugin that searches the > mail archives with 3 engines and does a lot of other work too. > (Available on my website - address below) > > Best Regards from Paris, > > Eric Chatonet. > > Le 28 juil. 05 ? 15:58, subzero569 a ?crit : > > > I have a program in rev that uses an external txt file for importing > > some data to the program. Is there a way to dynamically update the > > title bar version number of my program without going into the title > > property of the inspector? > > > > > Basically, I would like to include a revision number in the text file > > and have this read into the title bar without having to recompile the > > build everytime I have to just update the txt file. > > > > > Also, what happened to the google search for the archives? It is very > > frustrating not being able to search the archives. > > > > > TIA, > > > > > Josh > > > ---------------------------------------------------------------- > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From bann at sunncomm.com Thu Jul 28 16:01:54 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Thu, 28 Jul 2005 13:01:54 -0700 Subject: rotating images Message-ID: ------------------------------------ Do the images sit on top of each other? or are they side by side? On top: Do you want one image to appear and then rotate in ten seconds and Then disappear and be replaced by image 2 which then rotates in ten seconds to disappear and be replaced by image 3 etc. Yes, the images sit on top of each other. I want image 1 appears then 10 sec image 2 appear then 1 sec image 3 appear..........back to image 1 and so on I have one main stack which has 5 cards. I want these images keep changing while user click to go to another card Thanks for your help ---------------------------------------------------------------------------- OR Side by side: Do you want image 1 in the upper left to rotate in ten seconds and Then in another ten seconds the image next to that one image 2 to then rotate etc. OR Some other effect? If they are separate images all available/visible at the same time then stick a card script that is in a repeat loop that goes through the images one at a time and rotates them. Then "in" each image put the on mouseUp that will take them to a URL. If they are to replace each other than you can still do a card level repeat loop but assign an image name to a blank image that then rotates in ten seconds. In the single image you can put an if the file name of me is then go URL switch case statement. Let us know what it is exactly that you are trying to achieve and I know we can help. Tom On Jul 28, 2005, at 3:34 PM, Eric Chatonet wrote: > Hi Ban, > > Have a look at > http://lists.runrev.com/pipermail/use-revolution/2005-May/057331.html > Nice scripts (as usual :-) by Kim Hurley to get started. > > Le 28 juil. 05 ? 18:02, Ban Nguyen a ?crit : > >> >> Hello everyone, >> >> I have question about rotating images. >> I want to rotate (changing) images every 10 seconds on the same card >> >> I create main stack which has card (cd1). In card cd1 I have 5 >> images. >> I want to rotate these images every 10 seconds; each image will take >> to >> an URL when it is clicked >> >> I tried to do this on different card by using "go next cd" but I don't >> know how to do this on the same cd >> >> Thanks for your help > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Thu Jul 28 16:04:57 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 13:04:57 -0700 Subject: Scripter's Scrapbook Chat Message-ID: I just got off a chat using Scripter's Scrapbook new chat capability. Hugh took ChatRev and did a complete rewrite and created a very usable UI for it. Makes a nice experience. This tool gets more and more valuable all the time for me. Today I found two scripts in it that answered questions I had on a current project. I was able to adapt those scripts and get stuff done in minutes that I had scheduled a couple of hours for. So now I'm going to have a more leisurely lunch than I would have been able to have. Thanks, Hugh! http://www.flexiblelearning.com (DISCLAIMER. I don't get anything whether you buy it or not. I'm not part of the company. I just think it's a cool and useful tool.) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From bnz2 at cdc.gov Thu Jul 28 16:08:28 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Thu, 28 Jul 2005 16:08:28 -0400 Subject: Updating Title Bar Message-ID: <64878EF567131D4596246171F75FD4A996811F@m-epo-1.epo.cdc.gov> Try this: put myVariable into word 5 of field "myField" of stack "mySubStack" - changed the last 'in' to 'of' - do not name your field "field" - I do not think 'substack' is a reserved word, but I would change that too, just to be safe -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of subzero569 Sent: Thursday, July 28, 2005 3:56 PM To: Updating Title Bar Subject: Re: Updating Title Bar Thanks for the help. I have one last question on this subject. I am trying the following and I know I am missing something simple (newbie mistake): put myVariable into word 5 of field "Field" in stack "SubStack" What am I missing? This statement works well for a field in the same stack as the variable but I get the "can't find object" error when trying to test to the subStack. TIA, Josh On 7/28/05, Eric Chatonet wrote: > Hello Josh, > > Just set the label of stack to > As for Google search, it works fine here. > You might be interested by Resources Picker, a free plugin that searches the > mail archives with 3 engines and does a lot of other work too. > (Available on my website - address below) > > Best Regards from Paris, > > Eric Chatonet. > > Le 28 juil. 05 ? 15:58, subzero569 a ?crit : > > > I have a program in rev that uses an external txt file for importing > > some data to the program. Is there a way to dynamically update the > > title bar version number of my program without going into the title > > property of the inspector? > > > > > Basically, I would like to include a revision number in the text file > > and have this read into the title bar without having to recompile the > > build everytime I have to just update the txt file. > > > > > Also, what happened to the google search for the archives? It is very > > frustrating not being able to search the archives. > > > > > TIA, > > > > > Josh > > > ---------------------------------------------------------------- > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > -- Inch by inch, life is a cinch. Yard by yard, life is very hard. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From subzero569 at gmail.com Thu Jul 28 16:13:31 2005 From: subzero569 at gmail.com (subzero569) Date: Thu, 28 Jul 2005 16:13:31 -0400 Subject: Updating Title Bar In-Reply-To: <42E8F6E8.9060307@dreamscapesoftware.com> References: <8f8651c105072806586974edeb@mail.gmail.com> <42E8F6E8.9060307@dreamscapesoftware.com> Message-ID: <8f8651c105072813135e689381@mail.gmail.com> Thanks Derek and everyone else. The problem is solved. The community help is as excellent as ever. Josh On 7/28/05, Derek Bump wrote: > subzero569 wrote: > > I have a program in rev that uses an external txt file for importing > > some data to the program. Is there a way to dynamically update the > > title bar version number of my program without going into the title > > property of the inspector? > > I'm thinking instead of revOnline launching at startup that the > Documentation should launch instead. > > > Also, what happened to the google search for the archives? It is very > > frustrating not being able to search the archives. > > Go to google's web site, type in the search term, then type a space and > the following... > > site:http://lists.runrev.com/pipermail/use-revolution/ > > > Derek Bump > Dreamscape Software > _______________________________________________ > Compress Photos for the Web with JPEGCompress > http://www.dreamscapesoftware.com/ > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > -- Inch by inch, life is a cinch. Yard by yard, life is very hard. From FlexibleLearning at aol.com Thu Jul 28 16:25:30 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Thu, 28 Jul 2005 16:25:30 EDT Subject: Scripter's Scrapbook Chat Message-ID: <1d5.40e5c1ec.301a993a@aol.com> Always a pleasure when a satisfied ssbk user reports back to the list, especially from a guru! You can try the Scripter's Scrapbook (it includes ssBkChat) for yourself at the address below for a 30-day free trial and purchase your personal keys at any time during or after the trial period. Just click the 'Purchase' option on the startup screen. Meanwhile, ssBkChat is available for free as an independent stack at www.FlexibleLearning.com/ssbk/modules/ssbkChat.zip /H The Scripter's Scrapbook www.FlexibleLearning.com/ssbk.htm Dan Shafer revdan at danshafer.com wrote: >I just got off a chat using Scripter's Scrapbook new chat capability. >Hugh took ChatRev and did a complete rewrite and created a very >usable UI for it. Makes a nice experience. > >This tool gets more and more valuable all the time for me. Today I >found two scripts in it that answered questions I had on a current >project. I was able to adapt those scripts and get stuff done in >minutes that I had scheduled a couple of hours for. > >So now I'm going to have a more leisurely lunch than I would have >been able to have. Thanks, Hugh! > >(DISCLAIMER. I don't get anything whether you buy it or not. I'm not >part of the company. I just think it's a cool and useful tool.) > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Dan Shafer, Revolution Consultant and Author >http://www.shafermedia.com >Get my book, "Revolution: Software at the Speed of Thought" >From http://www.revolutionpros.com, Click "My Stuff" From kray at sonsothunder.com Thu Jul 28 16:30:52 2005 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 28 Jul 2005 15:30:52 -0500 Subject: Scripter's Scrapbook Chat In-Reply-To: Message-ID: On 7/28/05 3:04 PM, "Dan Shafer" wrote: > I just got off a chat using Scripter's Scrapbook new chat capability. > Hugh took ChatRev and did a complete rewrite and created a very > usable UI for it. Makes a nice experience. > > This tool gets more and more valuable all the time for me. Today I > found two scripts in it that answered questions I had on a current > project. I was able to adapt those scripts and get stuff done in > minutes that I had scheduled a couple of hours for. > > So now I'm going to have a more leisurely lunch than I would have > been able to have. Thanks, Hugh! > > http://www.flexiblelearning.com > > (DISCLAIMER. I don't get anything whether you buy it or not. I'm not > part of the company. I just think it's a cool and useful tool.) One of the nice things I like about using the chat *in* Scripter's Scrapbook (as opposed to the new 'plugin only' form) is that you can send entries directly from one person to another. So if you and I were talking on a chat, and you were having trouble with something that I had the answer to in my scrapbook, I could just send you the entry directly. Cool stuff... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From mwieder at ahsoftware.net Thu Jul 28 17:00:03 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 28 Jul 2005 14:00:03 -0700 Subject: colors as constants In-Reply-To: References: <42E814BF.1030505@hyperactivesw.com> Message-ID: <6318131081.20050728140003@ahsoftware.net> Jeanne- Wednesday, July 27, 2005, 10:01:50 PM, you wrote: JAED> Actually, the color names aren't true constants (that is, they aren't JAED> in the constantNames). They're literals; as with other one-word JAED> literals, you can get away with not quoting them, but as you note JAED> it's not good practice. Yes, I got taken to task for this a while back. And here's why it's not a good idea to treat colors as constants (I do consider this a flaw in Transcript, by the way - I think they should be added to the list of contantNames): on mouseUp local red put "hello" into red put red into msg end mouseUp -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Thu Jul 28 17:03:39 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 28 Jul 2005 14:03:39 -0700 Subject: Crossword Generator In-Reply-To: References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> <426C2C5E-FBA9-4F67-86BE-897BBB064A17@charter.net> Message-ID: <9218347302.20050728140339@ahsoftware.net> Mark- Thursday, July 28, 2005, 9:53:12 AM, you wrote: MT> I got very close to creating one along with a Word Search program. MT> Due to the state of education market at this time, it would not be MT> worth the development and marketing costs. It's also a fairly crowded market, I don't hear a call for Yet Another Crossword Program. I do have to admit, though, that I'm not very intrigued by the quality of the results of the commercial ones I've seen. You can usually tell when something's been generated by a program. -- -Mark Wieder mwieder at ahsoftware.net From ljk144 at gmail.com Thu Jul 28 17:22:36 2005 From: ljk144 at gmail.com (Levi Kendall) Date: Thu, 28 Jul 2005 17:22:36 -0400 Subject: possible imagesource bug Message-ID: Hi all, I'm using the imagesource property on characters of text within a field to display images (I'm assuming this is the best way to do that). Anyway, what my problem using it has been is when the cursor is immediately in front of an image in the field, any letter that gets pressed (or even spacebar / numbers / etc) will assume the imagesource property for that character, and the character that was originally being used for the image (with imagesource) will be placed after the image in the field. Essentially what this is like if you are looking at it happen is the new char is pushing the old char out of the image. The result I'm looking for is to have the new character placed in front of the image (this would be the expected result I would say). Has anyone experienced this or found a solution for it? This behavior seems odd to me so I'm guessing this is not working as intended? -Levi From 3mcgrath at adelphia.net Thu Jul 28 17:37:44 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 17:37:44 -0400 Subject: rotating images In-Reply-To: References: Message-ID: Ban, I would handle this at the card level via: on openCard send myImageRotate to me in 10 seconds end openCard on myImageRotate -- do your repeat loop here to both rotate and cycle through your images -- maybe use a counter for what image we are on at this time through send myImageRotate to me in 10 seconds end myImageRotate HTH Tom On Jul 28, 2005, at 4:01 PM, Ban Nguyen wrote: > > Do the images sit on top of each other? or are they side by side? > On top: > Do you want one image to appear and then rotate in ten seconds and Then > disappear and be replaced by image 2 which then rotates in ten seconds > to disappear and be replaced by image 3 etc. > > > Yes, the images sit on top of each other. I want image 1 appears then > 10 sec image 2 appear then 1 sec image 3 appear..........back to image > 1 and so on > > > I have one main stack which has 5 cards. I want these images keep > changing while user click to go to another card > > Thanks for your help > From eric.chatonet at sosmartsoftware.com Thu Jul 28 17:47:22 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 28 Jul 2005 23:47:22 +0200 Subject: possible imagesource bug In-Reply-To: References: Message-ID: Hi Levi, The engine does not assign an image to a character but to the location of a character. Besides you write: set the imageSource of char 1 of line 2 of field "This" to 2533 And not: set the imageSource of z to 2533 :-) In practice, it's very rare to let the user handle images in an *editable* field. Usually imageSource is used in locked fields: imagine if the user clears an image, he will not be able to restore it later :-) You might consider imageSource as an "hidden" html feature: If you look at the html text of a field where you have changed a "character location" for an image you will see it. Le 28 juil. 05 ? 23:22, Levi Kendall a ?crit : > I'm using the imagesource property on characters of text within a > field to display images (I'm assuming this is the best way to do > that). Anyway, what my problem using it has been is when the cursor > is immediately in front of an image in the field, any letter that gets > pressed (or even spacebar / numbers / etc) will assume the imagesource > property for that character, and the character that was originally > being used for the image (with imagesource) will be placed after the > image in the field. Essentially what this is like if you are looking > at it happen is the new char is pushing the old char out of the image. > The result I'm looking for is to have the new character placed in > front of the image (this would be the expected result I would say). > Has anyone experienced this or found a solution for it? This behavior > seems odd to me so I'm guessing this is not working as intended? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Thu Jul 28 18:35:40 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 15:35:40 -0700 Subject: Scripter's Scrapbook Chat In-Reply-To: References: Message-ID: Ken.... Yeah, that is way cool. In fact, Hugh and I used that feature today. It is so seamless. And frankly file transfer in general was more stable and reliable in this app than it is in my everyday multi- protocol chat client where file transfers are a crap shoot. On Jul 28, 2005, at 1:30 PM, Ken Ray wrote: > One of the nice things I like about using the chat *in* Scripter's > Scrapbook > (as opposed to the new 'plugin only' form) is that you can send > entries > directly from one person to another. So if you and I were talking > on a chat, > and you were having trouble with something that I had the answer to > in my > scrapbook, I could just send you the entry directly. > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From userev at canelasoftware.com Thu Jul 28 18:44:59 2005 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 28 Jul 2005 15:44:59 -0700 Subject: Crossword Generator In-Reply-To: <9218347302.20050728140339@ahsoftware.net> References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> <3942492420.20050727215538@ahsoftware.net> <7812B59E-464F-413C-93F9-06A384E14F5B@charter.net> <426C2C5E-FBA9-4F67-86BE-897BBB064A17@charter.net> <9218347302.20050728140339@ahsoftware.net> Message-ID: <06F46772-A4B9-4A79-A97B-1C7A26110F11@canelasoftware.com> On Jul 28, 2005, at 2:03 PM, Mark Wieder wrote: > MT> I got very close to creating one along with a Word Search program. > MT> Due to the state of education market at this time, it would not be > MT> worth the development and marketing costs. > > It's also a fairly crowded market, I don't hear a call for Yet Another > Crossword Program. I do have to admit, though, that I'm not very > intrigued by the quality of the results of the commercial ones I've > seen. You can usually tell when something's been generated by a > program. This is very true. At the time, I had the opportunity to write one that would have gone in just about every teacher store in the U.S. The margins for Ed Software Tools these days are just not as lucrative as the private sector applications. There was a time when it was good enough to financially justify the time spent. Luckily, I receive a great deal of pleasure making tools in this market while my other projects help to subsidize the expenses. Mark Talluto -- CANELA Software http://www.canelasoftware.com From webmaster at dreamscapesoftware.com Thu Jul 28 19:13:22 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 28 Jul 2005 18:13:22 -0500 Subject: MacOS X Status Icon Message-ID: <42E96692.3060803@dreamscapesoftware.com> A while ago someone posted a script for doing a very good representation of the MacOS X status icon that is usually seen when you first boot a new Macintosh. Does anyone still have this script? I would like to use it for a status icon in one of my projects. If anyone has it could you please send me a copy of the script. Thanks! Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From revdan at danshafer.com Thu Jul 28 20:56:48 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 17:56:48 -0700 Subject: [OT] Windows Command Help Message-ID: <4150AA55-8E20-4472-B560-4E517CC282CD@danshafer.com> In OS X, I can issue the shell command "launch" followed by a document path and the system opens that document with the appropriate app. Is there an equivalent command/syntax for Windows? I tried "start" but if I give it a document path, it opens a new command window but doesn't do anything. Thanks in advance for any help for the Windows-challenged. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From b.xavier at internet.lu Thu Jul 28 21:24:36 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 29 Jul 2005 03:24:36 +0200 Subject: [OT] Windows Command Help In-Reply-To: <4150AA55-8E20-4472-B560-4E517CC282CD@danshafer.com> Message-ID: <20050729011340.05751824FF4@mail.runrev.com> Hi Dan It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not in DOS ;0 what you need is something like c:\notepad or notepad.exe should work... BUT this will block Rev... :( so shell("start" && quote && appspath && docpath && quote should work...) cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Dan Shafer > Sent: Friday, July 29, 2005 02:57 > To: Revolution List > Subject: [OT] Windows Command Help > > In OS X, I can issue the shell command "launch" followed by a > document path and the system opens that document with the > appropriate app. > > Is there an equivalent command/syntax for Windows? I tried "start" > but if I give it a document path, it opens a new command > window but doesn't do anything. > > Thanks in advance for any help for the Windows-challenged. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com Get my book, "Revolution: Software > at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From capellan2000 at yahoo.com Thu Jul 28 21:50:45 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Thu, 28 Jul 2005 18:50:45 -0700 (PDT) Subject: Justify text in a field In-Reply-To: <20050728141047.008C8824EA9@mail.runrev.com> Message-ID: <20050729015046.53394.qmail@web40528.mail.yahoo.com> on Thu, 28 Jul 2005 Jonathan Lynch wrote: > As long as a field is wide enough, and a given > screen line contains > enough words, manipulating expanded and condensed > characters should make > this possible - sounds kind of difficult to me. Yes, That's what i thought. :-( on Thu, 28 Jul 2005 xavier wrote: > Actually IT IS POSSIBLE!!! > Jonathan flipped my mind switch back in gear ;) > Give a field's width w and the formattedwidth of the > text in line l... > you might have to add each word's formattedwith (and > get pissed off > at the definition of a word in rev) - then divide > the difference by > the number of words in the line and then insert > "tiny" spaces in between > the words... This should do the trick... I agree, but the ideal could be to use unicode fonts, that have many spaces of different width. :-D Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From sarahr at genesearch.com.au Thu Jul 28 22:14:21 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 29 Jul 2005 12:14:21 +1000 Subject: request for script or stack In-Reply-To: References: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> Message-ID: <4CA6F69D-20C5-4EC9-83D8-B0E541A9AF7B@genesearch.com.au> > Your find script works really well! It doesn't cycle through the > same page when there's more than one hit on the same page. That's > great! Scrolling fields will scroll to show the hit. Scrolling > fields containing multiple hits will scroll to show multiple hits, > if necessary. This is almost perfect! Thanks. > > It seems like this ought to be native to Rev. It's silly that it > has to be scripted. Is that an enhancement request that's already > been submitted? > > I don't quite understand how your script works yet -- I'm kind of > slow at that -- but I'll study it and figure it out. > > If I could wish for one enhancement, the script would scroll a > scrolling background so I could see the hit if it were otherwise > scrolled out of sight. I'm not asking you to script that for me. Is > it scriptable? If so, could you drop me a hint? After the find command has done, check "the foundChunk" and see what it gives you. You could select it, which would automatically set the scroll. Or you could work out which line it is and set the vScroll of the field, but that might be tricky if the text is wrapping. > > Regarding the find and replace window, it sounds like yours works a > zillion times faster than mine. Any ideas about why that could be? > My computer isn't a screamer. It's a 466 mhz G4. Mine's a 700 MHz G4, so it shouldn't be vastly different. And you have more RAM than me, so that isn't it either. Sorry, I'm stumped. The only suggestion I have is to make sure you are limiting your searches to a specific stack and only one one aspect e.g. fields or scripts. Do you have any of the check boxes on the left checked? I never use them and I guess turning on "Case sensitive" could slow things down. Checking through the Find script used by Rev, it uses either a matchText function (if you selected RegEx) or a simple "if myString is in ..." to find stuff. However it also uses a technique that I hadn't come across before but looks very useful: set allowInterrupts to false -- this stops people interrupting the script whenever they like periodically, check "the interrupt" which tells you if someone has tried to interrupt the script. This allows you to handle interruptions gracefully and only when you want to. However, the Find script checks this once for each object that it searches so it seems really weird if it is taking 10 - 15 seconds per object. Sorry not to be more helpful, Sarah From sarahr at genesearch.com.au Thu Jul 28 22:24:37 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 29 Jul 2005 12:24:37 +1000 Subject: MacOS X Status Icon In-Reply-To: <42E96692.3060803@dreamscapesoftware.com> References: <42E96692.3060803@dreamscapesoftware.com> Message-ID: Hi Derek, I had the original stack, posted I think by Wilhelm Sanke (forgive me if I have got this wrong). It is very neat and I use it in one of my apps very successfully. I have emailed the stack to you directly. Cheers, Sarah On 29/07/2005, at 9:15 AM, Derek Bump wrote: > A while ago someone posted a script for doing a very good > representation of the MacOS X status icon that is usually seen when > you first boot a new Macintosh. > > Does anyone still have this script? I would like to use it for a > status icon in one of my projects. If anyone has it could you > please send me a copy of the script. > > Thanks! > > > Derek Bump > Dreamscape Software From jacque at hyperactivesw.com Thu Jul 28 22:33:13 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2005 21:33:13 -0500 Subject: Load URL doesn't send message Message-ID: <42E99569.3090000@hyperactivesw.com> I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't get a message when the URL is done. I'm trying: load url tURL with message "myMsg" No message is sent. Is it just me? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From b.xavier at internet.lu Thu Jul 28 22:36:33 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 29 Jul 2005 04:36:33 +0200 Subject: Justify text in a field In-Reply-To: <20050729015046.53394.qmail@web40528.mail.yahoo.com> Message-ID: <20050729022531.0292C824FFF@mail.runrev.com> Al > I agree, but the ideal could be to use > unicode fonts, that have many spaces of different width. :-D > > > > I didn't know that! Just learned something! Here's my old monospace script, im sure you can adjust it for modern times ;) Please share your improvements to it ;) Im working on a special editor and this could make it in after all... cheers Xavier on mouseUp put cd fld "linewidth" into lineWidth put cd fld "Lmargin" into Lmargin put cd fld "Rmargin" into Rmargin put cd fld "Indent" into Indent put hilite of cd btn "full justification" into fulljustification if indent<0 then put Stringfill("L", Lmargin+indent ) into L else put Stringfill("L", Lmargin ) into L put Stringfill("R", Rmargin ) into R put Stringfill("I", abs(indent) ) into I put Stringfill("-", linewidth-(Lmargin+Rmargin)-indent ) into P -- LIPR for left right indent and paragraph start get L & I & P & R put L & I & P & R into cd fld "Ruler" put setmonospacestyle(cd fld "input",selectedtext of cd btn "alignment",lineWidth,\ Lmargin, Rmargin, Indent,fulljustification) into cd fld "output" -- text you want to limitlength end mouseUp function setmonospacestyle thetext,alignment,Paraglinewidth,LMargin,RMargin,Indent,fulljustification put Paraglinewidth - (LMargin + RMargin) into linewidth if LMargin<>0 then put StringFill(" ",LMargin) into LMargintxt else put "" into LMargintxt if LMargin<>0 then put StringFill(" ",RMargin) into RMargintxt else put "" into RMargintxt if indent>0 then put StringFill(" ",indent) into indenttxt else put "" into indenttxt put 0 into thislinelen put "" into thisline put "" into output repeat with y = 1 to the number of lines in thetext put line y of thetext into theline put theline <> "" into isindented if isindented then put indenttxt before thisline put the number of words in theline into thelinewordcount repeat with x = 1 to thelinewordcount set cursor to busy put word x of theline into thisword put the length of thisword into thiswordlen if (isindented and (thislinelen+thiswordlen+1 - indent) > linewidth) or\ (thislinelen+thiswordlen+1) > linewidth then if char 1 of thisline = " " then delete char 1 of thisline if isindented and indent<0 and LMargin>abs(indent) then put StringFill(" ",LMargin+indent) before thisline else if LMargin>0 then put LMarginTxt before thisline if RMargin>0 then put RMarginTxt after thisline if the number of words in thisline > 0 then if alignment = "Center" then put AlignCenterTxtString(thisline,lineWidth) into thisline else if alignment = "Right" then put AlignRightTxtString(thisline,lineWidth) into thisline else if alignment = "Justify" then if x < thelinewordcount then put AlignJustifyTxtString(thisline,lineWidth) into thisline end if end if put return & thisline after output put thisword into thisline put thiswordlen into thislinelen put false into isindented else if thisline="" then put thisword into thisline else put " " & thisword after thisline put length(thisline) into thislinelen --add thiswordlen+1 to thislinelen end if end repeat if char 1 of thisline = " " then delete char 1 of thisline if isindented and indent<0 and LMargin>abs(indent) then put StringFill(" ",LMargin+indent) before thisline else if LMargin>0 then put LMarginTxt before thisline -- if indent<0 and LMargin>indent -- then put StringFill(" ",LMargin+indent) before thisline -- else if LMargin>0 then put LMarginTxt before thisline if RMargin>0 then put RMarginTxt after thisline if the number of words in thisline > 0 then if alignment = "Center" then put AlignCenterTxtString(thisline,lineWidth) into thisline else if alignment = "Right" then put AlignRightTxtString(thisline,lineWidth) into thisline -- you don't justify last line of paragraph unless fullJustified else if alignment = "Justify" and fulljustification then put AlignJustifyTxtString(thisline,lineWidth) into thisline end if end if put return & thisline after output put "" into thisline put 0 into thislinelen end repeat delete char 1 of output return output end setmonospacestyle function StringFill what,anum if anum=0 then return "" put "" into out repeat with x = 1 to anum put what after out end repeat return out end StringFill function textmonospaceCenter txt,alen,margin put "" into thisline put length(txt) into textlen -- generate white chars get (alen-textlen) repeat it put " " after thisline end repeat put it div 2 into textoffset put txt after char textoffset of thisline return thisline end textmonospaceCenter -- function AlignCenterTxtString thisline,lineWidth put linewidth-length(thisline) into diff put diff div 2 into offspace put stringfill(" ",offspace) into offsetspacetxt put offsetspacetxt&thisline&offsetspacetxt into thisline return thisline end AlignCenterTxtString function AlignRightTxtString thisline,lineWidth repeat while last char of thisline = " " delete last char of thisline end repeat put linewidth-length(thisline) into diff put stringfill(" ",diff) into offsetspacetxt put offsetspacetxt&thisline into thisline return thisline end AlignRightTxtString function AlignJustifyTxtString thisline,lineWidth put length(thisline) into lenline put linewidth-lenline into diff if diff>0 then put the number of words in thisline into linewords put 0 into wordsep put 0 into spacesteps if diff>linewords and linewords>2 then put linewords into wordsep put diff div (linewords-1) into spacesteps end if else if diff>1 then put linewords-1 into wordsep put (linewords div diff-1) into spacesteps end if put stringfill(" ",spacesteps) into spacerun repeat with z = 2 to wordsep --step bystep if the length of thisline >= linewidth then exit repeat put spacerun before word z of thisline end repeat --end if return thisline end AlignJustifyTxtString From webmaster at dreamscapesoftware.com Thu Jul 28 22:35:03 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Thu, 28 Jul 2005 21:35:03 -0500 Subject: MacOS X Status Icon In-Reply-To: References: <42E96692.3060803@dreamscapesoftware.com> Message-ID: <42E995D7.9050709@dreamscapesoftware.com> Sarah Reichelt wrote: > I had the original stack, posted I think by Wilhelm Sanke (forgive me > if I have got this wrong). It is very neat and I use it in one of my > apps very successfully. I have emailed the stack to you directly. Sarah you're a life-saver! Ok, well, it really wasn't a life and death situation, but thank you! I appreciate it. :) Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From mwieder at ahsoftware.net Thu Jul 28 16:04:34 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 28 Jul 2005 20:04:34 +0000 (UTC) Subject: Crossword Generator References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> Message-ID: Tom- > I made an iconic crossword generator that uses icons in sequences > instead letters in sequences (as words). The icon sequences 'represent' > words and phrases. Is that close enough??? > > I did a few error checking things to see if the last icon of line 1 is > the first icon of line 2 or if the second icon of down 5 is the last > icon in 6 across etc. I did cheat though because if there were not > enough words to create it then I just had the thing try a whole new > generation instead of rearranging the ones I had. Also, I then had to > error check to make sure the same sequence was not used twice etc. That sounds very interesting. Have you posted this somewhere? How are you ensuring the same sequence hasn't already been used? -- Mark Wieder mwieder at ahsoftware.net From b.xavier at internet.lu Thu Jul 28 22:45:10 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 29 Jul 2005 04:45:10 +0200 Subject: Load URL doesn't send message In-Reply-To: <42E99569.3090000@hyperactivesw.com> Message-ID: <20050729023408.E76E882501F@mail.runrev.com> Hi Jacque, Works fine in the DiscreteBrowser... on windows... But first i tried, it crashed rev... grrr at least something is not working :) Xav > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > J. Landman Gay > Sent: Friday, July 29, 2005 04:33 > To: Revolution Mailing List > Subject: Load URL doesn't send message > > I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and > can't get a message when the URL is done. I'm trying: > > load url tURL with message "myMsg" > > No message is sent. Is it just me? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarahr at genesearch.com.au Thu Jul 28 22:45:23 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 29 Jul 2005 12:45:23 +1000 Subject: Load URL doesn't send message In-Reply-To: <42E99569.3090000@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> Message-ID: > I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't > get a message when the URL is done. I'm trying: > > load url tURL with message "myMsg" > > No message is sent. Is it just me? > It's working for me, with the same version. Do you get anything if you check "the result" right after the "load" command? Is there an restriction about where the callback handler has to be? I always put it in the same object, but I don't know if that matters. Cheers, Sarah From mwieder at ahsoftware.net Thu Jul 28 22:51:02 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 28 Jul 2005 19:51:02 -0700 Subject: [OT] Windows Command Help In-Reply-To: <20050729011340.05751824FF4@mail.runrev.com> References: <20050729011340.05751824FF4@mail.runrev.com> Message-ID: <2039189842.20050728195102@ahsoftware.net> MisterX- Thursday, July 28, 2005, 6:24:36 PM, you wrote: M> It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not in DOS ;0 I agree. My first experience with a Mac in 1984 was something similar. "Where's the command line?", "How do you delete a file?", etc. I had to be shown step by step. But... get shell("start" && tPathToDocument) -- works for me -- -Mark Wieder mwieder at ahsoftware.net From tsj at unimelb.edu.au Thu Jul 28 22:53:21 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 29 Jul 2005 12:53:21 +1000 Subject: Cloning stacks invisibly? In-Reply-To: <20050621121627.BE85A93014D@mail.runrev.com> References: <20050621121627.BE85A93014D@mail.runrev.com> Message-ID: Is there any way to clone a stack invisibly? I've tried setting the loc of the stack to be cloned offscreen but the newly cloned stack still appears onscreen (at least under OSX). Any ideas? Cheers, Terry... Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA From ambassador at fourthworld.com Thu Jul 28 22:55:43 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jul 2005 19:55:43 -0700 Subject: [OT] Determining shippability Message-ID: <42E99AAF.7050501@fourthworld.com> I think we'd all like to be among the few developers in the world who ship perfect software, but in reality nearly all software gets shipped with known bugs. I was reading this article on criteria for shipping , and it had me curious: What criteria do you folks use to decide when to do more bug testing/fixing and when to ship? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From briany at qldlearning.com Thu Jul 28 23:13:31 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 28 Jul 2005 20:13:31 -0700 Subject: Load URL doesn't send message In-Reply-To: <42E99569.3090000@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> Message-ID: Jacque, I've seen this happen occasionally, but it has been the exception and not the rule. What I can say is that libURL will sometimes error out in "load url" and never send the message even though it should. The only way I've found to deal with this is to monitor the openSockets myself and assume that if the socket for that URL closes and I still haven't heard anything, there was an error. HTH, - Brian > I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't > get a message when the URL is done. I'm trying: > > load url tURL with message "myMsg" > > No message is sent. Is it just me? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From 3mcgrath at adelphia.net Thu Jul 28 23:53:42 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 23:53:42 -0400 Subject: Crossword Generator In-Reply-To: References: <2397B171-9EC6-40CF-906F-3DC0EEF83688@charter.net> Message-ID: <40172e4e256dcee5a732a0bd83d463bb@adelphia.net> Mark, That's the part I cheated at. What I did was since the script was very fast in generating I waited until it was done and then checked for doubles, if there was a double then I just had it start over. I have seen it start over once but most times with my random choices it works on the first try. If I were to finalize this game I would fix that part. I was in a hurry then because I had to create nine games in under a week to coincide with my rebuild of the MM Director project in Rev. It is a prototype of my designs for a UI with icons for pda's and phones. I did create three text based trivia type games and four moving tiles based games and the one crossicons game. I would post the whole project if I could get permission. Right now the company got the funding and we are waiting for the lawyers to finish. I will post a link once I have the permission. It isn't complete but does work enough to prototype and is very complicated. P.S. To get a better random of a list I sort the lines by random the number of lines and then filter what was left over into a temp variable then do the next few randoms on the new list etc. But not too far because the list gets smaller over time then I do a new random sort of the num of lines over again. Random is not very random and usually requires a random of the random and then random again to make sure it is random enough. Random, Tom On Jul 28, 2005, at 4:04 PM, Mark Wieder wrote: > Tom- > >> I made an iconic crossword generator that uses icons in sequences >> instead letters in sequences (as words). The icon sequences >> 'represent' >> words and phrases. Is that close enough??? >> >> I did a few error checking things to see if the last icon of line 1 is >> the first icon of line 2 or if the second icon of down 5 is the last >> icon in 6 across etc. I did cheat though because if there were not >> enough words to create it then I just had the thing try a whole new >> generation instead of rearranging the ones I had. Also, I then had to >> error check to make sure the same sequence was not used twice etc. > > That sounds very interesting. Have you posted this somewhere? How are > you > ensuring the same sequence hasn't already been used? > > -- > Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From jacque at hyperactivesw.com Fri Jul 29 00:14:50 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2005 23:14:50 -0500 Subject: Load URL doesn't send message In-Reply-To: References: <42E99569.3090000@hyperactivesw.com> Message-ID: <42E9AD3A.8050402@hyperactivesw.com> Brian Yennie wrote: > Jacque, > > I've seen this happen occasionally, but it has been the exception and > not the rule. What I can say is that libURL will sometimes error out in > "load url" and never send the message even though it should. The only > way I've found to deal with this is to monitor the openSockets myself > and assume that if the socket for that URL closes and I still haven't > heard anything, there was an error. I've got more info now. I am using a status-checking handler that looks at the urlstatus and updates a progress bar if the status is "loading". If I run that handler, I get no message sent when the loading is done. If I comment out that handler and ignore the status, then I get a message sent. Mostly. Sometimes it doesn't work. My last 10 tests or so, nothing worked at all; I'm getting empty status back and no file. Of course, if I don't use the status handler, then I can't update the progress bar. My compromise is to call the message myself when the status is "cached" and that seems to work okay. But I can't figure out why no message is sent by libURL. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Jul 29 00:20:29 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 28 Jul 2005 23:20:29 -0500 Subject: Load URL doesn't send message In-Reply-To: References: <42E99569.3090000@hyperactivesw.com> Message-ID: <42E9AE8D.8000702@hyperactivesw.com> Sarah Reichelt wrote: >> I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't >> get a message when the URL is done. I'm trying: >> >> load url tURL with message "myMsg" >> >> No message is sent. Is it just me? >> > It's working for me, with the same version. Do you get anything if you > check "the result" right after the "load" command? No, it's empty. > Is there an restriction about where the callback handler has to be? I > always put it in the same object, but I don't know if that matters. The libURL docs say it needs to be in the same script, and mine is. What handlers are you using? Do you do a urlStatus check with a progress bar? That seems to be part of the problem, near as I can tell. Of course, I could be doing something dumb. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdan at danshafer.com Fri Jul 29 01:01:12 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 22:01:12 -0700 Subject: [OT] Windows Command Help In-Reply-To: <20050729011340.05751824FF4@mail.runrev.com> References: <20050729011340.05751824FF4@mail.runrev.com> Message-ID: <25E8DB4E-E3EB-4667-B0E8-7A24F8F707A7@danshafer.com> The problem is I don't know the name or path of the app. On OS X, this doesn't matter. But it appears I cannot ask Windows to launch a document and expect it to figure out which app to use. Great. Dan On Jul 28, 2005, at 6:24 PM, MisterX wrote: > Hi Dan > > It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not > in DOS ;0 > > what you need is something like > c:\notepad > or notepad.exe or should work... > > BUT this will block Rev... :( > > so shell("start" && quote && appspath && docpath && quote should > work...) > > cheers > Xavier > > >> -----Original Message----- >> From: use-revolution-bounces at lists.runrev.com >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >> Dan Shafer >> Sent: Friday, July 29, 2005 02:57 >> To: Revolution List >> Subject: [OT] Windows Command Help >> >> In OS X, I can issue the shell command "launch" followed by a >> document path and the system opens that document with the >> appropriate app. >> >> Is there an equivalent command/syntax for Windows? I tried "start" >> but if I give it a document path, it opens a new command >> window but doesn't do anything. >> >> Thanks in advance for any help for the Windows-challenged. >> >> >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> Dan Shafer, Revolution Consultant and Author >> http://www.shafermedia.com Get my book, "Revolution: Software >> at the Speed of Thought" >> From http://www.revolutionpros.com, Click "My Stuff" >> >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Fri Jul 29 01:03:22 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 22:03:22 -0700 Subject: [OT] Windows Command Help In-Reply-To: <2039189842.20050728195102@ahsoftware.net> References: <20050729011340.05751824FF4@mail.runrev.com> <2039189842.20050728195102@ahsoftware.net> Message-ID: <7C68FA3F-7A11-4542-B469-E2634B329EE5@danshafer.com> Not on this end. Well, I should say that I tried it directly in the shell, not from Rev. There, I typed: start "blah\blah\doc.pdf" It opened a new command line window and stared at me. I'll try it tomorrow from inside Rev. Dan On Jul 28, 2005, at 7:51 PM, Mark Wieder wrote: > get shell("start" && tPathToDocument) -- works for me > From briany at qldlearning.com Fri Jul 29 01:07:21 2005 From: briany at qldlearning.com (Brian Yennie) Date: Thu, 28 Jul 2005 22:07:21 -0700 Subject: [OT] Windows Command Help In-Reply-To: <7C68FA3F-7A11-4542-B469-E2634B329EE5@danshafer.com> References: <20050729011340.05751824FF4@mail.runrev.com> <2039189842.20050728195102@ahsoftware.net> <7C68FA3F-7A11-4542-B469-E2634B329EE5@danshafer.com> Message-ID: <376ee538845414253f12b87c4ae34dde@qldlearning.com> Dan, I'm all MacOS here, but I did notice a couple of things which might help you- 1) You may need the drive name, i.e.: start "c:\blah\blah\doc.pdf" 2) When inside Rev, you can use the hideConsoleWindows property to hide the nasty window (or something close to that, don't have my reference handy). HTH - Brian > Not on this end. > > Well, I should say that I tried it directly in the shell, not from > Rev. There, I typed: > > start "blah\blah\doc.pdf" > > It opened a new command line window and stared at me. > > I'll try it tomorrow from inside Rev. > > Dan > > On Jul 28, 2005, at 7:51 PM, Mark Wieder wrote: > >> get shell("start" && tPathToDocument) -- works for me >> > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From chipp at chipp.com Fri Jul 29 01:12:44 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 29 Jul 2005 00:12:44 -0500 Subject: [OT] Determining shippability In-Reply-To: <42E99AAF.7050501@fourthworld.com> References: <42E99AAF.7050501@fourthworld.com> Message-ID: <42E9BACC.4080409@chipp.com> Interesting article indeed. Thanks for the link. Since I've been involved with developing and shipping software since the mid-80's here's my 2 cent take on it all. Regarding shipping bug-free code: Things have changed radically! It used to be, we would make every known effort to not ship a product with known bugs. But, there are 3 factors which have changed my perspective on this: 1) The overall complexity of software and perceived 'bugginess' by the user. I really think MS is most to blame for this. People now 'expect' their software to not work correctly, because after all, their OS is reported unsecure and buggy every day in the media. When in fact, I believe there are less crashes and XP is more robust, the perception still exists 'it's not quality software.' The simple fact is, when MS can't build a secure product, how can our clients expect us to? Also, as more developers are involved and more feature creep and customer expectation of 'the new and advanced,' it just goes to reason the software will not be as robust. RR is a good case in point. As many of us 'old timers' know, MC has a very primitive, yet 'bug free' IDE, which Scott Raney (father of the transcript engine) was adamant regarding NEVER shipping a release version of the engine or IDE with a confirmed bug. Course, RR's IDE is much more capable, and much more complex, and therefore much more difficult to make 'bug-free.' If RR adopted Raney's approach, they'd never ship. 2) The understanding that budgets and schedules have for the most part gotten smaller. Back 'in the day', we saw huge budgets for websites, multimedia projects, not to mention app development. But, with tools like RR, Real Basic, Java, .NET-- things have changed. Now, IT departments and marketing/sales managers are more savvy and understand better the real trade offs to get 90% there vs 100%, and often opt for the former. 3) *(the most important)* the ability (and perception) to update a customers product in realtime over the Internet. People are connected to the net and used to updating their programs, OS'es, etc over the net. In fact, products frequently ship on-time but get a 'dot release' improvement soon thereafter. I really like this model, as it enables Altuit to rapidly respond to bug reports, feature requests, etc.. In fact, just last night, a customer asked for a rework of an existing feature, and I was able to do it, and post it, all within 2 hours. From there on, all customers immediately get an update (via MagicCarpet AutoUpdate architecture) the next time they launch. Of course, imperative in this scheme is the ability to 'roll-back' versions as well. Frankly, I believe many software products would benefit from a 'subscription online auto-update' model. This would provide a deterrent to pirates, while maintaining contact with customers. It would also force developers to pay attention to quality and not just 'feature bloat.' -Chipp From sarahr at genesearch.com.au Fri Jul 29 01:31:47 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 29 Jul 2005 15:31:47 +1000 Subject: Load URL doesn't send message In-Reply-To: <42E9AE8D.8000702@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> <42E9AE8D.8000702@hyperactivesw.com> Message-ID: <102ED5CA-4FD3-4A77-8D29-96F8F9FD7B93@genesearch.com.au> >>> I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and >>> can't get a message when the URL is done. I'm trying: >>> >>> load url tURL with message "myMsg" >>> >>> No message is sent. Is it just me? >>> >>> >> It's working for me, with the same version. Do you get anything >> if you check "the result" right after the "load" command? > > What handlers are you using? Do you do a urlStatus check with a > progress bar? That seems to be part of the problem, near as I can > tell. Of course, I could be doing something dumb. No, in the tests I was doing I just did the load with no progress checking, but I've just tried 2 different methods and they both worked. Method 1: on mouseUp put "http://www.whatismyip.com/" into sURL libURLSetStatusCallback "showProgress", the long ID of me load URL sURL with message gotPage end doCheck on showProgress pURL, pStatus put the ticks && pStatus end showProgress on gotPage pURL, pStatus beep libURLSetStatusCallback -- do other processing end gotPage Method 2: on mouseUp put "http://www.whatismyip.com/" into sURL load URL sURL with message gotPage showProgress end doCheck on showProgress put the URLStatus of sURL into tStatus put the ticks && tStatus if tStatus <> empty then send showProgress to me in 2 ticks end showProgress on gotPage pURL, pStatus beep -- do other processing end gotPage Both of these beeped as expected when the "gotPage" message arrived. I see that you put your callback name in quotes & I don't. Yours looks more correct, but it couldn't be doing weird things, could it? Cheers, Sarah From sarahr at genesearch.com.au Fri Jul 29 01:43:32 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Fri, 29 Jul 2005 15:43:32 +1000 Subject: Cloning stacks invisibly? In-Reply-To: References: <20050621121627.BE85A93014D@mail.runrev.com> Message-ID: <3C6D7E1D-8A2F-4875-8A23-22223873568B@genesearch.com.au> Hi Terry, > Is there any way to clone a stack invisibly? I've tried setting the > loc of the stack to be cloned offscreen but the newly cloned stack > still appears onscreen (at least under OSX). > > Any ideas? > Here's what I do, which clones a stack & positions the clone invisibly: BEFORE cloning the stack, set a custom property of the template stack. In this example, I set the cStoredRect of the template to the the rect I want. Then I have this handler in the stack or card script of the template stack: on preOpenStack go invisible to this stack if the cStoredRect of this stack is not empty then set the rect of this stack to the cStoredRect of this stack end preOpenStack After changing the stack name & setting up the display, I then show the newly cloned stack. This works really well and I get no flickers. HTH, Sarah From xbury.cs at clearstream.com Fri Jul 29 02:17:32 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 29 Jul 2005 08:17:32 +0200 Subject: [OT] Windows Command Help In-Reply-To: <7C68FA3F-7A11-4542-B469-E2634B329EE5@danshafer.com> Message-ID: Dan if you type echo %ProgramFiles% you will get the path by default were apps are installed you can do a find using the F3 or WindowKey+F and search for acrobat... if the exe is not in your paths then, there's no way windows will go looking for it... I just tried it D:\NBU 5.0\Doc>start MediaMgr_AdminGuide_SSO.pdf it works... cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 use-revolution-bounces at lists.runrev.com wrote on 29/07/2005 07:03:22: > Not on this end. > > Well, I should say that I tried it directly in the shell, not from > Rev. There, I typed: > > start "blah\blah\doc.pdf" > > It opened a new command line window and stared at me. > > I'll try it tomorrow from inside Rev. > > Dan > > On Jul 28, 2005, at 7:51 PM, Mark Wieder wrote: > > > get shell("start" && tPathToDocument) -- works for me > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From revdan at danshafer.com Fri Jul 29 02:39:01 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 23:39:01 -0700 Subject: [OT] Windows Command Help In-Reply-To: References: Message-ID: <2D00304A-4F61-4A99-9B52-215D6ADF1763@danshafer.com> Well, that's the secret, then. Back to the drawing board. The shell solution is not acceptable. I am amazed (and shouldn't be) that a feature Mac OS has had for a long, long time is missing from the vastly more popular Windows OS. Heh heh. Dan On Jul 28, 2005, at 11:17 PM, xbury.cs at clearstream.com wrote: > if the exe is not in your paths then, there's no way windows will go > looking for it... > From eric.chatonet at sosmartsoftware.com Fri Jul 29 02:46:29 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 08:46:29 +0200 Subject: Load URL doesn't send message In-Reply-To: <42E99569.3090000@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> Message-ID: <474CA4E1-254C-4808-BC39-7C05373A61C5@sosmartsoftware.com> Hi Jacque, I found this thread this morning. As for me I don't use libUrl for downloading urls from the web. As you mentioned it, I do prefer to run my own pending message, checking the urlStatus until it's "cached" (and updating a progress bar). I send the message every 10 milliseconds since I noticed that it was necessary with light files/broadband connection. To write my "Retrieving data from the web" tutorial, I tried many methods: this one appeared the most reliable. My two cents. Le 29 juil. 05 ? 04:33, J. Landman Gay a ?crit : > I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't > get a message when the URL is done. I'm trying: > load url tURL with message "myMsg" 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From revdan at danshafer.com Fri Jul 29 02:50:14 2005 From: revdan at danshafer.com (Dan Shafer) Date: Thu, 28 Jul 2005 23:50:14 -0700 Subject: Missing Script Code in Afterword of My Book Message-ID: <34CD5D36-A173-4185-B114-8EB8590A6FC3@danshafer.com> How in the world this error has stayed unreported for so long is beyond me. I am afraid to think about what it means that nobody has reported this until now. But if you'll go to http://www.revolutionpros.com, click on "My Stuff" and check out the errata there you'll find a missing script from the To Do sample at the back of my book. I'm ashamed. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From ambassador at fourthworld.com Fri Jul 29 02:51:28 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 28 Jul 2005 23:51:28 -0700 Subject: Load URL doesn't send message In-Reply-To: <474CA4E1-254C-4808-BC39-7C05373A61C5@sosmartsoftware.com> References: <42E99569.3090000@hyperactivesw.com> <474CA4E1-254C-4808-BC39-7C05373A61C5@sosmartsoftware.com> Message-ID: <42E9D1F0.7070802@fourthworld.com> Eric Chatonet wrote: > Hi Jacque, > > I found this thread this morning. > As for me I don't use libUrl for downloading urls from the web. You wrote your own custom HTTP socket handlers? What problems did you find with libURL's convenient one-liners to warrant so much work? -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mwieder at ahsoftware.net Fri Jul 29 02:55:56 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 28 Jul 2005 23:55:56 -0700 Subject: [OT] Windows Command Help In-Reply-To: <7C68FA3F-7A11-4542-B469-E2634B329EE5@danshafer.com> References: <20050729011340.05751824FF4@mail.runrev.com> <2039189842.20050728195102@ahsoftware.net> <7C68FA3F-7A11-4542-B469-E2634B329EE5@danshafer.com> Message-ID: <3253884361.20050728235556@ahsoftware.net> Dan- Thursday, July 28, 2005, 10:03:22 PM, you wrote: DS> Well, I should say that I tried it directly in the shell, not from DS> Rev. There, I typed: DS> start "blah\blah\doc.pdf" Make sure you use a fully-qualified path: "drive:\root\subdirectory\etc\document.ext" -- -Mark Wieder mwieder at ahsoftware.net From eric.chatonet at sosmartsoftware.com Fri Jul 29 02:57:11 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 08:57:11 +0200 Subject: Load URL doesn't send message In-Reply-To: <42E9D1F0.7070802@fourthworld.com> References: <42E99569.3090000@hyperactivesw.com> <474CA4E1-254C-4808-BC39-7C05373A61C5@sosmartsoftware.com> <42E9D1F0.7070802@fourthworld.com> Message-ID: <45BFD348-DB3A-4ED0-B7CC-0AA2A4A434CE@sosmartsoftware.com> Hi Richard, Thanks God, no! I just said that I did not use libUrl but I do use the load command and run my own pending message: not too much work :-) More transparent, more debuggable if needed... Le 29 juil. 05 ? 08:51, Richard Gaskin a ?crit : > Eric Chatonet wrote: > >> Hi Jacque, >> I found this thread this morning. >> As for me I don't use libUrl for downloading urls from the web. >> > > You wrote your own custom HTTP socket handlers? > > What problems did you find with libURL's convenient one-liners to > warrant so much work? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From ambassador at fourthworld.com Fri Jul 29 03:12:26 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 29 Jul 2005 00:12:26 -0700 Subject: Load URL doesn't send message In-Reply-To: <45BFD348-DB3A-4ED0-B7CC-0AA2A4A434CE@sosmartsoftware.com> References: <42E99569.3090000@hyperactivesw.com> <474CA4E1-254C-4808-BC39-7C05373A61C5@sosmartsoftware.com> <42E9D1F0.7070802@fourthworld.com> <45BFD348-DB3A-4ED0-B7CC-0AA2A4A434CE@sosmartsoftware.com> Message-ID: <42E9D6DA.9040504@fourthworld.com> Eric Chatonet wrote: > Le 29 juil. 05 ? 08:51, Richard Gaskin a ?crit : > >> Eric Chatonet wrote: >>> As for me I don't use libUrl for downloading urls from the web. >> >> You wrote your own custom HTTP socket handlers? >> >> What problems did you find with libURL's convenient one-liners to >> warrant so much work? > > Thanks God, no! > I just said that I did not use libUrl but I do use the load > command and run my own pending message: not too much work :-) > More transparent, more debuggable if needed... Ah, semantics: the load command uses libURL, so you're still benefitting from Dave Cragg's excellent library even without calling its more specialized handlers directly. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From tsj at unimelb.edu.au Fri Jul 29 03:15:34 2005 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 29 Jul 2005 17:15:34 +1000 Subject: Cloning stacks invisibly? In-Reply-To: <20050729062932.DF5A9825038@mail.runrev.com> References: <20050729062932.DF5A9825038@mail.runrev.com> Message-ID: <7c6672a29e4116afd1e6aa128c113a50@unimelb.edu.au> Thanks Sarah - I'll give that a go. Cheers, Terry... > Hi Terry, > >> Is there any way to clone a stack invisibly? I've tried setting the >> loc of the stack to be cloned offscreen but the newly cloned stack >> still appears onscreen (at least under OSX). >> >> Any ideas? >> > > Here's what I do, which clones a stack & positions the clone invisibly: > > BEFORE cloning the stack, set a custom property of the template stack. > In this example, I set the cStoredRect of the template to the the rect > I want. Then I have this handler in the stack or card script of the > template stack: > > on preOpenStack > go invisible to this stack > if the cStoredRect of this stack is not empty > then set the rect of this stack to the cStoredRect of this stack > end preOpenStack > > After changing the stack name & setting up the display, I then show > the newly cloned stack. This works really well and I get no flickers. > > HTH, > Sarah From lists at mangomultimedia.com Fri Jul 29 03:41:04 2005 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 29 Jul 2005 00:41:04 -0700 Subject: [OT] Windows Command Help In-Reply-To: <2D00304A-4F61-4A99-9B52-215D6ADF1763@danshafer.com> References: <2D00304A-4F61-4A99-9B52-215D6ADF1763@danshafer.com> Message-ID: <430E831F-8B36-4BF5-B7FC-A13373883F8D@mangomultimedia.com> On Jul 28, 2005, at 11:39 PM, Dan Shafer wrote: > Well, that's the secret, then. > > Back to the drawing board. The shell solution is not acceptable. I > am amazed (and shouldn't be) that a feature Mac OS has had for a > long, long time is missing from the vastly more popular Windows OS. > > Heh heh. Dan, If you can't get anything else to work you could try the EnhancedWin dll I posted the other day. In addition to some commands that allow you to limit your Windows apps to a single instance, there is also a command that I use as a replacement for revMail and revGoURL that should also work for files. It is called ewinOpenURL. Just pass the file path instead of a url. So something like this should work: ewinOpenURL "c:\Some Folder\My Doc.doc" The command uses the ShellExecute API on Windows which opens the file in the default document whether it is a url or file. You can download it here: There is a readme that explains how to use it. -- Trevor DeVore Blue Mango Multimedia trevor at mangomultimedia.com From dcragg at lacscentre.co.uk Fri Jul 29 03:48:09 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 29 Jul 2005 08:48:09 +0100 Subject: Load URL doesn't send message In-Reply-To: <45BFD348-DB3A-4ED0-B7CC-0AA2A4A434CE@sosmartsoftware.com> References: <42E99569.3090000@hyperactivesw.com> <474CA4E1-254C-4808-BC39-7C05373A61C5@sosmartsoftware.com> <42E9D1F0.7070802@fourthworld.com> <45BFD348-DB3A-4ED0-B7CC-0AA2A4A434CE@sosmartsoftware.com> Message-ID: <0F5982B3-3EF1-4DB7-937B-5EF257012607@lacscentre.co.uk> On 29 Jul 2005, at 07:57, Eric Chatonet wrote: > Hi Richard, > > Thanks God, no! > I just said that I did not use libUrl but I do use the load command > and run my own pending message: not too much work :-) > More transparent, more debuggable if needed... > > Le 29 juil. 05 ? 08:51, Richard Gaskin a ?crit : Actually, load url (and get url, delete url, etc.) uses libUrl for http and ftp urls. The engine calls the library directly. I'm afraid you're using it whether you want to or not. No escape. :-) Jacque, concerning your problem, I've just woken up and haven't had time to look at it. But if you have any more useful information, please send it and I'll take a look. Cheers Dave From eric.chatonet at sosmartsoftware.com Fri Jul 29 03:58:51 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 09:58:51 +0200 Subject: Load URL doesn't send message Message-ID: <977DEEB7-A143-4773-A1EF-238B05432F4A@sosmartsoftware.com> Hi Dave, I don't wish to escape such an essential work :-) I Richard pointed it out, sometimes I don't use "lib" prefixed ones in order, for instance, to use a "send" delay longer than 1 millisecond :-) Le 29 juil. 05 ? 09:48, Dave Cragg a ?crit : > Actually, load url (and get url, delete url, etc.) uses libUrl for > http and ftp urls. The engine calls the library directly. I'm > afraid you're using it whether you want to or not. No escape. :-) Don't worry, Rev would be a tiny app without your lib. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jperryl at ecs.fullerton.edu Fri Jul 29 04:05:52 2005 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Fri, 29 Jul 2005 01:05:52 -0700 (PDT) Subject: Missing Script Code in Afterword of My Book In-Reply-To: <34CD5D36-A173-4185-B114-8EB8590A6FC3@danshafer.com> Message-ID: Dan, You're a published writer; aren't you accustomed this this? (I personally know how this sux; see below for personal sob-story) I know that, for something completely different, I had an article published for which the editor decided to make some changes... that made me look entirely like a complete idiot. And, of course, I didn't know of it until the online version was posted and the non-online version went to the printer. The Journal folks were able to make the electronic changes okay, but had to delay delivery of printed material until somebody could literally cut and paste the correction over the printed type. Yikes!!! I know this example isn't your boo-boo... but, YIKES! all the same... Judy On Thu, 28 Jul 2005, Dan Shafer wrote: > How in the world this error has stayed unreported for so long is > beyond me. I am afraid to think about what it means that nobody has > reported this until now. > > But if you'll go to http://www.revolutionpros.com, click on "My > Stuff" and check out the errata there you'll find a missing script > from the To Do sample at the back of my book. > > I'm ashamed. From dcragg at lacscentre.co.uk Fri Jul 29 04:37:16 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 29 Jul 2005 09:37:16 +0100 Subject: Load URL doesn't send message In-Reply-To: <42E99569.3090000@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> Message-ID: <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> On 29 Jul 2005, at 03:33, J. Landman Gay wrote: > I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't > get a message when the URL is done. I'm trying: > > load url tURL with message "myMsg" > > No message is sent. Is it just me? It's just you, Jacque. I'm going back to bed. Just kidding! Obvious things first: Have you spelled the message handler name correctly in your load call? (Not that? Pity! ) The things that could cause the message not to be sent that I can think of: An "unload url" or clearing of the pendingMessages after the message has been sent but before it is handled. The likely place for this kind of thing would be in the status callback handler. After a succesful load, the final callback message gets sent just before the "load message", both sent in 0 milliseconds. So if your callback handler does one of these things when the status is "downloaded", the message won't get sent. So I'd look at the callback handler first. Cheers Dave From eric.chatonet at sosmartsoftware.com Fri Jul 29 05:17:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 11:17:13 +0200 Subject: Load URL doesn't send message In-Reply-To: <977DEEB7-A143-4773-A1EF-238B05432F4A@sosmartsoftware.com> References: <977DEEB7-A143-4773-A1EF-238B05432F4A@sosmartsoftware.com> Message-ID: Hi Dave, I don't wish to escape such an essential work! I Richard pointed it out, sometimes I don't use "lib" prefixed handlers or functions in order, for instance, to use a "send" delay longer than 1 millisecond :-) Le 29 juil. 05 ? 09:48, Dave Cragg a ?crit : > Actually, load url (and get url, delete url, etc.) uses libUrl for > http and ftp urls. The engine calls the library directly. I'm > afraid you're using it whether you want to or not. No escape. :-) Be sure that Rev would be a tiny app without your lib. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dcragg at lacscentre.co.uk Fri Jul 29 07:32:01 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 29 Jul 2005 12:32:01 +0100 Subject: Load URL doesn't send message In-Reply-To: <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> Message-ID: On 29 Jul 2005, at 09:37, Dave Cragg wrote: > > The things that could cause the message not to be sent that I can > think of: > > An "unload url" or clearing of the pendingMessages after the > message has been sent but before it is handled. The likely place > for this kind of thing would be in the status callback handler. > After a succesful load, the final callback message gets sent just > before the "load message", both sent in 0 milliseconds. So if your > callback handler does one of these things when the status is > "downloaded", the message won't get sent. > > So I'd look at the callback handler first. > Another area to look at in your script would be just after the load call. Anything there that might stop background scripts running (a runaway repeat or a wait) or that might clear the pendingMessages or unload the url could be an issue. Cheers Dave From dburgun at dsl.pipex.com Fri Jul 29 08:17:45 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 29 Jul 2005 13:17:45 +0100 Subject: rotating images In-Reply-To: References: Message-ID: Hi, I think the code you are looking for is something like this in the Card Script: global gImageCounter on openCard put 1 into gImageCounter send "DisplayNextImage" to me in 1 second end openCard on DisplayNextImage switch gImageCounter case 1 set the fileName of image "ImageObject" to "File1" break case 2 set the fileName of image "ImageObject" to "File2" break case 3 set the fileName of image "ImageObject" to "File3" -- -- On the last case, you need to reset the counter back 1, but we set it to 0 here so that the Add will make it 1 -- put gImageCounter to 0 break end switch add 1 to gImageCounter send "DisplayNextImage" to me in 10 seconds end DisplayNextImage A better way of doing it would be to have a list of file names and index the list. I have written this way for clarity. Hope this helps All the Best Dave >Ban, > >I would handle this at the card level via: > >on openCard > send myImageRotate to me in 10 seconds >end openCard > >on myImageRotate > -- do your repeat loop here to both rotate and cycle through >your images > -- maybe use a counter for what image we are on at this time through > > send myImageRotate to me in 10 seconds >end myImageRotate > >HTH > >Tom > >On Jul 28, 2005, at 4:01 PM, Ban Nguyen wrote: >> >>Do the images sit on top of each other? or are they side by side? >>On top: >>Do you want one image to appear and then rotate in ten seconds and Then >>disappear and be replaced by image 2 which then rotates in ten seconds >>to disappear and be replaced by image 3 etc. >> >> >>Yes, the images sit on top of each other. I want image 1 appears >>then 10 sec image 2 appear then 1 sec image 3 appear..........back >>to image 1 and so on >> >> >>I have one main stack which has 5 cards. I want these images keep >>changing while user click to go to another card >> >>Thanks for your help >> > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From jbondy at sover.net Fri Jul 29 08:24:32 2005 From: jbondy at sover.net (Jon) Date: Fri, 29 Jul 2005 08:24:32 -0400 Subject: [OT] Windows Command Help In-Reply-To: <25E8DB4E-E3EB-4667-B0E8-7A24F8F707A7@danshafer.com> References: <20050729011340.05751824FF4@mail.runrev.com> <25E8DB4E-E3EB-4667-B0E8-7A24F8F707A7@danshafer.com> Message-ID: <42EA2000.1050201@sover.net> Windows has a facility built in that associates file extensions with applications. Thus, you can tell Windows that the default application for a JPG is FRED.EXE. Normally, any useful document has an associated application. There are ways to ask windows to open a document using the default application. In Delphi, this is what I write to do this: i := ShellExecute(Application.handle, 'open', fName, '', '', SW_SHOWNORMAL); Now, how easy it might be to do this from within Rev, I cannot say. I'm just explaining how Windows works. Hope this helps. Feel free to contact me off list if you want to get into the details. :) Jon Dan Shafer wrote: > The problem is I don't know the name or path of the app. On OS X, > this doesn't matter. But it appears I cannot ask Windows to launch a > document and expect it to figure out which app to use. > > Great. > > Dan > > On Jul 28, 2005, at 6:24 PM, MisterX wrote: > >> Hi Dan >> >> It's funny to see MacOS - no-to-CLIs - crowd do it in Unix and not >> in DOS ;0 >> >> what you need is something like >> c:\notepad >> or notepad.exe > or should work... >> >> BUT this will block Rev... :( >> >> so shell("start" && quote && appspath && docpath && quote should >> work...) >> >> cheers >> Xavier >> >> >>> -----Original Message----- >>> From: use-revolution-bounces at lists.runrev.com >>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of >>> Dan Shafer >>> Sent: Friday, July 29, 2005 02:57 >>> To: Revolution List >>> Subject: [OT] Windows Command Help >>> >>> In OS X, I can issue the shell command "launch" followed by a >>> document path and the system opens that document with the >>> appropriate app. >>> >>> Is there an equivalent command/syntax for Windows? I tried "start" >>> but if I give it a document path, it opens a new command >>> window but doesn't do anything. >>> >>> Thanks in advance for any help for the Windows-challenged. >>> >>> >>> >>> >>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> Dan Shafer, Revolution Consultant and Author >>> http://www.shafermedia.com Get my book, "Revolution: Software >>> at the Speed of Thought" >>> From http://www.revolutionpros.com, Click "My Stuff" >>> >>> >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From plsntbreez at mac.com Fri Jul 29 08:58:53 2005 From: plsntbreez at mac.com (Brian K. Maher) Date: Fri, 29 Jul 2005 08:58:53 -0400 Subject: [OT] Windows Command Help In-Reply-To: <42EA2000.1050201@sover.net> References: <20050729011340.05751824FF4@mail.runrev.com> <25E8DB4E-E3EB-4667-B0E8-7A24F8F707A7@danshafer.com> <42EA2000.1050201@sover.net> Message-ID: <12356720.1122641933888.JavaMail.plsntbreez@mac.com> Hi Jon, In Rev just use the shell. The command would be "start you_file_name_goes_here". Brian From 3mcgrath at adelphia.net Thu Jul 28 09:25:45 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Thu, 28 Jul 2005 09:25:45 -0400 Subject: Revolution as a Prototyping Tool Message-ID: <544b1505ccc9fd78f8848697896651c1@adelphia.net> Dear List Members, I wanted to share this document that I used when presenting Revolution to my company/client for consideration in our prototyping work. Since this list is growing daily, I thought there might be a few people who would find it useful. Revolution as a Prototyping Tool ? Prototyping is a process of design and development used to help model the specifications and requirements for a new application. ? Once a prototype has been developed it can be quickly moved to alpha or sometimes even beta without dedicating significant resources and time. ? The nature of the Revolution tool is that it is designed for rapid development of a graphic/data interface by minimizing the need to write complex machine level code, using instead English like syntax, coding shortcuts and object (graphical) libraries and outputting to any supported OS. ? Using Revolution as a prototyping tool allows the developer to quickly assemble an elegant prototype. Revolution incorporates the use of genuine cross platform support without the need for device or OS specific code compilation, and uses industry standard coding. Proof-of-Concept Development Challenge Commercial realities dictate that there are several key elements to consider when developing a software solution for a client. These are even more pertinent at the prototyping stage of a project. Some of these elements may not be considered as essential at the prototype stage, but they facilitate the acceptance of the final application to the client. ? ? ? Fit for Purpose The prototype application should effectively demonstrate the client's needs and requirements. How does one procure the satisfaction of expectations without exhaustive research into the underlying issues? This is possible by using a software prototyping tool, which allows a concept to be modeled, rapidly aiding in the evaluation of a design. ? Time restrictions In an ideal world one would choose to slow the process down and run it through deliberate design and development cycles. However, available resources invariably dictate this process. The choice of Revolution as a prototyping tool allows us to make maximum use of the time at our disposal. ? Financial constraints Optimally, this type of software should provide the capability to envision and test such a model using local data and resources without a major investment in database server(s), network hardware and software, and the major software engineering costs. ? Moving Target Many clients are not entirely sure of the exact nature of the product they require. They may also redefine their requirements based on outside factors and additional functionality that we can offer. A prototyping tool has the functionality to address such fundamental alterations readily and easily. ? Scalability We should be able to demonstrate the scalable qualities of our proposed application with the prototype. Our client may not have made a final decision on the level of deployment at this stage. They may wish to retain the flexibility to investigate alternatives and additions before committing to a final strategy. ? Real time alterations Revolution allows the flexibility to make changes while prototyping with the client and is possible without the downtime incurred for recompilation. ? Appearance Revolution is presentable and has the look and feel of a finished product. While we are at the prototyping stage, we may still be selling the concept to our client. The appearance of our prototype can become very significant, without minor visual anomalies drawing attention away from the salient issues. ? Maintaining the Prototype Our choice of Revolution as a prototyping tool should allow us to keep track of version histories and the alterations that we make to the application. Ideally we should be able to document the changes we make together with the client requests. We may also require the facility to control multiple developers working on the same project. Revolution allows for us to rapidly develop applications in any peer-to-peer environment. What Makes Revolution Ideal for Prototyping Regardless of the application we are modeling, Revolution provides the tools that allow us to effectively create any prototype. Whether we need to create Internet, Intranet, database applications, with or without a SQL backend, Revolution is the answer. Applications prototyped in Revolution cover just about every market segment. Developing prototypes using Revolution significantly reduces the time we spend creating our applications. This is due to the features and tool sets that are made available to us within the product. Revolution embraces the main principles of practical object orientation. These features include the message hierarchy as well as code and object reuse. Revolution makes it extremely quick to produce any GUI. There is also an extensive set of shortcuts and plugins that cover just about everything from simple window creation to the handling of e-mails. Having one comprehensive tool that can be used for a multitude of needs eliminates the cost of having to purchase multiple applications for prototyping. The initial investment for Revolution is extremely competitive. This makes tight financial constraints inconsequential as the product and pricing is as good as and, if not better, than any prototyping tool currently available. Revolution applications can be developed on any of the supported platforms including all flavors of Windows (95/98/NT/2000), Mac OS 9.x and above, and the major Linux distributions. Revolution applications can be deployed on any or all of these platforms simultaneously with only minimal or no code changes. Sincerely, Thomas J McGrath III From bnz2 at cdc.gov Fri Jul 29 09:37:17 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Jul 2005 09:37:17 -0400 Subject: [OT] Windows Command Help Message-ID: <64878EF567131D4596246171F75FD4A974460C@m-epo-1.epo.cdc.gov> There are a number of nuances to this issue, depending on which windows system you are using, etc... I pieced together the following script from scripts that others created for this purpose. (Just so no one thinks I am stealing someone else's thunder.) It seems to work pretty well... on launchdocument pWhich if there is not a file pWhich then exit launchdocument revSetWindowsShellCommand put revRunningWindowsNT() into tNT if the platform is "Win32" then replace "/" with "\" in pWhich --put "file:///" before pWhich set the itemdelimiter to "." put the last item of pWhich into tExtension put "HKEY_CLASSES_ROOT\." & tExtension & "\" into tQuery put queryRegistry(tQuery) into tApp PUT "HKEY_CLASSES_ROOT\" & tApp & "\shell\open\command\" into tQuery put queryRegistry(tQuery) into tAppCommand put word 1 of tAppCommand into tAppCommand replace quote with empty in tAppCommand if not tNT then get shell("start " & quote & tAppCommand & quote && quote & pWhich & quote) else set the hideconsolewindows to false open process (tAppCommand && quote & pWhich & quote) for neither end if put the result into tResult --answer tResult if tResult = "not opened" then if tAppCommand = empty then answer "I'm sorry, but your computer does not have an application associated with that file extension. Shall I attempt to open it with your browswer?" with "yes" and "no" if it is "yes" then revgourl pWhich end if else get shell("start " & quote & tAppCommand & quote && quote & pWhich & quote) if the result <> empty then answer "I'm afraid I was unable to open the document with the associated application. Shall I attempt to open it with your browser instead?" with "yes" and "no" if it is "yes" then revgourl pWhich end if end if end if end if -- else if the platform is "MacOS" then -- if "appleScript" is not in the alternateLanguages then -- return "Error: AppleScript not installed" -- end if -- do ("open location" && quote & pWhich & quote) as appleScript -- else -- if gREVWebBrowser is empty -- then launch "mozilla" && quote & pWhich & quote -- else launch gREVWebBrowser && quote & pWhich & quote end if end launchdocument -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Brian K. Maher Sent: Friday, July 29, 2005 8:59 AM To: How to use Revolution Subject: Re: [OT] Windows Command Help Hi Jon, In Rev just use the shell. The command would be "start you_file_name_goes_here". Brian _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From xbury.cs at clearstream.com Fri Jul 29 10:08:36 2005 From: xbury.cs at clearstream.com (xbury.cs at clearstream.com) Date: Fri, 29 Jul 2005 16:08:36 +0200 Subject: [OT] Windows Command Help In-Reply-To: <64878EF567131D4596246171F75FD4A974460C@m-epo-1.epo.cdc.gov> Message-ID: Jon Nice and extensive! ;) Here's the simple form i use in my file browser if the platform is "Win32" then put queryRegistry("HKEY_CLASSES_ROOT\."&ftype&"\") into thisappClass put queryRegistry("HKEY_CLASSES_ROOT\"&thisappClass&"\shell\open\command\") into thisapp delete word 2 of thisapp -- %1 if thisapp is not empty then launch (quote & fld "path" && thisfile & quote) with thisapp get the result end if cheers ---------------------=--------------------- Xavier Bury Clearstream Services TNS NT LAN Server ext 36465 Voice: +352 4656 43 6465 Fax: +352 4656 493 6465 use-revolution-bounces at lists.runrev.com wrote on 29/07/2005 15:37:17: > There are a number of nuances to this issue, depending on which windows > system you are using, etc... > > I pieced together the following script from scripts that others created > for this purpose. (Just so no one thinks I am stealing someone else's > thunder.) It seems to work pretty well... > > on launchdocument pWhich > if there is not a file pWhich then exit launchdocument > revSetWindowsShellCommand > put revRunningWindowsNT() into tNT > if the platform is "Win32" then > replace "/" with "\" in pWhich > --put "file:///" before pWhich > set the itemdelimiter to "." > put the last item of pWhich into tExtension > put "HKEY_CLASSES_ROOT\." & tExtension & "\" into tQuery > put queryRegistry(tQuery) into tApp > > PUT "HKEY_CLASSES_ROOT\" & tApp & "\shell\open\command\" into tQuery > put queryRegistry(tQuery) into tAppCommand > put word 1 of tAppCommand into tAppCommand > replace quote with empty in tAppCommand > if not tNT then > get shell("start " & quote & tAppCommand & quote && quote & pWhich > & quote) > else > set the hideconsolewindows to false > open process (tAppCommand && quote & pWhich & quote) for neither > end if > put the result into tResult > --answer tResult > if tResult = "not opened" then > if tAppCommand = empty then > answer "I'm sorry, but your computer does not have an > application associated with that file extension. Shall I attempt to open > it with your browswer?" with "yes" and "no" > if it is "yes" then > revgourl pWhich > end if > else > get shell("start " & quote & tAppCommand & quote && quote & > pWhich & quote) > if the result <> empty then > answer "I'm afraid I was unable to open the document with the > associated application. Shall I attempt to open it with your browser > instead?" with "yes" and "no" > if it is "yes" then > revgourl pWhich > end if > end if > end if > end if > -- else if the platform is "MacOS" then > -- if "appleScript" is not in the alternateLanguages then > -- return "Error: AppleScript not installed" > -- end if > -- do ("open location" && quote & pWhich & quote) as appleScript > -- else > -- if gREVWebBrowser is empty > -- then launch "mozilla" && quote & pWhich & quote > -- else launch gREVWebBrowser && quote & pWhich & quote > end if > end launchdocument > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Brian K. > Maher > Sent: Friday, July 29, 2005 8:59 AM > To: How to use Revolution > Subject: Re: [OT] Windows Command Help > > Hi Jon, > > In Rev just use the shell. The command would be "start > you_file_name_goes_here". > > Brian > ----------------------------------------- Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER From eric.chatonet at sosmartsoftware.com Fri Jul 29 11:02:31 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 17:02:31 +0200 Subject: [ANN][EN][FR] New Tutorial available from So Smart Software Message-ID: <31EF5EC0-CB2A-47E4-8C72-36BA6DFB1FE7@sosmartsoftware.com> Paris, Fri, 29 Jul 2005 ---------------------- English version ------------------------- Hello, So Smart Software has the pleasure of announcing the availability of a new tutorial: How to monitor a QuickTime player by script This stack shows you how to monitor a QT player to play music (mp3 included) and provide all the usual commands, and more, to the user. How to know if the right version of QT is installed, manage durations, progress, quick searches, sound level, loops, play-lists, embed a sound file into a custom property, etc. The main commands are embedded in a scripted group, which you can export into any project. This API is able to monitor, not only sound files, but also the video files as well. As usual, print function included. This tutorial is available through Tutorials Picker. For those who don't have a broadband connection, it's available too as a separate zip archive (228 KB). Best regards, Eric Chatonet. PS. Those who have not upgraded from Tutorials Picker 1.0 to 2.0 might think of it since version 2.0 uses gz files (220 KB to download instead of 380 KB for this tutorial :-) Tutorials Picker (and Tutorials Watcher*) are available for free from http://www.sosmartsoftware.com * Tutorials Watcher is a tiny and non intrusive plugin that informs you automatically at Rev startup when a new tutorial has been released. --------------------- Version fran?aise ------------------------ Bonjour, So Smart Software a le plaisir d'annoncer la disponibilit? d'un nouveau didacticiel : Comment piloter finement un player QuickTime par script Cette pile explique comment construire une interface permettant de jouer tous fichiers musicaux (mp3 inclus) et m?me les vid?os. Comment savoir si la bonne version de QT est install?e, g?rer les temps, les recherches rapides, le niveau sonore, les boucles, les play-lists. Comment indiquer la progression, stocker un fichier musical dans une custom property, etc. La pile permet d'exporter un groupe script? enti?rement fonctionnel pour cr?er votre propre "player". L'API sait piloter, non seulement les fichiers sonores, mais aussi les films vid?o. Comme d'habitude, fonction d'impression incluse. Cordialement, Eric Chatonet. PS. Ceux qui n'ont pas encore mis ? jour Tutorials Picker 1.0 vers 2.0 pourraient y penser : la version 2.0 met en ?uvre des fichiers compress?s gz. Dans le cas pr?sent cela repr?sente 220 Ko ? t?l?charger au lieu de 380 Ko avec la version 1.0 :-) Tutorials Picker (et Tutorials Watcher*) sont disponibles gratuitement sur http://www.sosmartsoftware.com * Tutorials Watcher est un plugin discret qui vous informe automatiquement au d?marrage de Revolution quand un nouveau didacticiel est disponible. ------------------------------------------------------------------- So Smart Software Pour les institutionnels, les entreprises et les associations Des logiciels sur mesure : gestion, multim?dia, internet, etc. Windows, Mac OS et Linux... Avec la "french touch" For institutions, companies and associations Built-to-order applications: management, multimedia, internet, etc. Windows, Mac OS and Linux... With the French touch ------------------------------------------------------------------- Web site http://www.sosmartsoftware.com Email eric.chatonet at sosmartsoftware.com Phone 33 (0) 143 317 762 Mobile 33 (0) 620 745 086 ------------------------------------------------------------------- From psahores at easynet.fr Fri Jul 29 12:04:58 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 29 Jul 2005 18:04:58 +0200 Subject: Revolution as a Prototyping Tool In-Reply-To: <544b1505ccc9fd78f8848697896651c1@adelphia.net> References: <544b1505ccc9fd78f8848697896651c1@adelphia.net> Message-ID: Dear Thomas, Thanks for sharing this great "tutorial" with all of us ! Action: Do you allow me to translate your work to the French dialect ? If yes, do you allow me to specify, as the credits of the input "? 2005 Thomas J McGrath III" (or any other legal ? mention you prefer to see there, alike your company name) at the bottom of the translation. If yes, do you allow me to insert this final french issue + your ? credits as a dedicated pages of my company site, something alike ? In any way, thanks again. A great work and communication tool ! Best Regards, Le 28 juil. 05 ? 15:25, Thomas McGrath III a ?crit : > Dear List Members, > > I wanted to share this document that I used when presenting > Revolution to my company/client for consideration in our > prototyping work. Since this list is growing daily, I thought there > might be a few people who would find it useful. > > Revolution as a Prototyping Tool > > ? Prototyping is a process of design and development used to > help model the specifications and requirements for a new application. > ? Once a prototype has been developed it can be quickly moved to > alpha or sometimes even beta without dedicating significant > resources and time. > ? The nature of the Revolution tool is that it is designed for > rapid development of a graphic/data interface by minimizing the > need to write complex machine level code, using instead English > like syntax, coding shortcuts and object (graphical) libraries and > outputting to any supported OS. > ? Using Revolution as a prototyping tool allows the developer to > quickly assemble an elegant prototype. Revolution incorporates the > use of genuine cross platform support without the need for device > or OS specific code compilation, and uses industry standard coding. > > Proof-of-Concept Development Challenge > Commercial realities dictate that there are several key elements to > consider when developing a software solution for a client. These > are even more pertinent at the prototyping stage of a project. Some > of these elements may not be considered as essential at the > prototype stage, but they facilitate the acceptance of the final > application to the client. > > ? Fit for Purpose > The prototype application should effectively demonstrate the > client's needs and requirements. How does one procure the > satisfaction of expectations without exhaustive research into the > underlying issues? This is possible by using a software prototyping > tool, which allows a concept to be modeled, rapidly aiding in the > evaluation of a design. > ? Time restrictions > In an ideal world one would choose to slow the process down and run > it through deliberate design and development cycles. However, > available resources invariably dictate this process. The choice of > Revolution as a prototyping tool allows us to make maximum use of > the time at our disposal. > ? Financial constraints > Optimally, this type of software should provide the capability to > envision and test such a model using local data and resources > without a major investment in database server(s), network hardware > and software, and the major software engineering costs. > ? Moving Target > Many clients are not entirely sure of the exact nature of the > product they require. They may also redefine their requirements > based on outside factors and additional functionality that we can > offer. A prototyping tool has the functionality to address such > fundamental alterations readily and easily. > ? Scalability > We should be able to demonstrate the scalable qualities of our > proposed application with the prototype. Our client may not have > made a final decision on the level of deployment at this stage. > They may wish to retain the flexibility to investigate alternatives > and additions before committing to a final strategy. > ? Real time alterations > Revolution allows the flexibility to make changes while prototyping > with the client and is possible without the downtime incurred for > recompilation. > ? Appearance > Revolution is presentable and has the look and feel of a finished > product. While we are at the prototyping stage, we may still be > selling the concept to our client. The appearance of our prototype > can become very significant, without minor visual anomalies drawing > attention away from the salient issues. > ? Maintaining the Prototype > Our choice of Revolution as a prototyping tool should allow us to > keep track of version histories and the alterations that we make to > the application. Ideally we should be able to document the changes > we make together with the client requests. We may also require the > facility to control multiple developers working on the same > project. Revolution allows for us to rapidly develop applications > in any peer-to-peer environment. > > What Makes Revolution Ideal for Prototyping > Regardless of the application we are modeling, Revolution provides > the tools that allow us to effectively create any prototype. > Whether we need to create Internet, Intranet, database > applications, with or without a SQL backend, Revolution is the > answer. Applications prototyped in Revolution cover just about > every market segment. > > Developing prototypes using Revolution significantly reduces the > time we spend creating our applications. This is due to the > features and tool sets that are made available to us within the > product. Revolution embraces the main principles of practical > object orientation. These features include the message hierarchy as > well as code and object reuse. Revolution makes it extremely quick > to produce any GUI. There is also an extensive set of shortcuts and > plugins that cover just about everything from simple window > creation to the handling of e-mails. > > Having one comprehensive tool that can be used for a multitude of > needs eliminates the cost of having to purchase multiple > applications for prototyping. The initial investment for Revolution > is extremely competitive. This makes tight financial constraints > inconsequential as the product and pricing is as good as and, if > not better, than any prototyping tool currently available. > Revolution applications can be developed on any of the supported > platforms including all flavors of Windows (95/98/NT/2000), Mac OS > 9.x and above, and the major Linux distributions. Revolution > applications can be deployed on any or all of these platforms > simultaneously with only minimal or no code changes. > > Sincerely, > > Thomas J McGrath III_______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From revdan at danshafer.com Fri Jul 29 12:05:10 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 29 Jul 2005 09:05:10 -0700 Subject: Missing Script Code in Afterword of My Book In-Reply-To: References: Message-ID: <486BC382-9146-4F8D-B886-4728015CF34F@danshafer.com> Judy.... On Jul 29, 2005, at 1:05 AM, Judy Perry wrote: > You're a published writer; aren't you accustomed this this? (I > personally > know how this sux; see below for personal sob-story) > Yeah, it was less the mistake itself than the questions it raised in my mind. If several hundred people have bought this book in one form or another and nobody has yet pointed out this error -- which made the major example in the book not work -- does this mean: (a) they figured it out themselves (it *was* sort of obvious on one level); (b) they didn't catch it at all; or (c) they haven't read the chapter (or perhaps the book)? As a writer, I know mistakes will appear in my code. I try hard to test it and then copy-paste code directly rather than retyping it. Over the years, reviewers have been consistently kind about the paucity of at least code errors in my books. That's a rep I'd like not to tarnish more than necessary. Next time, I need to find copy-readers who are perhaps less knowledgeable and who have and can take more time to review copy in greater detail. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From tetraron at comcast.net Fri Jul 29 12:15:27 2005 From: tetraron at comcast.net (Ronald Swartz) Date: Fri, 29 Jul 2005 09:15:27 -0700 Subject: color probe (at a point) Message-ID: <0080d588cabe6b92d62065906cbe3d43@comcast.net> How would one determine (or return) the color at a point on the screen, under script control of course. I would like it to be something like: get the tcolor at 340,230 (where I just made up the name "tcolor.") Is there any easy way to do this. I am working on something which requires me to poll the points in the neighborhood of a screen point and cannot see anything in revolution which would provide that tool. Help would be appreciated. Ron Swartz tetraron at comcast.net From dburgun at dsl.pipex.com Fri Jul 29 12:15:21 2005 From: dburgun at dsl.pipex.com (David Burgun) Date: Fri, 29 Jul 2005 17:15:21 +0100 Subject: Revolution as a Prototyping Tool In-Reply-To: References: <544b1505ccc9fd78f8848697896651c1@adelphia.net> Message-ID: Yes, a great article! I have used RunRev for prototyping too, however I took it a step further and actually generated the code to build the objects in an external environment, e.g. I write a RunRev Script to output Object/Resource definitions and also to generate .h and .c/.cpp files that could be used in a C/C++ application. All the Best Dave >Dear Thomas, > >Thanks for sharing this great "tutorial" with all of us ! > >Action: Do you allow me to translate your work to the French dialect >? If yes, do you allow me to specify, as the credits of the input "? >2005 Thomas J McGrath III" (or any other legal ? mention you prefer >to see there, alike your company name) at the bottom of the >translation. If yes, do you allow me to insert this final french >issue + your ? credits as a dedicated pages of my company site, >something alike ? > >In any way, thanks again. A great work and communication tool ! > >Best Regards, > > >Le 28 juil. 05 ? 15:25, Thomas McGrath III a ?crit : > >>Dear List Members, >> >>I wanted to share this document that I used when presenting >>Revolution to my company/client for consideration in our >>prototyping work. Since this list is growing daily, I thought there >>might be a few people who would find it useful. >> >>Revolution as a Prototyping Tool >> >>* Prototyping is a process of design and development used to >>help model the specifications and requirements for a new >>application. >>* Once a prototype has been developed it can be quickly moved to >>alpha or sometimes even beta without dedicating significant >>resources and time. >>* The nature of the Revolution tool is that it is designed for >>rapid development of a graphic/data interface by minimizing the >>need to write complex machine level code, using instead English >>like syntax, coding shortcuts and object (graphical) libraries and >>outputting to any supported OS. >>* Using Revolution as a prototyping tool allows the developer to >>quickly assemble an elegant prototype. Revolution incorporates the >>use of genuine cross platform support without the need for device >>or OS specific code compilation, and uses industry standard coding. >> >>Proof-of-Concept Development Challenge >>Commercial realities dictate that there are several key elements to >>consider when developing a software solution for a client. These >>are even more pertinent at the prototyping stage of a project. Some >>of these elements may not be considered as essential at the >>prototype stage, but they facilitate the acceptance of the final >>application to the client. >> >>* Fit for Purpose >>The prototype application should effectively demonstrate the >>client's needs and requirements. How does one procure the >>satisfaction of expectations without exhaustive research into the >>underlying issues? This is possible by using a software prototyping >>tool, which allows a concept to be modeled, rapidly aiding in the >>evaluation of a design. >>* Time restrictions >>In an ideal world one would choose to slow the process down and run >>it through deliberate design and development cycles. However, >>available resources invariably dictate this process. The choice of >>Revolution as a prototyping tool allows us to make maximum use of >>the time at our disposal. >>* Financial constraints >>Optimally, this type of software should provide the capability to >>envision and test such a model using local data and resources >>without a major investment in database server(s), network hardware >>and software, and the major software engineering costs. >>* Moving Target >>Many clients are not entirely sure of the exact nature of the >>product they require. They may also redefine their requirements >>based on outside factors and additional functionality that we can >>offer. A prototyping tool has the functionality to address such >>fundamental alterations readily and easily. >>* Scalability >>We should be able to demonstrate the scalable qualities of our >>proposed application with the prototype. Our client may not have >>made a final decision on the level of deployment at this stage. >>They may wish to retain the flexibility to investigate alternatives >>and additions before committing to a final strategy. >>* Real time alterations >>Revolution allows the flexibility to make changes while prototyping >>with the client and is possible without the downtime incurred for >>recompilation. >>* Appearance >>Revolution is presentable and has the look and feel of a finished >>product. While we are at the prototyping stage, we may still be >>selling the concept to our client. The appearance of our prototype >>can become very significant, without minor visual anomalies drawing >>attention away from the salient issues. >>* Maintaining the Prototype >>Our choice of Revolution as a prototyping tool should allow us to >>keep track of version histories and the alterations that we make to >>the application. Ideally we should be able to document the changes >>we make together with the client requests. We may also require the >>facility to control multiple developers working on the same >>project. Revolution allows for us to rapidly develop applications >>in any peer-to-peer environment. >> >>What Makes Revolution Ideal for Prototyping >>Regardless of the application we are modeling, Revolution provides >>the tools that allow us to effectively create any prototype. >>Whether we need to create Internet, Intranet, database >>applications, with or without a SQL backend, Revolution is the >>answer. Applications prototyped in Revolution cover just about >>every market segment. >> >>Developing prototypes using Revolution significantly reduces the >>time we spend creating our applications. This is due to the >>features and tool sets that are made available to us within the >>product. Revolution embraces the main principles of practical >>object orientation. These features include the message hierarchy as >>well as code and object reuse. Revolution makes it extremely quick >>to produce any GUI. There is also an extensive set of shortcuts and >>plugins that cover just about everything from simple window >>creation to the handling of e-mails. >> >>Having one comprehensive tool that can be used for a multitude of >>needs eliminates the cost of having to purchase multiple >>applications for prototyping. The initial investment for Revolution >>is extremely competitive. This makes tight financial constraints >>inconsequential as the product and pricing is as good as and, if >>not better, than any prototyping tool currently available. >>Revolution applications can be developed on any of the supported >>platforms including all flavors of Windows (95/98/NT/2000), Mac OS >>9.x and above, and the major Linux distributions. Revolution >>applications can be deployed on any or all of these platforms >>simultaneously with only minimal or no code changes. >> >>Sincerely, >> >>Thomas J McGrath III_______________________________________________ >>use-revolution mailing list >>use-revolution at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-revolution > > >-- >Bien cordialement, Pierre Sahores > >100, rue de Paris >F - 77140 Nemours > >skype : psahores > >psahores+ at +easynet.fr >sc+ at +sahores-conseil.com > >GSM: +33 6 03 95 77 70 >Pro: +33 1 64 45 05 33 >Fax: +33 1 64 45 05 33 > > > >WEB/VoD/ACID-DB services over IP >"Mutualiser les deltas de productivit?" > > > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From capellan2000 at yahoo.com Fri Jul 29 12:24:12 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Fri, 29 Jul 2005 09:24:12 -0700 (PDT) Subject: [OT] Free Software Magazine In-Reply-To: <20050729132856.53825824E77@mail.runrev.com> Message-ID: <20050729162412.66325.qmail@web40501.mail.yahoo.com> Hi Developers, Download the PDF edition of the "Free Software Magazine" Many interesting articles for developers in this mail list. al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From janschenkel at yahoo.com Fri Jul 29 12:25:58 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 29 Jul 2005 09:25:58 -0700 (PDT) Subject: color probe (at a point) In-Reply-To: <0080d588cabe6b92d62065906cbe3d43@comcast.net> Message-ID: <20050729162558.96814.qmail@web60517.mail.yahoo.com> --- Ronald Swartz wrote: > How would one determine (or return) the color at a > point on the screen, > under script control of course. I would like it to > be something like: > > get the tcolor at 340,230 (where I just made up > the name "tcolor.") > > Is there any easy way to do this. I am working on > something which > requires me to poll the points in the neighborhood > of a screen point > and cannot see anything in revolution which would > provide that tool. > Help would be appreciated. > > Ron Swartz > Hi Ron, You can use the 'mouseColor' function to determine the color under the current mouse location. The trick is to change the mouse location to the intended point, grab the color and restore the mouse location. Try the following: -- on mouseUp put the screenMouseLoc into tSavedLoc set the screenMouseLoc to 20,20 put the mouseColor into tColor set the screenMouseLoc to tSavedLoc answer tColor end mouseUp -- Hope this helped, Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From alex at tweedly.net Fri Jul 29 12:43:59 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 29 Jul 2005 17:43:59 +0100 Subject: Missing Script Code in Afterword of My Book In-Reply-To: <486BC382-9146-4F8D-B886-4728015CF34F@danshafer.com> References: <486BC382-9146-4F8D-B886-4728015CF34F@danshafer.com> Message-ID: <42EA5CCF.40809@tweedly.net> Dan Shafer wrote: > Yeah, it was less the mistake itself than the questions it raised in > my mind. If several hundred people have bought this book in one form > or another and nobody has yet pointed out this error -- which made > the major example in the book not work -- does this mean: (a) they > figured it out themselves (it *was* sort of obvious on one level); > (b) they didn't catch it at all; or (c) they haven't read the chapter > (or perhaps the book)? Dan, I have your book. I read it all, I did maybe 50% of the samples - the choice of which ones I did versus which ones I did not do wasn't particularly because I thought were necessary, or interesting or anything .... it was based simply on whether I was reading that section in the office, the kitchen or the bath :-) That's one of the joys of a printed book. I have no recollection whether I did or didn't do this particular one, but if I did I must have figured it out without noticing. (Had I noticed, I'd have whined .... sorry, I'd have given feedback to the author.) > As a writer, I know mistakes will appear in my code. I try hard to > test it and then copy-paste code directly rather than retyping it. > Over the years, reviewers have been consistently kind about the > paucity of at least code errors in my books. That's a rep I'd like > not to tarnish more than necessary. > > Next time, I need to find copy-readers who are perhaps less > knowledgeable and who have and can take more time to review copy in > greater detail. This may be impractical .... Can you apply automated testing techniques to the code intended for inclusion in the book ? (including the process of getting the code from its original place to the publisher's production process) ? Alternatively, could you devise a method to take the (about to be) published version, automatically extract from it the code samples and put them into a test framework. I don't know what you use for preparation of such books, but many, many years ago I was writing reference docs for software libraries (in Framemaker), and we'd use paragraph tags in the Frame document to indicate code samples to extract, with enough info to determine where each sample should fit in the test framework. It was possible (but really quite hard) to get the code to appear in the printed book without also getting it into the test code. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From bann at sunncomm.com Fri Jul 29 12:58:16 2005 From: bann at sunncomm.com (Ban Nguyen) Date: Fri, 29 Jul 2005 09:58:16 -0700 Subject: rotating images Message-ID: Hi Dave, This is perfect exactly what I am looking for. Thank you sooooo much One thing I want to add is make those images loop. Example 1-2-3 then back to 1-2-3 and so on. Right now it stops at 3 Should I add "repeat with ........" Thank you so much again ---------------------------------- Hi, I think the code you are looking for is something like this in the Card Script: global gImageCounter on openCard put 1 into gImageCounter send "DisplayNextImage" to me in 1 second end openCard on DisplayNextImage switch gImageCounter case 1 set the fileName of image "ImageObject" to "File1" break case 2 set the fileName of image "ImageObject" to "File2" break case 3 set the fileName of image "ImageObject" to "File3" -- -- On the last case, you need to reset the counter back 1, but we set it to 0 here so that the Add will make it 1 -- put gImageCounter to 0 break end switch add 1 to gImageCounter send "DisplayNextImage" to me in 10 seconds end DisplayNextImage A better way of doing it would be to have a list of file names and index the list. I have written this way for clarity. Hope this helps All the Best Dave >Ban, > >I would handle this at the card level via: > >on openCard > send myImageRotate to me in 10 seconds >end openCard > >on myImageRotate > -- do your repeat loop here to both rotate and cycle through >your images > -- maybe use a counter for what image we are on at this time through > > send myImageRotate to me in 10 seconds >end myImageRotate > >HTH > >Tom > >On Jul 28, 2005, at 4:01 PM, Ban Nguyen wrote: >> >>Do the images sit on top of each other? or are they side by side? >>On top: >>Do you want one image to appear and then rotate in ten seconds and Then >>disappear and be replaced by image 2 which then rotates in ten seconds >>to disappear and be replaced by image 3 etc. >> >> >>Yes, the images sit on top of each other. I want image 1 appears >>then 10 sec image 2 appear then 1 sec image 3 appear..........back >>to image 1 and so on >> >> >>I have one main stack which has 5 cards. I want these images keep >>changing while user click to go to another card >> >>Thanks for your help >> > >_______________________________________________ >use-revolution mailing list >use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From b.xavier at internet.lu Fri Jul 29 13:08:49 2005 From: b.xavier at internet.lu (MisterX) Date: Fri, 29 Jul 2005 19:08:49 +0200 Subject: Missing Script Code in Afterword of My Book In-Reply-To: <486BC382-9146-4F8D-B886-4728015CF34F@danshafer.com> Message-ID: <20050729165742.67802825253@mail.runrev.com> > Yeah, it was less the mistake itself than the questions it > raised in my mind. welcome to the club... X( But, hey, since we're 2 laps ahead, if not 10 for others, and our revs are rightly tuned, it's only a matter of time for them to understand why they should help in their own favor... i dont mean that sarcastically, but ironically. There's clear proof that the buddy system or collaboration is practical and beneficial and which is written all over humanity, history and economics. On the other hand, maybe the panel with the arrow to greatness wasn't big enough? It's a koan... Think about it... hava great weekend!!! http://monsieurx.com From 3mcgrath at adelphia.net Fri Jul 29 13:24:55 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 29 Jul 2005 13:24:55 -0400 Subject: Revolution as a Prototyping Tool In-Reply-To: References: <544b1505ccc9fd78f8848697896651c1@adelphia.net> Message-ID: Pierre, That is fine if you need to or want to do this. I wanted to give something back to the community. This list has been of great help to me. Thank you all, Tom On Jul 29, 2005, at 12:04 PM, Pierre Sahores wrote: > Dear Thomas, > > Thanks for sharing this great "tutorial" with all of us ! > > Action: Do you allow me to translate your work to the French dialect ? > If yes, do you allow me to specify, as the credits of the input "? > 2005 Thomas J McGrath III" (or any other legal ? mention you prefer to > see there, alike your company name) at the bottom of the translation. > If yes, do you allow me to insert this final french issue + your ? > credits as a dedicated pages of my company site, something alike > ? > > In any way, thanks again. A great work and communication tool ! > > Best Regards, > > > Le 28 juil. 05 ? 15:25, Thomas McGrath III a ?crit : > >> Dear List Members, >> >> I wanted to share this document that I used when presenting >> Revolution to my company/client for consideration in our prototyping >> work. Since this list is growing daily, I thought there might be a >> few people who would find it useful. >> >> Revolution as a Prototyping Tool >> >> ? Prototyping is a process of design and development used to help >> model the specifications and requirements for a new application. >> ? Once a prototype has been developed it can be quickly moved to >> alpha or sometimes even beta without dedicating significant resources >> and time. >> ? The nature of the Revolution tool is that it is designed for >> rapid development of a graphic/data interface by minimizing the need >> to write complex machine level code, using instead English like >> syntax, coding shortcuts and object (graphical) libraries and >> outputting to any supported OS. >> ? Using Revolution as a prototyping tool allows the developer to >> quickly assemble an elegant prototype. Revolution incorporates the >> use of genuine cross platform support without the need for device or >> OS specific code compilation, and uses industry standard coding. >> >> Proof-of-Concept Development Challenge >> Commercial realities dictate that there are several key elements to >> consider when developing a software solution for a client. These are >> even more pertinent at the prototyping stage of a project. Some of >> these elements may not be considered as essential at the prototype >> stage, but they facilitate the acceptance of the final application to >> the client. >> >> ? Fit for Purpose >> The prototype application should effectively demonstrate the client's >> needs and requirements. How does one procure the satisfaction of >> expectations without exhaustive research into the underlying issues? >> This is possible by using a software prototyping tool, which allows a >> concept to be modeled, rapidly aiding in the evaluation of a design. >> ? Time restrictions >> In an ideal world one would choose to slow the process down and run >> it through deliberate design and development cycles. However, >> available resources invariably dictate this process. The choice of >> Revolution as a prototyping tool allows us to make maximum use of the >> time at our disposal. >> ? Financial constraints >> Optimally, this type of software should provide the capability to >> envision and test such a model using local data and resources without >> a major investment in database server(s), network hardware and >> software, and the major software engineering costs. >> ? Moving Target >> Many clients are not entirely sure of the exact nature of the product >> they require. They may also redefine their requirements based on >> outside factors and additional functionality that we can offer. A >> prototyping tool has the functionality to address such fundamental >> alterations readily and easily. >> ? Scalability >> We should be able to demonstrate the scalable qualities of our >> proposed application with the prototype. Our client may not have made >> a final decision on the level of deployment at this stage. They may >> wish to retain the flexibility to investigate alternatives and >> additions before committing to a final strategy. >> ? Real time alterations >> Revolution allows the flexibility to make changes while prototyping >> with the client and is possible without the downtime incurred for >> recompilation. >> ? Appearance >> Revolution is presentable and has the look and feel of a finished >> product. While we are at the prototyping stage, we may still be >> selling the concept to our client. The appearance of our prototype >> can become very significant, without minor visual anomalies drawing >> attention away from the salient issues. >> ? Maintaining the Prototype >> Our choice of Revolution as a prototyping tool should allow us to >> keep track of version histories and the alterations that we make to >> the application. Ideally we should be able to document the changes we >> make together with the client requests. We may also require the >> facility to control multiple developers working on the same project. >> Revolution allows for us to rapidly develop applications in any >> peer-to-peer environment. >> >> What Makes Revolution Ideal for Prototyping >> Regardless of the application we are modeling, Revolution provides >> the tools that allow us to effectively create any prototype. Whether >> we need to create Internet, Intranet, database applications, with or >> without a SQL backend, Revolution is the answer. Applications >> prototyped in Revolution cover just about every market segment. >> >> Developing prototypes using Revolution significantly reduces the time >> we spend creating our applications. This is due to the features and >> tool sets that are made available to us within the product. >> Revolution embraces the main principles of practical object >> orientation. These features include the message hierarchy as well as >> code and object reuse. Revolution makes it extremely quick to produce >> any GUI. There is also an extensive set of shortcuts and plugins that >> cover just about everything from simple window creation to the >> handling of e-mails. >> >> Having one comprehensive tool that can be used for a multitude of >> needs eliminates the cost of having to purchase multiple applications >> for prototyping. The initial investment for Revolution is extremely >> competitive. This makes tight financial constraints inconsequential >> as the product and pricing is as good as and, if not better, than any >> prototyping tool currently available. >> Revolution applications can be developed on any of the supported >> platforms including all flavors of Windows (95/98/NT/2000), Mac OS >> 9.x and above, and the major Linux distributions. Revolution >> applications can be deployed on any or all of these platforms >> simultaneously with only minimal or no code changes. >> >> Sincerely, >> >> Thomas J McGrath III_______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > > -- > Bien cordialement, Pierre Sahores > > 100, rue de Paris > F - 77140 Nemours > > skype : psahores > > psahores+ at +easynet.fr > sc+ at +sahores-conseil.com > > GSM: +33 6 03 95 77 70 > Pro: +33 1 64 45 05 33 > Fax: +33 1 64 45 05 33 > > > > WEB/VoD/ACID-DB services over IP > "Mutualiser les deltas de productivit?" > > > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From 3mcgrath at adelphia.net Fri Jul 29 13:25:36 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Fri, 29 Jul 2005 13:25:36 -0400 Subject: Revolution as a Prototyping Tool In-Reply-To: References: <544b1505ccc9fd78f8848697896651c1@adelphia.net> Message-ID: Pierre, That is fine if you need to or want to do this. I wanted to give something back to the community. This list has been of great help to me. Thank you all, Tom On Jul 29, 2005, at 12:04 PM, Pierre Sahores wrote: > Dear Thomas, > > Thanks for sharing this great "tutorial" with all of us ! > > Action: Do you allow me to translate your work to the French dialect ? > If yes, do you allow me to specify, as the credits of the input "? > 2005 Thomas J McGrath III" (or any other legal ? mention you prefer to > see there, alike your company name) at the bottom of the translation. > If yes, do you allow me to insert this final french issue + your ? > credits as a dedicated pages of my company site, something alike > ? > > In any way, thanks again. A great work and communication tool ! > > Best Regards, > From psahores at easynet.fr Fri Jul 29 13:36:57 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Fri, 29 Jul 2005 19:36:57 +0200 Subject: Revolution as a Prototyping Tool In-Reply-To: References: <544b1505ccc9fd78f8848697896651c1@adelphia.net> Message-ID: <8767E66C-DE2D-4CB9-B008-C258DECA7963@easynet.fr> Thomas, I send the link, hopefully, this sunday. Thanks for your kindly responses... Best Regards, Pierre Le 29 juil. 05 ? 19:24, Thomas McGrath III a ?crit : > Pierre, > > That is fine if you need to or want to do this. I wanted to give > something back to the community. This list has been of great help > to me. > > Thank you all, > > Tom > > On Jul 29, 2005, at 12:04 PM, Pierre Sahores wrote: > > >> Dear Thomas, >> >> Thanks for sharing this great "tutorial" with all of us ! >> >> Action: Do you allow me to translate your work to the French >> dialect ? If yes, do you allow me to specify, as the credits of >> the input "? 2005 Thomas J McGrath III" (or any other legal ? >> mention you prefer to see there, alike your company name) at the >> bottom of the translation. If yes, do you allow me to insert this >> final french issue + your ? credits as a dedicated pages of my >> company site, something alike > revprotoway.html> ? >> >> In any way, thanks again. A great work and communication tool ! >> >> Best Regards, >> >> >> Le 28 juil. 05 ? 15:25, Thomas McGrath III a ?crit : >> >> >>> Dear List Members, >>> >>> I wanted to share this document that I used when presenting >>> Revolution to my company/client for consideration in our >>> prototyping work. Since this list is growing daily, I thought >>> there might be a few people who would find it useful. >>> >>> Revolution as a Prototyping Tool >>> >>> ? Prototyping is a process of design and development used to >>> help model the specifications and requirements for a new >>> application. >>> ? Once a prototype has been developed it can be quickly moved >>> to alpha or sometimes even beta without dedicating significant >>> resources and time. >>> ? The nature of the Revolution tool is that it is designed for >>> rapid development of a graphic/data interface by minimizing the >>> need to write complex machine level code, using instead English >>> like syntax, coding shortcuts and object (graphical) libraries >>> and outputting to any supported OS. >>> ? Using Revolution as a prototyping tool allows the developer >>> to quickly assemble an elegant prototype. Revolution incorporates >>> the use of genuine cross platform support without the need for >>> device or OS specific code compilation, and uses industry >>> standard coding. >>> >>> Proof-of-Concept Development Challenge >>> Commercial realities dictate that there are several key elements >>> to consider when developing a software solution for a client. >>> These are even more pertinent at the prototyping stage of a >>> project. Some of these elements may not be considered as >>> essential at the prototype stage, but they facilitate the >>> acceptance of the final application to the client. >>> >>> ? Fit for Purpose >>> The prototype application should effectively demonstrate the >>> client's needs and requirements. How does one procure the >>> satisfaction of expectations without exhaustive research into the >>> underlying issues? This is possible by using a software >>> prototyping tool, which allows a concept to be modeled, rapidly >>> aiding in the evaluation of a design. >>> ? Time restrictions >>> In an ideal world one would choose to slow the process down and >>> run it through deliberate design and development cycles. However, >>> available resources invariably dictate this process. The choice >>> of Revolution as a prototyping tool allows us to make maximum use >>> of the time at our disposal. >>> ? Financial constraints >>> Optimally, this type of software should provide the capability to >>> envision and test such a model using local data and resources >>> without a major investment in database server(s), network >>> hardware and software, and the major software engineering costs. >>> ? Moving Target >>> Many clients are not entirely sure of the exact nature of the >>> product they require. They may also redefine their requirements >>> based on outside factors and additional functionality that we can >>> offer. A prototyping tool has the functionality to address such >>> fundamental alterations readily and easily. >>> ? Scalability >>> We should be able to demonstrate the scalable qualities of our >>> proposed application with the prototype. Our client may not have >>> made a final decision on the level of deployment at this stage. >>> They may wish to retain the flexibility to investigate >>> alternatives and additions before committing to a final strategy. >>> ? Real time alterations >>> Revolution allows the flexibility to make changes while >>> prototyping with the client and is possible without the downtime >>> incurred for recompilation. >>> ? Appearance >>> Revolution is presentable and has the look and feel of a finished >>> product. While we are at the prototyping stage, we may still be >>> selling the concept to our client. The appearance of our >>> prototype can become very significant, without minor visual >>> anomalies drawing attention away from the salient issues. >>> ? Maintaining the Prototype >>> Our choice of Revolution as a prototyping tool should allow us to >>> keep track of version histories and the alterations that we make >>> to the application. Ideally we should be able to document the >>> changes we make together with the client requests. We may also >>> require the facility to control multiple developers working on >>> the same project. Revolution allows for us to rapidly develop >>> applications in any peer-to-peer environment. >>> >>> What Makes Revolution Ideal for Prototyping >>> Regardless of the application we are modeling, Revolution >>> provides the tools that allow us to effectively create any >>> prototype. Whether we need to create Internet, Intranet, database >>> applications, with or without a SQL backend, Revolution is the >>> answer. Applications prototyped in Revolution cover just about >>> every market segment. >>> >>> Developing prototypes using Revolution significantly reduces the >>> time we spend creating our applications. This is due to the >>> features and tool sets that are made available to us within the >>> product. Revolution embraces the main principles of practical >>> object orientation. These features include the message hierarchy >>> as well as code and object reuse. Revolution makes it extremely >>> quick to produce any GUI. There is also an extensive set of >>> shortcuts and plugins that cover just about everything from >>> simple window creation to the handling of e-mails. >>> >>> Having one comprehensive tool that can be used for a multitude of >>> needs eliminates the cost of having to purchase multiple >>> applications for prototyping. The initial investment for >>> Revolution is extremely competitive. This makes tight financial >>> constraints inconsequential as the product and pricing is as good >>> as and, if not better, than any prototyping tool currently >>> available. >>> Revolution applications can be developed on any of the supported >>> platforms including all flavors of Windows (95/98/NT/2000), Mac >>> OS 9.x and above, and the major Linux distributions. Revolution >>> applications can be deployed on any or all of these platforms >>> simultaneously with only minimal or no code changes. >>> >>> Sincerely, >>> >>> Thomas J McGrath III_______________________________________________ >>> use-revolution mailing list >>> use-revolution at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> >> -- >> Bien cordialement, Pierre Sahores >> >> 100, rue de Paris >> F - 77140 Nemours >> >> skype : psahores >> >> psahores+ at +easynet.fr >> sc+ at +sahores-conseil.com >> >> GSM: +33 6 03 95 77 70 >> Pro: +33 1 64 45 05 33 >> Fax: +33 1 64 45 05 33 >> >> >> >> WEB/VoD/ACID-DB services over IP >> "Mutualiser les deltas de productivit?" >> >> >> >> >> > > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, > Rev 2.6 > > > Advanced Media Group > Eagle Works Art & Sculpture > Semantic Compaction Systems > Prentke Romich Company > Prentke Romich International > SCIconics, LLC > Artist > Thomas J McGrath III > 3mcgrath at adelphia.net > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From alex at tweedly.net Fri Jul 29 13:56:11 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 29 Jul 2005 18:56:11 +0100 Subject: Help with pop-up menu/choice button, please. Message-ID: <42EA6DBB.5050100@tweedly.net> This cannot be as hard as I'm making it ..... so I'll follow the excellent advice from the list of not struggling over a simple issue for more than an hour and ask for help. Though I am about 4 hours late .... :-( Easy bit: I want to have a button, that acts like a pop-up button - i.e. when I click on it, up pops a list of choices and I can select one - or I can click outside the list of options and get a "cancel" indication back. When a choice is made, I do the appropriate action. This is what I get with a "pop-up menu" selected from the IDE's tool palette. Hard part: Sometimes, there is only one valid choice; in that case, I'd like to go ahead with the appropriate action immediately - don't present a menu, just do the action. I can put in a handler for the mouseDown to the pop-up button - but can't find a way to avoid it popping up. I tried putting in another button, and having its mouseDown take the action - either just doing it, or sending mouseDown to the pop-up button - but apparently; sending a mouseDown isn't enough to trigger the pop-up. (I tried a large number of other things, but I'm not going to embarrass myself by listing them all ....) Am I just missing some easy way ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From bnz2 at cdc.gov Fri Jul 29 14:02:05 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Jul 2005 14:02:05 -0400 Subject: color probe (at a point) Message-ID: <64878EF567131D4596246171F75FD4A996812B@m-epo-1.epo.cdc.gov> Here is a function that will do this for you: function pointcolor pPoint put item 1 of pPoint into tL put item 2 of pPoint into tT put tL + 10 into tR put tT +10 into tB put tL,tT,tR,tB into tRect export snapshot from rect tRect to tImage as GIF put "myImage" & the milliseconds into tMyImage create invisible image tMyImage set the width of image tMyImage to 10 set the height of image tMyImage to 10 put tImage into image tMyImage put the imagedata of image tMyImage into tData delete image tMyImage put chartonum(char 2 of tData),chartonum(char 3 of tData),chartonum(char 4 of tData) into tColor return tColor end pointcolor -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ronald Swartz Sent: Friday, July 29, 2005 12:15 PM To: use-revolution at lists.runrev.com Subject: color probe (at a point) How would one determine (or return) the color at a point on the screen, under script control of course. I would like it to be something like: get the tcolor at 340,230 (where I just made up the name "tcolor.") Is there any easy way to do this. I am working on something which requires me to poll the points in the neighborhood of a screen point and cannot see anything in revolution which would provide that tool. Help would be appreciated. Ron Swartz tetraron at comcast.net _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From chipp at chipp.com Fri Jul 29 14:06:05 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 29 Jul 2005 13:06:05 -0500 Subject: [OT] Windows Command Help In-Reply-To: <64878EF567131D4596246171F75FD4A974460C@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A974460C@m-epo-1.epo.cdc.gov> Message-ID: <1122660370.C7A70F0@bc12.dngr.org> Jon, Thanks so much for this! Just what I needed last night :-) -Chipp Chipp Walters, Altuit.com Sent from my Sidekick From kray at sonsothunder.com Fri Jul 29 14:11:33 2005 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 29 Jul 2005 13:11:33 -0500 Subject: Help with pop-up menu/choice button, please. In-Reply-To: <42EA6DBB.5050100@tweedly.net> Message-ID: On 7/29/05 12:56 PM, "Alex Tweedly" wrote: > Am I just missing some easy way ? Can you just change the style of the button from "menu" to "standard" or something like that? This way it will actually *be* a regular button and will get the mouseup, etc. messages but won't get menuPick... Just my 2 cents, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From gandalf at doctorTimothyMiller.com Fri Jul 29 14:14:00 2005 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Fri, 29 Jul 2005 11:14:00 -0700 Subject: request for script or stack In-Reply-To: <4CA6F69D-20C5-4EC9-83D8-B0E541A9AF7B@genesearch.com.au> References: <67D10B02-FC9E-49CE-BA7D-F574CECFD78A@genesearch.com.au> <4CA6F69D-20C5-4EC9-83D8-B0E541A9AF7B@genesearch.com.au> Message-ID: Reply from Sarah: >> >>If I could wish for one enhancement, the script would scroll a >>scrolling background so I could see the hit if it were otherwise >>scrolled out of sight. I'm not asking you to script that for me. Is >>it scriptable? If so, could you drop me a hint? >After the find command has done, check "the foundChunk" and see what >it gives you. You could select it, which would automatically set the >scroll. Or you could work out which line it is and set the vScroll >of the field, but that might be tricky if the text is wrapping. Thanks. Getting the foundchunk could be useful for other purposes, too. I tried putting "answer the foundchunk" in various points in your script. Nothing happened. I think I need to put it in the script of the card of the single-line message box, or something like that. Any ideas? If I fine tune this script a bit, I'll share it with the group, if anyone's interested. I think the script has one small problem. It looks like it repeats endlessly. The messages don't appear in the message watcher because a button passing a message back to itself isn't a system message, AFAIK. (I put it in a bg btn.) It doesn't seem to bog the CPU down, so normally it wouldn't matter. But at one point, I wanted to cut the button and paste it somewhere else. Every time I tried to cut the button, Rev spontaneously quit. I finally opened the script, commented it out, closed the script, and then cut the button. Then, there was no problem. (I guess suspend messages would have worked, too.) So, I think it needs a few lines that will stop the script when the search is done. > >> >>Regarding the find and replace window, it sounds like yours works a >>zillion times faster than mine. Any ideas about why that could be? >>My computer isn't a screamer. It's a 466 mhz G4. >Mine's a 700 MHz G4, so it shouldn't be vastly different. And you >have more RAM than me, so that isn't it either. Sorry, I'm stumped. >The only suggestion I have is to make sure you are limiting your >searches to a specific stack and only one one aspect e.g. fields or >scripts. Do you have any of the check boxes on the left checked? I >never use them and I guess turning on "Case sensitive" could slow >things down. Yeah, I'm talking about a moderately big stack, but not huge. It's 2.5 MB. At least half of that is text in fields, often just a first and last name in a large number of fields, spread out over a large number of pages. (It's a daily schedule.) As I said, If I search for "Gloria" with the find-in-the-message box, I can get all eight hits in 92 ticks. If I use the find-and-replace window, searching for field text only, in "this stack only" "Obey dontsearch property" turned on it takes 110 seconds. I exaggerated before. It's only 71.739 times slower, on a simple find text in field. Yet on large sorts, in this stack and others, Rev is about as fast as hyperCard used to be, which seemed pretty darned fast, so the problem is not my machine or some problem with my OS or something. > >Checking through the Find script used by Rev, it uses either a >matchText function (if you selected RegEx) or a simple "if myString >is in ..." to find stuff. However it also uses a technique that I >hadn't come across before but looks very useful: > set allowInterrupts to false -- this stops people interrupting >the script whenever they like > periodically, check "the interrupt" which tells you if someone >has tried to interrupt the script. This allows you to handle >interruptions gracefully and only when you want to. > >However, the Find script checks this once for each object that it >searches so it seems really weird if it is taking 10 - 15 seconds >per object. > >Sorry not to be more helpful, You've been very helpful. I want to make sure we understand each other. I'm complaining that the "find-and-replace" window is very slow. The "find" command, whether typed into the one-line message box or scripted, is plenty fast. This is frustrating because the "find-and-replace" window could be endlessly useful, if it weren't uselessly slow. I'm in 2.6.1 now. If we do understand each other, here's my need-to-know question: ***Is my experience with the find-and-replace window unusual?*** I'm a bit perplexed because I think I remember Jacque warning me that the "find-and-replace" feature is hopelessly slow, except maybe on a dual G5 or something. We were in 2.5.1 at the time. Best regards, Tim From martin at materiaprima.fsnet.co.uk Fri Jul 29 14:33:11 2005 From: martin at materiaprima.fsnet.co.uk (Martin Baxter) Date: Fri, 29 Jul 2005 19:33:11 +0100 Subject: Help with pop-up menu/choice button, please. In-Reply-To: <42EA6DBB.5050100@tweedly.net> References: <42EA6DBB.5050100@tweedly.net> Message-ID: <42EA7667.1040104@materiaprima.fsnet.co.uk> Alex, Not clear whether you are using the popup command already, but if not, that might help. Using this you can test whatever you want before issuing the command that invokes the popup, something like (in a regular mouseup button, locked field etc.) : if [condition_false] then exit to top end if popup btn "mypopupbutton" of cd 1 of stack "bla_bla_bla" ## I then routinely add: if "Win32" is in the platform then then wait until the mouse is up with messages end if ## because on windows the popup command may not pause the script ## the menupick handler itself goes in the popup btn not here Martin Baxter Alex Tweedly wrote: > > This cannot be as hard as I'm making it ..... so I'll follow the > excellent advice from the list of not struggling over a simple issue for > more than an hour and ask for help. Though I am about 4 hours late > .... :-( > > Easy bit: > I want to have a button, that acts like a pop-up button - i.e. when I > click on it, up pops a list of choices and I can select one - or I can > click outside the list of options and get a "cancel" indication back. > When a choice is made, I do the appropriate action. > This is what I get with a "pop-up menu" selected from the IDE's tool > palette. > > Hard part: > Sometimes, there is only one valid choice; in that case, I'd like to go > ahead with the appropriate action immediately - don't present a menu, > just do the action. > > I can put in a handler for the mouseDown to the pop-up button - but > can't find a way to avoid it popping up. > > I tried putting in another button, and having its mouseDown take the > action - either just doing it, or sending mouseDown to the pop-up button > - but apparently; sending a mouseDown isn't enough to trigger the pop-up. > > (I tried a large number of other things, but I'm not going to embarrass > myself by listing them all ....) > > Am I just missing some easy way ? > From devin_asay at byu.edu Fri Jul 29 14:41:06 2005 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 29 Jul 2005 12:41:06 -0600 Subject: Changing input keyboard Message-ID: <5B23DA5E-156D-4044-90C0-21D308A59CFB@byu.edu> This question was raised a while back, and I never saw a satisfactory solution. If I want to change the input keyboard when the insertion point goes to a field with non-Latin text, can it be done by scripting? In OS X I change the input method by selecting the desired language/ keyboard layout in the input menu (the one with little flag icons in it.) There is a similar process in Windows. Can this be scripted under either or both OS's? I can find no obvious Transcript or AppleScript way to do it on my Mac OS X system. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From Cubist at aol.com Fri Jul 29 14:54:07 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Fri, 29 Jul 2005 14:54:07 EDT Subject: rotating images Message-ID: <1fc.6a3b785.301bd54f@aol.com> sez bann at sunncomm.com: >One thing I want to add is make those images loop. Example 1-2-3 then >back to 1-2-3 and so on. Right now it stops at 3 > >Should I add "repeat with ........" Possible, but not necessary. If you want to have an index number cycle thru 1-2-3-1-2-3-1-2-3... forever, this does the trick: put (1 + (IndexNumber mod 3)) into IndexNumber Obviously, you'll have to change that "3" to a different number if you're cycling thru more or less than 3 images. And if there's a chance that the number of images will change, you should replace that "3" with a variable, like so: put (1 + (IndexNumber mod NumberOfImages)) into IndexNumber Hope this helps... From see3d at writeme.com Fri Jul 29 15:56:04 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 29 Jul 2005 15:56:04 -0400 Subject: Missing Script Code in Afterword of My Book In-Reply-To: <486BC382-9146-4F8D-B886-4728015CF34F@danshafer.com> References: <486BC382-9146-4F8D-B886-4728015CF34F@danshafer.com> Message-ID: <7FC12838-6C82-42C7-B48F-B6ED8F9E30B2@writeme.com> Dan, I would not be overly concerned. I have your book and I read some chapters, skimmed others, and read, but did no examples. I had previous HC and SC experience in the distant past. I tend to skim a how-to reference book so I know where things are and see if any new concepts are there (I slow down for those) --I then rely extensively on a good table of contents or Index to re-find stuff if I get stuck. I usually just dive in and make up my own examples that relate to something I am interested in. When I want to start a project, I go looking for a sample stack that has some quality I need for my project, then gut the H... out of it, and build from there. That just points to the value of having GOOD & SIMPLE sample scripts of many different kinds of applications that can be used as starting points for newbies to start their own projects. I am working on a huge stack that somewhere in the depths says: Open Anything. Dennis On Jul 29, 2005, at 12:05 PM, Dan Shafer wrote: > Judy.... > > On Jul 29, 2005, at 1:05 AM, Judy Perry wrote: > > >> You're a published writer; aren't you accustomed this this? (I >> personally >> know how this sux; see below for personal sob-story) >> >> > > Yeah, it was less the mistake itself than the questions it raised > in my mind. If several hundred people have bought this book in one > form or another and nobody has yet pointed out this error -- which > made the major example in the book not work -- does this mean: (a) > they figured it out themselves (it *was* sort of obvious on one > level); (b) they didn't catch it at all; or (c) they haven't read > the chapter (or perhaps the book)? > > As a writer, I know mistakes will appear in my code. I try hard to > test it and then copy-paste code directly rather than retyping it. > Over the years, reviewers have been consistently kind about the > paucity of at least code errors in my books. That's a rep I'd like > not to tarnish more than necessary. > > Next time, I need to find copy-readers who are perhaps less > knowledgeable and who have and can take more time to review copy in > greater detail. > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Fri Jul 29 16:14:57 2005 From: see3d at writeme.com (Dennis Brown) Date: Fri, 29 Jul 2005 16:14:57 -0400 Subject: Help with pop-up menu/choice button, please. In-Reply-To: <42EA6DBB.5050100@tweedly.net> References: <42EA6DBB.5050100@tweedly.net> Message-ID: <84E17A4E-5FB5-4A00-BF2D-91C1AB66C76B@writeme.com> Alex, I wanted the same sort of thing. What I decided was the best solution was to use a field instead of a button. I have just one "PopUp Menu" button that I load with the list and pop it up at the location of the field. Since everything is under the control of my PopUpParams script below, I could check for the contents of the choices and just skip the popup part if only one choice existed. I have not edited my script for your example, because you could do a better job of that than I could. I am sure you could modify it to work with buttons also. Dennis ON PopUpParams fieldParams1 --set a parameter field to the user selection local selected1,it --fieldParams1 is a param list formatted as returned in ScreenParams() above --a popup menu is displayed on top of the field clicked on by the user -- a single popup button is used for everything by changing its menus --the selected entry is then placed into the field and saved in the set properties of the field --USAGE: --called from a mouseDown handler in a locked field: PopUpParams priceParams(1) -- #1 create the text for the popup menu btn -- REPEAT for each line line1 in fieldParams1 put item 1 of line1 &cr after it END repeat set the text of btn "PopUp Menu" to it #2 put the selection into the field set the menuHistory of btn "PopUp Menu" to 2 --blank line, no change popup button "PopUp Menu" at bottomLeft of the target get the menuHistory of btn "PopUp Menu" put line it of fieldParams1 into selected1 replace comma with cr in selected1 IF (selected1 <> empty) AND (selected1 <> the text of the target) AND (it<>2) THEN --changing settings put selected1 into the target get the short name of the target --e.g. SL5 put "F" into char 2 of it --e.g. SF5 IF exists( fld it ) THEN --set the default value into the input field put line 6 of selected1 into fld it set the dataP[SetNum()] of fld it to fld it END if -- IF line 7 of selected1 is not empty --color the text THEN set the textColor of the target to item (line 7 of selected1) of colorListK IF line 8 of selected1 is not empty THEN set the backColor of the target to item (line 8 of selected1) of colorListK -- #3 save as current setting and pW[] set the dataP[SetNum()] of the target to selected1 END if UpdateParams END PopUpParams FUNCTION PriceParams option1 --returns the parameters for all selected execution prices in the UI --option1 is an optional parameter which specifies additional sets of options are to be returned --if it is empty, the screens to be returned will be based on the indicator type function --USAGE: --The user can select different execution prices in the list for initial and ending trades --The selected price name and the next items will be loaded into the field in separate lines --Only the first line will be visible, but all the other parameters will be saved as part of the set: -- Name,Screen#,MinValue,MaxValue,Decimals,Default,textcolor#,bkgColor# -- Price# identifies the option for switch cases, global array index, and priceList1. -- MinValue,MaxValue is for input checking -- Decimals is for formatting the field -- Default value for input field -- textColor#,bkgColor# is index into a list of colors -- local list1 get "Select Exe Price,0,0,0,0,,3,0,"&cr&cr IF AlgorType()&option1 is among the items of "1100,1101,1110,1111,1990,1991" --all indicator types THEN put "510,511,512,513,514,515,516,517" into list1 --all execution prices (start trade) IF AlgorType()&option1 is among the items of "11001,11011,11101,11111,19901,19911" --all indicator types+stop THEN put "510,513,516,517" into list1 --execuution prices for stop trade -- IF 510 is among the items of list1 THEN get it&"D1Typ +,510,-. 50,.50,2,0,2,1," &cr --Use Typ tomarrow IF 511 is among the items of list1 THEN get it&"D0Typ +,511,-. 50,.50,2,0,2,1," &cr --Use Typ today IF 512 is among the items of list1 THEN get it&"IF D0Typ +,512,-. 50,.50,2,0,2,1," &cr --Use Typ today IF avail tomarrow IF 513 is among the items of list1 THEN get it&"IF D0Typ!D1C +, 513,-.50,.50,2,0,2,1," &cr --Use Typ today IF avail tomarrow else close IF 514 is among the items of list1 THEN get it&"D0Close +,514,-. 50,.50,2,0,2,1," &cr --Use close today IF 515 is among the items of list1 THEN get it&"IF D0Close +, 515,-.50,.50,2,0,2,1," &cr --Use close today IF avail tomarrow IF 516 is among the items of list1 THEN get it&"IF D0Close!D1C +, 516,-.50,.50,2,0,2,1," &cr --Use close today IF avail tomarrow else close IF 517 is among the items of list1 THEN get it&"D1Open +,517,-. 50,.50,2,0,2,1," &cr --Use open tomarrow return it END PriceParams On Jul 29, 2005, at 1:56 PM, Alex Tweedly wrote: > > This cannot be as hard as I'm making it ..... so I'll follow the > excellent advice from the list of not struggling over a simple > issue for more than an hour and ask for help. Though I am about > 4 hours late .... :-( > > Easy bit: > I want to have a button, that acts like a pop-up button - i.e. when > I click on it, up pops a list of choices and I can select one - or > I can click outside the list of options and get a "cancel" > indication back. When a choice is made, I do the appropriate action. > This is what I get with a "pop-up menu" selected from the IDE's > tool palette. > > Hard part: > Sometimes, there is only one valid choice; in that case, I'd like > to go ahead with the appropriate action immediately - don't present > a menu, just do the action. > > I can put in a handler for the mouseDown to the pop-up button - but > can't find a way to avoid it popping up. > > I tried putting in another button, and having its mouseDown take > the action - either just doing it, or sending mouseDown to the pop- > up button - but apparently; sending a mouseDown isn't enough to > trigger the pop-up. > > (I tried a large number of other things, but I'm not going to > embarrass myself by listing them all ....) > > Am I just missing some easy way ? > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jacque at hyperactivesw.com Fri Jul 29 16:22:49 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2005 15:22:49 -0500 Subject: Load URL doesn't send message In-Reply-To: <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> Message-ID: <42EA9019.3070002@hyperactivesw.com> Dave Cragg wrote: > > On 29 Jul 2005, at 03:33, J. Landman Gay wrote: > >> I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't >> get a message when the URL is done. I'm trying: >> >> load url tURL with message "myMsg" >> >> No message is sent. Is it just me? > > > It's just you, Jacque. I'm going back to bed. Well, you're smarter than I am, because I've been at this for a couple of days now without any progress. What I seem to be getting is lots of empty status messages. What do those mean? > The things that could cause the message not to be sent that I can think > of: > > An "unload url" or clearing of the pendingMessages after the message > has been sent but before it is handled. The likely place for this kind > of thing would be in the status callback handler. After a succesful > load, the final callback message gets sent just before the "load > message", both sent in 0 milliseconds. So if your callback handler does > one of these things when the status is "downloaded", the message won't > get sent. > > So I'd look at the callback handler first. I'm not doing either of those things so that isn't it. What does it mean if the status is always empty? That is what I seem to be getting. Then my status checking handler runs like mad but doesn't do anything. I've simplified my script a lot for testing. This is what I'm using at the moment: on downloadFile tURL unload url tURL -- just for testing, so I can reuse it load url tURL with message "saveFile" get the result if it <> "" then answer it checkStatus tURL end downloadFile on checkStatus tURL put urlStatus(tURL) into tStatus if tStatus contains "loading" then set the endValue of sb "progress" to item -1 of tStatus set the thumbPos of sb "progress" to item -2 of tStatus else put tStatus end if if tStatus is not among the items of "cached,error,timeout" then send "checkStatus" to me in 50 milliseconds end if end checkStatus on saveFile tURL,tStatus answer "SAVEFILE MESSAGE RECEIVED" end saveFile Nothing happens at all, except for the pending message that goes repeatedly until I manually cancel it. Setting a breakpoint always shows that tStatus is empty (which is why the script runs away with itself.) The file doesn't come through usually. Sometimes it does. It isn't my connection, because I can run RevNet or Eric's sample tutorial and they work fine and their progress bars move. However, neither of these use a callback message. I can make mine work too if I don't use a callback message, and if I instead check for a "cached" status and act on that. Same behavior with any URL I try, including "http://www.google.com", so it isn't the URL. Also, same behavior if I comment out the "checkStatus" call and just wait for a confirmation from "saveFile". I don't get one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revolution at jaedworks.com Fri Jul 29 03:46:54 2005 From: revolution at jaedworks.com (Jeanne A. E. DeVoto) Date: Fri, 29 Jul 2005 00:46:54 -0700 Subject: possible imagesource bug In-Reply-To: References: Message-ID: At 5:22 PM -0400 7/28/2005, Levi Kendall wrote: >that). Anyway, what my problem using it has been is when the cursor >is immediately in front of an image in the field, any letter that gets >pressed (or even spacebar / numbers / etc) will assume the imagesource >property for that character, and the character that was originally >being used for the image (with imagesource) will be placed after the >image in the field. Essentially what this is like if you are looking >at it happen is the new char is pushing the old char out of the image. Due respect to Eric, but I disagree with him and think that's a bug. The imageSource is a character attribute, and it should no more drift from character to character as you type than boldfacing or a color change does. I confirm that this happens in 2.5.1 and the latest 2.6, although only when you add text on the same line as the image. (If you add text in the field on a previous line, the image isn't affected.) Want to Bugzilla it? -- jeanne a. e. devoto ~ revolution at jaedworks.com http://www.jaedworks.com From eric.chatonet at sosmartsoftware.com Fri Jul 29 16:50:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 22:50:24 +0200 Subject: possible imagesource bug In-Reply-To: References: Message-ID: Hi Jeanne, That's the problem: is imageSource a character attribute? You think that it should. I noticed it's not. And I agree: your relevant comment about lines shows there is here obviously something inconsistent. So you are right, it's worth to Bugzilla this... Le 29 juil. 05 ? 09:46, Jeanne A. E. DeVoto a ?crit : > At 5:22 PM -0400 7/28/2005, Levi Kendall wrote: > >> that). Anyway, what my problem using it has been is when the cursor >> is immediately in front of an image in the field, any letter that >> gets >> pressed (or even spacebar / numbers / etc) will assume the >> imagesource >> property for that character, and the character that was originally >> being used for the image (with imagesource) will be placed after the >> image in the field. Essentially what this is like if you are looking >> at it happen is the new char is pushing the old char out of the >> image. >> > > Due respect to Eric, but I disagree with him and think that's a > bug. The imageSource is a character attribute, and it should no > more drift from character to character as you type than boldfacing > or a color change does. > > I confirm that this happens in 2.5.1 and the latest 2.6, although > only when you add text on the same line as the image. (If you add > text in the field on a previous line, the image isn't affected.) > Want to Bugzilla it? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Fri Jul 29 16:56:38 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 29 Jul 2005 21:56:38 +0100 Subject: Help with pop-up menu/choice button, please. In-Reply-To: References: Message-ID: <42EA9806.6090802@tweedly.net> Ken Ray wrote: >On 7/29/05 12:56 PM, "Alex Tweedly" wrote: > > > >>Am I just missing some easy way ? >> >> > >Can you just change the style of the button from "menu" to "standard" or >something like that? This way it will actually *be* a regular button and >will get the mouseup, etc. messages but won't get menuPick... > > > Thanks Ken, but I don't think that's the way to go .... it might be possible to do it that way, but Martin's suggestion looks like the easier approach. Martin Baxter wrote: > Not clear whether you are using the popup command already, but if not, > that might help. Using this you can test whatever you want before > issuing the command that invokes the popup, something like (in a > regular mouseup button, locked field etc.) : > I wasn't. I remembered it, but somehow failed to make the connection to using it in this case. The docs even say > Comments: > Use the popup command in a mouseDown handler to display the menu. > The popup menu appears with its top left corner at the location. If no > location is specified, the menu's top left corner is at the mouse > location. While the popup menu is displayed, the handler pauses. so that's what I'm doing. I now have a regular button, with a mouseDown handler which decides whether to pop-up or not. The only odd thing is that when I depress the mouse button, I get a mouseDown to my button, and when it does the "popup" I immediately get a "mouseUp" to my main button - even though the mouse button is still depressed. When the mouse button is released, that is taken by the popup button, and therefore doesn't go to the original button. So I guess this ensures that the mouseDown and mouseUp events stay symmetric- but it was a surprise. I would have added this to Web Notes entry or "popup", but that option isn't available (grayed out). I remember this was mentioned a while ago, but don't remember any conclusion - is adding to web notes disabled ?? -- Alex Tweedly http://www.tweedly.net -------------- next part -------------- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From webmaster at dreamscapesoftware.com Fri Jul 29 17:11:16 2005 From: webmaster at dreamscapesoftware.com (Derek Bump) Date: Fri, 29 Jul 2005 16:11:16 -0500 Subject: color probe (at a point) In-Reply-To: <64878EF567131D4596246171F75FD4A996812B@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A996812B@m-epo-1.epo.cdc.gov> Message-ID: <42EA9B74.9090509@dreamscapesoftware.com> Lynch, Jonathan wrote: > export snapshot from rect tRect to tImage as GIF I would recommend that you export the image as a PNG instead of a GIF. Remember that the GIF format only supports 256 colors (though it is possible to get more) while the PNG format supports something like thousands or millions (can't remember which). Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ From eric.chatonet at sosmartsoftware.com Fri Jul 29 17:12:24 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 23:12:24 +0200 Subject: Help with pop-up menu/choice button, please. In-Reply-To: <42EA6DBB.5050100@tweedly.net> References: <42EA6DBB.5050100@tweedly.net> Message-ID: Hi Alex, I did not followed exactly this thread but just some thoughts: In my plugins I use often popup menus I treat as they were "normal" menus called by clicking on a "normal" button. In the "normal" button script: on mouseDown if the platform = "MacOs" then ShowPullDownMenu end mouseDown ---------------------------------------------- on mouseUp if the platform <> "MacOS" then ShowPullDownMenu end mouseUp ---------------------------------------------- on ShowPullDownMenu -- building the menu in a variable named tMenu put the bottomLeft of me into tLoc if the platform = "MacOS" then add 2 to item 2 of tLoc else subtract 2 from item 2 of tLoc put tMenu into btn -- the items I want popUp btn at tLoc end ShowPullDownMenu Note that the behaviour can't be the same for Mac and Win32. You could adapt the ShowPullDownMenu handler in order to act accordingly to your context: ie display a menu or do another action. Hope but don't know if this helps :-) Le 29 juil. 05 ? 19:56, Alex Tweedly a ?crit : > This cannot be as hard as I'm making it ..... so I'll follow the > excellent advice from the list of not struggling over a simple > issue for more than an hour and ask for help. Though I am about > 4 hours late .... :-( > > Easy bit: > I want to have a button, that acts like a pop-up button - i.e. when > I click on it, up pops a list of choices and I can select one - or > I can click outside the list of options and get a "cancel" > indication back. When a choice is made, I do the appropriate action. > This is what I get with a "pop-up menu" selected from the IDE's > tool palette. > > Hard part: > Sometimes, there is only one valid choice; in that case, I'd like > to go ahead with the appropriate action immediately - don't present > a menu, just do the action. > > I can put in a handler for the mouseDown to the pop-up button - but > can't find a way to avoid it popping up. > > I tried putting in another button, and having its mouseDown take > the action - either just doing it, or sending mouseDown to the pop- > up button - but apparently; sending a mouseDown isn't enough to > trigger the pop-up. > > (I tried a large number of other things, but I'm not going to > embarrass myself by listing them all ....) > From bnz2 at cdc.gov Fri Jul 29 17:13:55 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Jul 2005 17:13:55 -0400 Subject: color probe (at a point) Message-ID: <64878EF567131D4596246171F75FD4A996812E@m-epo-1.epo.cdc.gov> I switched it to png and tried it, and it works fine like that as well. So, if it will be more accurate, then cool! Thanks Derek. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Derek Bump Sent: Friday, July 29, 2005 5:11 PM To: How to use Revolution Subject: Re: color probe (at a point) Lynch, Jonathan wrote: > export snapshot from rect tRect to tImage as GIF I would recommend that you export the image as a PNG instead of a GIF. Remember that the GIF format only supports 256 colors (though it is possible to get more) while the PNG format supports something like thousands or millions (can't remember which). Derek Bump Dreamscape Software _______________________________________________ Compress Photos for the Web with JPEGCompress http://www.dreamscapesoftware.com/ _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From dcragg at lacscentre.co.uk Fri Jul 29 17:18:17 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 29 Jul 2005 22:18:17 +0100 Subject: Load URL doesn't send message In-Reply-To: <42EA9019.3070002@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> <42EA9019.3070002@hyperactivesw.com> Message-ID: <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> On 29 Jul 2005, at 21:22, J. Landman Gay wrote: > > I've simplified my script a lot for testing. This is what I'm using > at the moment: > > on downloadFile tURL > unload url tURL -- just for testing, so I can reuse it > load url tURL with message "saveFile" > get the result > if it <> "" then answer it > checkStatus tURL > end downloadFile > > on checkStatus tURL > put urlStatus(tURL) into tStatus > if tStatus contains "loading" then > set the endValue of sb "progress" to item -1 of tStatus > set the thumbPos of sb "progress" to item -2 of tStatus > else > put tStatus > end if > if tStatus is not among the items of "cached,error,timeout" then > send "checkStatus" to me in 50 milliseconds ###ERROR HERE > end if > end checkStatus > > on saveFile tURL,tStatus > answer "SAVEFILE MESSAGE RECEIVED" > end saveFile It should be: send "checkStatus tURL" to me in 50 milliseconds This would explain the empty status results. However, even with that error, I was still seeing the final message answer dialog. I gather you're not seeing that. Can you let me know if you're still having problems. Cheers Dave From eric.chatonet at sosmartsoftware.com Fri Jul 29 17:23:36 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 29 Jul 2005 23:23:36 +0200 Subject: Load URL doesn't send message In-Reply-To: <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> <42EA9019.3070002@hyperactivesw.com> <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> Message-ID: If I dare ;-) send "checkStatus" && tURL to me in 50 milliseconds Jacque, note that 50 milliseconds might appear a bit slow with light files and fast connection. My two cents. Best Regards from Paris, Eric Chatonet. Le 29 juil. 05 ? 23:18, Dave Cragg a ?crit : > On 29 Jul 2005, at 21:22, J. Landman Gay wrote: > > > >> >> I've simplified my script a lot for testing. This is what I'm >> using at the moment: >> >> on downloadFile tURL >> unload url tURL -- just for testing, so I can reuse it >> load url tURL with message "saveFile" >> get the result >> if it <> "" then answer it >> checkStatus tURL >> end downloadFile >> >> on checkStatus tURL >> put urlStatus(tURL) into tStatus >> if tStatus contains "loading" then >> set the endValue of sb "progress" to item -1 of tStatus >> set the thumbPos of sb "progress" to item -2 of tStatus >> else >> put tStatus >> end if >> if tStatus is not among the items of "cached,error,timeout" then >> send "checkStatus" to me in 50 milliseconds ###ERROR HERE >> end if >> end checkStatus >> >> on saveFile tURL,tStatus >> answer "SAVEFILE MESSAGE RECEIVED" >> end saveFile >> > > It should be: > > send "checkStatus tURL" to me in 50 milliseconds > > This would explain the empty status results. > > However, even with that error, I was still seeing the final message > answer dialog. I gather you're not seeing that. Can you let me know > if you're still having problems. ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Fri Jul 29 17:54:39 2005 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 29 Jul 2005 22:54:39 +0100 Subject: Help with pop-up menu/choice button, please. In-Reply-To: References: <42EA6DBB.5050100@tweedly.net> Message-ID: <42EAA59F.8040300@tweedly.net> Eric Chatonet wrote: > Hi Alex, > > I did not followed exactly this thread but just some thoughts: > > In my plugins I use often popup menus I treat as they were "normal" > menus called by clicking on a "normal" button. > > Hope but don't know if this helps :-) Yes thanks Eric (and Dennis) - those do both help. Eric - I have some questions about the Win vs Mac behaviour - but I'll move that to a separate thread .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From jacque at hyperactivesw.com Fri Jul 29 18:09:58 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2005 17:09:58 -0500 Subject: Load URL doesn't send message In-Reply-To: <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> Message-ID: <42EAA936.2060801@hyperactivesw.com> Dave Cragg wrote: > > On 29 Jul 2005, at 03:33, J. Landman Gay wrote: > >> I'm using libURL 1.1.3b1 (apparently what ships with 2.6) and can't >> get a message when the URL is done. I'm trying: >> >> load url tURL with message "myMsg" >> >> No message is sent. Is it just me? Updated info: I went over to MetaCard and ran the same test stack. Now I do get a message from libURL, so it looks like there is something in Rev 2.6 that is blocking it. Meanwhile, in MetaCard, I altered my status handler a bit so that it only reports non-empty status and it exits if status is empty, like this: on checkStatus tURL put urlStatus(tURL) into tStatus if tStatus contains "loading" then set the endValue of sb "progress" to item 3 of tStatus set the thumbPos of sb "progress" to item 2 of tStatus put tStatus into fld "status" else if tStatus <> "" then put tStatus into fld "status" end if if tStatus is not among the items of "cached,error,timeout" \ and tStatus <> "" then send "checkStatus" to me in 50 milliseconds end checkStatus What I saw in the "status" field was "contacted" and nothing else. The progress bar did not update, although the "saveFile" custom message was sent by libURL at the end. I tried on various files of different sizes. In MetaCard I always do get a cached file though, unlike in Rev. Can anyone repeat this behavior? Or is it still just me? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdan at danshafer.com Fri Jul 29 18:58:07 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 29 Jul 2005 15:58:07 -0700 Subject: Windows Command Code Resolved Message-ID: <92AE4131-9803-48DF-A18B-6F331785D2B2@danshafer.com> Just to close the loop on my earlier question.... Chipp and I walked through on the phone the use of the "start" command in the Win shell and for some reason, it worked fine. I think I was enclosing the file name in quotation marks earlier and when I took them out, voila! So the bare-bones version of this is simplicity itself: on mouseUp if the platform is "Win32" then put "start" && the eBookContents of this stack into openCmd else put "open" && the eBookContents of this stack into openCmd end if put shell (openCmd) into shellResult end mouseUp Lots of error-checking and other stuff to add, of course, but this gets me to the next level. I appreciate everyone's help, esp. Jonathan, who went way above and beyond and, of course, Chipp. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From bnz2 at cdc.gov Fri Jul 29 19:06:57 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Jul 2005 19:06:57 -0400 Subject: Windows Command Code Resolved Message-ID: <64878EF567131D4596246171F75FD4A9968134@m-epo-1.epo.cdc.gov> Something to be wary of... If the file path to your document contains spaces, it might confuse the start command. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dan Shafer Sent: Friday, July 29, 2005 6:58 PM To: Revolution List Subject: Windows Command Code Resolved Just to close the loop on my earlier question.... Chipp and I walked through on the phone the use of the "start" command in the Win shell and for some reason, it worked fine. I think I was enclosing the file name in quotation marks earlier and when I took them out, voila! So the bare-bones version of this is simplicity itself: on mouseUp if the platform is "Win32" then put "start" && the eBookContents of this stack into openCmd else put "open" && the eBookContents of this stack into openCmd end if put shell (openCmd) into shellResult end mouseUp Lots of error-checking and other stuff to add, of course, but this gets me to the next level. I appreciate everyone's help, esp. Jonathan, who went way above and beyond and, of course, Chipp. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From bnz2 at cdc.gov Fri Jul 29 19:17:35 2005 From: bnz2 at cdc.gov (Lynch, Jonathan) Date: Fri, 29 Jul 2005 19:17:35 -0400 Subject: Windows Command Code Resolved Message-ID: <64878EF567131D4596246171F75FD4A9744610@m-epo-1.epo.cdc.gov> Perhaps doing this? put "start" && quote & the eBookContents of this stack & quote into openCmd also, for some Windows systems, I believe that it is necessary to replace "/" with "\" in your file path. Hey Dan, what Windows OS are you using? -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, Jonathan Sent: Friday, July 29, 2005 7:07 PM To: How to use Revolution Subject: RE: Windows Command Code Resolved Something to be wary of... If the file path to your document contains spaces, it might confuse the start command. -----Original Message----- From: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dan Shafer Sent: Friday, July 29, 2005 6:58 PM To: Revolution List Subject: Windows Command Code Resolved Just to close the loop on my earlier question.... Chipp and I walked through on the phone the use of the "start" command in the Win shell and for some reason, it worked fine. I think I was enclosing the file name in quotation marks earlier and when I took them out, voila! So the bare-bones version of this is simplicity itself: on mouseUp if the platform is "Win32" then put "start" && the eBookContents of this stack into openCmd else put "open" && the eBookContents of this stack into openCmd end if put shell (openCmd) into shellResult end mouseUp Lots of error-checking and other stuff to add, of course, but this gets me to the next level. I appreciate everyone's help, esp. Jonathan, who went way above and beyond and, of course, Chipp. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" _______________________________________________ use-revolution mailing list use-revolution at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From revdan at danshafer.com Fri Jul 29 19:33:53 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 29 Jul 2005 16:33:53 -0700 Subject: Windows Command Code Resolved In-Reply-To: <64878EF567131D4596246171F75FD4A9968134@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9968134@m-epo-1.epo.cdc.gov> Message-ID: GOod to know. Chipp mentioned something about escaping file names; presumably this has something to do with that. Dan On Jul 29, 2005, at 4:06 PM, Lynch, Jonathan wrote: > Something to be wary of... > > If the file path to your document contains spaces, it might confuse > the > start command. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dan > Shafer > Sent: Friday, July 29, 2005 6:58 PM > To: Revolution List > Subject: Windows Command Code Resolved > > Just to close the loop on my earlier question.... > > Chipp and I walked through on the phone the use of the "start" > command in the Win shell and for some reason, it worked fine. I think > I was enclosing the file name in quotation marks earlier and when I > took them out, voila! > > So the bare-bones version of this is simplicity itself: > > on mouseUp > if the platform is "Win32" then > put "start" && the eBookContents of this stack into openCmd > else > put "open" && the eBookContents of this stack into openCmd > end if > put shell (openCmd) into shellResult > end mouseUp > > Lots of error-checking and other stuff to add, of course, but this > gets me to the next level. > > I appreciate everyone's help, esp. Jonathan, who went way above and > beyond and, of course, Chipp. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Fri Jul 29 19:46:39 2005 From: revdan at danshafer.com (Dan Shafer) Date: Fri, 29 Jul 2005 16:46:39 -0700 Subject: Windows Command Code Resolved In-Reply-To: <64878EF567131D4596246171F75FD4A9744610@m-epo-1.epo.cdc.gov> References: <64878EF567131D4596246171F75FD4A9744610@m-epo-1.epo.cdc.gov> Message-ID: On Jul 29, 2005, at 4:17 PM, Lynch, Jonathan wrote: > > Perhaps doing this? > > put "start" && quote & the eBookContents of this stack & quote into > openCmd > > also, for some Windows systems, I believe that it is necessary to > replace "/" with "\" in your file path. > Yeah, that appears to be part of it as well. My plan for my particular app is that the document is stored in the same directory as the app, so none of that pathing should become an issue. In fact, if the document *isn't* in the folder with the app, that will disqualify it from opening. I'm using WinXP Pro. > Hey Dan, what Windows OS are you using? > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch, > Jonathan > Sent: Friday, July 29, 2005 7:07 PM > To: How to use Revolution > Subject: RE: Windows Command Code Resolved > > Something to be wary of... > > If the file path to your document contains spaces, it might confuse > the > start command. > > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Dan > Shafer > Sent: Friday, July 29, 2005 6:58 PM > To: Revolution List > Subject: Windows Command Code Resolved > > Just to close the loop on my earlier question.... > > Chipp and I walked through on the phone the use of the "start" > command in the Win shell and for some reason, it worked fine. I think > I was enclosing the file name in quotation marks earlier and when I > took them out, voila! > > So the bare-bones version of this is simplicity itself: > > on mouseUp > if the platform is "Win32" then > put "start" && the eBookContents of this stack into openCmd > else > put "open" && the eBookContents of this stack into openCmd > end if > put shell (openCmd) into shellResult > end mouseUp > > Lots of error-checking and other stuff to add, of course, but this > gets me to the next level. > > I appreciate everyone's help, esp. Jonathan, who went way above and > beyond and, of course, Chipp. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Dan Shafer, Revolution Consultant and Author > http://www.shafermedia.com > Get my book, "Revolution: Software at the Speed of Thought" > From http://www.revolutionpros.com, Click "My Stuff" > > > > _______________________________________________ > use-revolution mailing list > use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Dan Shafer, Revolution Consultant and Author http://www.shafermedia.com Get my book, "Revolution: Software at the Speed of Thought" From http://www.revolutionpros.com, Click "My Stuff" From jacque at hyperactivesw.com Fri Jul 29 19:49:02 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 29 Jul 2005 18:49:02 -0500 Subject: Load URL doesn't send message In-Reply-To: <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> <42EA9019.3070002@hyperactivesw.com> <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> Message-ID: <42EAC06E.3010406@hyperactivesw.com> Dave Cragg wrote: > It should be: > > send "checkStatus tURL" to me in 50 milliseconds > > This would explain the empty status results. > > However, even with that error, I was still seeing the final message > answer dialog. I gather you're not seeing that. Can you let me know if > you're still having problems. Arf. Thanks. So that's what happens when I work till 2 AM...you get blind after a while. It works now, as you and Eric suggest, custom message and all. However, it only works in my test stack. I tried Sarah's code (direct calls to libURL handlers) and that works in my test stack too. Neither method works in my client stack though, even a direct copy/paste of the code. There are other problems with the stack besides this -- things I know shouldn't be happening even at 2 AM. Either the stack itself is hosed somehow, or there is something going on that I sure can't track. If you want a shot at it, let me know offlist. I'd be grateful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From howard.bornstein at gmail.com Fri Jul 29 19:56:07 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Fri, 29 Jul 2005 19:56:07 -0400 Subject: Getting the type code of a file under OSX Message-ID: <3f07cc2605072916562b518cff@mail.gmail.com> I wanted to check to see if I'm missing something obvious. I want to be able to get the type code of a specific file under OSX. As far as I've been able to find, there is only one way to get the type code-- with the files function. The detailed files includes the type and creator codes. However, this gets the entire list of files in the default folder. Unless there's something I'm missing, the sequence would be something like this: 1) Get the full path of the file you want the type code for 2) Extract the folder it's in 3) Set the default folder to that folder 4) Get the detailed files 5) Compare the file name with item one of every line in the files 6) When you find a match, extract the last item from the detailed file description which is the type/creator code. This seems like a lot of work, just to get an attribute of a file. We have the filetype property, where we can set the type of a file. Isn't there a simple way to *get* the type of a file? -- Regards, Howard Bornstein ----------------------- www.designeq.com From jhurley at infostations.com Fri Jul 29 20:20:24 2005 From: jhurley at infostations.com (Jim Hurley) Date: Fri, 29 Jul 2005 17:20:24 -0700 Subject: Wrapped lines as individual lines--shortcut? In-Reply-To: <20050729200517.1B8428252A5@mail.runrev.com> References: <20050729200517.1B8428252A5@mail.runrev.com> Message-ID: I have a field in which the dontwrap is false so that a single line of text is displayed on many wrapped lines within the field. Is there something *within Rev* that would allow me to pick out the *displayed* lines as individual lines? (I don't mean write a hander for this. I've done that, but I'm wondering whether there might be a shortcut. Clearly Run Rev, or the OS, knows what these lines are or they wouldn't be displayed that way.) Jim From alex at tweedly.net Fri Jul 29 20:20:19 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 01:20:19 +0100 Subject: ANN: Sudoku Assistant Message-ID: <42EAC7C3.8010006@tweedly.net> The other day I mentioned that I had done a simple "Sudoku Assistant" - a simple stack which gives you some assistance in solving Sudoku Puzzles. I had done it over the course of an evening or two while on vacation, and had decided that I really didn't find Sudoku puzzles all that fascinating, so it had been languishing since then. But mentioning it here, and having a couple of people ask about it, revived my interest, so I've spent 3 hours today tidying it up and adding a couple of useful features (Undo/Redo/combination counts/...). (I also spent 4 or 5 hours learning basics of RunRev in some areas I hadn't used before - useful for me, but only contributed about 10 minutes of useful work towards this stack :-) It's posted in RevOnline, under Games, or username alextweedly - called SudokuAssistant Enjoy, and as always I'd welcome any comments, suggestions, even requests ... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From jbondy at sover.net Fri Jul 29 20:32:20 2005 From: jbondy at sover.net (Jon) Date: Fri, 29 Jul 2005 20:32:20 -0400 Subject: more IDE annoyances Message-ID: <42EACA94.4010508@sover.net> I have no idea if these have been BZ'd yet or not, nor do I know if they have been fixed. I enter RR. I open a stack. I click on a stack in the App Browser. I then try to click on the Script icon, but it is greyed out. So. Bug number 1: if I select something to edit, the Script button should not be greyed out. I then click on an arbitrary object in my stack, just to get the frigging IDE off the dime. Finally, the script button becomes active. I then return to my beloved App Browser, click on the stack again, and click the Script button. What gets edited? The arbitrary object in my script! Bug number two. A few weeks ago people mentioned that a lot of bugs were getting fixed. Any idea when some of these bug fixes will end up in the hands of the paying customers? I'm getting tired of all of this quirk. It's stuff like this (editing the wrong object) that may lead one of us to editing the wrong object without knowing it, which may lead to arbitrary confusion. :( Jon From mwieder at ahsoftware.net Fri Jul 29 20:50:25 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Jul 2005 00:50:25 +0000 (UTC) Subject: more IDE annoyances References: <42EACA94.4010508@sover.net> Message-ID: Jon- > number 1: if I select something to edit, the Script button should not be > greyed out. Verified here. > click the Script button. What gets edited? The arbitrary object in my > script! Bug number two. Verified again. I can honestly say that I've never used the Script button before. I had to go hunt around to find out what you were talking about. But both of these are definitely bugs - the App Browser and the toolbar seem to be lightly coupled. Since you're on Windows, you can probably save some grief (and keystrokes) by right-clicking on objects in the App Browser to edit them, or ctrl-alt- clicking the actual object to edit it. -- Mark Wieder mwieder at ahsoftware.net From jbondy at sover.net Fri Jul 29 20:56:17 2005 From: jbondy at sover.net (Jon) Date: Fri, 29 Jul 2005 20:56:17 -0400 Subject: new bug posted Message-ID: <42EAD031.1050004@sover.net> I just posted "bug" (enhancement suggestion) 3034, which says in part As much as I like the AutoComplete feature of the Script Editor, I find myself always wanting to do searches, and I hate switching between the two modes. I realized that the two modes are really separate, since one rarely wants to search in the middle of typing a word. Why not have the Find/Replace visible all of the time EXCEPT when in the middle of typing a word, at which point it is dynamically replaced by the AutoComplete? Best of both worlds! Vote with your heart... :) Jon From jbondy at sover.net Fri Jul 29 20:58:01 2005 From: jbondy at sover.net (Jon) Date: Fri, 29 Jul 2005 20:58:01 -0400 Subject: more IDE annoyances In-Reply-To: References: <42EACA94.4010508@sover.net> Message-ID: <42EAD099.6080908@sover.net> Thanks! BZ 3035... :) Mark Wieder wrote: >Jon- > > > >>number 1: if I select something to edit, the Script button should not be >>greyed out. >> >> > >Verified here. > > > >>click the Script button. What gets edited? The arbitrary object in my >>script! Bug number two. >> >> > >Verified again. > >I can honestly say that I've never used the Script button before. I had to >go hunt around to find out what you were talking about. But both of these >are definitely bugs - the App Browser and the toolbar seem to be lightly >coupled. > >Since you're on Windows, you can probably save some grief (and keystrokes) >by right-clicking on objects in the App Browser to edit them, or ctrl-alt- >clicking the actual object to edit it. > > > From herz at ucsd.edu Fri Jul 29 21:28:46 2005 From: herz at ucsd.edu (Richard K. Herz) Date: Fri, 29 Jul 2005 18:28:46 -0700 Subject: Windows Command Code Resolved References: <20050729233934.0BD5A8252F4@mail.runrev.com> Message-ID: <001701c594a6$0b781bf0$6601a8c0@RKHpc2> > Something to be wary of... > If the file path to your document contains spaces, it might confuse > the start command. Also see the entries under "Command Line/Shell Info" at http://www.sonsothunder.com/index2.htm?http://www.sonsothunder.com/devres/revolution/revolution.htm?_dply001 From chipp at chipp.com Fri Jul 29 23:37:16 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 29 Jul 2005 22:37:16 -0500 Subject: Windows Command Code Resolved In-Reply-To: References: <64878EF567131D4596246171F75FD4A9744610@m-epo-1.epo.cdc.gov> Message-ID: <42EAF5EC.1030702@chipp.com> Hi gang, Got it working. Pretty simple actually: Here's the guts (after putting the filepath into fld "docPath") put shortFilePath(fld "docPath") into tDocPath replace "/" with "\" in tDocPath put "start" && tDocPath into tDosCommand set the hideconsolewindows to true get shell(tDosCommand) Here's a demo: type in the message: go URL "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev" best, Chipp From chipp at chipp.com Fri Jul 29 23:38:31 2005 From: chipp at chipp.com (Chipp Walters) Date: Fri, 29 Jul 2005 22:38:31 -0500 Subject: Windows Command Code Resolved In-Reply-To: <001701c594a6$0b781bf0$6601a8c0@RKHpc2> References: <20050729233934.0BD5A8252F4@mail.runrev.com> <001701c594a6$0b781bf0$6601a8c0@RKHpc2> Message-ID: <42EAF637.4020804@chipp.com> Yep, that's why you use the 'shortFilePath' function. Richard K. Herz wrote: >> Something to be wary of... >> If the file path to your document contains spaces, it might confuse >> the start command. From davis.phil at comcast.net Sat Jul 30 01:25:12 2005 From: davis.phil at comcast.net (Phil Davis) Date: Fri, 29 Jul 2005 22:25:12 -0700 Subject: Wrapped lines as individual lines--shortcut? In-Reply-To: References: <20050729200517.1B8428252A5@mail.runrev.com> Message-ID: <42EB0F38.8080501@comcast.net> Hi Jim, If I understand correctly, you want "the formattedText" of the field. If you have a field containing a single CR-delimited line, and that line wraps and takes up three field display lines, the formattedText of the field will contain three CR-delimited lines, each containing only those words found in the respective display line. HTH - Phil Davis Jim Hurley wrote: > I have a field in which the dontwrap is false so that a single line of > text is displayed on many wrapped lines within the field. > > Is there something *within Rev* that would allow me to pick out the > *displayed* lines as individual lines? (I don't mean write a hander for > this. I've done that, but I'm wondering whether there might be a > shortcut. Clearly Run Rev, or the OS, knows what these lines are or they > wouldn't be displayed that way.) > > Jim From psahores at easynet.fr Sat Jul 30 02:21:30 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sat, 30 Jul 2005 08:21:30 +0200 Subject: Load URL doesn't send message In-Reply-To: <42EAC06E.3010406@hyperactivesw.com> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> <42EA9019.3070002@hyperactivesw.com> <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> <42EAC06E.3010406@hyperactivesw.com> Message-ID: <39E87007-A952-43B5-AFC7-53DC0C4CE5EF@easynet.fr> Hello Jacque, Did you test in using different socketTimeoutInterval values ? > set the socketTimeoutInterval to 10000 > ... your code ... > set the socketTimeoutInterval to 10 Best Regards, Le 30 juil. 05 ? 01:49, J. Landman Gay a ?crit : > Dave Cragg wrote: > > >> It should be: >> send "checkStatus tURL" to me in 50 milliseconds >> This would explain the empty status results. >> However, even with that error, I was still seeing the final >> message answer dialog. I gather you're not seeing that. Can you >> let me know if you're still having problems. >> > > Arf. Thanks. So that's what happens when I work till 2 AM...you get > blind after a while. > > It works now, as you and Eric suggest, custom message and all. > However, it only works in my test stack. I tried Sarah's code > (direct calls to libURL handlers) and that works in my test stack too. > > Neither method works in my client stack though, even a direct copy/ > paste of the code. There are other problems with the stack besides > this -- things I know shouldn't be happening even at 2 AM. Either > the stack itself is hosed somehow, or there is something going on > that I sure can't track. If you want a shot at it, let me know > offlist. I'd be grateful. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From eric.chatonet at sosmartsoftware.com Sat Jul 30 05:12:50 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 11:12:50 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <3f07cc2605072916562b518cff@mail.gmail.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> Message-ID: <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> Hi Howard, You could use AppleScript but doing this with Transcript is easy and fast: function CreatorAndType pFilePath local tDefaultFolder,tCreatorType ----- if the platform <> "MacOs" then return "Error: filetype not supported" put the defaultFolder into tDefaultFolder set the itemdel to slash set the defaultFolder to item 1 to -2 of pFilePath put urlDecode(the detailed files) into tFiles put line lineOffset(item - 1 of pFilePath,tFiles) of tFiles into tFile set the defaultFolder to tDefaultFolder set the itemDel to comma put item 11 of tFile into tCreatorType if tCreatorType = empty then return "Error: could not find the filetype" return char 1 to 4 of item 11 of tFile & comma & char 5 to 8 of item -1 of tFile -- creator and type separated by a comma end CreatorAndType Best Regards from Paris, Eric Chatonet. Le 30 juil. 05 ? 01:56, Howard Bornstein a ?crit : > I wanted to check to see if I'm missing something obvious. I want to > be able to get the type code of a specific file under OSX. As far as > I've been able to find, there is only one way to get the type code-- > with the files function. The detailed files includes the type and > creator codes. However, this gets the entire list of files in the > default folder. Unless there's something I'm missing, the sequence > would be something like this: > > 1) Get the full path of the file you want the type code for > 2) Extract the folder it's in > 3) Set the default folder to that folder > 4) Get the detailed files > 5) Compare the file name with item one of every line in the files > 6) When you find a match, extract the last item from the detailed file > description which is the type/creator code. > > This seems like a lot of work, just to get an attribute of a file. We > have the filetype property, where we can set the type of a file. Isn't > there a simple way to *get* the type of a file? ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From briany at qldlearning.com Sat Jul 30 05:35:47 2005 From: briany at qldlearning.com (Brian Yennie) Date: Sat, 30 Jul 2005 02:35:47 -0700 Subject: Getting the type code of a file under OSX In-Reply-To: <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> Message-ID: Quick observation... you may get unreliable results when the name of one file is a substring of the name of another file in the same folder. You might try adding a comma to the file name, or using itemOffset() and wholeMatches. HTH - Brian > Hi Howard, > > You could use AppleScript but doing this with Transcript is easy and > fast: > > function CreatorAndType pFilePath > local tDefaultFolder,tCreatorType > ----- > if the platform <> "MacOs" then return "Error: filetype not > supported" > put the defaultFolder into tDefaultFolder > set the itemdel to slash > set the defaultFolder to item 1 to -2 of pFilePath > put urlDecode(the detailed files) into tFiles > put line lineOffset(item - 1 of pFilePath,tFiles) of tFiles into > tFile > set the defaultFolder to tDefaultFolder > set the itemDel to comma > put item 11 of tFile into tCreatorType > if tCreatorType = empty then return "Error: could not find the > filetype" > return char 1 to 4 of item 11 of tFile & comma & char 5 to 8 of item > -1 of tFile > -- creator and type separated by a comma > end CreatorAndType > > Best Regards from Paris, > > Eric Chatonet. > > Le 30 juil. 05 ? 01:56, Howard Bornstein a ?crit : > >> I wanted to check to see if I'm missing something obvious. I want to >> be able to get the type code of a specific file under OSX. As far as >> I've been able to find, there is only one way to get the type code-- >> with the files function. The detailed files includes the type and >> creator codes. However, this gets the entire list of files in the >> default folder. Unless there's something I'm missing, the sequence >> would be something like this: >> >> 1) Get the full path of the file you want the type code for >> 2) Extract the folder it's in >> 3) Set the default folder to that folder >> 4) Get the detailed files >> 5) Compare the file name with item one of every line in the files >> 6) When you find a match, extract the last item from the detailed file >> description which is the type/creator code. >> >> This seems like a lot of work, just to get an attribute of a file. We >> have the filetype property, where we can set the type of a file. Isn't >> there a simple way to *get* the type of a file? > > ---------------------------------------------------------------- > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From eric.chatonet at sosmartsoftware.com Sat Jul 30 05:40:22 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 11:40:22 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> Message-ID: <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> Hi Brian, As the files function returns a list sorted by alphabetical order, I don't think it's necessary. Le 30 juil. 05 ? 11:35, Brian Yennie a ?crit : > Quick observation... you may get unreliable results when the name > of one file is a substring of the name of another file in the same > folder. You might try adding a comma to the file name, or using > itemOffset() and wholeMatches. > > HTH > - Brian > > >> Hi Howard, >> >> You could use AppleScript but doing this with Transcript is easy >> and fast: >> >> function CreatorAndType pFilePath >> local tDefaultFolder,tCreatorType >> ----- >> if the platform <> "MacOs" then return "Error: filetype not >> supported" >> put the defaultFolder into tDefaultFolder >> set the itemdel to slash >> set the defaultFolder to item 1 to -2 of pFilePath >> put urlDecode(the detailed files) into tFiles >> put line lineOffset(item - 1 of pFilePath,tFiles) of tFiles into >> tFile >> set the defaultFolder to tDefaultFolder >> set the itemDel to comma >> put item 11 of tFile into tCreatorType >> if tCreatorType = empty then return "Error: could not find the >> filetype" >> return char 1 to 4 of item 11 of tFile & comma & char 5 to 8 of >> item -1 of tFile >> -- creator and type separated by a comma >> end CreatorAndType >> >> Best Regards from Paris, >> >> Eric Chatonet. >> >> Le 30 juil. 05 ? 01:56, Howard Bornstein a ?crit : >> >> >>> I wanted to check to see if I'm missing something obvious. I want to >>> be able to get the type code of a specific file under OSX. As far as >>> I've been able to find, there is only one way to get the type code-- >>> with the files function. The detailed files includes the type and >>> creator codes. However, this gets the entire list of files in the >>> default folder. Unless there's something I'm missing, the sequence >>> would be something like this: >>> >>> 1) Get the full path of the file you want the type code for >>> 2) Extract the folder it's in >>> 3) Set the default folder to that folder >>> 4) Get the detailed files >>> 5) Compare the file name with item one of every line in the files >>> 6) When you find a match, extract the last item from the detailed >>> file >>> description which is the type/creator code. >>> >>> This seems like a lot of work, just to get an attribute of a >>> file. We >>> have the filetype property, where we can set the type of a file. >>> Isn't >>> there a simple way to *get* the type of a file? >>> >> >> ---------------------------------------------------------------- >> 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 site http://www.sosmartsoftware.com/ >> Email eric.chatonet at sosmartsoftware.com/ >> Phone 33 (0)1 43 31 77 62 >> Mobile 33 (0)6 20 74 50 86 >> ---------------------------------------------------------------- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From sanke at hrz.uni-kassel.de Sat Jul 30 06:58:54 2005 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 30 Jul 2005 12:58:54 +0200 Subject: Wrapped lines as individual lines--shortcut? Message-ID: <42EB5D6E.3010901@hrz.uni-kassel.de> On Fri Jul 29 2005 Jim Hurley jhurley at infostations.com > I have a field in which the dontwrap is false so that a single line > of text is displayed on many wrapped lines within the field. > > Is there something *within Rev* that would allow me to pick out the > *displayed* lines as individual lines? (I don't mean write a hander > for this. I've done that, but I'm wondering whether there might be a > shortcut. Clearly Run Rev, or the OS, knows what these lines are or > they wouldn't be displayed that way.) > > Jim Hi Jim, depends on what you mean by "pick out the *displayed* lines as individual lines?" without writing a handler? From the message box (or within a handler) you could use put line y of the formattedtext of fld "x". -- Wilhelm Sanke From dcragg at lacscentre.co.uk Sat Jul 30 07:07:15 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 30 Jul 2005 12:07:15 +0100 Subject: Getting the type code of a file under OSX In-Reply-To: <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> Message-ID: <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> On 30 Jul 2005, at 10:40, Eric Chatonet wrote: > Hi Brian, > > As the files function returns a list sorted by alphabetical order, > I don't think it's necessary. But, for example, if you were looking for a file named "mend.png" and there was a file named "amend.png" in the folder, you'd find "amend.png". A bit cumbersome, but when I've done this, I've repeated through all lines in the detailed files and done a match on the first item in each. Cheers dave > > Le 30 juil. 05 ? 11:35, Brian Yennie a ?crit : > > >> Quick observation... you may get unreliable results when the name >> of one file is a substring of the name of another file in the same >> folder. You might try adding a comma to the file name, or using >> itemOffset() and wholeMatches. >> >> HTH >> - Brian >> >> >> >>> Hi Howard, >>> >>> You could use AppleScript but doing this with Transcript is easy >>> and fast: >>> >>> function CreatorAndType pFilePath >>> local tDefaultFolder,tCreatorType >>> ----- >>> if the platform <> "MacOs" then return "Error: filetype not >>> supported" >>> put the defaultFolder into tDefaultFolder >>> set the itemdel to slash >>> set the defaultFolder to item 1 to -2 of pFilePath >>> put urlDecode(the detailed files) into tFiles >>> put line lineOffset(item - 1 of pFilePath,tFiles) of tFiles >>> into tFile >>> set the defaultFolder to tDefaultFolder >>> set the itemDel to comma >>> put item 11 of tFile into tCreatorType >>> if tCreatorType = empty then return "Error: could not find the >>> filetype" >>> return char 1 to 4 of item 11 of tFile & comma & char 5 to 8 of >>> item -1 of tFile >>> -- creator and type separated by a comma >>> end CreatorAndType >>> >>> Best Regards from Paris, >>> >>> Eric Chatonet. >>> >>> Le 30 juil. 05 ? 01:56, Howard Bornstein a ?crit : >>> >>> >>> >>>> I wanted to check to see if I'm missing something obvious. I >>>> want to >>>> be able to get the type code of a specific file under OSX. As >>>> far as >>>> I've been able to find, there is only one way to get the type >>>> code-- >>>> with the files function. The detailed files includes the type and >>>> creator codes. However, this gets the entire list of files in the >>>> default folder. Unless there's something I'm missing, the sequence >>>> would be something like this: >>>> >>>> 1) Get the full path of the file you want the type code for >>>> 2) Extract the folder it's in >>>> 3) Set the default folder to that folder >>>> 4) Get the detailed files >>>> 5) Compare the file name with item one of every line in the files >>>> 6) When you find a match, extract the last item from the >>>> detailed file >>>> description which is the type/creator code. >>>> >>>> This seems like a lot of work, just to get an attribute of a >>>> file. We >>>> have the filetype property, where we can set the type of a file. >>>> Isn't >>>> there a simple way to *get* the type of a file? >>>> >>>> >>> >>> ---------------------------------------------------------------- >>> 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 site http://www.sosmartsoftware.com/ >>> Email eric.chatonet at sosmartsoftware.com/ >>> Phone 33 (0)1 43 31 77 62 >>> Mobile 33 (0)6 20 74 50 86 >>> ---------------------------------------------------------------- >>> >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Sat Jul 30 07:19:52 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 13:19:52 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> Message-ID: <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> Hi Dave, You are perfectly right: I missed this one. So a reliable function could be: function CreatorAndType pFilePath local tDefaultFolder,tFile,tCreatorType ----- if the platform <> "MacOs" then return "Error: filetype not supported" put the defaultFolder into tDefaultFolder set the itemdel to slash set the defaultFolder to item 1 to -2 of pFilePath put urlDecode(the detailed files) into tFile filter tFile with item - 1 of pFilePath & ",*" if tFile = empty then return "Error: could not find file" set the defaultFolder to tDefaultFolder set the itemDel to comma put item 11 of tFile into tCreatorType if tCreatorType = empty then return "Error: could not find the filetype" return char 1 to 4 of item 11 of tFile & comma & char 5 to 8 of item -1 of tFile end CreatorAndType Le 30 juil. 05 ? 13:07, Dave Cragg a ?crit : > On 30 Jul 2005, at 10:40, Eric Chatonet wrote: > > >> Hi Brian, >> >> As the files function returns a list sorted by alphabetical order, >> I don't think it's necessary. >> > > > But, for example, if you were looking for a file named "mend.png" > and there was a file named "amend.png" in the folder, you'd find > "amend.png". > > A bit cumbersome, but when I've done this, I've repeated through > all lines in the detailed files and done a match on the first item > in each. > > Cheers > dave 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Sat Jul 30 08:02:18 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 14:02:18 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> Message-ID: Last one was not perfect since the default folder is not restored when an error occurs: Just invert "if tFile = empty then return "Error: could not find file" and "set the defaultFolder to tDefaultFolder" lines. Is this one the last one? :-) Best Regards from Paris, Eric Chatonet. Le 30 juil. 05 ? 13:19, Eric Chatonet a ?crit : > Hi Dave, > > You are perfectly right: I missed this one. > So a reliable function could be: > > function CreatorAndType pFilePath > local tDefaultFolder,tFile,tCreatorType > ----- > if the platform <> "MacOs" then return "Error: filetype not > supported" > put the defaultFolder into tDefaultFolder > set the itemdel to slash > set the defaultFolder to item 1 to -2 of pFilePath > put urlDecode(the detailed files) into tFile > filter tFile with item - 1 of pFilePath & ",*" > if tFile = empty then return "Error: could not find file" > set the defaultFolder to tDefaultFolder > set the itemDel to comma > put item 11 of tFile into tCreatorType > if tCreatorType = empty then return "Error: could not find the > filetype" > return char 1 to 4 of item 11 of tFile & comma & char 5 to 8 of > item -1 of tFile > end CreatorAndType > > > Le 30 juil. 05 ? 13:07, Dave Cragg a ?crit : > > >> On 30 Jul 2005, at 10:40, Eric Chatonet wrote: >> >> >> >>> Hi Brian, >>> >>> As the files function returns a list sorted by alphabetical >>> order, I don't think it's necessary. >>> >>> >> >> >> But, for example, if you were looking for a file named "mend.png" >> and there was a file named "amend.png" in the folder, you'd find >> "amend.png". >> >> A bit cumbersome, but when I've done this, I've repeated through >> all lines in the detailed files and done a match on the first item >> in each. >> >> Cheers >> dave ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From dweeble at wi.rr.com Sat Jul 30 08:05:10 2005 From: dweeble at wi.rr.com (Michael) Date: Sat, 30 Jul 2005 07:05:10 -0500 Subject: Windows Registry Again Message-ID: <1122725111.6646.14.camel@localhost.localdomain> Hello, Anyone help with this idea as how to find a value below a RootPath in the registry ? For example I'm attempting to pull all the network card info put into a temp file sift through it looking for a setting, then if setting is run the app if setting is not do not run app. I'm trying this but since the rootpath is empty i get of course empty, put queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services \Tcpip\Parameters") into tpCheck Thanks Michaeld From dcragg at lacscentre.co.uk Sat Jul 30 08:09:21 2005 From: dcragg at lacscentre.co.uk (Dave Cragg) Date: Sat, 30 Jul 2005 13:09:21 +0100 Subject: Getting the type code of a file under OSX In-Reply-To: References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> Message-ID: On 30 Jul 2005, at 13:02, Eric Chatonet wrote: > Last one was not perfect since the default folder is not restored > when an error occurs: > Just invert "if tFile = empty then return "Error: could not find > file" and "set the defaultFolder to tDefaultFolder" lines. > Is this one the last one? Looks good here. I like the use of the filter command. I should get "filter" tattooed on the back of my hand as I have a habit of forgetting how useful it can be. Cheers Dave From ridge11103 at btinternet.com Sat Jul 30 08:20:33 2005 From: ridge11103 at btinternet.com (John Ridge) Date: Sat, 30 Jul 2005 13:20:33 +0100 Subject: (no subject) Message-ID: <04568DE8-3B8E-41B2-A157-0BA275662544@btinternet.com> I'm in the habit of pasting text from a specific website into a stack I use for keeping research notes. I'm surprised and pleased that the Paste command copes with styled text - even better, I can then re- format the text, changing fontsize and font, and still keep other styled elements such as colour. But for some reason (maybe the website has just been redesigned?) there is now no white space between paragraphs. No problem, I thought - I'll script my "New Note" button to do all the work, including the pasting - so after checking the docs I tried set the htmlText of fld "Notes" to the clipboarddata["HTML"] which is fine. But my attempts to add white space seem to be destroying all the styling... I've tried replace "

" with "

" in fld "Notes" which I thought was pretty subtle. Hmm... I must be missing something obvious here, as usual. TIA for any help Best wishes John ridge11103 at btinternet.com From eric.chatonet at sosmartsoftware.com Sat Jul 30 08:29:13 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 14:29:13 +0200 Subject: Inserting blank lines between paragraphs [was: no subject] In-Reply-To: <04568DE8-3B8E-41B2-A157-0BA275662544@btinternet.com> References: <04568DE8-3B8E-41B2-A157-0BA275662544@btinternet.com> Message-ID: <9C2AB904-5419-4CE0-982F-1905637EA516@sosmartsoftware.com> Hi John, Try: put the htmlText of fld "Notes" into tHtml replace "

" & cr with "

" & cr & "

" & cr in tHtml set the htmlText of fld "Notes" to tHtml 1. This will insert a blank line between paragraphs. 2. Always work on the html by putting it into a variable first. Best Regards from Paris, Eric Chatonet. Le 30 juil. 05 ? 14:20, John Ridge a ?crit : > I'm in the habit of pasting text from a specific website into a > stack I use for keeping research notes. I'm surprised and pleased > that the Paste command copes with styled text - even better, I can > then re-format the text, changing fontsize and font, and still keep > other styled elements such as colour. > > But for some reason (maybe the website has just been redesigned?) > there is now no white space between paragraphs. No problem, I > thought - I'll script my "New Note" button to do all the work, > including the pasting - so after checking the docs I tried > > set the htmlText of fld "Notes" to the clipboarddata["HTML"] > > which is fine. But my attempts to add white space seem to be > destroying all the styling... > > I've tried > > replace "

" with "

" in fld "Notes" > > which I thought was pretty subtle. Hmm... I must be missing > something obvious here, as usual. > > TIA for any help ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Sat Jul 30 09:06:58 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 14:06:58 +0100 Subject: Getting the type code of a file under OSX In-Reply-To: <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> Message-ID: <42EB7B72.1070509@tweedly.net> Eric Chatonet wrote: > Hi Dave, > > You are perfectly right: I missed this one. > So a reliable function could be: > getting close ... but not quite there yet, because of the issue of comma being an allowed character in file names. (I don't know if this applies to Mac - but I'm 99% sure it will, since this is a relatively common thing to do in Unix, so I'd expect the OSX file system to allow it). If the Mac doesn't allow this, then your function is OK - but beware of the problem for any other operation you do on "the detailed files". If Mac does allow commas in file names, then it causes two problems. The first is easy - but rather dangerous. You cannot use "item 11" for the file creator - you should alway use "item -1". The same applies to all the items returned - you should use "item -10" for file size, rather than "item 2", etc. However, this doesn't work as it should on Windows. The docs say > * The file's access permissions > * The file's creator and file type (Mac OS and OS X only) > Any attribute that is not supported on the current system is reported > as "0" (zero). > But in fact on Windows, the creator and file type (not supported) are set to empty, not "0". This is a real pain, because it means that you always have an empty last item - so the number of items is 10. [Does the Mac ever return empty Creator and file type ?] Therefore you need to add a check for the last character being comma, and if it is append some safe string (e.g. a space), before using the negative index numbers. The second problem is rather more obscure - but if we want to claim to work in 100% of the cases, not 99.99..% we should cover it. I believe you cannot use a "filter" to match any arbitrary filename you might be given. filter ... pFileName & ",*" fails because "name" and "name,date" both match pFileName = "name" You might think you could depend on the fact that the files are alphabetic to always get the one you want first (I certainly did when I started writing this email), but you can't. Using the filename "a,11" will falsely match the file "a" if it happens to be 11 bytes long (or 110, or 11234, ...). Since "a" comes before "a,11" it will be the first one found. You could try (I did !!) using the trick I saw from Richard a couple of weeks ago, using a complex filter expression to ensure the right number of items - e.g. filter ... pFileName & ",*,*,*,*,*,*,*,*,*,*" but that also fails the "a,11" case as above. So I think you need to loop through them, checking the file name. But you cannot do as Dave suggested, and compare item 1 of each line against the file name, because that would fail to match a filename containing a comma that should match. You instead need to compare "item 1 to -11" (once you've done the above check for empty last item). So we finish up with what I *think* is a truly reliable version function CreatorAndType pFilePath local tDefaultFolder,tFile,tCreatorType, theLine, L, tNewFiles, tName ----- if the platform <> "MacOs" then return "Error: filetype not supported" put the defaultFolder into tDefaultFolder set the itemdel to slash set the defaultFolder to item 1 to -2 of pFilePath put urlDecode(the detailed files) into tFile put empty into tNewFiles put item -1 of pFilePath into tName set the itemDel to comma repeat for each line L in tFile put L into theLine if the last char of theLine = comma then put space after theLine if item 1 to -11 of theLine = tName then put L & cr after tNewFiles end repeat put tNewFiles into tFile -- put tFile & cr after msg if tFile = empty then return "Error: could not find file" set the defaultFolder to tDefaultFolder return tFile end CreatorAndType > Le 30 juil. 05 ? 13:07, Dave Cragg a ?crit : > >> On 30 Jul 2005, at 10:40, Eric Chatonet wrote: >> >> >>> Hi Brian, >>> >>> As the files function returns a list sorted by alphabetical order, >>> I don't think it's necessary. >>> >> >> >> But, for example, if you were looking for a file named "mend.png" >> and there was a file named "amend.png" in the folder, you'd find >> "amend.png". >> >> A bit cumbersome, but when I've done this, I've repeated through all >> lines in the detailed files and done a match on the first item in each. >> >> Cheers >> dave > > > > 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 site http://www.sosmartsoftware.com/ > Email eric.chatonet at sosmartsoftware.com/ > Phone 33 (0)1 43 31 77 62 > Mobile 33 (0)6 20 74 50 86 > ---------------------------------------------------------------- > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From europe at ehug.info Sat Jul 30 09:43:28 2005 From: europe at ehug.info (Mark Schonewille) Date: Sat, 30 Jul 2005 15:43:28 +0200 Subject: European Revolution Conference Message-ID: <42EB8400.7080302@ehug.info> Dear Rev users, This year, we had a conference in the US, but not in Europe. I would like to know if there is an interest in a Revolution conference in Europe, this year. I am thinking of a conference in Germany or the Netherlands, which would be a little different from the conferences we already had. Also, by organising it in a different location, I would like to give those who couldn't make it to Malta or Moneterey an opportunity to attend a conference. It will aim at beginners, although it could be an opportunity for professionals to meet each other. There will be extensive problem solving sessions and a number of parallel sessions that give you the opportunity to demo your latest products or cool tricks. Participants who want to lead a session are likely to get a discount. The conference fee is expected to be between 300 and 400 euro. This should include three nights in a simple hotel. The conference itself may last 2 days, 3 if there are many participants. I prefer to let the conference start in about 6 weeks from now, but the exact date depends on you. Please, don't start a long discussion about this on the list. Tell me whether you are interested off-list, first. Send your comments to . Once we have decided to make it happen, we could discuss it here. Best regards, Mark -- eHUG coordinator mailto:europe at ehug.info http://www.ehug.info http://home.wanadoo.nl/mark.sch http://www.economy-x-talk.com Please inform me about vacancies in the field of general economics at your institute. I am also looking for new freelance programming projects. From jhurley at infostations.com Sat Jul 30 10:06:17 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 30 Jul 2005 07:06:17 -0700 Subject: Full justification In-Reply-To: <20050730111003.18860825342@mail.runrev.com> References: <20050730111003.18860825342@mail.runrev.com> Message-ID: Perhaps another way to approach the problem of full justification for non-proportional fonts is to insert spaces whose width is set to 1 point. It turns out that the formatted width of the 2 point space character, with the points size set to 2 pts, (at least in Times font) is 1 point. (Pardon the dual use of the word "point.") If the width needed to fill in the line, so that the text is also right-justified, is say N points, then one might distribute N spaces between intervening words (each insert is one point in width.) (I ran into one of the few instances where recursion is truly useful--beside fractals and the Tower of Hanoi.) To see this try (in the message box): go stack url "http://home.infostations.net/jhurley/JustifyText.rev" Jim P.S. Thanks to Phil Davis for pointing out that the formattedText of a field separates the lines. Thanks Phil. From ambassador at fourthworld.com Sat Jul 30 10:14:17 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 30 Jul 2005 07:14:17 -0700 Subject: Getting the type code of a file under OSX In-Reply-To: <42EB7B72.1070509@tweedly.net> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> <42EB7B72.1070509@tweedly.net> Message-ID: <42EB8B39.7050407@fourthworld.com> Alex Tweedly wrote: > You could try (I did !!) using the trick I saw from Richard a couple of > weeks ago, using a complex filter expression to ensure the right number > of items - e.g. > filter ... pFileName & ",*,*,*,*,*,*,*,*,*,*" but that also fails the > "a,11" case as above. For grabbing just one line I often just include boundaries around the text with lineOffset: put lineoffset(cr& tMyFileame&"," , cr& tFileList) Because the file names are URL encoded commas become %2C, so I don't believe there's a risk of getting commas in the name confused with delimiters. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Sat Jul 30 10:24:10 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 16:24:10 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <42EB7B72.1070509@tweedly.net> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> <42EB7B72.1070509@tweedly.net> Message-ID: <297F4F7C-A919-4A16-B184-F9397BD068D7@sosmartsoftware.com> Hi Alex, I should not have thought that such a tiny problem could go so far :-) Error management is the key of good software... So, I propose another approach: As usual, is this one the last one? :-) function CreatorAndType pFilePath local tDefaultFolder,tFile,tCreatorType ----- if the platform <> "MacOs" then return "Error: filetype not supported" put the defaultFolder into tDefaultFolder set the itemdel to slash set the defaultFolder to item 1 to -2 of pFilePath put the detailed files into tFile filter tFile with urlEncode(item -1 of pFilePath) & ",*" set the defaultFolder to tDefaultFolder set the itemDel to comma if last char of tFile = comma then return "Error: could not determine the filetype" return char 1 to 4 of item -1 of tFile,char 5 to 8 of item -1 of tFile end CreatorAndType Le 30 juil. 05 ? 15:06, Alex Tweedly a ?crit : > Eric Chatonet wrote: > > >> Hi Dave, >> >> You are perfectly right: I missed this one. >> So a reliable function could be: >> >> > getting close ... but not quite there yet, because of the issue of > comma being an allowed character in file names. > (I don't know if this applies to Mac - but I'm 99% sure it will, > since this is a relatively common thing to do in Unix, so I'd > expect the OSX file system to allow it). > > If the Mac doesn't allow this, then your function is OK - but > beware of the problem for any other operation you do on "the > detailed files". > If Mac does allow commas in file names, then it causes two problems. > > The first is easy - but rather dangerous. You cannot use "item 11" > for the file creator - you should alway use "item -1". The same > applies to all the items returned - you should use "item -10" for > file size, rather than "item 2", etc. > > However, this doesn't work as it should on Windows. > The docs say > > >> * The file's access permissions >> * The file's creator and file type (Mac OS and OS X only) >> Any attribute that is not supported on the current system is >> reported as "0" (zero). >> >> > But in fact on Windows, the creator and file type (not supported) > are set to empty, not "0". > This is a real pain, because it means that you always have an empty > last item - so the number of items is 10. > [Does the Mac ever return empty Creator and file type ?] > > Therefore you need to add a check for the last character being > comma, and if it is append some safe string (e.g. a space), before > using the negative index numbers. > > The second problem is rather more obscure - but if we want to claim > to work in 100% of the cases, not 99.99..% we should cover it. > > I believe you cannot use a "filter" to match any arbitrary filename > you might be given. > > filter ... pFileName & ",*" > fails because "name" and "name,date" both match pFileName = "name" > You might think you could depend on the fact that the files are > alphabetic to always get the one you want first (I certainly did > when I started writing this email), but you can't. Using the > filename "a,11" will falsely match the file "a" if it happens to be > 11 bytes long (or 110, or 11234, ...). Since "a" comes before "a, > 11" it will be the first one found. > > You could try (I did !!) using the trick I saw from Richard a > couple of weeks ago, using a complex filter expression to ensure > the right number of items - e.g. > filter ... pFileName & ",*,*,*,*,*,*,*,*,*,*" but that also > fails the "a,11" case as above. > > So I think you need to loop through them, checking the file name. > But you cannot do as Dave suggested, and compare item 1 of each > line against the file name, because that would fail to match a > filename containing a comma that should match. > You instead need to compare "item 1 to -11" (once you've done the > above check for empty last item). > > So we finish up with what I *think* is a truly reliable version > > function CreatorAndType pFilePath > local tDefaultFolder,tFile,tCreatorType, theLine, L, tNewFiles, tName > ----- > if the platform <> "MacOs" then return "Error: filetype not > supported" > put the defaultFolder into tDefaultFolder > set the itemdel to slash > set the defaultFolder to item 1 to -2 of pFilePath > put urlDecode(the detailed files) into tFile > put empty into tNewFiles > put item -1 of pFilePath into tName > set the itemDel to comma > repeat for each line L in tFile > put L into theLine > if the last char of theLine = comma then put space after theLine > if item 1 to -11 of theLine = tName then put L & cr after tNewFiles > end repeat > put tNewFiles into tFile > -- put tFile & cr after msg > if tFile = empty then return "Error: could not find file" > set the defaultFolder to tDefaultFolder > return tFile > end CreatorAndType > > > >> Le 30 juil. 05 ? 13:07, Dave Cragg a ?crit : >> >> >>> On 30 Jul 2005, at 10:40, Eric Chatonet wrote: >>> >>> >>> >>>> Hi Brian, >>>> >>>> As the files function returns a list sorted by alphabetical >>>> order, I don't think it's necessary. >>>> >>>> >>> >>> >>> But, for example, if you were looking for a file named >>> "mend.png" and there was a file named "amend.png" in the folder, >>> you'd find "amend.png". >>> >>> A bit cumbersome, but when I've done this, I've repeated through >>> all lines in the detailed files and done a match on the first >>> item in each. >>> >>> Cheers >>> dave >>> >> >> >> >> 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 site http://www.sosmartsoftware.com/ >> Email eric.chatonet at sosmartsoftware.com/ >> Phone 33 (0)1 43 31 77 62 >> Mobile 33 (0)6 20 74 50 86 >> ---------------------------------------------------------------- >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> >> > > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From b.xavier at internet.lu Sat Jul 30 10:33:51 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Jul 2005 16:33:51 +0200 Subject: Windows Registry Again In-Reply-To: <1122725111.6646.14.camel@localhost.localdomain> Message-ID: <20050730142235.39F01825365@mail.runrev.com> Hi Michael Just type "echo %SystemRoot%" in the command line or the shell. other values are available if you just type "set" cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > Sent: Saturday, July 30, 2005 14:05 > To: How to use Revolution > Subject: Windows Registry Again > > Hello, > Anyone help with this idea as how to find a value below a > RootPath in the registry ? For example I'm attempting to pull > all the network card info put into a temp file sift through > it looking for a setting, then if setting is run the app if > setting is not do not run app. > I'm trying this but since the rootpath is empty i get of > course empty, > > put > queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services > \Tcpip\Parameters") into tpCheck > > Thanks > Michaeld > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Sat Jul 30 10:49:58 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 16:49:58 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <297F4F7C-A919-4A16-B184-F9397BD068D7@sosmartsoftware.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> <42EB7B72.1070509@tweedly.net> <297F4F7C-A919-4A16-B184-F9397BD068D7@sosmartsoftware.com> Message-ID: Hi all who follow this thread, This list is great since it forces us to try to reach excellence :-) I thought I have posted the last one. No ;-) It does work but can be more elegant: function CreatorAndType pFilePath local tDefaultFolder,tFile,tCreatorType ----- if the platform <> "MacOs" then return "Error: filetype not supported" put the defaultFolder into tDefaultFolder set the itemdel to slash set the defaultFolder to item 1 to -2 of pFilePath put the detailed files into tFile filter tFile with urlEncode(item -1 of pFilePath) & ",*" set the defaultFolder to tDefaultFolder set the itemDel to comma put item 11 of tFile into tCreatorType if tCreatorType = empty then return "Error: could not determine the filetype" return char 1 to 4 of tCreatorType,char 5 to 8 of tCreatorType end CreatorAndType Have a nice week-end, Best Regards from Paris, Eric Chatonet. Le 30 juil. 05 ? 16:24, Eric Chatonet a ?crit : > I should not have thought that such a tiny problem could go so far :-) > Error management is the key of good software... > So, I propose another approach: > As usual, is this one the last one? > :-) > > function CreatorAndType pFilePath > local tDefaultFolder,tFile,tCreatorType > ----- > if the platform <> "MacOs" then return "Error: filetype not > supported" > put the defaultFolder into tDefaultFolder > set the itemdel to slash > set the defaultFolder to item 1 to -2 of pFilePath > put the detailed files into tFile > filter tFile with urlEncode(item -1 of pFilePath) & ",*" > set the defaultFolder to tDefaultFolder > set the itemDel to comma > if last char of tFile = comma then return "Error: could not > determine the filetype" > return char 1 to 4 of item -1 of tFile,char 5 to 8 of item -1 of > tFile > end CreatorAndType ---------------------------------------------------------------- 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From mcdomi at free.fr Sat Jul 30 11:24:37 2005 From: mcdomi at free.fr (Dom) Date: Sat, 30 Jul 2005 17:24:37 +0200 Subject: [FR] [EN]Re: Getting the type code of a file under OSX In-Reply-To: Message-ID: <1h0iw6b.17l71j0buxnwtM%mcdomi@free.fr> Eric Chatonet wrote: > function CreatorAndType pFilePath > local tDefaultFolder,tFile,tCreatorType oui c'est pas mal du tout ! very nice, indeed! a propos de d?claration des "locals" : n'est-il pas pr?f?rable de les d?clarer en-t?te du script du controle, en dehors des handlers ? about "locals" statement: is it preferable to place it in the "header" of the control script, outside of any handler? -- Revolutionario (not so much, indeed) From alex at tweedly.net Sat Jul 30 11:31:15 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 16:31:15 +0100 Subject: Getting the type code of a file under OSX In-Reply-To: <42EB8B39.7050407@fourthworld.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3AED7EAA-09B4-4A7F-88B8-98DA7FBA9C0C@sosmartsoftware.com> <8E7B89EC-C607-45E9-817B-82B8FBCF7B54@sosmartsoftware.com> <9326D5DC-428D-4822-ACDA-B21766F3D367@lacscentre.co.uk> <9B7E7561-1ABC-46A4-BF0D-531C910DBFB5@sosmartsoftware.com> <42EB7B72.1070509@tweedly.net> <42EB8B39.7050407@fourthworld.com> Message-ID: <42EB9D43.8020506@tweedly.net> Richard Gaskin wrote: > Alex Tweedly wrote: > >> You could try (I did !!) using the trick I saw from Richard a couple >> of weeks ago, using a complex filter expression to ensure the right >> number of items - e.g. >> filter ... pFileName & ",*,*,*,*,*,*,*,*,*,*" but that also fails >> the "a,11" case as above. > > > For grabbing just one line I often just include boundaries around the > text with lineOffset: > > put lineoffset(cr& tMyFileame&"," , cr& tFileList) > > Because the file names are URL encoded commas become %2C, so I don't > believe there's a risk of getting commas in the name confused with > delimiters. There is a danger if you urlDecode() them first, which the code sample did. You're quite right - if you urlEncode() the file name passed in, that is a much safer, and easier, method. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From eric.chatonet at sosmartsoftware.com Sat Jul 30 11:33:59 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 17:33:59 +0200 Subject: [FR] [EN]Re: Getting the type code of a file under OSX In-Reply-To: <1h0iw6b.17l71j0buxnwtM%mcdomi@free.fr> References: <1h0iw6b.17l71j0buxnwtM%mcdomi@free.fr> Message-ID: Hi Dom, Tu peux faire les deux mais ce n'est pas la m?me chose. You can do both but it's not the same. Quand les variables sont d?clar?es en t?te du script, leurs valeurs sont alors accessibles par toutes les proc?dures du script. When variables are declared outside the handlers their values are available to all handlers in the script. Quand elles sont d?clar?es ? l'int?rieur d'une proc?dure, leur valeur n'existe que pour la proc?dure consid?r?e. When they are declared inside a handler, their values are only available for this handler. Le 30 juil. 05 ? 17:24, Dom a ?crit : > Eric Chatonet wrote: > > >> function CreatorAndType pFilePath >> local tDefaultFolder,tFile,tCreatorType >> > > oui c'est pas mal du tout ! > very nice, indeed! > > a propos de d?claration des "locals" : n'est-il pas pr?f?rable de les > d?clarer en-t?te du script du controle, en dehors des handlers ? > about "locals" statement: is it preferable to place it in the "header" > of the control script, outside of any handler? > > -- > Revolutionario (not so much, indeed) 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From eric.chatonet at sosmartsoftware.com Sat Jul 30 11:44:34 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 17:44:34 +0200 Subject: Files function or Tiger bug? Message-ID: Hi all, Mac OS X issue (Tiger) When working on the "Getting the type code of a file under OSX" thread, I noticed that the long files function return an empty filetype for TextEdit files (raw text or RTF). FileBuddy reports correctly, Rev not. Could you confirm? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Sat Jul 30 11:44:43 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 16:44:43 +0100 Subject: [FR] [EN]Re: Getting the type code of a file under OSX In-Reply-To: References: <1h0iw6b.17l71j0buxnwtM%mcdomi@free.fr> Message-ID: <42EBA06B.1050605@tweedly.net> Eric Chatonet wrote: > Hi Dom, > > Tu peux faire les deux mais ce n'est pas la m?me chose. > You can do both but it's not the same. > > Quand les variables sont d?clar?es en t?te du script, leurs valeurs > sont alors accessibles par toutes les proc?dures du script. > When variables are declared outside the handlers their values are > available to all handlers in the script. > > Quand elles sont d?clar?es ? l'int?rieur d'une proc?dure, leur valeur > n'existe que pour la proc?dure consid?r?e. Quand possible, c'est pr?f?rable. > When they are declared inside a handler, their values are only > available for this handler. And so, IMHO, it is better to declare them inside unless you explicitly want, and need, to share them - more safety from possible mistakes. (Sorry about the terse French translation - the fewer words you use, the fewer chances of mistakes :-) -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From eric.chatonet at sosmartsoftware.com Sat Jul 30 11:47:00 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 17:47:00 +0200 Subject: [FR] [EN]Re: Getting the type code of a file under OSX In-Reply-To: <42EBA06B.1050605@tweedly.net> References: <1h0iw6b.17l71j0buxnwtM%mcdomi@free.fr> <42EBA06B.1050605@tweedly.net> Message-ID: <73E5B0DB-9F19-4DA6-BF2F-133F5AB8DBE4@sosmartsoftware.com> Right Alex! Very comprehensive French and Transcript :-) Le 30 juil. 05 ? 17:44, Alex Tweedly a ?crit : > Eric Chatonet wrote: > > >> Hi Dom, >> >> Tu peux faire les deux mais ce n'est pas la m?me chose. >> You can do both but it's not the same. >> >> Quand les variables sont d?clar?es en t?te du script, leurs >> valeurs sont alors accessibles par toutes les proc?dures du script. >> When variables are declared outside the handlers their values are >> available to all handlers in the script. >> >> Quand elles sont d?clar?es ? l'int?rieur d'une proc?dure, leur >> valeur n'existe que pour la proc?dure consid?r?e. >> > > Quand possible, c'est pr?f?rable. > > >> When they are declared inside a handler, their values are only >> available for this handler. >> > > And so, IMHO, it is better to declare them inside unless you > explicitly want, and need, to share them - more safety from > possible mistakes. > > (Sorry about the terse French translation - the fewer words you > use, the fewer chances of mistakes :-) > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From see3d at writeme.com Sat Jul 30 12:30:59 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 30 Jul 2005 12:30:59 -0400 Subject: Help, what am I doing wrong??? Message-ID: <9E66FE8D-D556-42B3-A57F-ED87F4091157@writeme.com> I have the following script (much simplified from original). In the form shown, it generates results and saves them into the following variable names: openSAW openSAWW openSAWWW openSAWWWW openSAWWWWW openSW This is not what I intended! However if I make a small change to the script as shown in the comments it works fine and fills the globals with the results. Can anyone tell me what I am doing wrong with the original script? Dennis global typSAPW,openSAPW,lowSAPW,highSAPW,closeSAPW,dVol7WEMAW,volP50EMAW,volP50 EMA5W,IIV50W -- ON mouseUp local inNames1,fileText1 put "OpenSAP,LowSAP,HighSAP,CloseSAP,TypSAP,DVol7WEMA,VolP50EMA,VolP50EMA5,I IV50," into inNames1 put "123"&cr&"456"&cr&"789"&cr into fileText1 REPEAT for each item inName1 in inNames1 --replace inName1 with n1 and uncomment next line to make this work -- put n1 into inName1 put "W" after inName1 do "put fileText1 into "&inName1 do "split "&inName1&" with cr" END repeat get it END mouseUp From howard.bornstein at gmail.com Sat Jul 30 12:48:09 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sat, 30 Jul 2005 12:48:09 -0400 Subject: Files function or Tiger bug? In-Reply-To: <200507301549.j6UFnDGe009599@ms-smtp-02.rdc-nyc.rr.com> References: <200507301549.j6UFnDGe009599@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc260507300948c74d044@mail.gmail.com> On 7/30/05, Eric Chatonet wrote: > Hi all, > > Mac OS X issue (Tiger) > When working on the "Getting the type code of a file under OSX" > thread, I noticed that the long files function return an empty > filetype for TextEdit files (raw text or RTF). > FileBuddy reports correctly, Rev not. > Could you confirm? > > Best Regards from Paris, > > Eric Chatonet. > ---------------------------------------------------------------- > So Smart Software Hi Eric, I had no problem here with regards to the long files function correctly identifying text files. By raw text I assume you mean a type code of TEXT, right? Long files correctly finds this. When I checked a number of .rtf files created by TextEdit, they came up blank because, apparently, TextEdit only uses the file extension to specify a .rtf file and the long files correctly reports the type as empty (the long description ends with a comma). -- Regards, Howard Bornstein ----------------------- www.designeq.com From eric.chatonet at sosmartsoftware.com Sat Jul 30 12:58:53 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 18:58:53 +0200 Subject: [OT] For Howard Bornstein Message-ID: <03471267-81CC-415C-BFE8-4EC3DE160940@sosmartsoftware.com> Hi Howard, Could you explain to me why I receive this (if you can): > This is the Postfix program at host postfix3-2.free.fr. > > I'm sorry to have to inform you that your message could not > be delivered to one or more recipients. It's attached below. > > For further assistance, please send mail to > > If you do so, please include this problem report. You can > delete your own text from the attached returned message. > > The Postfix program > > : host designeq.com[209.51.132.194] said: > 550-X-RBL-Warning: 213.228.0.169 is in a blacklist at > spam.dnsbl.sorbs.net. > 550 http://www.dnsbl.us.sorbs.net/cgi-bin/lookup? > js&IP=213.228.0.169 (in > reply to RCPT TO command) > Reporting-MTA: dns; postfix3-2.free.fr > X-Postfix-Queue-ID: 4F042C0A9 > X-Postfix-Sender: rfc822; eric.chatonet at sosmartsoftware.com > Arrival-Date: Sat, 30 Jul 2005 18:55:42 +0200 (CEST) > > Final-Recipient: rfc822; bornstein at designeq.com > Action: failed > Status: 5.0.0 > Diagnostic-Code: X-Postfix; host designeq.com[209.51.132.194] said: > 550-X-RBL-Warning: 213.228.0.169 is in a blacklist at > spam.dnsbl.sorbs.net. > 550 http://www.dnsbl.us.sorbs.net/cgi-bin/lookup? > js&IP=213.228.0.169 (in > reply to RCPT TO command) > > De : Eric Chatonet > Date : 30 juillet 2005 18:55:41 HAEC > ? : bornstein at designeq.com > Objet : R?p : Files function or Tiger bug? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From janschenkel at yahoo.com Sat Jul 30 12:59:45 2005 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sat, 30 Jul 2005 09:59:45 -0700 (PDT) Subject: Help, what am I doing wrong??? In-Reply-To: <9E66FE8D-D556-42B3-A57F-ED87F4091157@writeme.com> Message-ID: <20050730165945.37016.qmail@web60518.mail.yahoo.com> --- Dennis Brown wrote: > I have the following script (much simplified from > original). > In the form shown, it generates results and saves > them into the > following variable names: > openSAW > openSAWW > openSAWWW > openSAWWWW > openSAWWWWW > openSW > > This is not what I intended! > However if I make a small change to the script as > shown in the > comments it works fine and fills the globals with > the results. > > Can anyone tell me what I am doing wrong with the > original script? > > Dennis > Hi Dennis, I believe this was largely due to modifying the control variable within the repeat loop. I made some other changes, and you'll find the result below: ## global typSAPW,openSAPW,lowSAPW,highSAPW,closeSAPW,dVol7WEMAW,volP50EMAW,volP50,EMA5W,IIV50W -- on mouseUp breakpoint local inNames1,fileText1 put "OpenSAP,LowSAP,HighSAP,CloseSAP,TypSAP,DVol7WEMA,VolP50EMA,VolP50EMA5,IIV50" into inNames1 put "123"&cr&"456"&cr&"789" into fileText1 repeat for each item inName1x in inNames1 put inName1X & "W" into inName1 do ("global" && inName1 & ";put fileText1 into" && inName1) do ("global" && inName1 & ";split" && inName1 && "with cr") end repeat end mouseUp ## Running the above script seemed to work for me. Hope this helped, Jan Schenkel. Quartam - Tools for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From mcdomi at free.fr Sat Jul 30 13:03:37 2005 From: mcdomi at free.fr (Dom) Date: Sat, 30 Jul 2005 19:03:37 +0200 Subject: [FR] [EN]Re: Getting the type code of a file under OSX In-Reply-To: Message-ID: <1h0j0iq.2sl1p2x3lyprM%mcdomi@free.fr> Eric Chatonet wrote: > Quand les variables sont d?clar?es en t?te du script, leurs valeurs > sont alors accessibles par toutes les proc?dures du script. > When variables are declared outside the handlers their values are > available to all handlers in the script. OK (it's gone bilingual ;-)) > Quand elles sont d?clar?es ? l'int?rieur d'une proc?dure, leur valeur > n'existe que pour la proc?dure consid?r?e. > When they are declared inside a handler, their values are only > available for this handler. OK! When I have a complex script with calls to another "proc?dures", it is therefore better to explicitly declare the variables used by the main script and its "proc?dures" (the handlers, commands and fucntions) called by this main handler (hard to speak of, not confusing between "script" = all the handlers in a control, and the handlers composing the script) By the way, I made the choice of "explicit variables"... Nonetheless, Rev allows to use implicit variables shared by handlers among a given script -- but better to declare them as locals? I remember that in HC you had to resort on globals in this case... You ended a session with a number of globals you didnt' remember of ;-) From howard.bornstein at gmail.com Sat Jul 30 13:25:39 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sat, 30 Jul 2005 13:25:39 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <200507301634.j6UGYGGe008125@ms-smtp-02.rdc-nyc.rr.com> References: <200507301634.j6UGYGGe008125@ms-smtp-02.rdc-nyc.rr.com> Message-ID: <3f07cc2605073010254c239653@mail.gmail.com> On 7/30/05, Dennis Brown wrote: > I have the following script (much simplified from original). > In the form shown, it generates results and saves them into the > following variable names: > openSAW > openSAWW > openSAWWW > openSAWWWW > openSAWWWWW > openSW > > This is not what I intended! > However if I make a small change to the script as shown in the > comments it works fine and fills the globals with the results. > > Can anyone tell me what I am doing wrong with the original script? > > Dennis > > > global > typSAPW,openSAPW,lowSAPW,highSAPW,closeSAPW,dVol7WEMAW,volP50EMAW,volP50 > EMA5W,IIV50W > -- > ON mouseUp > local inNames1,fileText1 > put > "OpenSAP,LowSAP,HighSAP,CloseSAP,TypSAP,DVol7WEMA,VolP50EMA,VolP50EMA5,I > IV50," into inNames1 > put "123"&cr&"456"&cr&"789"&cr into fileText1 > REPEAT for each item inName1 in inNames1 --replace inName1 with > n1 and uncomment next line to make this work > -- put n1 into inName1 > put "W" after inName1 > do "put fileText1 into "&inName1 > do "split "&inName1&" with cr" > END repeat > get it > END mouseUp Weird! Interestingly, if you manually step through your script in debug mode (or run in trace mode) it works fine. It only exhibits this strange behavior if you let it rip at full speed. (???) Also, try this: put a breakpoint at the line "put "W" after inName1". Run the script and click "step into" after you hit the breakpoint and watch the value of inName1 change in the variable watcher. Very strange! -- Regards, Howard Bornstein ----------------------- www.designeq.com From howard.bornstein at gmail.com Sat Jul 30 13:36:10 2005 From: howard.bornstein at gmail.com (Howard Bornstein) Date: Sat, 30 Jul 2005 13:36:10 -0400 Subject: Getting the type code of a file under OSX In-Reply-To: <3f07cc2605072916562b518cff@mail.gmail.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> Message-ID: <3f07cc2605073010362e301d2e@mail.gmail.com> Thanks for all the nice refinements to the basic algorithm. I originally used a script like the one Dave Cragg mentioned. But doesn't it strike everyone that this is cumbersome for such a simple request. Perhaps I should enter a BZ enhancement for a function: getFileAttributes(filepath) that returns one detailed line ? la long files. -- Regards, Howard Bornstein ----------------------- www.designeq.com From mcdomi at free.fr Sat Jul 30 13:48:49 2005 From: mcdomi at free.fr (Dom) Date: Sat, 30 Jul 2005 19:48:49 +0200 Subject: [FR] [EN]Re: Getting the type code of a file under OSX In-Reply-To: Message-ID: <1h0j2xz.1hhe8mx173l16sM%mcdomi@free.fr> To Eric and Alex: > Tu peux faire les deux mais ce n'est pas la m?me chose. > You can do both but it's not the same. Euh, si c'?tait possible de ne PAS faire de copie en Mail... Merci ;-) Eeeer, is it possible NOT to send a copy in Mail... Thanks ;-) From alex at tweedly.net Sat Jul 30 13:59:32 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 18:59:32 +0100 Subject: Getting the type code of a file under OSX In-Reply-To: <3f07cc2605073010362e301d2e@mail.gmail.com> References: <3f07cc2605072916562b518cff@mail.gmail.com> <3f07cc2605073010362e301d2e@mail.gmail.com> Message-ID: <42EBC004.1090501@tweedly.net> Howard Bornstein wrote: >Thanks for all the nice refinements to the basic algorithm. I >originally used a script like the one Dave Cragg mentioned. > >But doesn't it strike everyone that this is cumbersome for such a >simple request. > > Yes. >Perhaps I should enter a BZ enhancement for a function: > >getFileAttributes(filepath) that returns one detailed line ? la long files. > "Ask for the sun, and be content when you are given the moon". In that spirit, why not make the BZ request include providing a "filepath" which can include file filters similar to those used in "answer file" or more generally allowing file name "globbing", e.g. getFileAttributes("/usr/bin/*.exe") getFileAttributes("/Our Documents/Alex/archive*") -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From b.xavier at internet.lu Sat Jul 30 14:55:00 2005 From: b.xavier at internet.lu (MisterX) Date: Sat, 30 Jul 2005 20:55:00 +0200 Subject: OT:ANN:WTF:WOAH Factor Message-ID: <20050730184338.85E018253AC@mail.runrev.com> Hi fractal lovers i've still to find the recursive quantic xor funktion to make an easy and fast mandelbrot in rev however i have made 11 more fractal/moire types for my moire engine MoireX Vol3 since first release... if there is any interest, i will post it via monsieurx.com if not, i will post it in the near temporal spaceline when i complete 15-25 different types of moire fractals... the lack of feedback makes me really not happy to release it... As if no one appreciates these nice demos... The reason i hold here as ransom for more is that if there is any interest, we could generate a few hundred more and chart this region of chromatographic space over polar and rectangular coordinates. It is a study in quantic chromas which is a region of math-space that is defined as visual candy out of macro-astronomic and subatomic stat spaces... IOWs, it's something real despite the fact that we dont know what it represents ;) Im missing one piece though... how to animate the palettes... If there's any ideas, we could have something even cooler than toasted bread colored screens... Anyone remember the old MacOS screensaver? Even AfterDark didn't come close to it... http://www.jbum.com/pixmagic/gallogic.html (if you look hard you will also find code for 2 wheel spyrographs). was the source of inspiration that led me to the actual fractal/moire i was trying to generate with the rev contest 10 line script - and i wasn't far although that's debatable... And now, im 11 steps ahead with a smoother color engine without changing the drawing code at all! I never thought i'd do such cool gradients - but i still haven't tought of making button gradients to compete with Chipp's great buttons ;) Remember, with GradientNO2 you can make gradient colored flat 3D buttons ;) This makes N-Dimentional color interpretation possible! colorblind people could find a universal translator application here. it's not such a wild and dumb theory you know! What's next? 3D convoluted temporal distortions in subspace and quantum dimensions in color gradients ;) So where's the subspace functions in rev ? :) Computer, activate Emergency Logic Program... I dont know what it is but more than fertile imagination does ;) So if you like this stuff, let me know and I will post the "upgrade" for on-going-online-development activities! this is more fun than GTR... Well, almost... Driving me on the edge is not that easy ;) cheers Xavier http://monsieurx.com From revdan at danshafer.com Sat Jul 30 15:08:24 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Jul 2005 12:08:24 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <42EAC7C3.8010006@tweedly.net> References: <42EAC7C3.8010006@tweedly.net> Message-ID: Oh, thanks a LOT, Alex! Now I'll waste the entire freaking weekend doing Sudoku. I am already hooked! I never saw this kind of puzzle before (and after reading the article in Wikipedia, I know why; they're pretty new in terms of wide popularity) but it so fits my obsession with numeric patterns that I'm afraid I may just have found the thing that will ultimately destroy all that remains of my productivity. I noticed a couple of things as I began working with your program. First, I noticed that when I choose one of the puzzles with some givens in it, those givens are not eliminated from the display list of possibilities for other squares in the region. As I understand the rules of Sudoku -- and my knowledge base is less than two hours old at this point -- that would be quite helpful and would be expected, no? Second, when I loaded puzzle #1, at some point in solving it, the square I'll call square 7 (lower left) in the lower-right region suddenly became blank and responded to clicks only by highlighting. It was no longer possible to put a value into that cell. That cell was NOT a given when the puzzle started. Third, when played in the IDE, your program brings up the message box all the time, which is just slightly annoying. I'm guessing that if I compile it into a standalone that problem would go away. Fourth -- and perhaps related to my second point above -- the number of solution values in the right column dropped to 0 at some point and stayed there. I took that to mean I had an error somewhere in the partial solution but after careful inspection, it seemed OK. But my scan may have overlooked the problem cited as the second point above, so that may be moot and expected behavior. It occurred to me it would be way cool if I could take a puzzle from a magazine, enter the givens in your assistant and save it. I know you have a mechanism for loading a text file with a known format that would also accomplish that but unless you have plans to implement that, I may take a crack at it. Cool program. Now where did I put my No-Doz? :-D Dan On Jul 29, 2005, at 5:20 PM, Alex Tweedly wrote: > > The other day I mentioned that I had done a simple "Sudoku > Assistant" - a simple stack which gives you some assistance in > solving Sudoku Puzzles. I had done it over the course of an evening > or two while on vacation, and had decided that I really didn't find > Sudoku puzzles all that fascinating, so it had been languishing > since then. > > But mentioning it here, and having a couple of people ask about it, > revived my interest, so I've spent 3 hours today tidying it up and > adding a couple of useful features (Undo/Redo/combination > counts/...). (I also spent 4 or 5 hours learning basics of RunRev > in some areas I hadn't used before - useful for me, but only > contributed about 10 minutes of useful work towards this stack :-) > > It's posted in RevOnline, under Games, or username alextweedly - > called SudokuAssistant > Enjoy, and as always I'd welcome any comments, suggestions, even > requests ... > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From see3d at writeme.com Sat Jul 30 15:13:06 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 30 Jul 2005 15:13:06 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <20050730165945.37016.qmail@web60518.mail.yahoo.com> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> Message-ID: <73E917CF-AF48-446C-8107-34172E513808@writeme.com> On Jul 30, 2005, at 12:59 PM, Jan Schenkel wrote: > > Hi Dennis, > > I believe this was largely due to modifying the > control variable within the repeat loop. I > made some other changes, and you'll find the result > below: I guess I don't understand the repeat for each control structure they way I thought I did. I wonder if the repeat for each variable is really a pointer to the original complete string that gets overwritten if you modify the variable. In that case the repeat for each variable must be a read only value... or else! But wait, there's more... From the dictionary: >>"The for each element labelVariable in array form sets the labelVariable to the first element in the array at the beginning of the loop, then sets it to the next element for each iteration. >> Important! You cannot change the labelVariable in a statement inside the loop. Doing so will cause a script error..." Well I never got that script error message! I guess what they meant to say was that "You cannot change the CONTENTS OF THE labelVariable in a statement inside the loop. Doing so will cause YOU TO GO CRAZY TRYING TO DEBUG YOUR SCRIPT SINCE IT WILL WORK FINE IN DEBUG MODE" > repeat for each item inName1x in inNames1 > put inName1X & "W" into inName1 > > Running the above script seemed to work for me. Right, because the inName1x variable is never modified. From mswindel at santacruz.k12.ca.us Sat Jul 30 15:30:03 2005 From: mswindel at santacruz.k12.ca.us (Mark Swindell) Date: Sat, 30 Jul 2005 12:30:03 -0700 Subject: Video tutorials - OS X Message-ID: Why don't I get video with the Rev OnLine tutorials in OS X 10.4? Only audio. This has probably been covered... but is there an easy answer? Mark From revdan at danshafer.com Sat Jul 30 15:36:42 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Jul 2005 12:36:42 -0700 Subject: Video tutorials - OS X In-Reply-To: References: Message-ID: <1349F8C1-5DA1-4D00-A2DA-7AE15CE21DE7@danshafer.com> Not sure what's going on here, Mark, but I can assure you the videos work fine on OS X 10.4. Dan On Jul 30, 2005, at 12:30 PM, Mark Swindell wrote: > Why don't I get video with the Rev OnLine tutorials in OS X 10.4? > Only audio. > > This has probably been covered... but is there an easy answer? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Sat Jul 30 15:43:52 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 30 Jul 2005 21:43:52 +0200 Subject: Video tutorials - OS X In-Reply-To: References: Message-ID: <101A97BB-1627-42BB-93BF-9762E3F4A1D3@sosmartsoftware.com> Hi Mark, You need the right codec installed. Se in the "Third party" folder in your Rev main app folder: it's there. Hope this helps. Le 30 juil. 05 ? 21:30, Mark Swindell a ?crit : > Why don't I get video with the Rev OnLine tutorials in OS X 10.4? > Only audio. > > This has probably been covered... but is there an easy answer? 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jacque at hyperactivesw.com Sat Jul 30 16:12:07 2005 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 30 Jul 2005 15:12:07 -0500 Subject: Load URL doesn't send message In-Reply-To: <39E87007-A952-43B5-AFC7-53DC0C4CE5EF@easynet.fr> References: <42E99569.3090000@hyperactivesw.com> <98008438-1FFD-4EFB-832E-CB311D061F50@lacscentre.co.uk> <42EA9019.3070002@hyperactivesw.com> <38B48591-6076-47FE-A952-CA6A8A46553D@lacscentre.co.uk> <42EAC06E.3010406@hyperactivesw.com> <39E87007-A952-43B5-AFC7-53DC0C4CE5EF@easynet.fr> Message-ID: <42EBDF17.7010501@hyperactivesw.com> Pierre Sahores wrote: > > Did you test in using different socketTimeoutInterval values ? > >> set the socketTimeoutInterval to 10000 >> ... your code ... >> set the socketTimeoutInterval to 10 Thanks Pierre, but I don't think I need it. I sent the stack to Dave Cragg and it worked fine for him. It also worked fine for me on another Mac, and it worked twice on my main Mac before it stopped working. I may post again later to see if anyone can recognize the problems I'm having with this stack. Right now I am stuck, but I think there is something wrong with the stack, my machine, or my copy of Revolution. I am trying to figure it out. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Sat Jul 30 16:40:03 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 21:40:03 +0100 Subject: ANN: Sudoku Assistant In-Reply-To: References: <42EAC7C3.8010006@tweedly.net> Message-ID: <42EBE5A3.9060705@tweedly.net> Dan Shafer wrote: > Oh, thanks a LOT, Alex! Now I'll waste the entire freaking weekend > doing Sudoku. I am already hooked! I never saw this kind of puzzle > before (and after reading the article in Wikipedia, I know why; > they're pretty new in terms of wide popularity) but it so fits my > obsession with numeric patterns that I'm afraid I may just have found > the thing that will ultimately destroy all that remains of my > productivity. I only discovered them in May - they were mentioned on slashdot, and a couple of days later I went on vacation - and found myself with laptop but without Internet connectivity. In the airport on the way, I bought a newspaper, which had a couple of puzzles in it. The program was the result .... but I found the idea of writing a program to do it more appealing than doing the puzzles myself. > I noticed a couple of things as I began working with your program. > > First, I noticed that when I choose one of the puzzles with some > givens in it, those givens are not eliminated from the display list > of possibilities for other squares in the region. As I understand the > rules of Sudoku -- and my knowledge base is less than two hours old > at this point -- that would be quite helpful and would be expected, no? Yes, it would be *too* helpful. In fact, if I did that immediately, you would only see completed puzzles for number 1,2 and 3. Number 4 is a lot harder than the others - they can be "solved" simply by diligently applying the rule of eliminating row,col,square for those squares which have only a single value left. Puzzle 4 requires a big step up to eliminating values due to common pairs. (I'll say no more in case that would be a "spoiler" for anyone). So you get to do a little bit of work - you can click on a square containing a single value, and it will eliminate that value from the rest of its in the row, column and 3x3 square. Or, if you're impatient, you can click on the "Auto" button and it will do that for you, to each button in turn. > Second, when I loaded puzzle #1, at some point in solving it, the > square I'll call square 7 (lower left) in the lower-right region > suddenly became blank and responded to clicks only by highlighting. > It was no longer possible to put a value into that cell. That cell > was NOT a given when the puzzle started. I've seen that once, but not been able to reproduce it. I am 80% sure it was a follow-on from filling-in a wrong answer (which causes a "?" to appear somewhere), and then Undo-ing my way back past that point. I made a couple of fixes since I saw it, nothing that I could tie in to that symptom - but natural optimism made me hope I had fixed it as a side-effect. I'll try again to make it happen (and code-review the Undo after error cases). > > Third, when played in the IDE, your program brings up the message box > all the time, which is just slightly annoying. I'm guessing that if I > compile it into a standalone that problem would go away. Hmmm - I must have left in a debug statement somewhere. My fault - I usually use a "log" function, but originally this was going to be "throw-away" code that I wrote for amusement during my vacation, and didn't intend to do anything more with. I'll look for that too ... > Fourth -- and perhaps related to my second point above -- the number > of solution values in the right column dropped to 0 at some point and > stayed there. I took that to mean I had an error somewhere in the > partial solution but after careful inspection, it seemed OK. But my > scan may have overlooked the problem cited as the second point above, > so that may be moot and expected behavior. Yes, it does mean that there is a wrong answer. You didn't by any chance read the "Help" info ? :-) The last sentence says: > Also, the number of remaining possible combinations shown on the right > will be 0, so it will be fairly obvious. You can then Undo and try > another value, or try a different square. When you put in an incorrect value for a square, it will eliminate that number from rest of the the row, col and 3x3 square. If this results in there being no possible values remaining, that square gets a "?" - and the number of possible combinations goes to 0. So if you notice it's at 0, Undo until you get back above the highest "0" line, then Redo once and check the row,col and square corresponding to that last change for any "?"s. Note this does NOT mean that your last entered value is wrong; it could in fact be that this one is correct and there was an earlier wrong value, which means that this correct step eliminates the last possible value from some square. > It occurred to me it would be way cool if I could take a puzzle from > a magazine, enter the givens in your assistant and save it. I know > you have a mechanism for loading a text file with a known format that > would also accomplish that but unless you have plans to implement > that, I may take a crack at it. > That would be very easy - I'll do that at the same time as I fix the spelling mistakes in the Help info and re-upload to RevOnline in an hour or so .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From dweeble at wi.rr.com Sat Jul 30 17:01:32 2005 From: dweeble at wi.rr.com (Michael) Date: Sat, 30 Jul 2005 16:01:32 -0500 Subject: Windows Registry Again In-Reply-To: <20050730142235.39F01825365@mail.runrev.com> References: <20050730142235.39F01825365@mail.runrev.com> Message-ID: <1122757292.7081.7.camel@localhost.localdomain> Hey thanks for the reply I guess rootpath was the wrong wording to use. What I'm looking for are the network cards and values under this registry heading, "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services \Tcpip\Parameters" and put into a .dat file to query. Some systems have 2 cards or more so I cannot get just the values I'm looking for from just one card. I'm not sure what to place after Parameters to include below Parameters ? I get blank with this. put queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services \Tcpip\Parameters") into tpCheck On Sat, 2005-07-30 at 16:33 +0200, MisterX wrote: > Hi Michael > > Just type "echo %SystemRoot%" in the command line or the shell. > > other values are available if you just type "set" > > cheers > Xavier > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Michael > > Sent: Saturday, July 30, 2005 14:05 > > To: How to use Revolution > > Subject: Windows Registry Again > > > > Hello, > > Anyone help with this idea as how to find a value below a > > RootPath in the registry ? For example I'm attempting to pull > > all the network card info put into a temp file sift through > > it looking for a setting, then if setting is run the app if > > setting is not do not run app. > > I'm trying this but since the rootpath is empty i get of > > course empty, > > > > put > > queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services > > \Tcpip\Parameters") into tpCheck > > > > Thanks > > Michaeld > > > > _______________________________________________ > > use-revolution mailing list > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex at tweedly.net Sat Jul 30 17:20:14 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sat, 30 Jul 2005 22:20:14 +0100 Subject: ANN: Sudoku Assistant In-Reply-To: <42EBE5A3.9060705@tweedly.net> References: <42EAC7C3.8010006@tweedly.net> <42EBE5A3.9060705@tweedly.net> Message-ID: <42EBEF0E.5000509@tweedly.net> Alex Tweedly wrote: > >> It occurred to me it would be way cool if I could take a puzzle from >> a magazine, enter the givens in your assistant and save it. I know >> you have a mechanism for loading a text file with a known format >> that would also accomplish that but unless you have plans to >> implement that, I may take a crack at it. >> > That would be very easy - I'll do that at the same time as I fix the > spelling mistakes in the Help info and re-upload to RevOnline in an > hour or so .... > OK, done. Beware that it does NOT make any sanity check on the puzzle as you save it - so if you have specified some values that do not permit any possible completion - it gets saved. Even if you have already got to a blocking point (with "?s showing), it gets saved. The file format is the same as used for loading - so every square is either a known, fixed, single digit - or is shown as "x". So if you are working through a puzzle, and have reduced the number of possible values in other squares - possibly down to a single remaining value - they are nevertheless all shown as "x". It is only those squares that you have defined that get their digit in the file. btw - it's still faster to edit the file by hand :-) Depends on whether your a "command line, text editor" user or a GUI guy :-) Also fixed some typos in Help, removed the annoying "put ... msg", and added version number (1.1) Didn't manage reproduce the "square goes blank" problem yet. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From joel.guillod at net2000.ch Sat Jul 30 17:48:35 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sat, 30 Jul 2005 23:48:35 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <20050730153442.9D2658252E7@mail.runrev.com> References: <20050730153442.9D2658252E7@mail.runrev.com> Message-ID: <70F81E10-5790-4DB7-B218-3C4891D7CE24@net2000.ch> Hi Eric, > So, I propose another approach: > As usual, is this one the last one? > :-) > [...] > function CreatorAndType pFilePath > local tDefaultFolder,tFile,tCreatorType > ----- > if the platform <> "MacOs" then return "Error: filetype not > supported" > put the defaultFolder into tDefaultFolder > set the itemdel to slash > set the defaultFolder to item 1 to -2 of pFilePath > put the detailed files into tFile > filter tFile with urlEncode(item -1 of pFilePath) & ",*" > set the defaultFolder to tDefaultFolder > set the itemDel to comma > put item 11 of tFile into tCreatorType > if tCreatorType = empty then return "Error: could not determine > the filetype" > return char 1 to 4 of tCreatorType,char 5 to 8 of tCreatorType > end CreatorAndType This is the function handler I will retain for own my file&folder library: /** @usage local tCreator,tType; if file_getCreatorAndType (pFilePath, at tCreator, at tType) is not empty then @result The returned value will not be empty if the pFilePath file does not exist. Also tCreator and tType will be set to the creator and type of the file pFilePath; when empty, the creator and type are not set for the OS plateform. @version 30.7.2005 - Modified by Joel Guillod from a proposal by Eric Chatonnet. */ function file_getCreatorAndType pFilePath, at pCreator, at pType local tDefaultFolder,tFile, put the defaultFolder into tDefaultFolder set the itemdel to slash set the defaultFolder to item 1 to -2 of pFilePath put the detailed files into tFile set the defaultFolder to tDefaultFolder filter tFile with urlEncode(item - 1 of pFilePath),"*" if tFile = empty then return "Error: could not find file" set the itemDel to comma get matchtext(item 11 of tFile,"(....)(....)",pCreator,pType) end file_getCreatorAndType Remarks: - I dont want to have the handler to rely on one specific platform. So I dont check that the platform <> "MacOs". The result will be empty on not MacOS plateforms and this is safe (or a contract for the result). - The function is intended to extract the file creator and/or type (at least one of both), so not to repeat the char 1 to 4/char 6 to 9 on the result in the calling handle, I propose to directly set the value in the function by passing by reference the pCreator and pType variables. This should save some fractions of millisecs... - ... and better it will be safer for future use: if you call your function and then forget that comma can be in the 4-chars of the creator or type, you could wrote buggy code like: put CreatorAndType(pFilePath) into tct put item 1 of tct into tCreator -- correct is: char 1 to 4 of tct put item 2 of tct into tType -- correct is: char 6 to 9 of tct > When working on the "Getting the type code of a file under OSX" > thread, I noticed that the long files function return an empty > filetype for TextEdit files (raw text or RTF). > FileBuddy reports correctly, Rev not. > Could you confirm? Yes I confirm such a behavior. Remember that under MacOSX, not all files have a creator/type. Suffix of the file (e.g. ".pdf") is usually sufficient for the MacOSX to know its type and therefore how to deal with it (e.g. application to open it). One question: how can I get the application(s) which can open a file given its filepath? One answer to open the file but does not give the application(s) names: revgourl URL ("binfile:" && tFilepath) Other solutions for each supported platform? Joel ------------------------------------------------------ "Ils ne savaient pas que c'?tait impossible, alors ils l'ont fait." (Mark Twain) "They did not know that it was impossible, so they did it." From revdan at danshafer.com Sat Jul 30 18:08:31 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sat, 30 Jul 2005 15:08:31 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <42EBEF0E.5000509@tweedly.net> References: <42EAC7C3.8010006@tweedly.net> <42EBE5A3.9060705@tweedly.net> <42EBEF0E.5000509@tweedly.net> Message-ID: Alex..... Thanks for the fast update. I'll go play with the new version. MEanwhile, I've discovered the Sudoku of the Day, an excellent Mac shareware program that generates new puzzles and saves, and a Dashboard Widget that plays quite nicely as well. I have not yet solved my first puzzle completely but I'm determined to do so today. These things are addictive! Dan On Jul 30, 2005, at 2:20 PM, Alex Tweedly wrote: > Alex Tweedly wrote: > > >> >> >>> It occurred to me it would be way cool if I could take a puzzle >>> from a magazine, enter the givens in your assistant and save it. >>> I know you have a mechanism for loading a text file with a known >>> format that would also accomplish that but unless you have plans >>> to implement that, I may take a crack at it. >>> >>> >> That would be very easy - I'll do that at the same time as I fix >> the spelling mistakes in the Help info and re-upload to RevOnline >> in an hour or so .... >> >> > OK, done. > Beware that it does NOT make any sanity check on the puzzle as you > save it - so if you have specified some values that do not permit > any possible completion - it gets saved. Even if you have already > got to a blocking point (with "?s showing), it gets saved. > The file format is the same as used for loading - so every square > is either a known, fixed, single digit - or is shown as "x". So if > you are working through a puzzle, and have reduced the number of > possible values in other squares - possibly down to a single > remaining value - they are nevertheless all shown as "x". It is > only those squares that you have defined that get their digit in > the file. > > btw - it's still faster to edit the file by hand :-) Depends on > whether your a "command line, text editor" user or a GUI guy :-) > > Also fixed some typos in Help, removed the annoying "put ... msg", > and added version number (1.1) > Didn't manage reproduce the "square goes blank" problem yet. > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From curry at pair.com Sat Jul 30 18:35:48 2005 From: curry at pair.com (curry at pair.com) Date: Sat, 30 Jul 2005 18:35:48 -0400 (EDT) Subject: ANN: Agile 10 Key 1.0 In-Reply-To: <20050730170004.BBFB38253C1@mail.runrev.com> References: <20050730170004.BBFB38253C1@mail.runrev.com> Message-ID: <1813.69.242.143.211.1122762948.squirrel@webmail5.pair.com> Agile 10 Key, the ten-key practice software, is now available for Windows too. (It's been available for OS X for a little while already, and this makes the 1.0 release complete.) http://curryk.com/10.html The Mac version allows users to train for either Mac or PC keypad layout, including pretty good imitation of the big "+" key. Couldn't do vice versa for the PC version, without having the user saw that key in two. :-) If you try it, whether it's the Mac or Windows version, feel free to let me know how you find it. (Especially, does the Mac version work OK on Tiger?) Any suggestions on good types of promotions also appreciated! Curry From psahores at easynet.fr Sat Jul 30 18:42:07 2005 From: psahores at easynet.fr (Pierre Sahores) Date: Sun, 31 Jul 2005 00:42:07 +0200 Subject: Video tutorials - OS X In-Reply-To: References: Message-ID: <1E8D890F-CE36-452E-B30F-4375276AE8D4@easynet.fr> Hello Mark, Hello Rev Team, See below the codec to install to read the RevOnline tutorials : > /MesSofts/Revolution\ 2.6/Third\ Party/TechSmiths\ EnSharpen\ Codec/ > EnSharpen\ decoder\ OSX.pkg/ To Rev Team, You sould do a test of reencoding the video tutorials in using 3ivXD4 as a free codec, 4 x more powerfull than MP4, working well with old processors and natively supported by the QT player engine... I would'nt recommand H.264 for yet : works well with fast processors only. Best Regards, Le 30 juil. 05 ? 21:30, Mark Swindell a ?crit : > Why don't I get video with the Rev OnLine tutorials in OS X 10.4? > Only audio. > > This has probably been covered... but is there an easy answer? > > Mark > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Bien cordialement, Pierre Sahores 100, rue de Paris F - 77140 Nemours skype : psahores psahores+ at +easynet.fr sc+ at +sahores-conseil.com GSM: +33 6 03 95 77 70 Pro: +33 1 64 45 05 33 Fax: +33 1 64 45 05 33 WEB/VoD/ACID-DB services over IP "Mutualiser les deltas de productivit?" From kray at sonsothunder.com Sat Jul 30 19:08:58 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 30 Jul 2005 18:08:58 -0500 Subject: Getting the type code of a file under OSX In-Reply-To: <70F81E10-5790-4DB7-B218-3C4891D7CE24@net2000.ch> Message-ID: On 7/30/05 4:48 PM, "Joel Guillod" wrote: > Hi Eric, > > >> So, I propose another approach: >> As usual, is this one the last one? >> :-) >> [...] >> function CreatorAndType pFilePath Man, I was out all day and say this thread... just to add *one more* approach, here's what I do, and it returns all of the attributes of a file or folder into an array so I can just get the array element I need: on mouseUp answer file "Get a file:" if it <> "" then put stsFileInfo(it,"file") into tDocInfoA put tDocInfoA["creatorType"] end if end mouseUp If I selected a Word document, this would return "MSWDW8BN". ---------------------------------------------------------------------- --| FUNCTION: stsFileInfo --| --| Author: Ken Ray --| Version: 1.0 --| Created: 3/4/04 --| Last Mod: -- --| Requires: -- --| --| Retrieves the file/folder information on a specific file/folder in a parseable array ---------------------------------------------------------------------- function stsFileInfo pFilePath,pType -- supports keys of "full,fileName,dataSize,resSize,createDate,modDate,accessDate,BUdate,ownerID ,groupID,permissions,creatorType,Size" set the itemDel to "/" put urlEncode(last item of pFilePath) into tItem delete last item of pFilePath put the directory into tOldDir set the directory to pFilePath if pType = "file" then put the detailed files into tDetailedList else put the detailed folders into tDetailedList end if set the directory to tOldDir set the itemDel to "," put lineOffset(cr&tItem&",",cr&tDetailedList) into tLine put line tLine of tDetailedList into tDetailedInfo replace "," with tab in tDetailedInfo set the itemDel to tab put tDetailedInfo into tFileA["full"] put urlDecode(item 1 of tDetailedInfo) into tFileA["fileName"] put (item 2 of tDetailedInfo) into tFileA["dataSize"] put (item 3 of tDetailedInfo) into tFileA["resSize"] put (item 2 of tDetailedInfo) + (item 3 of tDetailedInfo) into tFileA["size"] put "createDate,modDate,accessDate,BUdate" into tDates replace "," with tab in tDates repeat with x = 4 to 7 put item x of tDetailedInfo into tSecs if tSecs <> "" then convert tSecs to short date and time put tSecs into tFileA[(item x-3 of tDates)] end repeat put (item 8 of tDetailedInfo) into tFileA["ownerID"] put (item 9 of tDetailedInfo) into tFileA["groupID"] put (item 10 of tDetailedInfo) into tFileA["permissions"] put (item 11 of tDetailedInfo) into tFileA["creatorType"] return tFileA end stsFileInfo HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sat Jul 30 19:27:25 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 30 Jul 2005 18:27:25 -0500 Subject: Windows Registry Again In-Reply-To: <1122757292.7081.7.camel@localhost.localdomain> Message-ID: On 7/30/05 4:01 PM, "Michael" wrote: > Hey thanks for the reply > I guess rootpath was the wrong wording to use. > What I'm looking for are the network cards and values under this > registry heading, "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services > \Tcpip\Parameters" and put into a .dat file to query. Some systems have > 2 cards or more so I cannot get just the values I'm looking for from > just one card. > I'm not sure what to place after Parameters to include below > Parameters ? I get blank with this. > put queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services > \Tcpip\Parameters") into tpCheck You could use the command line "regedit /E " to output the key and its subkeys to a file, and you can then parse through that file. Support for this command goes way back (at least to Win98 (verifiied) or Win95 (not verified). HTH, Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From yoursignup at yahoo.com Sat Jul 30 21:03:13 2005 From: yoursignup at yahoo.com (Jim Bufalini) Date: Sat, 30 Jul 2005 15:03:13 -1000 Subject: Load URL doesn't send message In-Reply-To: Message-ID: I hadn't monitored this list for a couple of days, and just now came across this thread. I am having a similar problem with libURLDownloadToFile. In my case, there are 873 files being FTP downloaded. The problem is, in all but about 10 cases, my handler does receive the message. But, it never gets all 873. The closest I've gotten is 872 out of 873 by increasing a wait from 0 to 500 milliseconds, in the handler itself, which slows the process down even more than it already is! The missing messages seem to occur after half way through. At first I didn't know if the files were not being downloaded, or I just wasn't getting the message. It turns out the files are downloaded, just a missing message. Also, a couple of other things. The correct return code is "downloaded" not "cached" as the documentation indicates. There is never a return code of "cached." The only other return code I've seen is an occasional "error" but it appears there is a retry on these. Also there is apparently no need for an unload URL tURL, as the cachedURLs is always empty. The pertinent parts of the code are: This queues the 873 files for download libURLSetFTPStopTime 30 wait 0 milliseconds ----- repeat with i = 1 to the number of lines of tFileList put line i of tFileList into tWebFile put tWebfile into tLocFile replace tFtpRootDir with tLocDir in tLocFile ----- wait 0 milliseconds ----- libURLDownloadToFile tWebFile,tLocFile,tResult end repeat wait 0 milliseconds on tResult tURL, tURLStatus wait 0 milliseconds Switch tURLStatus case "cached" # This never happens Answer "Got a cached return code!" && tUrl && tURLStatus breakpoint case "downloaded" ----- #Test code put tURL && " - " && tURLStatus & "(" & the uProgress of stack "winProgress" && \ "of" && the number of lines of tFileList & ")" & CR put tURL && " - " && tURLStatus & "(" & the uProgress of stack "winProgress" && \ "of" && the number of lines of tFileList & ")" & CR after testUrls #End test code ----- get the itemDelimiter set the itemDelimiter to "@" put the last item of tURL into tFileNm replace the last item of tFtpRootDir with "" in tFileNm set the itemDelimiter to it -- put back whatever delimiter was there set the uFeedBack of stack "winProgress" to "Downloaded:" && \ "(" & the uProgress of stack "winProgress" && \ "of" && the number of lines of tFileList & ")" && CR & LF & tFileNm ----- -- unload URL tURL -- don't need ----- if the uProgress of stack "winProgress" = the number of lines of tFileList then answer "Done! The web site files have been downloaded." end if break default /* don't need - only get a occasion "error" code and it retries */ break end Switch end tResult Jim > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Dave Cragg > Sent: Friday, July 29, 2005 1:32 AM > To: How to use Revolution > Subject: Re: Load URL doesn't send message > > > > On 29 Jul 2005, at 09:37, Dave Cragg wrote: > > > > > > The things that could cause the message not to be sent that I can > > think of: > > > > An "unload url" or clearing of the pendingMessages after the > > message has been sent but before it is handled. The likely place > > for this kind of thing would be in the status callback handler. > > After a succesful load, the final callback message gets sent just > > before the "load message", both sent in 0 milliseconds. So if your > > callback handler does one of these things when the status is > > "downloaded", the message won't get sent. > > > > So I'd look at the callback handler first. > > > > Another area to look at in your script would be just after the load > call. Anything there that might stop background scripts running (a > runaway repeat or a wait) or that might clear the pendingMessages or > unload the url could be an issue. > > Cheers > Dave > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From dweeble at wi.rr.com Sat Jul 30 20:32:14 2005 From: dweeble at wi.rr.com (Mike) Date: Sat, 30 Jul 2005 19:32:14 -0500 Subject: Windows Registry Again References: Message-ID: <001201c59567$4c8630c0$0300a8c0@olie> Hi Ken Thats true that would work, I was hoping to let Rev do the work without running an extra shell executable. I can't seem to figure a switch to add to the end of query to get that info into tpCheck since everything I need to get is below \Parameters. put queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services\Tcpip\Pa rameters") into tpCheck Michael ----- Original Message ----- From: "Ken Ray" To: "Use Revolution List" Sent: Saturday, July 30, 2005 6:27 PM Subject: Re: Windows Registry Again > On 7/30/05 4:01 PM, "Michael" wrote: > > > Hey thanks for the reply > > I guess rootpath was the wrong wording to use. > > What I'm looking for are the network cards and values under this > > registry heading, "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services > > \Tcpip\Parameters" and put into a .dat file to query. Some systems have > > 2 cards or more so I cannot get just the values I'm looking for from > > just one card. > > I'm not sure what to place after Parameters to include below > > Parameters ? I get blank with this. > > put queryregistry("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlset\Services > > \Tcpip\Parameters") into tpCheck > > You could use the command line "regedit /E " > to output the key and its subkeys to a file, and you can then parse through > that file. Support for this command goes way back (at least to Win98 > (verifiied) or Win95 (not verified). > > HTH, > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: kray at sonsothunder.com > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From bill at bluewatermaritime.com Sat Jul 30 21:12:31 2005 From: bill at bluewatermaritime.com (Bill) Date: Sat, 30 Jul 2005 21:12:31 -0400 Subject: Video tutorials - OS X In-Reply-To: <1E8D890F-CE36-452E-B30F-4375276AE8D4@easynet.fr> Message-ID: I noticed that the video tutorials take so long to download when you are on a dial-up connection that sometimes just the sound plays. On 7/30/05 6:42 PM, "Pierre Sahores" wrote: > Hello Mark, Hello Rev Team, > > See below the codec to install to read the RevOnline tutorials : > >> /MesSofts/Revolution\ 2.6/Third\ Party/TechSmiths\ EnSharpen\ Codec/ >> EnSharpen\ decoder\ OSX.pkg/ > > To Rev Team, > > You sould do a test of reencoding the video tutorials in using 3ivXD4 > as a free codec, 4 x more powerfull than MP4, working well with old > processors and natively supported by the QT player engine... I > would'nt recommand H.264 for yet : works well with fast processors only. > > Best Regards, > > > Le 30 juil. 05 ? 21:30, Mark Swindell a ?crit : > >> Why don't I get video with the Rev OnLine tutorials in OS X 10.4? >> Only audio. >> >> This has probably been covered... but is there an easy answer? >> >> Mark >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From jhurley at infostations.com Sat Jul 30 21:38:28 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sat, 30 Jul 2005 18:38:28 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <20050730111003.18860825342@mail.runrev.com> References: <20050730111003.18860825342@mail.runrev.com> Message-ID: > >Message: 3 >Date: Sat, 30 Jul 2005 01:20:19 +0100 >From: Alex Tweedly >Subject: ANN: Sudoku Assistant >To: How to use Revolution >Message-ID: <42EAC7C3.8010006 at tweedly.net> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > >The other day I mentioned that I had done a simple "Sudoku Assistant" - >a simple stack which gives you some assistance in solving Sudoku >Puzzles. I had done it over the course of an evening or two while on >vacation, and had decided that I really didn't find Sudoku puzzles all >that fascinating, so it had been languishing since then. > >But mentioning it here, and having a couple of people ask about it, >revived my interest, so I've spent 3 hours today tidying it up and >adding a couple of useful features (Undo/Redo/combination counts/...). >(I also spent 4 or 5 hours learning basics of RunRev in some areas I >hadn't used before - useful for me, but only contributed about 10 >minutes of useful work towards this stack :-) > >It's posted in RevOnline, under Games, or username alextweedly - called >SudokuAssistant >Enjoy, and as always I'd welcome any comments, suggestions, even >requests ... > >-- >Alex Tweedly http://www.tweedly.net Alex, Thanks for the puzzle. Lots of fun. Dell Crosswords has a full page of these every month, though none as tough a your last. They generally are deterministic all the way to the end. Your number four requires assuming a solution at one point near the end and discovering a contradiction if the guess was wrong--proof by contradiction. (I must confess that the labels make it more difficult for me--harder to see what is filled in and what isn't.) I am interested in what algorithm is used under the "Auto" button. If you also enjoy Cryptogram puzzles, I have one which retrieves 4 quotes from the web every day and encodes them for your decoding pleasure. It is my daily diagnostic tool to reveal the onset of senility. You can take a look at: go stack url "http://home.infostations.net/jhurley/DailyCryptoquote.rev" It's a 450k file. It contains a dictionary for a decoder utility. Jim From mwieder at ahsoftware.net Sat Jul 30 22:15:00 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Jul 2005 19:15:00 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <73E917CF-AF48-446C-8107-34172E513808@writeme.com> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> Message-ID: <1003948417.20050730191500@ahsoftware.net> Dennis- Saturday, July 30, 2005, 12:13:06 PM, you wrote: DB> >> Important! You cannot change the labelVariable in a statement DB> inside the loop. Doing so will cause a script error..." DB> Well I never got that script error message! Well, it's not exactly an error "message"... it *will* cause a script "error", in the sense that your script will not do what you expect it to do. This has tripped me up more times than several. I now try really hard to remember to make a copy of the labelVariable and work with that. I would prefer it if the engine handed a copy of the loop variable to the script and worked with its own immutable version internally, but I'm not sure that would be any less confusing. You'd still have to remember that you were working with a copy. -- -Mark Wieder mwieder at ahsoftware.net From see3d at writeme.com Sat Jul 30 22:24:58 2005 From: see3d at writeme.com (Dennis Brown) Date: Sat, 30 Jul 2005 22:24:58 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <1003948417.20050730191500@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> Message-ID: <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> Mark, I never had any trouble remembering that something in a loop variable is a copy, because that is what I would expect. However, it appears that what we have is just a label, not really a variable --that is until we exit the loop, then we have a variable with the last contents in it. I would really like to get a real error message since it does not do what you expect from reading the code. How many newbies do we have to trip up before we erect a stop sign at that intersection? Should I BZ it? Dennis On Jul 30, 2005, at 10:15 PM, Mark Wieder wrote: > Dennis- > > Saturday, July 30, 2005, 12:13:06 PM, you wrote: > > DB> >> Important! You cannot change the labelVariable in a > statement > DB> inside the loop. Doing so will cause a script error..." > > DB> Well I never got that script error message! > > Well, it's not exactly an error "message"... it *will* cause a script > "error", in the sense that your script will not do what you expect it > to do. This has tripped me up more times than several. I now try > really hard to remember to make a copy of the labelVariable and work > with that. > > I would prefer it if the engine handed a copy of the loop variable to > the script and worked with its own immutable version internally, but > I'm not sure that would be any less confusing. You'd still have to > remember that you were working with a copy. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From SimPLsol at aol.com Sat Jul 30 23:06:02 2005 From: SimPLsol at aol.com (SimPLsol at aol.com) Date: Sat, 30 Jul 2005 23:06:02 EDT Subject: Font question, which Courier? Message-ID: <146.49942b0f.301d9a1a@aol.com> Assuming Courier is the only crossplatform monospaced font, which is the best to use for a crossplatform stack? There is Courier, Courier CE, and Courier New; they all look similar to me. Thanks in advance. Paul Looney From kray at sonsothunder.com Sat Jul 30 23:27:43 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 30 Jul 2005 22:27:43 -0500 Subject: Full justification In-Reply-To: Message-ID: On 7/30/05 9:06 AM, "Jim Hurley" wrote: > Perhaps another way to approach the problem of full justification for > non-proportional fonts is to insert spaces whose width is set to 1 > point. > > It turns out that the formatted width of the 2 point space character, > with the points size set to 2 pts, (at least in Times font) is 1 > point. (Pardon the dual use of the word "point.") > > If the width needed to fill in the line, so that the text is also > right-justified, is say N points, then one might distribute N spaces > between intervening words (each insert is one point in width.) > > (I ran into one of the few instances where recursion is truly > useful--beside fractals and the Tower of Hanoi.) > > To see this try (in the message box): > > go stack url "http://home.infostations.net/jhurley/JustifyText.rev" Nicely done, Jim! Now is there was some way to determine the number of points needed based on different fonts and sizes, we could have a general purpose justification routine! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From capellan2000 at yahoo.com Sun Jul 31 00:17:55 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 30 Jul 2005 21:17:55 -0700 (PDT) Subject: Full justification In-Reply-To: <20050730153442.6FD99825389@mail.runrev.com> Message-ID: <20050731041755.76016.qmail@web40511.mail.yahoo.com> Hi Jim, on Sat, 30 Jul 2005 Jim Hurley wrote: > go stack url >"http://home.infostations.net/jhurley/JustifyText.rev" Jim, this is an excellent example of the problems that were pointed in this list, while trying to full justify a text field. If i copy this justified text field, all the extras spaces are carried with the text. :-o A handler or function that clean up the text in the clipboard, before pasting it, could make this justify handler transparent to the users. ;-) Thanks a lot for posting this stack! Have a nice weekend al Visit my site: http://www.geocities.com/capellan2000/ ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From chipp at chipp.com Sun Jul 31 00:33:26 2005 From: chipp at chipp.com (Chipp Walters) Date: Sat, 30 Jul 2005 23:33:26 -0500 Subject: I want a doubleclick, not a singleclick Message-ID: <42EC5496.2020803@chipp.com> I looked through the archives and didn't see an answer to this one-- so I thought I'd post my own :-) If you have both a mouseUp and mouseDoubleUp handler in a single button script, both will be executed when you double-click the button. But, what if you only want the mouseDoubleUp to execute and NOT the mouseUp? Well, I chatted this eve with Ken Ray and Jan Schenkel and came up with the following (they both had a bit of a different spin on it, perhaps they'll elaborate). Here's the guts: local lDoubleClick on mouseUp send "doClick" to me in (the doubleClickInterval) milliseconds end mouseUp on mouseDoubleUp put true into lDoubleClick end mouseDoubleUp on doClick if lDoubleClick = true then --> doDoubleClickstuff put false into lDoubleClick else --> doSingleClickStuff end if end doClick best, Chipp From capellan2000 at yahoo.com Sun Jul 31 00:43:19 2005 From: capellan2000 at yahoo.com (Alejandro Tejada) Date: Sat, 30 Jul 2005 21:43:19 -0700 (PDT) Subject: OT:ANN:WTF:WOAH Factor In-Reply-To: <20050730222553.91B398253F4@mail.runrev.com> Message-ID: <20050731044319.85121.qmail@web40505.mail.yahoo.com> Hi Xavier! on Sat, 30 Jul 2005 20:55:00 +0200 Xavier wrote: > i have made 11 more > fractal/moire types for > my moire engine MoireX Vol3 since first release... > if there is any interest, i will post it via > monsieurx.com Of course that there is interest to see your work. :-) > the lack of feedback makes me > really not happy to > release it... As if no one appreciates these nice > demos... Oh! i think that many developers in this list had this perception in one moment or another, but the people here is not indifferent, just busy... ;-) > The reason i hold here as ransom for more is that if > there is any interest, we could generate a few > hundred more and chart this region of > chromatographic space over polar and rectangular > coordinates. Did you noticed that this statement somehow compromises the already busy schedule of other developers? :-( Or i read this wrong? :-) > So if you like this stuff, let me know and I will > post the "upgrade" for on-going-online-development > activities! i like math and graphics, but could not take time away from other projects... :-( If nobody else respond, Would you post the stack anyway? ;-) Have a nice weekend al Visit my site: http://www.geocities.com/capellan2000/ __________________________________ Yahoo! Mail for Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail From b.xavier at internet.lu Sun Jul 31 00:54:00 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 31 Jul 2005 06:54:00 +0200 Subject: OT:ANN:WTF:WOAH Factor In-Reply-To: <20050731044319.85121.qmail@web40505.mail.yahoo.com> Message-ID: <20050731044234.BDCB5825227@mail.runrev.com> Hi Al, Well, i only wanted to share some of the fun stuff - but the appreciation meter for the first release of this stack was zero so... I needed to know ;) It's available in RevOnline under MonsieurX - named MoireX Volume 3 Only types 1-12 work so far... The button is out of place but only temporarily. Creating your own should be quite easy, edit the gear button and look for a bit switch statement... The coloring is based on the spacial coordinates. Number 11 is a big classic... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > Alejandro Tejada > Sent: Sunday, July 31, 2005 06:43 > To: use-revolution at lists.runrev.com > Subject: Re: OT:ANN:WTF:WOAH Factor > > Hi Xavier! > > on Sat, 30 Jul 2005 20:55:00 +0200 > Xavier wrote: > > > i have made 11 more > > fractal/moire types for > > my moire engine MoireX Vol3 since first release... > > if there is any interest, i will post it via monsieurx.com > > Of course that there is interest to > see your work. :-) > > > the lack of feedback makes me > > really not happy to > > release it... As if no one appreciates these nice demos... > > Oh! i think that many developers in this list had this > perception in one moment or another, but the people here is > not indifferent, just busy... ;-) > > > The reason i hold here as ransom for more is that if there is any > > interest, we could generate a few hundred more and chart > this region > > of chromatographic space over polar and rectangular coordinates. > > Did you noticed that this statement somehow compromises the > already busy schedule of other developers? :-( Or i read this > wrong? :-) > > > So if you like this stuff, let me know and I will post the > "upgrade" > > for on-going-online-development activities! > > i like math and graphics, but could not take time away from > other projects... :-( > > If nobody else respond, Would you post > the stack anyway? ;-) > > Have a nice weekend > > al > > > Visit my site: > http://www.geocities.com/capellan2000/ > > > > __________________________________ > Yahoo! Mail for Mobile > Take Yahoo! Mail with you! Check email on your mobile phone. > http://mobile.yahoo.com/learn/mail > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From b.xavier at internet.lu Sun Jul 31 01:28:38 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 31 Jul 2005 07:28:38 +0200 Subject: OT:ANN:WTF:WOAH Factor Message-ID: <20050731051707.6888382533D@mail.runrev.com> Every morning, something new happens... bonus step 13... Even more total eye candy... Reminds me of flowfazer ;) case 13 put Distance(x,y,cdw2,cdh2) * xsteps/ysteps into r put atan2(x,y) into a get int( (a bitxor r) mod item 1 of ColorPoint), \ int( (a bitxor r) mod item 2 of ColorPoint), \ int( (a bitxor r) mod item 3 of ColorPoint) break this is the nicest so far... total interferometry, pond ripples and woah factor to the max! best seen with squared patterns, variable border and X=>100..500... enjoy Xavier > -----Original Message----- > From: MisterX [mailto:b.xavier at internet.lu] > Sent: Sunday, July 31, 2005 06:54 > To: 'How to use Revolution' > Subject: RE: OT:ANN:WTF:WOAH Factor > > Hi Al, > > Well, i only wanted to share some of the fun stuff - but the > appreciation meter for the first release of this stack was > zero so... I needed to know ;) > > It's available in RevOnline under MonsieurX - named MoireX Volume 3 > > Only types 1-12 work so far... The button is out of place but > only temporarily. Creating your own should be quite easy, > edit the gear button and look for a bit switch statement... > > The coloring is based on the spacial coordinates. Number 11 > is a big classic... > > cheers > Xavier > > > -----Original Message----- > > From: use-revolution-bounces at lists.runrev.com > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > Alejandro Tejada > > Sent: Sunday, July 31, 2005 06:43 > > To: use-revolution at lists.runrev.com > > Subject: Re: OT:ANN:WTF:WOAH Factor > > > > Hi Xavier! > > > > on Sat, 30 Jul 2005 20:55:00 +0200 > > Xavier wrote: > > > > > i have made 11 more > > > fractal/moire types for > > > my moire engine MoireX Vol3 since first release... > > > if there is any interest, i will post it via monsieurx.com > > > > Of course that there is interest to > > see your work. :-) > > > > > the lack of feedback makes me > > > really not happy to > > > release it... As if no one appreciates these nice demos... > > > > Oh! i think that many developers in this list had this > perception in > > one moment or another, but the people here is not indifferent, just > > busy... ;-) > > > > > The reason i hold here as ransom for more is that if there is any > > > interest, we could generate a few hundred more and chart > > this region > > > of chromatographic space over polar and rectangular coordinates. > > > > Did you noticed that this statement somehow compromises the already > > busy schedule of other developers? :-( Or i read this wrong? :-) > > > > > So if you like this stuff, let me know and I will post the > > "upgrade" > > > for on-going-online-development activities! > > > > i like math and graphics, but could not take time away from other > > projects... :-( > > > > If nobody else respond, Would you post the stack anyway? ;-) > > > > Have a nice weekend > > > > al > > > > > > Visit my site: > > http://www.geocities.com/capellan2000/ > > > > > > > > __________________________________ > > Yahoo! Mail for Mobile > > Take Yahoo! Mail with you! Check email on your mobile phone. > > http://mobile.yahoo.com/learn/mail > > _______________________________________________ > > use-revolution mailing list > > use-revolution at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-revolution > > > From kray at sonsothunder.com Sun Jul 31 01:35:17 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 31 Jul 2005 00:35:17 -0500 Subject: I want a doubleclick, not a singleclick In-Reply-To: <42EC5496.2020803@chipp.com> Message-ID: On 7/30/05 11:33 PM, "Chipp Walters" wrote: > I looked through the archives and didn't see an answer to this one-- so > I thought I'd post my own :-) > > If you have both a mouseUp and mouseDoubleUp handler in a single button > script, both will be executed when you double-click the button. > > But, what if you only want the mouseDoubleUp to execute and NOT the > mouseUp? Well, I chatted this eve with Ken Ray and Jan Schenkel and came > up with the following (they both had a bit of a different spin on it, > perhaps they'll elaborate). Thanks, Chipp... my version uses the pendingMessages to cancel the "doClick" command if the user actually double-clicks: on mouseUp send "doClick" to me in (the doubleClickInterval) milliseconds end mouseUp on mouseDoubleUp put lineOffset(",doClick,",the pendingMessages) into tLine if tLine <> 0 then cancel item 1 of line tLine of the pendingMessages --> doDoubleClickStuff end mouseDoubleUp on doClick --> doSingleClickStuff end doClick It's a bit shorter, but depends on the pendingMessages, so if you think some external force may muck with the pendingMessages during the doubleClickInterval you may wish to go another route. But it's worked for me for years... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From b.xavier at internet.lu Sun Jul 31 01:59:18 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 31 Jul 2005 07:59:18 +0200 Subject: OT:ANN:WTF:WOAH Factor In-Reply-To: <20050731051707.6888382533D@mail.runrev.com> Message-ID: <20050731054748.040D9824E81@mail.runrev.com> even more amazing case 16 put Distance3d(x,y,cdw2,cdh2,0,r) into r put atan2(x,y) into a get (x bitxor r) mod item 1 of ColorPoint, \ (y bitxor r) mod item 2 of ColorPoint, (x*y bitxor a) mod item 3 of ColorPoint [yes, i'll update this very soon on the web!] we're talking about 3D chromatic interferometry now based on the xy and polar center with the radius being factored as the 3rd dimention of the R wave. This combines 3 of the forms used in styles 1-15 which are the XOR checkerboard, the moire function (style 1) and the polar ripples! im having a mind pangalactic gargleblaster class blast with this!!! now, a bit of optimization (got a great idea) and an option to "scale" the chromatic space into a wave function of its own... cheers Xavier > -----Original Message----- > From: use-revolution-bounces at lists.runrev.com > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX > Sent: Sunday, July 31, 2005 07:29 > To: 'How to use Revolution' > Subject: RE: OT:ANN:WTF:WOAH Factor > > > Every morning, something new happens... > > bonus step 13... > Even more total eye candy... > > Reminds me of flowfazer ;) > > case 13 > put Distance(x,y,cdw2,cdh2) * xsteps/ysteps into r put > atan2(x,y) into a get int( (a bitxor r) mod item 1 of ColorPoint), \ > int( (a bitxor r) mod item 2 of ColorPoint), \ > int( (a bitxor r) mod item 3 of ColorPoint) break > > this is the nicest so far... total interferometry, pond > ripples and woah factor to the max! best seen with squared > patterns, variable border and X=>100..500... > > enjoy > Xavier > > > -----Original Message----- > > From: MisterX [mailto:b.xavier at internet.lu] > > Sent: Sunday, July 31, 2005 06:54 > > To: 'How to use Revolution' > > Subject: RE: OT:ANN:WTF:WOAH Factor > > > > Hi Al, > > > > Well, i only wanted to share some of the fun stuff - but the > > appreciation meter for the first release of this stack was > zero so... > > I needed to know ;) > > > > It's available in RevOnline under MonsieurX - named MoireX Volume 3 > > > > Only types 1-12 work so far... The button is out of place but only > > temporarily. Creating your own should be quite easy, edit the gear > > button and look for a bit switch statement... > > > > The coloring is based on the spacial coordinates. Number 11 > is a big > > classic... > > > > cheers > > Xavier > > > > > -----Original Message----- > > > From: use-revolution-bounces at lists.runrev.com > > > [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of > > > Alejandro Tejada > > > Sent: Sunday, July 31, 2005 06:43 > > > To: use-revolution at lists.runrev.com > > > Subject: Re: OT:ANN:WTF:WOAH Factor > > > > > > Hi Xavier! > > > > > > on Sat, 30 Jul 2005 20:55:00 +0200 > > > Xavier wrote: > > > > > > > i have made 11 more > > > > fractal/moire types for > > > > my moire engine MoireX Vol3 since first release... > > > > if there is any interest, i will post it via monsieurx.com > > > > > > Of course that there is interest to > > > see your work. :-) > > > > > > > the lack of feedback makes me > > > > really not happy to > > > > release it... As if no one appreciates these nice demos... > > > > > > Oh! i think that many developers in this list had this > > perception in > > > one moment or another, but the people here is not > indifferent, just > > > busy... ;-) > > > > > > > The reason i hold here as ransom for more is that if > there is any > > > > interest, we could generate a few hundred more and chart > > > this region > > > > of chromatographic space over polar and rectangular coordinates. > > > > > > Did you noticed that this statement somehow compromises > the already > > > busy schedule of other developers? :-( Or i read this wrong? :-) > > > > > > > So if you like this stuff, let me know and I will post the > > > "upgrade" > > > > for on-going-online-development activities! > > > > > > i like math and graphics, but could not take time away from other > > > projects... :-( > > > > > > If nobody else respond, Would you post the stack anyway? ;-) > > > > > > Have a nice weekend > > > > > > al > > > > > > > > > Visit my site: > > > http://www.geocities.com/capellan2000/ > > > > > > > > > > > > __________________________________ > > > Yahoo! Mail for Mobile > > > Take Yahoo! Mail with you! Check email on your mobile phone. > > > http://mobile.yahoo.com/learn/mail > > > _______________________________________________ > > > use-revolution mailing list > > > use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Jul 31 02:15:35 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Jul 2005 23:15:35 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> Message-ID: <10918383113.20050730231535@ahsoftware.net> Dennis- Saturday, July 30, 2005, 7:24:58 PM, you wrote: DB> I would really like to get a real error message since it does not do DB> what you expect from reading the code. How many newbies do we have DB> to trip up before we erect a stop sign at that intersection? DB> Should I BZ it? I'm not sure it's actually a bug, but it's worth BZing just to keep it on the rev team's radar, since it's a stumbling block that everyone runs across at some time or other. -- -Mark Wieder mwieder at ahsoftware.net From erikhans08 at yahoo.com Sun Jul 31 03:27:18 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 31 Jul 2005 00:27:18 -0700 (PDT) Subject: Load URL doesn't send message In-Reply-To: <42EBDF17.7010501@hyperactivesw.com> Message-ID: <20050731072718.57418.qmail@web33007.mail.mud.yahoo.com> --- "J. Landman Gay" wrote: hello, i am getting "can't find handler" for playCmdAgent. playCmdAgent.exe is in the same folder. Quicktime was just downloaded and is in a Quicktime for Windows98SE folder. Rev 2.1. all soon to be updated. i want to use this with my 16 track job with send in time to get the harmonies right. Erik Hansen erik at erikhansen.org http://www.erikhansen.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From erikhans08 at yahoo.com Sun Jul 31 03:29:09 2005 From: erikhans08 at yahoo.com (Erik Hansen) Date: Sun, 31 Jul 2005 00:29:09 -0700 (PDT) Subject: OOPs - playCmdAgent In-Reply-To: <20050731072718.57418.qmail@web33007.mail.mud.yahoo.com> Message-ID: <20050731072909.52845.qmail@web33009.mail.mud.yahoo.com> this was supposed to go to > i am getting "can't find handler" for > playCmdAgent. playCmdAgent.exe is in the same > folder. Quicktime was just downloaded and is in > a Quicktime for Windows98SE folder. Rev 2.1. > all soon to be updated. > > i want to use this with my 16 track job > with send in time to get the harmonies right. > > Erik Hansen > > erik at erikhansen.org > http://www.erikhansen.org > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe > and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > erik at erikhansen.org http://www.erikhansen.org __________________________________ Yahoo! Mail Stay connected, organized, and protected. Take the tour: http://tour.mail.yahoo.com/mailtour.html From joel.guillod at net2000.ch Sun Jul 31 03:36:21 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sun, 31 Jul 2005 09:36:21 +0200 Subject: Getting the type code of a file under OSX In-Reply-To: <20050731052525.7D2CE8253E9@mail.runrev.com> References: <20050731052525.7D2CE8253E9@mail.runrev.com> Message-ID: Ken, Why do you bother with the second parameter pType? Just drop it and change the following from: put urlEncode(last item of pFilePath) into tItem delete last item of pFilePath put the directory into tOldDir set the directory to pFilePath if pType = "file" then put the detailed files into tDetailedList else put the detailed folders into tDetailedList end if to: put there is a file pFilePath into tIsFile -- new script line put urlEncode(last item of pFilePath) into tItem delete last item of pFilePath put the directory into tOldDir set the directory to pFilePath if tIsFile then -- modified script line put the detailed files into tDetailedList else put the detailed folders into tDetailedList end if then the first line of your function is simply: function stsFileInfo pFilePath and that's it! Cheers, Joel > [...] > > on mouseUp > answer file "Get a file:" > if it <> "" then > put stsFileInfo(it,"file") into tDocInfoA > put tDocInfoA["creatorType"] > end if > end mouseUp > > If I selected a Word document, this would return "MSWDW8BN". > > ---------------------------------------------------------------------- > --| FUNCTION: stsFileInfo > --| > --| Author: Ken Ray > --| Version: 1.0 > --| Created: 3/4/04 > --| Last Mod: -- > --| Requires: -- > --| > --| Retrieves the file/folder information on a specific file/folder > in a > parseable array > ---------------------------------------------------------------------- > > function stsFileInfo pFilePath,pType > -- supports keys of > "full,fileName,dataSize,resSize,createDate,modDate,accessDate,BUdate,o > wnerID > ,groupID,permissions,creatorType,Size" > set the itemDel to "/" > put urlEncode(last item of pFilePath) into tItem > delete last item of pFilePath > put the directory into tOldDir > set the directory to pFilePath > if pType = "file" then > put the detailed files into tDetailedList > else > put the detailed folders into tDetailedList > end if > [...] From chipp at chipp.com Sun Jul 31 03:36:46 2005 From: chipp at chipp.com (Chipp Walters) Date: Sun, 31 Jul 2005 02:36:46 -0500 Subject: OT:ANN:WTF:WOAH Factor In-Reply-To: <20050731054748.040D9824E81@mail.runrev.com> References: <20050731054748.040D9824E81@mail.runrev.com> Message-ID: <42EC7F8E.9080906@chipp.com> OMG, WTF, AOL!! ROLF X, I'm thinking adding an inverse chromatigadget combined with a single instance of gaussian uranus gofaster could make for even more fabutastic imagidisplay. :-) -chipp From b.xavier at internet.lu Sun Jul 31 04:10:52 2005 From: b.xavier at internet.lu (MisterX) Date: Sun, 31 Jul 2005 10:10:52 +0200 Subject: ANN: MoireXVolume3 2.0 beta In-Reply-To: <42EC7F8E.9080906@chipp.com> Message-ID: <20050731075921.2EB8482534D@mail.runrev.com> hey, you're welcome to join the paradimensional scripting challenge :) but what does uranus have to do here? ;) I've already converted the graphics to image rendering instead of creating a zillion graphics... big improvement! Added color variance too. I've updated the file on MonsieurX and removed the one from RevOnline (just impossible to upload stuff to it - 50 tries and still can't grab a socket!)... Other than the missing help for the 2.0 features and the latent 1.0 tag on the about box, if no one sees any errors... here the near final show... I left a nice render that took quite a while to do at 500 points... Download is here http://monsieurx.com/modules.php?name=News&file=article&sid=189 around 200KBs cheers Xav > -----Original Message----- > From: Chipp Walters [mailto:chipp at chipp.com] > Sent: Sunday, July 31, 2005 09:37 > To: x at monsieurx.com; How to use Revolution > Subject: Re: OT:ANN:WTF:WOAH Factor > > OMG, WTF, AOL!! ROLF > X, > > I'm thinking adding an inverse chromatigadget combined with a > single instance of gaussian uranus gofaster could make for > even more fabutastic imagidisplay. > > :-) > > > -chipp > From kray at sonsothunder.com Sun Jul 31 04:10:20 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 31 Jul 2005 03:10:20 -0500 Subject: Getting the type code of a file under OSX In-Reply-To: Message-ID: On 7/31/05 2:36 AM, "Joel Guillod" wrote: > Ken, > > Why do you bother with the second parameter pType? Just drop it and > change the following from: Thanks, Joel... normally I like to be explicit so that when I'm reading my code later on, I know what's going on, although in OS X and WIndows now there are normally file extensions which would indicate whether it's a file or folder. Good suggestion! Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From kray at sonsothunder.com Sun Jul 31 04:39:17 2005 From: kray at sonsothunder.com (Ken Ray) Date: Sun, 31 Jul 2005 03:39:17 -0500 Subject: Windows Registry Again In-Reply-To: <001201c59567$4c8630c0$0300a8c0@olie> Message-ID: On 7/30/05 7:32 PM, "Mike" wrote: > Hi Ken > Thats true that would work, I was hoping to let Rev do the work without > running an extra shell executable. I can't seem to figure a switch to add to > the end of query to get that info into tpCheck since everything I need to > get is below \Parameters. There's no switch to figure out, unfortunately. You need to know the specific key you want, or you can get the (Default) key by passing the path with a trailing "\". That's it... Rev doesn't have a built in way to get a list of the keys that existing inside another key. Hence the shell executable... Ken Ray Sons of Thunder Software Web site: http://www.sonsothunder.com/ Email: kray at sonsothunder.com From FlexibleLearning at aol.com Sun Jul 31 08:33:22 2005 From: FlexibleLearning at aol.com (FlexibleLearning at aol.com) Date: Sun, 31 Jul 2005 08:33:22 EDT Subject: FileInfo function (was: Getting the type code of a file under OSX) Message-ID: <1a3.38ae55fc.301e1f12@aol.com> Another one for the Scripter's Scrapbook! On the shoulders of Ken's fine stsFileInfo that retrieves file and folder attributes in an array format, I have below refined it to include any required attribute/s all in one command, in any combination and in any any order. The returned values are presented in the same order as requested. Example: put flcFileInfo(myFilePath,"CreatorType","size","modified","permissions") It also handles the change in the detailedFiles function, where an unsupported item is now 0 instead of empty (for example the 'BackUp Date' under Windows). It is, however, backwards compatibile with the earlier detailedFiles version. Watch out for line-wrapping! Optimising welcome. /H The Scripter's Scrapbook www.FlexibleLearning/ssbk.htm --| FUNCTION: flcFileInfo --| --| Author: Hugh Senior (based on stsFileInfo by Ken Ray) --| Version: 1.0 --| Created: 30-JUL-05 --| Last Mod: -- --| Requires: Self-contained function handler for Revolution and MetaCard --| Summary: Retrieves the requested file/folder information, one per line in the same order as requested --| Format: flcFileInfo(param1 [,param2,param3...]) --| Parameters: --| param 1: file/folder path --| param 2 to n: --| EITHER: "full" or omitted for a full, tab-delimted list --| OR: Any combination of these 12 specific attributes in any order... --| FilePath, FileName, DataSize, ResourceSize, Size, Created, Modified, Accessed, BackUp, OwnerID, GroupID, Permissions, CreatorType --| --| Examples: --| get flcFileInfo(myFilePath) - Returns an itemised list --| get flcFileInfo(myFilePath,"full") - Returns an itemised list --| get flcFileInfo(myFilePath,"FilePath","created","modified","accessed") --| get flcFileInfo(myFilePath,"DataSize","ResourceSize","size") --| get flcFileInfo(myFilePath,"CreatorType","size","modified","permissions") --| --| Error handling: --| File/folder not found - The returned value is empty --! Attribute not supported - The returned attribute value is "not supported" --| Attribute not recognized - The returned attribute value is "not recognized" ---------------------------------------------------------------------- function flcFileInfo put param(1) into pFilePath put "FilePath,FileName,DataSize,ResourceSize,Size,Created,Modified,Accessed,BackUp,OwnerID,GroupID,Permissions,CreatorType" into tAttributeList put there is a file pFilePath into Fflag if (NOT Fflag AND there is NOT a folder pFilePath) then return "" set the itemDel to "/" put urlEncode(last item of pFilePath) into tItem delete last item of pFilePath put the directory into tOldDir set the directory to pFilePath if Fflag then put the detailed files into tDetailedList else put the detailed folders into tDetailedList set the directory to tOldDir set the itemDel to "," put lineOffset(cr&tItem&",",cr&tDetailedList) into tLine put line tLine of tDetailedList into tDetailedInfo replace "," with tab in tDetailedInfo set the itemDel to tab put tDetailedInfo into tFileA["full"] put urlDecode(item 1 of tDetailedInfo) into tFileA["fileName"] put pFilePath&"/"&tFileA["fileName"] into tFileA["filePath"] put (item 2 of tDetailedInfo) into tFileA["DataSize"] if the platform is "MacOS" then put (item 3 of tDetailedInfo) into tFileA["ResourceSize"] else put "" into tFileA["ResourceSize"] put (item 2 of tDetailedInfo) + (item 3 of tDetailedInfo) into tFileA["size"] put "Created,Modified,Accessed,BackUp" into tDates replace "," with tab in tDates put the twelvehourtime into tTHT set the twelvehourtime to FALSE repeat with x = 4 to 7 put item x of tDetailedInfo into tSecs if tSecs=0 then put "not supported" into tSecs if tSecs is a number then convert tSecs to long system date and long time put tSecs into tFileA[(item x-3 of tDates)] end repeat set the twelvehourtime to tTHT if (item 8 of tDetailedInfo) <>0 then put (item 8 of tDetailedInfo) into tFileA["OwnerID"] else put "" into tFileA["OwnerID"] if (item 9 of tDetailedInfo) <>0 then put (item 9 of tDetailedInfo) into tFileA["GroupID"] else put "" into tFileA["GroupID"] put (item 10 of tDetailedInfo) && "octal" &","&&baseConvert(item 10 of tDetailedInfo,8,10)&&"decimal" into tFileA["permissions"] # octal && decimal put (item 11 of tDetailedInfo) into tFileA["creatorType"] set the itemDel to COMMA if (the paramCount=1) OR (param(2)="full") OR (param(2)="") then repeat with n=1 to num of items of tAttributeList put item n of tAttributeList into L if tFileA[L]="" then put "not supported" into tFileA[L] put L &TAB& tFileA[L] into line (num of lines of tStdOut)+1 of tStdOut end repeat else repeat with n=2 to the paramCount get tFileA[param(n)] if param(n) is not in tAttributeList then put "not recognized" into it else if it="" then put "not supported" into it put it into line (num of lines of tStdOut)+1 of tStdOut end repeat end if if tStdOut="" then return "not recognized" else return tStdOut end flcFileInfo SOURCE: Hugh Senior, FLCo From charles.hartman at conncoll.edu Sun Jul 31 08:58:58 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 31 Jul 2005 08:58:58 -0400 Subject: Font question, which Courier? In-Reply-To: <146.49942b0f.301d9a1a@aol.com> References: <146.49942b0f.301d9a1a@aol.com> Message-ID: <54A9FA5A-A404-4F55-8A9D-E610C313E59F@conncoll.edu> As far as I've been able to tell, Courier New is more widely available than the others. Unfortunately, on Mac -- mine at least -- as compared with Courier, Courier New is annoyingly light, as in the opposite of bold; it looks pale when you put it beside text in other fonts. I ended up using an if-block to choose: if "Courier" is among the lines of the fontNames then put "Courier" into tNewMonoFont else put "Courier New" into tNewMonoFont end if . . . set the textFont of someStack to tNewMonoFont . . . Charles Hartman On Jul 30, 2005, at 11:06 PM, SimPLsol at aol.com wrote: > Assuming Courier is the only crossplatform monospaced font, > which is the > best to use for a crossplatform stack? There is Courier, Courier > CE, and > Courier New; they all look similar to me. Thanks in advance. > Paul Looney > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbondy at sover.net Sun Jul 31 08:59:01 2005 From: jbondy at sover.net (Jon) Date: Sun, 31 Jul 2005 08:59:01 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <10918383113.20050730231535@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> Message-ID: <42ECCB15.3060009@sover.net> It has been considered a bug, and flagged for the programmer, in Delphi for years. I don't see how it can be considered anything else. Now as to whether it is a bug that is reported in Rev with an error message, that is a different story. :) Jon Mark Wieder wrote: >Dennis- > >Saturday, July 30, 2005, 7:24:58 PM, you wrote: > >DB> I would really like to get a real error message since it does not do >DB> what you expect from reading the code. How many newbies do we have >DB> to trip up before we erect a stop sign at that intersection? > >DB> Should I BZ it? > >I'm not sure it's actually a bug, but it's worth BZing just to keep it >on the rev team's radar, since it's a stumbling block that everyone >runs across at some time or other. > > > From afonseca at ispgrm.rimed.cu Sun Jul 31 09:54:15 2005 From: afonseca at ispgrm.rimed.cu (Yoel) Date: Sun, 31 Jul 2005 09:54:15 -0400 Subject: Screen Resolution Message-ID: <001f01c595d7$5687e120$7800a8c0@yoel> Hi everyone: Can anybody tell me how can I change the screen resolution through a script? Thanks From alex at tweedly.net Sun Jul 31 10:13:08 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 31 Jul 2005 15:13:08 +0100 Subject: ANN: Sudoku Assistant In-Reply-To: References: <20050730111003.18860825342@mail.runrev.com> Message-ID: <42ECDC74.8050502@tweedly.net> Jim Hurley wrote: > Alex, > > Thanks for the puzzle. Lots of fun. Dell Crosswords has a full page of > these every month, though none as tough a your last. They generally > are deterministic all the way to the end. Your number four requires > assuming a solution at one point near the end and discovering a > contradiction if the guess was wrong--proof by contradiction. No, it doesn't require that. There's a perfectly deterministic technique that can solve puzzle #4 - I'll append a brief description of it to the end of this message - but beware it uses puzzle #4 to demonstrate it, so don't read all the way to the end unless you want to read that ... > (I must confess that the labels make it more difficult for me--harder > to see what is filled in and what isn't.) > Sorry Jim I'm not sure I follow - do you mean you'd prefer to have blank squares for every space that has not yet been determined (rather than the set of possible values) ? That would seem to me much less helpful - but I'll try it and see how it looks. > I am interested in what algorithm is used under the "Auto" button. > Code is all there for you to look at :-) But all it does is look at each square in turn, and if it already knows that there is only a single value possible, then it removes that value from the rest of the square's row,col and 3x3 square. It could repeat that scan (very occasionally you can find a case where a square has been already examined while multiple values were possible, and which reduces to a single one, and is required to complete the puzzle) - but it doesn't even do that. > If you also enjoy Cryptogram puzzles, I have one which retrieves 4 > quotes from the web every day and encodes them for your decoding > pleasure. It is my daily diagnostic tool to reveal the onset of > senility. You can take a look at: > > go stack url > "http://home.infostations.net/jhurley/DailyCryptoquote.rev" > > It's a 450k file. It contains a dictionary for a decoder utility. Thanks Jim. I'll take a look at that - though I'm more likely to write a stack to solve them than I am to do it myself. I have not yet found any "puzzle" that is more challenging or stimulating that programming. scroll beyond here only if you want to read solving techniques .... In Puzzle #4, assuming you've hit the "Auto" button (or worked through yourself to the point where all single-valued squares have been used to eliminate their peers), you are left with a number of possibilities. Look at squares 8,7 and 8,9. They both contain only two possibilities 1 and 6. And they are both in the same column. One of them must contain one of the two values, and the other must contain the other value. Therefore no other square in column 8 can contain either 1 or 6. This allows us to (deterministically - no guessing) eliminate "6" from the set of possible values for square 8,2 - leaving only a single value of 8. Fill that in and you're done. There is another such "common pair" in squares 9,2 and 9,3 - which allows you to eliminate the value 5 from 9,7 - but there are still multiple values left. However - this allows yet another technique. The bottom right square now has only two places were the 5 can go - 7,7 and 7,9; since they are both in col 7, we know that the 5 in col 7 is in one or other of those places - i.e. it is in the lower, right 3x3 square. Therefore, it can be eliminated from 7,2 - leaving only 6 or 8 to go there. That is now a common pair 7,2 and 8,2 have either 6 or 8. So eliminate the 8 from 6,2 leaving only 5 to go there, and you make a substantial step forward. Although you're not yet done, it's straight forward from then on. -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From eric.chatonet at sosmartsoftware.com Sun Jul 31 10:27:55 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 31 Jul 2005 16:27:55 +0200 Subject: [ANN] Managing Answer Dialogs Tutorial Enhanced Message-ID: <2BE995F7-F70F-44C9-B94C-4E8968ECB1AE@sosmartsoftware.com> Hi all, Stephen Barncard kindly requested that the HTML code builder which is included in the "Managing Answer Dialogs" tutorial might handle not only text styles but fonts and sizes too. In addition, he pointed out that the code builder did not handle prompts where quotes were inserted. He was so right that you will see an orange dot before this tutorial in Tutorials Picker list: this means that the tutorial has been updated since your last visit :-) [REM] Tutorials Picker is available for free from my website. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From jhurley at infostations.com Sun Jul 31 10:51:55 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 31 Jul 2005 07:51:55 -0700 Subject: Full justification In-Reply-To: <20050731052525.4D58E8253C9@mail.runrev.com> References: <20050731052525.4D58E8253C9@mail.runrev.com> Message-ID: > >Message: 11 >Date: Sat, 30 Jul 2005 22:27:43 -0500 >From: Ken Ray >Subject: Re: Full justification >To: Use Revolution List >Message-ID: >Content-Type: text/plain; charset="US-ASCII" > >On 7/30/05 9:06 AM, "Jim Hurley" wrote: > >> Perhaps another way to approach the problem of full justification for >> non-proportional fonts is to insert spaces whose width is set to 1 >> point. >> >> It turns out that the formatted width of the 2 point space character, >> with the points size set to 2 pts, (at least in Times font) is 1 >> point. (Pardon the dual use of the word "point.") >> >> If the width needed to fill in the line, so that the text is also >> right-justified, is say N points, then one might distribute N spaces >> between intervening words (each insert is one point in width.) >> >> (I ran into one of the few instances where recursion is truly >> useful--beside fractals and the Tower of Hanoi.) >> >> To see this try (in the message box): >> >> go stack url "http://home.infostations.net/jhurley/JustifyText.rev" > >Nicely done, Jim! Now is there was some way to determine the number of >points needed based on different fonts and sizes, we could have a general >purpose justification routine! > > >Ken Ray >Sons of Thunder Software >Web site: http://www.sonsothunder.com/ >Email: kray at sonsothunder.com > > Ken, Thanks. I am having trouble getting Run Rev to change the textfont by script. If one types into the msg box: "set the textfont of field 1 to "courier", nothing happens. Maybe it is necessary to first "select" the text? I would like to be able to script: put the textfont of field 1 into tFont set the textfont of field 2 to tFont But that doesn't work. In all those instances where I have been able to get the text fonts the same for the two fields, the justification algorithm works just fine. I am justifiably pleased. But I need to find a faithful way to get the two fields to agree. I am leery of making changes to the original text and applying the results to that field. The text is changed with the added (one point textsize) spaces. Maybe I'll put the original text into a custom property. Maybe I'll ask the script to clone the original field. Jim > >------------------------------ > >Message: 12 >Date: Sat, 30 Jul 2005 21:17:55 -0700 (PDT) >From: Alejandro Tejada >Subject: Re: Full justification >To: use-revolution at lists.runrev.com >Message-ID: <20050731041755.76016.qmail at web40511.mail.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Hi Jim, > >on Sat, 30 Jul 2005 >Jim Hurley wrote: > >> go stack url >>"http://home.infostations.net/jhurley/JustifyText.rev" > >Jim, this is an excellent example of the problems >that were pointed in this list, while trying to >full justify a text field. > >If i copy this justified text field, all the extras >spaces are carried with the text. :-o > >A handler or function that clean up the text in the >clipboard, before pasting it, could make this >justify handler transparent to the users. ;-) > >Thanks a lot for posting this stack! >Have a nice weekend > >al > Al, The problem with copy and paste is that it doesn't faithfully retain all the text properties. It would be best to apply the algorithm directly to the field of interest rather than paste from another utility field. And the text is changed with my algorithm--extra spaces are inserted and they have to retain their text size, in my case that is 3, in order to preserve full justification. I think what is necessary is a plug-in with a drag and drop facility. It should also take the original text, without the added spaces, and put it into a custom property so that you would be able to retrieve the original text if things didn't work out. You would need that for protection. Right now I am having trouble with Rev's textfont function. Jim From jhurley at infostations.com Sun Jul 31 11:00:50 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 31 Jul 2005 08:00:50 -0700 Subject: Full justification Message-ID: P.S. To my previous post. Re: Restoring original text It would be a trivial task to restore the original text by deleting all multiple space sequences and replace them with a single space--unless the original already contained desirable, multiple spaces. From 3mcgrath at adelphia.net Sun Jul 31 11:17:40 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 31 Jul 2005 11:17:40 -0400 Subject: Full justification In-Reply-To: <20050731041755.76016.qmail@web40511.mail.yahoo.com> References: <20050731041755.76016.qmail@web40511.mail.yahoo.com> Message-ID: This will take care of the extra spaces just create another button and put this in it: on mouseUp repeat for each word theword in field "field" put theword & space after field "flush" end repeat beep end mouseUp Then copy the text from field "field" Tom On Jul 31, 2005, at 12:17 AM, Alejandro Tejada wrote: > Hi Jim, > > on Sat, 30 Jul 2005 > Jim Hurley wrote: > >> go stack url >> "http://home.infostations.net/jhurley/JustifyText.rev" > > Jim, this is an excellent example of the problems > that were pointed in this list, while trying to > full justify a text field. > > If i copy this justified text field, all the extras > spaces are carried with the text. :-o > > A handler or function that clean up the text in the > clipboard, before pasting it, could make this > justify handler transparent to the users. ;-) > > Thanks a lot for posting this stack! > Have a nice weekend > > al > > > Visit my site: > http://www.geocities.com/capellan2000/ > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From alex at tweedly.net Sun Jul 31 11:29:01 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 31 Jul 2005 16:29:01 +0100 Subject: Full justification In-Reply-To: References: <20050731041755.76016.qmail@web40511.mail.yahoo.com> Message-ID: <42ECEE3D.90501@tweedly.net> Thomas McGrath III wrote: > This will take care of the extra spaces just create another button and > put this in it: > > > on mouseUp > repeat for each word theword in field "field" > put theword & space after field "flush" > end repeat > beep > end mouseUp > Won't that get confused by CRs and TABs (which are word boundary characters) and double-quoted strings (which are a single word, even if they contain spaces) ? -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From simplsol at aol.com Sun Jul 31 11:54:21 2005 From: simplsol at aol.com (simplsol at aol.com) Date: Sun, 31 Jul 2005 11:54:21 -0400 Subject: Font question, which Courier? In-Reply-To: <54A9FA5A-A404-4F55-8A9D-E610C313E59F@conncoll.edu> References: <146.49942b0f.301d9a1a@aol.com> <54A9FA5A-A404-4F55-8A9D-E610C313E59F@conncoll.edu> Message-ID: <8C763FF4053C77F-9AC-F6CC@FWM-R44.sysops.aol.com> Charles, Thank you. That was very helpful, especially the script. Paul Looney -----Original Message----- From: Charles Hartman To: How to use Revolution Sent: Sun, 31 Jul 2005 08:58:58 -0400 Subject: Re: Font question, which Courier? As far as I've been able to tell, Courier New is more widely available than the others. Unfortunately, on Mac -- mine at least -- as compared with Courier, Courier New is annoyingly light, as in the opposite of bold; it looks pale when you put it beside text in other fonts. I ended up using an if-block to choose:? ? ? if "Courier" is among the lines of the fontNames then? ? put "Courier" into tNewMonoFont? ? else? ? put "Courier New" into tNewMonoFont? ? end if? ? . . .? ? set the textFont of someStack to tNewMonoFont? ? . . .? ? Charles Hartman? ? ? On Jul 30, 2005, at 11:06 PM, SimPLsol at aol.com wrote:? ? > Assuming Courier is the only crossplatform monospaced font, > which is the? > best to use for a crossplatform stack? There is Courier, Courier > CE, and? > Courier New; they all look similar to me. Thanks in advance.? > Paul Looney? > _______________________________________________? > use-revolution mailing list? > use-revolution at 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 at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-revolution? From jhurley at infostations.com Sun Jul 31 11:58:06 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 31 Jul 2005 08:58:06 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <20050731145024.95487825409@mail.runrev.com> References: <20050731145024.95487825409@mail.runrev.com> Message-ID: > >Message: 14 >Date: Sun, 31 Jul 2005 15:13:08 +0100 >From: Alex Tweedly >Subject: Re: ANN: Sudoku Assistant >To: How to use Revolution >Message-ID: <42ECDC74.8050502 at tweedly.net> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > >Jim Hurley wrote: > >> Alex, >> >> Thanks for the puzzle. Lots of fun. Dell Crosswords has a full page of >> these every month, though none as tough a your last. They generally >> are deterministic all the way to the end. Your number four requires >> assuming a solution at one point near the end and discovering a >> contradiction if the guess was wrong--proof by contradiction. > >No, it doesn't require that. There's a perfectly deterministic technique >that can solve puzzle #4 - I'll append a brief description of it to the >end of this message - but beware it uses puzzle #4 to demonstrate it, so >don't read all the way to the end unless you want to read that ... I used the wrong word when I said "deterministic." What I should have said was that puzzle 4 requires a *two* stage decision making process. In the simpler puzzles at each step there is always one square in which there is obviously only one possibility--a one stage decision making process. In the fourth puzzle I reach a point where there is no square which would allow only one character. But if I put one character in this square then I will run into a contraction at a later stage. But if I put another character into the square, I will be able to obtain a unique solution. As you say, this is still a deterministic solution, but a two stage deterministic process. Sorry for the poor description of what I was trying to say. > > (I must confess that the labels make it more difficult for me--harder >> to see what is filled in and what isn't.) >> >Sorry Jim I'm not sure I follow - do you mean you'd prefer to have blank >squares for every space that has not yet been determined (rather than >the set of possible values) ? That would seem to me much less helpful >- but I'll try it and see how it looks. Yes. In fact I copied the puzzle to Photoshop and erased all the labels and printed the image. Maybe this would be a possible preference? > >> I am interested in what algorithm is used under the "Auto" button. > > >Code is all there for you to look at :-) >But all it does is look at each square in turn, and if it already knows >that there is only a single value possible, then it removes that value >from the rest of the square's row,col and 3x3 square. It could repeat >that scan (very occasionally you can find a case where a square has been >already examined while multiple values were possible, and which reduces >to a single one, and is required to complete the puzzle) - but it doesn't even do that. I'll have to look at this again. It doesn't seem to complete all one stage decisions. For example, after completing the Auto, it is clear that the box in the second row, fifth column must be a 1. I suspect my problem is that I don't understand the significance of the labels. Life is full of things I don't understand. > > > If you also enjoy Cryptogram puzzles, I have one which retrieves 4 >> quotes from the web every day and encodes them for your decoding >> pleasure. It is my daily diagnostic tool to reveal the onset of >> senility. You can take a look at: >> >> go stack url >> "http://home.infostations.net/jhurley/DailyCryptoquote.rev" >> >> It's a 450k file. It contains a dictionary for a decoder utility. > >Thanks Jim. I'll take a look at that - though I'm more likely to write a >stack to solve them than I am to do it myself. > >I have not yet found any "puzzle" that is more challenging or >stimulating that programming. I think this is what keeps many of us going. Jim From charles.hartman at conncoll.edu Sun Jul 31 12:11:48 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 31 Jul 2005 12:11:48 -0400 Subject: Font question, which Courier? In-Reply-To: <8C763FF4053C77F-9AC-F6CC@FWM-R44.sysops.aol.com> References: <146.49942b0f.301d9a1a@aol.com> <54A9FA5A-A404-4F55-8A9D-E610C313E59F@conncoll.edu> <8C763FF4053C77F-9AC-F6CC@FWM-R44.sysops.aol.com> Message-ID: <73F0E40D-9E35-42A0-A38D-DDEE3CB92A38@conncoll.edu> You're certainly welcome. There are more pitfalls in this vicinity, by the way -- that is, if you're trying to change fonts in a stack (and especially substacks!) at runtime. I've worked out some more script stuff for this if you want it. Charles On Jul 31, 2005, at 11:54 AM, simplsol at aol.com wrote: > Charles, > Thank you. > That was very helpful, especially the script. > Paul Looney Charles Hartman Professor of English, Poet in Residence Connecticut College charles.hartman at conncoll.edu *the Scandroid* is at cherry.conncoll.edu/cohar/Programs.htm From douggilliland at gmail.com Sun Jul 31 12:36:59 2005 From: douggilliland at gmail.com (Douglas Gilliland) Date: Sun, 31 Jul 2005 12:36:59 -0400 Subject: Flashing numbers added to Number Picker stack. In-Reply-To: <890e3d2605072714286adbf467@mail.gmail.com> References: <890e3d2605072713281feef3bb@mail.gmail.com> <20050727203608.85114.qmail@web60523.mail.yahoo.com> <890e3d2605072714286adbf467@mail.gmail.com> Message-ID: <890e3d26050731093655cc593f@mail.gmail.com> One more question - if it's not asking too much. Sometimes I want a number, once it is selected, to be taken out of circulation. Is there a short script to add that will do this? I have searched all the resources but cannot find anything that explains how to do this. Thanks. Doug Gilliland Sarasota, FL On 7/27/05, Douglas Gilliland wrote: > Jan, > It works even better than I thought it would. > Thanks for the quick script - it is greatly appreciated. > Doug Gilliland > Sarasota, FL > > > On 7/27/05, Jan Schenkel wrote: > > --- Douglas Gilliland wrote: > > > I just finished a small stack to select my 9th grade > > > chemistry > > > students (sitting at numbered lab tables) at random. > > > I have 25 > > > students and used the following script to select one > > > at random, then > > > speak that number: > > > > > > on mouseUp > > > put random (25) into field "field1" > > > revsetspeechvoice "ralph" > > > revspeak field "field1" > > > wait 4 sec > > > put empty into field "field1" > > > end mouseUp > > > > > > To add a little flair, I would like numbers to > > > quickly flash on the > > > screen for one or two seconds before it stops at the > > > random number. > > > Looked through the documentation but found nothing. > > > Any suggestions? I don't need it if it is too > > > difficult but thought I > > > would ask. I'm too new to Revolution to know how > > > much it involves. > > > Doug Gilliland > > > > > > > Hi Doug, > > > > Here's a quick idea: > > -- > > on mouseUp > > ## show some numbers during 2 seconds > > repeat 10 times > > put random (25) into field "field1" > > wait 200 milliseconds > > end repeat > > ## now the code you already had > > put random (25) into field "field1" > > revsetspeechvoice "ralph" > > revspeak field "field1" > > wait 4 sec > > put empty into field "field1" > > end mouseUp > > -- > > > > Hope this helped, > > > > Jan Schenkel. > > > > Quartam - Tools for Revolution > > > > > > ===== > > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > > > > > > > ____________________________________________________ > > Start your day with Yahoo! - make it your home page > > http://www.yahoo.com/r/hs > > > > > From docmann at gmail.com Sun Jul 31 12:42:41 2005 From: docmann at gmail.com (docmann) Date: Sun, 31 Jul 2005 11:42:41 -0500 Subject: Video tutorials - OS X In-Reply-To: References: Message-ID: <42ECFF81.4080603@gmail.com> >Mark wrote: >Why don't I get video with the Rev OnLine tutorials in OS X 10.4? Only audio. >This has probably been covered... but is there an easy answer? Don't know if this is any help, but I just installed the Dreamcard trial on my new mac-mini (my first mac!). Even after installing the required codec, the first video I tried still would not play. However, shutting down and restarting the Dreamcard app solved the problem completely. Apparently, the codec is read an initialized by Rev and DC when they start up. ...... >Bill wrote: >I noticed that the video tutorials take so long to download when you are >on a dial-up connection that sometimes just the sound plays. The good news here is that the downloaded video is cached on the HD, so the next time you need it there isn't a download involved. :) HTH, -Doc- From eric.chatonet at sosmartsoftware.com Sun Jul 31 12:54:19 2005 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sun, 31 Jul 2005 18:54:19 +0200 Subject: Lack of Feedback [was: OT:ANN:WTF:WOAH Factor] In-Reply-To: <20050730184338.85E018253AC@mail.runrev.com> References: <20050730184338.85E018253AC@mail.runrev.com> Message-ID: <8052DD70-5CE1-41FB-8463-276AD1CCD066@sosmartsoftware.com> Hi Xavier, Le 30 juil. 05 ? 20:55, MisterX a ?crit : > the lack of feedback makes me really not happy to > release it... So I'm going to tell you a tiny story: Since last February when I open my website, I can count downloads: . 1912 plugins . 1571 tutorials . 194 "patch" stacks . 363 HC packs How many feedback mails? My fingers are enough to count them. So, take heart! Lack of feedback (even if it would be welcome: we all need to have our heart warmed :-) don't mean anything... I *love* your maverick mind: keep going! You are much more useful to this community than you seem to think. Some bring coding solutions, you bring the spirit. 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 site http://www.sosmartsoftware.com/ Email eric.chatonet at sosmartsoftware.com/ Phone 33 (0)1 43 31 77 62 Mobile 33 (0)6 20 74 50 86 ---------------------------------------------------------------- From alex at tweedly.net Sun Jul 31 13:11:58 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 31 Jul 2005 18:11:58 +0100 Subject: ANN: Sudoku Assistant In-Reply-To: References: <20050731145024.95487825409@mail.runrev.com> Message-ID: <42ED065E.3090207@tweedly.net> Jim Hurley wrote: >>> >>> Thanks for the puzzle. Lots of fun. Dell Crosswords has a full page of >>> these every month, though none as tough a your last. They generally >>> are deterministic all the way to the end. Your number four requires >>> assuming a solution at one point near the end and discovering a >>> contradiction if the guess was wrong--proof by contradiction. >> >> Alex, >> >> No, it doesn't require that. There's a perfectly deterministic technique >> that can solve puzzle #4 - I'll append a brief description of it to the >> end of this message - but beware it uses puzzle #4 to demonstrate it, so >> don't read all the way to the end unless you want to read that ... > > > I used the wrong word when I said "deterministic." What I should have > said was that puzzle 4 requires a *two* stage decision making process. > In the simpler puzzles at each step there is always one square in > which there is obviously only one possibility--a one stage decision > making process. > > In the fourth puzzle I reach a point where there is no square which > would allow only one character. But if I put one character in this > square then I will run into a contraction at a later stage. But if I > put another character into the square, I will be able to obtain a > unique solution. As you say, this is still a deterministic solution, > but a two stage deterministic process. Sorry for the poor description > of what I was trying to say. > But my (perhaps hard to follow) description at the tail end of the other email shows that you don't need to try one then the other - you can use the knowledge from two squares to eliminate a possibility from a third square. It's kind of a two-stage deduction - but you don't need to try one thing and then another. >> > (I must confess that the labels make it more difficult for me--harder >> >>> to see what is filled in and what isn't.) >>> >> Sorry Jim I'm not sure I follow - do you mean you'd prefer to have blank >> squares for every space that has not yet been determined (rather than >> the set of possible values) ? That would seem to me much less helpful >> - but I'll try it and see how it looks. > > > > Yes. In fact I copied the puzzle to Photoshop and erased all the > labels and printed the image. Maybe this would be a possible preference? > Rather than a preference, I made it a button "Hide uncompleted" or "Show uncompleted" so you can toggle between the two modes while working through a puzzle. Now available on RevOnline (ver 1.2) >> >>> I am interested in what algorithm is used under the "Auto" button. >> >> > >> Code is all there for you to look at :-) >> But all it does is look at each square in turn, and if it already knows >> that there is only a single value possible, then it removes that value >> from the rest of the square's row,col and 3x3 square. It could repeat >> that scan (very occasionally you can find a case where a square has been >> already examined while multiple values were possible, and which reduces >> to a single one, and is required to complete the puzzle) - but it > > doesn't even do that. > > I'll have to look at this again. It doesn't seem to complete all one > stage decisions. For example, after completing the Auto, it is clear > that the box in the second row, fifth column must be a 1. I suspect my > problem is that I don't understand the significance of the labels. > Life is full of things I don't understand. > It doesn't do all "one-stage" decisions. In each square it has a list of possible values - so for a blank puzzle, each square can still have any of the 9 digits. When you load a puzzle, some squares are changed to have a single digit. Clicking on such a square (or specifying a value for another square) causes the specified digit to be removed from all "peers" of the square (i.e. in the same row, col or 3x3). Auto simply applies that to all squares in turn. The fact that square 5,2 "must" be a one (because there are no other squares in its 3x3 which still have one as a possible value) would require deduction - and my idea for the assistant was that it can do the "mechanical" part for you, and leave the user to do the deductions. Anyway - that's *why* it doesn't do that particular square for you. Would be easy enough to add a button to do that kind of simple deduction ... be my guest :-) The scripting for this puzzle isn't great (when I wrote it I didn't intend to give it to anyone else, so it's certainly not carefully written as I would do for a tutorial, or a product), but it's not terrible either. Dive in .... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From mwieder at ahsoftware.net Sun Jul 31 13:20:14 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 31 Jul 2005 10:20:14 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <42ECCB15.3060009@sover.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> Message-ID: <1533551646.20050731102014@ahsoftware.net> Jon- Sunday, July 31, 2005, 5:59:01 AM, you wrote: J> It has been considered a bug, and flagged for the programmer, in Delphi J> for years. I don't see how it can be considered anything else. Now as J> to whether it is a bug that is reported in Rev with an error message, J> that is a different story. I wasn't aware that Delphi even *had* a "for each" element construct, but then I haven't kept up with Delphi since v6.0 or so. Now that I've googled it, I see that Borland added foreach support to Delphi 2005. The documentation, though, clearly states that the loop indices are provided as read-only references only and cannot be modified. Works the same way in C#, in case you're interested. Since this is a brand-new addition to Delphi, I'm not sure what you're referring to in "has been considered a bug...for years". Nor how this can be considered a bug, since it's clearly documented. Personally, I prefer either the Perl or PHP implementations, where you're free to use and modify the element since it's separate from the loop index. Messing with a loop index is always a Bad Idea. Interestingly, in Perl changing the loop element changes the original referenced element, while in PHP the original value is unchanged. -- -Mark Wieder mwieder at ahsoftware.net From joel.guillod at net2000.ch Sun Jul 31 14:07:57 2005 From: joel.guillod at net2000.ch (Joel Guillod) Date: Sun, 31 Jul 2005 20:07:57 +0200 Subject: Spotlight indexing: feature request proposal In-Reply-To: <20050731052525.7D2CE8253E9@mail.runrev.com> References: <20050731052525.7D2CE8253E9@mail.runrev.com> Message-ID: As far as I understand the indexing of stacks by Spotlight (MacOSX), scripts only are used as the text to index. Of course this is of very high value for developers and I am willing this feature. But on the other side it could impair security if the password of the stack has not been set (what I never do, at least during development cycle). Also indexing the content of fields would be also very usefull (even more than scripts for content management stacks). Do you agree? I am considering to fill a request feature in bz and would like to get user's feedback first. So please tell me more what you think about this idea: I propose the addition of two new stack properties for telling Spotlight how to index stacks: - the of this stack: if true the scripts of the stack is indexed by Spotlight. If false, no script indexing is done for the stack. - the of this stack: if true the content of fields and titles of objects are indexed by Spotlight. If false, objects content indexing is not done for the stack. By default both properties are true (i.e. when the stack is created). When creating a substack, its spotlight properties are default to the value of its mainstack but they can be changed independantly from the mainstack. Nice to read your coming comments. jg From charles.hartman at conncoll.edu Sun Jul 31 14:14:05 2005 From: charles.hartman at conncoll.edu (Charles Hartman) Date: Sun, 31 Jul 2005 14:14:05 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <1533551646.20050731102014@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> <1533551646.20050731102014@ahsoftware.net> Message-ID: In Python, too, you can change the loop variable; but every time execution goes back to the top of the loop, the variable takes on the next value it _would have_ taken, no matter what you've done to it in the meantime. (If I remember right.) Kind of a handy combination -- as long as you remember how it works. But this proviso presumably applies to _any_ implementation of loop variables, except one that relieves your memory of the burden by raising an error if you even try to change the variable. That's safest, but kind of . . . paternalistic, yes? Charles On Jul 31, 2005, at 1:20 PM, Mark Wieder wrote: > Jon- > > Sunday, July 31, 2005, 5:59:01 AM, you wrote: > > J> It has been considered a bug, and flagged for the programmer, > in Delphi > J> for years. I don't see how it can be considered anything else. > Now as > J> to whether it is a bug that is reported in Rev with an error > message, > J> that is a different story. > > I wasn't aware that Delphi even *had* a "for each" element construct, > but then I haven't kept up with Delphi since v6.0 or so. Now that I've > googled it, I see that Borland added foreach support to Delphi 2005. > The documentation, though, clearly states that the loop indices are > provided as read-only references only and cannot be modified. Works > the same way in C#, in case you're interested. > > Since this is a brand-new addition to Delphi, I'm not sure what you're > referring to in "has been considered a bug...for years". Nor how this > can be considered a bug, since it's clearly documented. > > Personally, I prefer either the Perl or PHP implementations, where > you're free to use and modify the element since it's separate from the > loop index. Messing with a loop index is always a Bad Idea. > Interestingly, in Perl changing the loop element changes the original > referenced element, while in PHP the original value is unchanged. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From mwieder at ahsoftware.net Sun Jul 31 14:27:10 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 31 Jul 2005 11:27:10 -0700 Subject: OT: SysAdmin appreciation Message-ID: <1287566830.20050731112710@ahsoftware.net> All- The last Friday in July is System Administrator Appreciation Day: http://www.sysadminday.com/Time.htm -- -Mark Wieder mwieder at ahsoftware.net From curry at pair.com Sun Jul 31 14:36:59 2005 From: curry at pair.com (curry) Date: Sun, 31 Jul 2005 13:36:59 -0500 Subject: Screen Resolution In-Reply-To: <20050731145024.95487825409@mail.runrev.com> References: <20050731145024.95487825409@mail.runrev.com> Message-ID: I've seen people berated for asking this question, because others assume it will not be done responsibly on the Mac, which can have some side effects. (So, best to either let the user choose whether to change, or do something like kill the finder ??? or whatever it is they do to avoid the side effects.) On PC, of course, it's common. I think this is always a good question, and I would also like to know what are the best ways currently, for PC and for Mac. Curry -- >Hi everyone: > >Can anybody tell me how can I change the screen resolution through a script? > >Thanks From jbondy at sover.net Sun Jul 31 15:15:53 2005 From: jbondy at sover.net (Jon) Date: Sun, 31 Jul 2005 15:15:53 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <1533551646.20050731102014@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> <1533551646.20050731102014@ahsoftware.net> Message-ID: <42ED2369.7070001@sover.net> Mark: The point I was TRYING to make was that FOR loop variables 1) had to be declared locally; and 2) could not be modified inside a loop. I was trying to make a general case for this kind of a definition of an "error". :) Jon Mark Wieder wrote: >Jon- > >Sunday, July 31, 2005, 5:59:01 AM, you wrote: > >J> It has been considered a bug, and flagged for the programmer, in Delphi >J> for years. I don't see how it can be considered anything else. Now as >J> to whether it is a bug that is reported in Rev with an error message, >J> that is a different story. > >I wasn't aware that Delphi even *had* a "for each" element construct, >but then I haven't kept up with Delphi since v6.0 or so. Now that I've >googled it, I see that Borland added foreach support to Delphi 2005. >The documentation, though, clearly states that the loop indices are >provided as read-only references only and cannot be modified. Works >the same way in C#, in case you're interested. > >Since this is a brand-new addition to Delphi, I'm not sure what you're >referring to in "has been considered a bug...for years". Nor how this >can be considered a bug, since it's clearly documented. > >Personally, I prefer either the Perl or PHP implementations, where >you're free to use and modify the element since it's separate from the >loop index. Messing with a loop index is always a Bad Idea. >Interestingly, in Perl changing the loop element changes the original >referenced element, while in PHP the original value is unchanged. > > > From ambassador at fourthworld.com Sun Jul 31 15:16:29 2005 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 31 Jul 2005 12:16:29 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <1533551646.20050731102014@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> <1533551646.20050731102014@ahsoftware.net> Message-ID: <42ED238D.5090207@fourthworld.com> Mark Wieder wrote: > I wasn't aware that Delphi even *had* a "for each" element construct, That's part of Pascal, no? I may just be getting old.... -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From Cubist at aol.com Sun Jul 31 16:04:08 2005 From: Cubist at aol.com (Cubist at aol.com) Date: Sun, 31 Jul 2005 16:04:08 EDT Subject: Flashing numbers added to Number Picker stack. Message-ID: <203.6c16065.301e88b8@aol.com> sez douggilliland at gmail.com: >One more question - if it's not asking too much. >Sometimes I want a number, once it is selected, to be taken out of >circulation. Is there a short script to add that will do this? I have >searched all the resources but cannot find anything that explains how >to do this. Try something like this: local WhatzLeft on MakeList DerNumber -- call this function when you want to generate a pool of numbers -- -- it assumes DerNumber is a positive integer, so watch what you feed it put "" into Rezult repeat with K1 = 1 to DerNumber put K1 into item K1 of Rezult end repeat put Rezult into WhatzLeft end MakeList function PickOne put the number of items in WhatzLeft into PoolSize if PoolSize = 0 then return "Hey! Doofus! You ain't got nuttin' left!" else put the random of PoolSize into Fred put item Fred of WhatzLeft into Rezult delete item Fred of WhatzLeft return Rezult end if end PickOne Hope this helps... From see3d at writeme.com Sun Jul 31 16:45:53 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 31 Jul 2005 16:45:53 -0400 Subject: Help, what am I doing wrong??? --resolution BZ In-Reply-To: <10918383113.20050730231535@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> Message-ID: <36FCAD81-8FAF-4A25-B4B1-347CFAD3C58D@writeme.com> Ok folks, I BZ'd this issue for the Rev team to take note of. If you want to second this, you can send a vote it's way. Thanks to all for the discussion and helping me understand the problem. Dennis ---------- http://support.runrev.com/bugdatabase/show_bug.cgi?id=3036 Summary: Repeat for each errors in IDE Product: Revolution Version: 2.6 Platform: All OS/Version: All Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: Script compiler AssignedTo: engineteam at runrev.com ReportedBy: see3d at writeme.com QAContact: enginebugs at lists.runrev.com The repeat for each construct behaves in a way that trips up just about everyone eventually and can be very hard to debug. If the labelVariable is modified inside the loop, the data from the container is somehow trashed also. To make matters worse, when steping through the script in the debugger, the data from the container is not trashed, and the loop works perfectly. So the code "reads" right, and in the debugger works right, but under normal operation, it does not work. This can be very frustrating to debug. I propose that since the labelVariable must be treated as a read only quantity inside the loop (for any useful script), that an error message be generated by the script compiler when an attempt to modify the labelVariable is detected. If this is too hard, then fix the runtime package so that the contents of the labelVariable can be modified without messing up the next repeat value. Dennis ---------- Posted by RevZilla 2.0.3 On Jul 31, 2005, at 2:15 AM, Mark Wieder wrote: > Dennis- > > Saturday, July 30, 2005, 7:24:58 PM, you wrote: > > DB> I would really like to get a real error message since it does > not do > DB> what you expect from reading the code. How many newbies do we > have > DB> to trip up before we erect a stop sign at that intersection? > > DB> Should I BZ it? > > I'm not sure it's actually a bug, but it's worth BZing just to keep it > on the rev team's radar, since it's a stumbling block that everyone > runs across at some time or other. > > -- > -Mark Wieder > mwieder at ahsoftware.net > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revolution at derbrill.de Sun Jul 31 17:03:00 2005 From: revolution at derbrill.de (Malte Brill) Date: Sun, 31 Jul 2005 23:03:00 +0200 Subject: European Revolution Conference In-Reply-To: <20050731170005.37364825331@mail.runrev.com> Message-ID: <79F800E4-0206-11DA-824C-0030659A795C@derbrill.de> Hi Mark! Excellent idea! It is always great to meat the persons behind the mail face to face. The only thing that might be problematic is that 6 weeks from now is a bit short to plan. Please keep me posted, Malte From revdan at danshafer.com Sun Jul 31 18:10:23 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 31 Jul 2005 15:10:23 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <42ECDC74.8050502@tweedly.net> References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> Message-ID: <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> Alex..... Downloaded Version 1.2 but the PReferences menu option does nothing on my machine. Still getting addicted here. Nifty stuff. Dan From alex at tweedly.net Sun Jul 31 18:25:12 2005 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 31 Jul 2005 23:25:12 +0100 Subject: ANN: Sudoku Assistant In-Reply-To: <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> Message-ID: <42ED4FC8.4080507@tweedly.net> Dan Shafer wrote: > Alex..... > > Downloaded Version 1.2 but the PReferences menu option does nothing > on my machine. > > Still getting addicted here. Nifty stuff. There aren't any preferences yet. Although Jim suggested a preference for whether to display blanks rather than the set of possible values, I decided to make it a button rather than a preference. This makes it easier to switch between the two modes - initially there should be a button at the bottom "Hide uncompleted" - click that (*after* you have loaded a puzzle) and you will see blank squares, and the button should switch to saying "Show uncompleted". You should be able to switch between them at any time. (This doesn't count as an action for Undo/Redo - you should stay in the same mode while Undoing or Redoing). -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005 From soapdog at mac.com Sun Jul 31 18:30:00 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 31 Jul 2005 19:30:00 -0300 Subject: ANN: New page in test. Message-ID: Hi There folks, I am testing my new page and I'd like feedback from you guys since the page is most focused on writting interesting things for rev coders. The page is currently hosted at my house so the system is slow (slow connection, slow computer) so please be patient, I just need to see if there's a place for that kind of page. The content is small now, but I'll be adding content daily. The url is http:// www.andregarzia.com that is not the final url but a temporary one, before I move my www.soapdog.org domain. The url will redirect to my home machine on a non standard port, so that you guys end up on http://home.soapdog.org:8080/ cheers andre From revdan at danshafer.com Sun Jul 31 18:47:51 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 31 Jul 2005 15:47:51 -0700 Subject: ANN: Sudoku Assistant In-Reply-To: <42ED4FC8.4080507@tweedly.net> References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> <42ED4FC8.4080507@tweedly.net> Message-ID: Alex... Got it. I'm doing something wrong or misunderstanding how the assistant works or something. On Puzzle #1, I got to the place where I have five uncompleted cells. One of them has a "?" which I think means there's an error somewhere. But neither it nor the cell underneath it show any potential values when I click on them. Then I click on an adjoining square to the one without a "?" and select a value. Odds go to 0, so I know I've got a wrong value there. I "Undo" and now I have three squares -- the two original and the one I just undid -- that show no values to pick from when I click on them. SO essentially, even though I think I could solve the puzzle at this point, the assistant won't let me proceed. Bug? Something I'm not grokking? Dan (I'll send you the text file privately.) On Jul 31, 2005, at 3:25 PM, Alex Tweedly wrote: > Dan Shafer wrote: > > >> Alex..... >> >> Downloaded Version 1.2 but the PReferences menu option does >> nothing on my machine. >> >> Still getting addicted here. Nifty stuff. >> > > There aren't any preferences yet. > > Although Jim suggested a preference for whether to display blanks > rather than the set of possible values, I decided to make it a > button rather than a preference. > > This makes it easier to switch between the two modes - initially > there should be a button at the bottom "Hide uncompleted" - click > that (*after* you have loaded a puzzle) and you will see blank > squares, and the button should switch to saying "Show uncompleted". > You should be able to switch between them at any time. (This > doesn't count as an action for Undo/Redo - you should stay in the > same mode while Undoing or Redoing). > > -- > Alex Tweedly http://www.tweedly.net > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: > 27/07/2005 > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Sun Jul 31 18:54:29 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 31 Jul 2005 15:54:29 -0700 Subject: ANN: New page in test. In-Reply-To: References: Message-ID: Andre.... A blog from you on technical things would be quite interesting and useful, I'm sure. Curious why you're using Manila when you have your own blogging tools. I mean, I like Manila and all, but does it offer some big advantages that you couldn't get into your own blog tools? I'd definitely read it. Dan On Jul 31, 2005, at 3:30 PM, Andre Garzia wrote: > Hi There folks, > > I am testing my new page and I'd like feedback from you guys since > the page is most focused on writting interesting things for rev > coders. The page is currently hosted at my house so the system is > slow (slow connection, slow computer) so please be patient, I just > need to see if there's a place for that kind of page. The content > is small now, but I'll be adding content daily. The url is http:// > www.andregarzia.com that is not the final url but a temporary one, > before I move my www.soapdog.org domain. The url will redirect to > my home machine on a non standard port, so that you guys end up on > http://home.soapdog.org:8080/ > > cheers > andre > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From soapdog at mac.com Sun Jul 31 19:03:38 2005 From: soapdog at mac.com (Andre Garzia) Date: Sun, 31 Jul 2005 20:03:38 -0300 Subject: ANN: New page in test. In-Reply-To: References: Message-ID: <29A800D4-3191-4547-81C6-CCAAD5B8FF40@mac.com> On Jul 31, 2005, at 7:54 PM, Dan Shafer wrote: > Andre.... > > A blog from you on technical things would be quite interesting and > useful, I'm sure. > > Curious why you're using Manila when you have your own blogging > tools. I mean, I like Manila and all, but does it offer some big > advantages that you couldn't get into your own blog tools? > > I'd definitely read it. > > Dan Dan, I guess I'll create a "why manila" article :-D The point is, my blogging tools are not on par with manila features yet. Manila is very powerfull and it's built in editor and image upload features enable me to work my page from anywhere. I am working on a little manila-like tool but it is not ready yet, so for now, I stick with manila. All my blogging tools are just me trying to clone frontier/manila for I think it's the most powerfull and elegant solution available. Since the frontier kernel was opened, my old frontier interest was reborn and I reinstalled manila trial here, it will run for two months. I hope that in the end of this period or my blogging tools will be as powerfull as I want them to be, or that I'll have the money to buy a frontier copy for myself! The main thing was: should I wait for my tools to mature as much as I thought they need before creating my page or should I start with the tool I like best and then go improving my apps using my daily experience with manila as a guidance... I decided to start now! :-D Cheers andre > > On Jul 31, 2005, at 3:30 PM, Andre Garzia wrote: > > >> Hi There folks, >> >> I am testing my new page and I'd like feedback from you guys since >> the page is most focused on writting interesting things for rev >> coders. The page is currently hosted at my house so the system is >> slow (slow connection, slow computer) so please be patient, I just >> need to see if there's a place for that kind of page. The content >> is small now, but I'll be adding content daily. The url is http:// >> www.andregarzia.com that is not the final url but a temporary one, >> before I move my www.soapdog.org domain. The url will redirect to >> my home machine on a non standard port, so that you guys end up on >> http://home.soapdog.org:8080/ >> >> cheers >> andre >> _______________________________________________ >> use-revolution mailing list >> use-revolution at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jhurley at infostations.com Sun Jul 31 19:27:11 2005 From: jhurley at infostations.com (Jim Hurley) Date: Sun, 31 Jul 2005 16:27:11 -0700 Subject: Full justification In-Reply-To: <20050731170005.0DE4582526C@mail.runrev.com> References: <20050731170005.0DE4582526C@mail.runrev.com> Message-ID: > >Message: 1 >Date: Sun, 31 Jul 2005 11:17:40 -0400 >From: Thomas McGrath III <3mcgrath at adelphia.net> >Subject: Re: Full justification >To: How to use Revolution >Message-ID: >Content-Type: text/plain; charset=US-ASCII; format=flowed > >This will take care of the extra spaces just create another button and >put this in it: > > >on mouseUp > repeat for each word theword in field "field" > put theword & space after field "flush" > end repeat > beep >end mouseUp > >Then copy the text from field "field" > >Tom Tom, Good. But to avoid the problems that Alex mentions, I was thinking of something like the following: on mouseUp get the htmltext of field 1 repeat replace " " with space in it--Replace double space with single if offset(" ",it) is 0 then exit repeat end repeat set the htmltext of field 1 to it end mouseUp Replace is very fast. It is best to work with the htmlText to avoid changing the formatting. (It is pretty much what I do in MS Word: replace double spaces with single spaces until Word reports no changes.) Jim From bill at bluewatermaritime.com Sun Jul 31 19:49:48 2005 From: bill at bluewatermaritime.com (Bill) Date: Sun, 31 Jul 2005 19:49:48 -0400 Subject: ANN: New page in test. In-Reply-To: <29A800D4-3191-4547-81C6-CCAAD5B8FF40@mac.com> Message-ID: Your page works fine but Manila cost $1000! Why not use plog or some other blogging tool that is not so expensive? I am looking for a very simple blogging tool, easy to post too with photos, easy to set-up RSS and runs on Linux. What is your advice? Bill On 7/31/05 7:03 PM, "Andre Garzia" wrote: > > On Jul 31, 2005, at 7:54 PM, Dan Shafer wrote: > >> Andre.... >> >> A blog from you on technical things would be quite interesting and >> useful, I'm sure. >> >> Curious why you're using Manila when you have your own blogging >> tools. I mean, I like Manila and all, but does it offer some big >> advantages that you couldn't get into your own blog tools? >> >> I'd definitely read it. >> >> Dan > > Dan, > > I guess I'll create a "why manila" article :-D > > The point is, my blogging tools are not on par with manila features > yet. Manila is very powerfull and it's built in editor and image > upload features enable me to work my page from anywhere. I am working > on a little manila-like tool but it is not ready yet, so for now, I > stick with manila. All my blogging tools are just me trying to clone > frontier/manila for I think it's the most powerfull and elegant > solution available. Since the frontier kernel was opened, my old > frontier interest was reborn and I reinstalled manila trial here, it > will run for two months. I hope that in the end of this period or my > blogging tools will be as powerfull as I want them to be, or that > I'll have the money to buy a frontier copy for myself! > > The main thing was: should I wait for my tools to mature as much as I > thought they need before creating my page or should I start with the > tool I like best and then go improving my apps using my daily > experience with manila as a guidance... I decided to start now! :-D > > Cheers > andre > > >> >> On Jul 31, 2005, at 3:30 PM, Andre Garzia wrote: >> >> >>> Hi There folks, >>> >>> I am testing my new page and I'd like feedback from you guys since >>> the page is most focused on writting interesting things for rev >>> coders. The page is currently hosted at my house so the system is >>> slow (slow connection, slow computer) so please be patient, I just >>> need to see if there's a place for that kind of page. The content >>> is small now, but I'll be adding content daily. The url is http:// >>> www.andregarzia.com that is not the final url but a temporary one, >>> before I move my www.soapdog.org domain. The url will redirect to >>> my home machine on a non standard port, so that you guys end up on >>> http://home.soapdog.org:8080/ >>> >>> cheers >>> andre >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at 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.bluewatermaritime.com ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^ ^^^^ ^^^ ^^ ^^^^ ^^^ 24 hour cell: (787) 378-6190 fax: (787) 809-8426 Blue Water Maritime P.O. Box 91 Puerto Real, PR 00740 From mwieder at ahsoftware.net Sun Jul 31 20:01:39 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 31 Jul 2005 17:01:39 -0700 Subject: Help, what am I doing wrong??? --resolution BZ In-Reply-To: <36FCAD81-8FAF-4A25-B4B1-347CFAD3C58D@writeme.com> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <36FCAD81-8FAF-4A25-B4B1-347CFAD3C58D@writeme.com> Message-ID: <18215348600.20050731170139@ahsoftware.net> Dennis- Sunday, July 31, 2005, 1:45:53 PM, you wrote: Thanks. BZ# 3036 voted and commented on. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sun Jul 31 20:08:49 2005 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 31 Jul 2005 17:08:49 -0700 Subject: Help, what am I doing wrong??? In-Reply-To: <42ED2369.7070001@sover.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> <1533551646.20050731102014@ahsoftware.net> <42ED2369.7070001@sover.net> Message-ID: <12615777767.20050731170849@ahsoftware.net> Jon- Sunday, July 31, 2005, 12:15:53 PM, you wrote: J> Mark: J> The point I was TRYING to make was that FOR loop variables 1) had J> to be declared locally; and 2) could not be modified inside a loop. I J> was trying to make a general case for this kind of a definition of an J> "error". Ah. Gotcha. Yes - that's at least somewhat mind-boggling. A semi-related point that seems to bother nobody but me is that you don't have to declare loop variables (i.e., Variable Checking [aka explicitVars] doesn't catch them), but if you don't explicitly declare them as local then they become global by default, in which case you get namespace conflicts. Declaring "local x" when you've already got a "repeat for x=1 to 10" line somewhere in your script will cause a compiler error at the "local x" line. -- -Mark Wieder mwieder at ahsoftware.net From revdan at danshafer.com Sun Jul 31 20:17:42 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 31 Jul 2005 17:17:42 -0700 Subject: ANN: New page in test. In-Reply-To: <29A800D4-3191-4547-81C6-CCAAD5B8FF40@mac.com> References: <29A800D4-3191-4547-81C6-CCAAD5B8FF40@mac.com> Message-ID: <196A4234-A402-4086-91FE-56EC376A69FA@danshafer.com> I found Manila confusingly robust and annoyingly complex. I prefer Web Crossing, which is what i use for my blog (http:// www.eclecticity.com). Web Crossing is more expensive than Manila, but it is also more fully featured, being a true all-in-one server package backed by a completely user-extensible object database and all of it entirely scriptable in JavaScript. But at least I now understand why you went with another product. Dan On Jul 31, 2005, at 4:03 PM, Andre Garzia wrote: > > On Jul 31, 2005, at 7:54 PM, Dan Shafer wrote: > > >> Andre.... >> >> A blog from you on technical things would be quite interesting and >> useful, I'm sure. >> >> Curious why you're using Manila when you have your own blogging >> tools. I mean, I like Manila and all, but does it offer some big >> advantages that you couldn't get into your own blog tools? >> >> I'd definitely read it. >> >> Dan >> > > Dan, > > I guess I'll create a "why manila" article :-D > > The point is, my blogging tools are not on par with manila features > yet. Manila is very powerfull and it's built in editor and image > upload features enable me to work my page from anywhere. I am > working on a little manila-like tool but it is not ready yet, so > for now, I stick with manila. All my blogging tools are just me > trying to clone frontier/manila for I think it's the most powerfull > and elegant solution available. Since the frontier kernel was > opened, my old frontier interest was reborn and I reinstalled > manila trial here, it will run for two months. I hope that in the > end of this period or my blogging tools will be as powerfull as I > want them to be, or that I'll have the money to buy a frontier copy > for myself! > > The main thing was: should I wait for my tools to mature as much as > I thought they need before creating my page or should I start with > the tool I like best and then go improving my apps using my daily > experience with manila as a guidance... I decided to start now! :-D > > Cheers > andre > > > >> >> On Jul 31, 2005, at 3:30 PM, Andre Garzia wrote: >> >> >> >>> Hi There folks, >>> >>> I am testing my new page and I'd like feedback from you guys >>> since the page is most focused on writting interesting things for >>> rev coders. The page is currently hosted at my house so the >>> system is slow (slow connection, slow computer) so please be >>> patient, I just need to see if there's a place for that kind of >>> page. The content is small now, but I'll be adding content daily. >>> The url is http://www.andregarzia.com that is not the final url >>> but a temporary one, before I move my www.soapdog.org domain. The >>> url will redirect to my home machine on a non standard port, so >>> that you guys end up on http://home.soapdog.org:8080/ >>> >>> cheers >>> andre >>> _______________________________________________ >>> use-revolution mailing list >>> use-revolution at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From revdan at danshafer.com Sun Jul 31 20:25:24 2005 From: revdan at danshafer.com (Dan Shafer) Date: Sun, 31 Jul 2005 17:25:24 -0700 Subject: ANN: New page in test. In-Reply-To: References: Message-ID: <17C940E5-090D-418E-B0AB-A229E28FCB16@danshafer.com> FYI and FWIW, my research indicates that WordPress is probably the best of the free blog tools out there. I think it supports everything you want. While RSS isn't built in there are a lot of easy-to-install third party tools that handle it quite elegantly. http://www.wordpress.org Dan On Jul 31, 2005, at 4:49 PM, Bill wrote: > Your page works fine but Manila cost $1000! Why not use plog or > some other > blogging tool that is not so expensive? I am looking for a very simple > blogging tool, easy to post too with photos, easy to set-up RSS and > runs on > Linux. > > What is your advice? > > Bill > > > On 7/31/05 7:03 PM, "Andre Garzia" wrote: > > >> >> On Jul 31, 2005, at 7:54 PM, Dan Shafer wrote: >> >> >>> Andre.... >>> >>> A blog from you on technical things would be quite interesting and >>> useful, I'm sure. >>> >>> Curious why you're using Manila when you have your own blogging >>> tools. I mean, I like Manila and all, but does it offer some big >>> advantages that you couldn't get into your own blog tools? >>> >>> I'd definitely read it. >>> >>> Dan >>> >> >> Dan, >> >> I guess I'll create a "why manila" article :-D >> >> The point is, my blogging tools are not on par with manila features >> yet. Manila is very powerfull and it's built in editor and image >> upload features enable me to work my page from anywhere. I am working >> on a little manila-like tool but it is not ready yet, so for now, I >> stick with manila. All my blogging tools are just me trying to clone >> frontier/manila for I think it's the most powerfull and elegant >> solution available. Since the frontier kernel was opened, my old >> frontier interest was reborn and I reinstalled manila trial here, it >> will run for two months. I hope that in the end of this period or my >> blogging tools will be as powerfull as I want them to be, or that >> I'll have the money to buy a frontier copy for myself! >> >> The main thing was: should I wait for my tools to mature as much as I >> thought they need before creating my page or should I start with the >> tool I like best and then go improving my apps using my daily >> experience with manila as a guidance... I decided to start now! :-D >> >> Cheers >> andre >> >> >> >>> >>> On Jul 31, 2005, at 3:30 PM, Andre Garzia wrote: >>> >>> >>> >>>> Hi There folks, >>>> >>>> I am testing my new page and I'd like feedback from you guys since >>>> the page is most focused on writting interesting things for rev >>>> coders. The page is currently hosted at my house so the system is >>>> slow (slow connection, slow computer) so please be patient, I just >>>> need to see if there's a place for that kind of page. The content >>>> is small now, but I'll be adding content daily. The url is http:// >>>> www.andregarzia.com that is not the final url but a temporary one, >>>> before I move my www.soapdog.org domain. The url will redirect to >>>> my home machine on a non standard port, so that you guys end up on >>>> http://home.soapdog.org:8080/ >>>> >>>> cheers >>>> andre >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at 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 at 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 at 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.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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From jbondy at sover.net Sun Jul 31 21:13:25 2005 From: jbondy at sover.net (Jon) Date: Sun, 31 Jul 2005 21:13:25 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <12615777767.20050731170849@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> <1533551646.20050731102014@ahsoftware.net> <42ED2369.7070001@sover.net> <12615777767.20050731170849@ahsoftware.net> Message-ID: <42ED7735.5080502@sover.net> Horrifying. I assume this is BZd?!? Mark Wieder wrote: >Jon- > >Sunday, July 31, 2005, 12:15:53 PM, you wrote: > >J> Mark: > >J> The point I was TRYING to make was that FOR loop variables 1) had >J> to be declared locally; and 2) could not be modified inside a loop. I >J> was trying to make a general case for this kind of a definition of an >J> "error". > >Ah. Gotcha. Yes - that's at least somewhat mind-boggling. > >A semi-related point that seems to bother nobody but me is that you >don't have to declare loop variables (i.e., Variable Checking [aka >explicitVars] doesn't catch them), but if you don't explicitly declare >them as local then they become global by default, in which case you >get namespace conflicts. Declaring "local x" when you've already got a >"repeat for x=1 to 10" line somewhere in your script will cause a >compiler error at the "local x" line. > > > From sarahr at genesearch.com.au Sun Jul 31 21:14:19 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 1 Aug 2005 11:14:19 +1000 Subject: Video tutorials - OS X In-Reply-To: <101A97BB-1627-42BB-93BF-9762E3F4A1D3@sosmartsoftware.com> References: <101A97BB-1627-42BB-93BF-9762E3F4A1D3@sosmartsoftware.com> Message-ID: <1546B7A9-D851-4684-85CE-15957326CBBB@genesearch.com.au> Not only do you need the codec installed, but you probably have to restart before you get video, even though the codec installer never asks for a restart. Sarah On 31/07/2005, at 5:44 AM, Eric Chatonet wrote: > Hi Mark, > > You need the right codec installed. > Se in the "Third party" folder in your Rev main app folder: it's > there. > Hope this helps. > > Le 30 juil. 05 ? 21:30, Mark Swindell a ?crit : > > >> Why don't I get video with the Rev OnLine tutorials in OS X 10.4? >> Only audio. >> >> This has probably been covered... but is there an easy answer? >> > From sarahr at genesearch.com.au Sun Jul 31 21:29:23 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 1 Aug 2005 11:29:23 +1000 Subject: Spotlight indexing: feature request proposal In-Reply-To: References: <20050731052525.7D2CE8253E9@mail.runrev.com> Message-ID: <33932EAF-AFD0-4B06-B13B-4F72931D9AE1@genesearch.com.au> > I propose the addition of two new stack properties for telling > Spotlight how to index stacks: > - the of this stack: if true the scripts of the > stack is indexed by Spotlight. If false, no script indexing is done > for the stack. > - the of this stack: if true the content of fields > and titles of objects are indexed by Spotlight. If false, objects > content indexing is not done for the stack. > By default both properties are true (i.e. when the stack is > created). When creating a substack, its spotlight properties are > default to the value of its mainstack but they can be changed > independantly from the mainstack. I agree - mostly. Sometimes I would really like the text to be indexed but I realize this places an extra burden on the system, so I would like the text search OFF by default and restricted to unlocked fields. As regards the password-protected scripts, have you tried this? I just tested it and Spotlight does not index password-protected stacks. Cheers, Sarah From see3d at writeme.com Sun Jul 31 21:39:38 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 31 Jul 2005 21:39:38 -0400 Subject: Help, what am I doing wrong??? In-Reply-To: <12615777767.20050731170849@ahsoftware.net> References: <20050730165945.37016.qmail@web60518.mail.yahoo.com> <73E917CF-AF48-446C-8107-34172E513808@writeme.com> <1003948417.20050730191500@ahsoftware.net> <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com> <10918383113.20050730231535@ahsoftware.net> <42ECCB15.3060009@sover.net> <1533551646.20050731102014@ahsoftware.net> <42ED2369.7070001@sover.net> <12615777767.20050731170849@ahsoftware.net> Message-ID: <7F099A9F-D649-494D-80E0-B720728C27D7@writeme.com> WHAT!!!! I would have thought that they would be local by default. Who would ever guess that they would be global by default. This is unbelievable --and dangerous! Come on now, April 1st was four months ago. Dennis On Jul 31, 2005, at 8:08 PM, Mark Wieder wrote: > A semi-related point that seems to bother nobody but me is that you > don't have to declare loop variables (i.e., Variable Checking [aka > explicitVars] doesn't catch them), but if you don't explicitly declare > them as local then they become global by default, in which case you > get namespace conflicts. Declaring "local x" when you've already got a > "repeat for x=1 to 10" line somewhere in your script will cause a > compiler error at the "local x" line. From sarahr at genesearch.com.au Sun Jul 31 21:52:10 2005 From: sarahr at genesearch.com.au (Sarah Reichelt) Date: Mon, 1 Aug 2005 11:52:10 +1000 Subject: Screen Resolution In-Reply-To: References: <20050731145024.95487825409@mail.runrev.com> Message-ID: <86F53A34-83E3-4B65-B3C5-43071768269B@genesearch.com.au> Like most things, there are sometimes valid reasons for over-riding the HIG. I run a kiosk app and for debugging, I have a button to toggle to screen res so I can see more windows, but for public use, toggle it back again. For Mac OS X, I use the cscreen shell command. To set the screen res to 1024 x 768 with 32 bit color depth, I use: get shell("cscreen -x 1024 -y 768 -d 32") HTH, Sarah On 01/08/2005, at 4:41 AM, curry wrote: > > I've seen people berated for asking this question, because others > assume it will not be done responsibly on the Mac, which can have > some side effects. (So, best to either let the user choose whether > to change, or do something like kill the finder ??? or whatever it > is they do to avoid the side effects.) On PC, of course, it's common. > > I think this is always a good question, and I would also like to > know what are the best ways currently, for PC and for Mac. > > Curry > > -- > > >> Hi everyone: >> >> Can anybody tell me how can I change the screen resolution through >> a script? >> >> Thanks >> > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > > > From see3d at writeme.com Sun Jul 31 21:53:47 2005 From: see3d at writeme.com (Dennis Brown) Date: Sun, 31 Jul 2005 21:53:47 -0400 Subject: Question about keys Message-ID: All, I have a two dimensional array: array[x,y] I need to get the unique x keys into a list, there are about 20 unique ones, but they are dynamically created names (not numbers). The y keys have tens of thousands of elements. Is there a simple way to extract the unique x without iterating through all the tens of thousands of keys? I could restructure my code so that I keep a list of unique keys as I create them, but this is more complex and could get out of sync since I create the elements from many different places in the code. I could also have a second array that keeps some of the information without as many entries. However, I would prefer keeping everything in one place (it is a global) if I can, but I can't think of an easy and fast method. Thanks, Dennis From 3mcgrath at adelphia.net Sun Jul 31 22:30:23 2005 From: 3mcgrath at adelphia.net (Thomas McGrath III) Date: Sun, 31 Jul 2005 22:30:23 -0400 Subject: Screen Resolution In-Reply-To: References: <20050731145024.95487825409@mail.runrev.com> Message-ID: <66d930747ebe3f92ab925fc6a38554a6@adelphia.net> See screenDepth Value: The screenDepth function returns 1, 2, 4, 8, 16, 24, or 32. The value returned by the screenDepth function is updated only when you start up the application. If you change the screen settings after starting up the application, you must quit and restart to update the screenDepth. This does not make doing it easy. But it is possible. A start up app might change it and then quit while opening another app but then you would have to also change it upon quiting. Tom On Jul 31, 2005, at 2:36 PM, curry wrote: > > I've seen people berated for asking this question, because others > assume it will not be done responsibly on the Mac, which can have some > side effects. (So, best to either let the user choose whether to > change, or do something like kill the finder ??? or whatever it is > they do to avoid the side effects.) On PC, of course, it's common. > > I think this is always a good question, and I would also like to know > what are the best ways currently, for PC and for Mac. > > Curry > > -- > >> Hi everyone: >> >> Can anybody tell me how can I change the screen resolution through a >> script? >> >> Thanks > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > Macintosh PowerBook G-4 OSX 10.3.9, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.6 Advanced Media Group Eagle Works Art & Sculpture Semantic Compaction Systems Prentke Romich Company Prentke Romich International SCIconics, LLC Artist Thomas J McGrath III 3mcgrath at adelphia.net From briany at qldlearning.com Sun Jul 31 22:32:06 2005 From: briany at qldlearning.com (Brian Yennie) Date: Sun, 31 Jul 2005 19:32:06 -0700 Subject: Question about keys In-Reply-To: References: Message-ID: <8310d89aa613c9a1d3c38c2eefb8a676@qldlearning.com> Dennis, I don't believe there is an automatic way of doing what you want (short of changing your data structure, which may not be an option). However, the below should be a pretty quick hack if my brain is working well enough in email land: put keys(myArray) into tKeys split tKeys using return and comma put keys(tKeys) into xValues - Brian > All, > > I have a two dimensional array: array[x,y] > I need to get the unique x keys into a list, there are about 20 unique > ones, but they are dynamically created names (not numbers). > The y keys have tens of thousands of elements. > > Is there a simple way to extract the unique x without iterating > through all the tens of thousands of keys? > > I could restructure my code so that I keep a list of unique keys as I > create them, but this is more complex and could get out of sync since > I create the elements from many different places in the code. > > I could also have a second array that keeps some of the information > without as many entries. > > However, I would prefer keeping everything in one place (it is a > global) if I can, but I can't think of an easy and fast method. > > Thanks, > Dennis > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > From asg618 at mac.com Sat Jul 30 22:11:04 2005 From: asg618 at mac.com (Alan Golub) Date: Sat, 30 Jul 2005 22:11:04 -0400 Subject: MySQL Connection error Message-ID: I've been toying around with the Database Query Builder lately, thinking about writing a tutorial for new users. I've used it in the past with PostgreSQL 8, connecting to localhost without any problems. But for the sake of a tutorial, I thought I'd go with MySQL, which seems to be far more popular, and for Mac OS X at least, much easier to install now that MySQL AB provides native OS X installers. But I can't seem to connect to MySQL from DQB. I've checked and double checked the host, user name, password, database name, and port number, all without success. I keep getting the following error message: "There was an error in connecting to the database. Please check that the connection fields are correct. Revdb error: Client does not support authentication protocol requested by server, consider upgrading MySQL client." The client fields are definitely correct (I'm using them to connect to the server from other GUI MySQL tools). I'm using Revolution Studio 2.6 and MySQL 4.1.13 on Tiger 10.4.2. Any thoughts or workarounds? Thanks- Alan Golub